This is the mail archive of the gcc-bugs@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]

[Bug fortran/25923] [gfortran] garbled diagnostics with -O -Wuninitialized



------- Comment #5 from simartin at gcc dot gnu dot org  2007-04-24 21:52 -------
Subject: Bug 25923

Author: simartin
Date: Tue Apr 24 21:52:16 2007
New Revision: 124121

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124121
Log:
2007-04-24  Simon Martin  <simartin@users.sourceforge.net>

        PR diagnostic/25923
        * tree-pass.h (TDF_DIAGNOSTIC): New dump control to specify that a
        diagnostic message is being built.
        * tree-pretty-print.c (dump_generic_node): Only write the formatted
text
        into BUFFER's stream if we are not building a diagnostic message.
        * toplev.c (default_tree_printer): Pass TDF_DIAGNOSTIC to
        dump_generic_node.
        * Makefile.in (toplev.o): Depend on tree-pass.h.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr25923.f90
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/toplev.c
    trunk/gcc/tree-pass.h
    trunk/gcc/tree-pretty-print.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25923


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