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 Mon, May 7, 2012 at 4:58 PM, Sharad Singhai <singhai@google.com> wrote:
> This is the first patch for planned improvements to dump
> infrastructure. ?Please reference the discussion in
> http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02088.html.
>
> The following small patch allows selective tree and rtl dumps on
> stderr instead of named files. ?Later -fopt-info can be implemented in
> form of -fdump-xxx-stderr.

Instead of -fdump-xxx-stderr, it will be better to have

    -fdump-xxx=yyy

where yyy is a path to a file, with "stderr" and "stdout" having
special meaning.

-- Gaby


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