PATCH: gcc.dg/20021014-1.c

Loren James Rittle rittle@latour.labs.mot.com
Thu Oct 1 23:09:00 GMT 2009


Either the processing of dg-error changed since 2003, we changed the
message output being considered, or this never worked.  Either way,
this is not actually an error but rather an informational message.

As committed to trunk -c152386. -Loren

	* gcc.dg/20021014-1.c (*-*-freebsd*): Use dg-message.

Index: gcc/testsuite/gcc.dg/20021014-1.c
===================================================================
--- gcc/testsuite/gcc.dg/20021014-1.c	(revision 152346)
+++ gcc/testsuite/gcc.dg/20021014-1.c	(working copy)
@@ -3,7 +3,7 @@
 /* { dg-options "-O2 -p" } */
 /* { dg-options "-O2 -p -static" { target hppa*-*-hpux* } } */
 /* { dg-error "profiler" "No profiler support" { target xstormy16-*-* } 0 } */
-/* { dg-error "" "consider using `-pg' instead of `-p' with gprof(1)" { target *-*-freebsd* } 0 } */
+/* { dg-message "" "consider using `-pg' instead of `-p' with gprof(1)" { target *-*-freebsd* } 0 } */
 
 extern void abort (void);
 extern void exit (int);



More information about the Gcc-patches mailing list