Commit 5190f1f9 by Jakub Jelinek Committed by Jakub Jelinek

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
parent 5e884ae3
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>
Kito Cheng <kito.cheng@gmail.com>
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment