From: Jakub Jelinek Date: Tue, 9 Jan 2018 08:02:01 +0000 (+0100) Subject: re PR preprocessor/83722 (the ICE dumper doesn't comment-out some error messages) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5190f1f98d7c14c0a0bf4f003da0f3a38b31ad14;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8e84c57aac..7a7736fee19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2018-01-09 Jakub Jelinek + + 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 Kito Cheng diff --git a/gcc/gcc.c b/gcc/gcc.c index 26930fa7d39..f55883a9659 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -7035,8 +7035,8 @@ try_generate_repro (const char **argv) /* In final attempt we append compiler options and preprocesssed code to last generated .out file with configuration and backtrace. */ - char **output = &temp_stdout_files[RETRY_ICE_ATTEMPTS - 1]; - do_report_bug (new_argv, nargs, stderr_commented, output); + char **err = &temp_stderr_files[RETRY_ICE_ATTEMPTS - 1]; + do_report_bug (new_argv, nargs, stderr_commented, err); } out: