re PR preprocessor/83722 (the ICE dumper doesn't comment-out some error messages)

PR preprocessor/83722
	* gcc.c (try_generate_repro): Pass
	&temp_stderr_files[RETRY_ICE_ATTEMPTS - 1] rather than
	&temp_stdout_files[RETRY_ICE_ATTEMPTS - 1] as last argument to
	do_report_bug.

From-SVN: r256367
This commit is contained in:
Jakub Jelinek 2018-01-09 09:02:01 +01:00 committed by Jakub Jelinek
parent 5e884ae3bd
commit 5190f1f98d
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2018-01-09 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/83722
* gcc.c (try_generate_repro): Pass
&temp_stderr_files[RETRY_ICE_ATTEMPTS - 1] rather than
&temp_stdout_files[RETRY_ICE_ATTEMPTS - 1] as last argument to
do_report_bug.
2018-01-08 Monk Chiang <sh.chiang04@gmail.com> 2018-01-08 Monk Chiang <sh.chiang04@gmail.com>
Kito Cheng <kito.cheng@gmail.com> Kito Cheng <kito.cheng@gmail.com>

View File

@ -7035,8 +7035,8 @@ try_generate_repro (const char **argv)
/* In final attempt we append compiler options and preprocesssed code to last /* In final attempt we append compiler options and preprocesssed code to last
generated .out file with configuration and backtrace. */ generated .out file with configuration and backtrace. */
char **output = &temp_stdout_files[RETRY_ICE_ATTEMPTS - 1]; char **err = &temp_stderr_files[RETRY_ICE_ATTEMPTS - 1];
do_report_bug (new_argv, nargs, stderr_commented, output); do_report_bug (new_argv, nargs, stderr_commented, err);
} }
out: out: