OSDN Git Service

[gcc/testsuite/ChangeLog]
authorcgd <cgd@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Sep 2009 08:08:06 +0000 (08:08 +0000)
committercgd <cgd@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Sep 2009 08:08:06 +0000 (08:08 +0000)
2009-09-20  Chris Demetriou  <cgd@google.com>

        PR preprocessor/28435:
        * gcc.dg/cpp/missing-header-MD.c: Make output checking match
        gcc.dg/cpp/missing-header-1.c, and add PR number to test comment.
        * gcc.dg/cpp/missing-header-MMD.c: Likewise.
        * gcc.dg/cpp/missing-sysheader-MD.c: Likewise.
        * gcc.dg/cpp/missing-sysheader-MMD.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151894 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/missing-header-MD.c
gcc/testsuite/gcc.dg/cpp/missing-header-MMD.c
gcc/testsuite/gcc.dg/cpp/missing-sysheader-MD.c
gcc/testsuite/gcc.dg/cpp/missing-sysheader-MMD.c

index c2841f6..97997ae 100644 (file)
@@ -1,3 +1,12 @@
+2009-09-20  Chris Demetriou  <cgd@google.com>
+
+       PR preprocessor/28435:
+       * gcc.dg/cpp/missing-header-MD.c: Make output checking match
+       gcc.dg/cpp/missing-header-1.c, and add PR number to test comment.
+       * gcc.dg/cpp/missing-header-MMD.c: Likewise.
+       * gcc.dg/cpp/missing-sysheader-MD.c: Likewise.
+       * gcc.dg/cpp/missing-sysheader-MMD.c: Likewise.
+
 2009-09-19  Adam Nemet  <anemet@caviumnetworks.com>
 
        * gcc.target/mips/mips.exp: Add relax-pic-calls
index 1983525..7ed2e60 100644 (file)
@@ -1,6 +1,10 @@
-/* Test that missing user headers are fatal errors with -MD.  */
+/* Test that missing user headers are fatal errors with -MD.  PR 28435.  */
 /* { dg-do compile } */
 /* { dg-options "-MD" } */
 
-#include "nonexistent.h" /* { dg-error "nonexistent.h" } */
+#include "nonexistent.h"
+/* { dg-message "nonexistent.h" "" { target *-*-* } 0 } */
 /* { dg-message "terminated" "" { target *-*-* } 0 } */
+
+/* This declaration should not receive any diagnostic.  */
+foo bar;
index aff8d39..2c1da30 100644 (file)
@@ -1,6 +1,10 @@
-/* Test that missing user headers are fatal errors with -MMD.  */
+/* Test that missing user headers are fatal errors with -MMD.  PR 28435.  */
 /* { dg-do compile } */
 /* { dg-options "-MMD" } */
 
-#include "nonexistent.h" /* { dg-error "nonexistent.h" } */
+#include "nonexistent.h"
+/* { dg-message "nonexistent.h" "" { target *-*-* } 0 } */
 /* { dg-message "terminated" "" { target *-*-* } 0 } */
+
+/* This declaration should not receive any diagnostic.  */
+foo bar;
index bf255a4..e1324af 100644 (file)
@@ -1,6 +1,10 @@
-/* Test that missing system headers are fatal errors with -MD.  */
+/* Test that missing system headers are fatal errors with -MD.  PR 28435.  */
 /* { dg-do compile } */
 /* { dg-options "-MD" } */
 
-#include <nonexistent.h> /* { dg-error "nonexistent.h" } */
+#include <nonexistent.h>
+/* { dg-message "nonexistent.h" "" { target *-*-* } 0 } */
 /* { dg-message "terminated" "" { target *-*-* } 0 } */
+
+/* This declaration should not receive any diagnostic.  */
+foo bar;
index 10cd870..fb629ae 100644 (file)
@@ -1,6 +1,10 @@
-/* Test that missing system headers are fatal errors with -MMD.  */
+/* Test that missing system headers are fatal errors with -MMD.  PR 28435.  */
 /* { dg-do compile } */
 /* { dg-options "-MMD" } */
 
-#include <nonexistent.h> /* { dg-error "nonexistent.h" } */
+#include <nonexistent.h>
+/* { dg-message "nonexistent.h" "" { target *-*-* } 0 } */
 /* { dg-message "terminated" "" { target *-*-* } 0 } */
+
+/* This declaration should not receive any diagnostic.  */
+foo bar;