PR 31847
* tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree
dumps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124551
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-05-08 Simon Martin <simartin@users.sourceforge.net>
+
+ PR 31847
+ * tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree
+ dumps.
+
2007-05-08 Sandra Loosemore <sandra@codesourcery.com>
Nigel Stephens <nigel@mips.com>
+2007-05-08 Simon Martin <simartin@users.sourceforge.net>
+
+ PR 31847
+ * gcc.dg/pr31847.c: New test.
+
2007-05-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31692
--- /dev/null
+/* PR 31847 */
+
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-tree-pre-all" } */
+
+extern int bar(int);
+
+int foo()
+{
+ int a = 0;
+ return bar(a);
+}
+
+/* { dg-final { scan-tree-dump-not "Created value for " "pre"} } */
+/* { dg-final { cleanup-tree-dump "pre" } } */
{"stmtaddr", TDF_STMTADDR},
{"memsyms", TDF_MEMSYMS},
{"all", ~(TDF_RAW | TDF_SLIM | TDF_LINENO | TDF_TREE | TDF_RTL | TDF_IPA
- | TDF_STMTADDR | TDF_GRAPH)},
+ | TDF_STMTADDR | TDF_GRAPH | TDF_DIAGNOSTIC)},
{NULL, 0}
};