[PATCH] Add option for dumping to stderr (issue6190057)

Xinliang David Li davidxl@google.com
Sat May 12 16:39:00 GMT 2012

On Sat, May 12, 2012 at 9:26 AM, Gabriel Dos Reis
<gdr@integrable-solutions.net> wrote:
> On Sat, May 12, 2012 at 11:05 AM, Xinliang David Li <davidxl@google.com> wrote:
>> The downside is that the dump file format will look different from the
>> stderr output which is less than ideal.
> BTW, why do people want to use stderr for dumping internal IRs,
> as opposed to stdout or other files?  That does not sound right.

I was talking about the transformation information difference. In
stderr (where diagnostics go to), we may have

foo.c: in function 'foo':
foo.c:5:6: note: loop was vectorized

but in dump file the format for the information may be different,
unless we want to duplicate the machinery in diagnostics.


> -- Gaby

More information about the Gcc-patches mailing list