Re: [PATCH, driver/64690] Fix -freport-bug issue with comments.

2015-01-22 Thread Jakub Jelinek
On Thu, Jan 22, 2015 at 12:25:20PM +0400, Maxim Ostapenko wrote: > gcc/ChangeLog: > > 2015-01-22 Max Ostapenko > > PR driver/64690 > * gcc.c (insert_comments): New function. > (try_generate_repro): Call it. > (append_text): Removed. > > diff --git a/gcc/gcc.c b/gcc/gcc

[PATCH, driver/64690] Fix -freport-bug issue with comments.

2015-01-22 Thread Maxim Ostapenko
Hi, As -freport-bug dumps also the error output into the file as /* ... */ comment, there is a problem if that text includes /* or */ character sequences. This patch fixes this by not wrapping error output with /* ... */, but comment out each line with C++ style comments instead. Tested on P