This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

David

> -- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]