summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/cpp/syshdr4.c24
-rw-r--r--gcc/testsuite/gcc.dg/cpp/syshdr4.h8
-rw-r--r--gcc/testsuite/gcc.dg/cpp/syshdr5.c14
-rw-r--r--gcc/testsuite/gcc.dg/cpp/syshdr5.h6
5 files changed, 0 insertions, 57 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e12393c9e59..e0133116b91 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -13,11 +13,6 @@
* g++.dg/cpp1y/pr59867.C: Fix target selector.
-2014-07-01 Dodji Seketeli <dodji@redhat.com>
-
- PR preprocessor/60723
- * gcc.dg/cpp/syshdr{4,5}.{c,h}: New test files.
-
2014-07-01 Marek Polacek <polacek@redhat.com>
* gcc.dg/Wint-conversion.c: New test.
diff --git a/gcc/testsuite/gcc.dg/cpp/syshdr4.c b/gcc/testsuite/gcc.dg/cpp/syshdr4.c
deleted file mode 100644
index fe001d2ed0e..00000000000
--- a/gcc/testsuite/gcc.dg/cpp/syshdr4.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Contributed by Nicholas Ormrod */
-/* Origin: PR preprocessor/60723 */
-
-/* This tests that multi-line macro callsites, which are defined
- in system headers and whose expansion contains a builtin followed
- by a non-builtin token, do not generate a line directive that
- mark the current file as being a system file, when performing
- non-integrated preprocessing. */
-/* System files suppress div-by-zero warnings, so the presence of
- such indicates the lack of the bug.
-
- { dg-do compile }
- { dg-options -no-integrated-cpp } */
-
-#include "syshdr4.h"
-FOO(
-)
-
-int
-foo()
-{
- return 1 / 0; /* { dg-warning "div-by-zero" } */
- return 0;
-}
diff --git a/gcc/testsuite/gcc.dg/cpp/syshdr4.h b/gcc/testsuite/gcc.dg/cpp/syshdr4.h
deleted file mode 100644
index c464f6e702a..00000000000
--- a/gcc/testsuite/gcc.dg/cpp/syshdr4.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* Contributed by Nicholas Ormrod
- Origin: PR preprocessor/60723.
-
- This file is to be included by the syshdr4.c file. */
-
-#pragma GCC system_header
-
-#define FOO() int line = __LINE__ ;
diff --git a/gcc/testsuite/gcc.dg/cpp/syshdr5.c b/gcc/testsuite/gcc.dg/cpp/syshdr5.c
deleted file mode 100644
index 42c62638d99..00000000000
--- a/gcc/testsuite/gcc.dg/cpp/syshdr5.c
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Origin: PR preprocessor/60723
-
- { dg-do compile }
- { dg-options -no-integrated-cpp } */
-
-#include "syshdr5.h"
-
-int
-main()
-{
- FOO(1/0 /* { dg-warning "division by zero" } */
- );
- return 0;
-}
diff --git a/gcc/testsuite/gcc.dg/cpp/syshdr5.h b/gcc/testsuite/gcc.dg/cpp/syshdr5.h
deleted file mode 100644
index 300d6c36a03..00000000000
--- a/gcc/testsuite/gcc.dg/cpp/syshdr5.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Origin: PR preprocessor/60723
-
- This header file is to be included by the syshdr5.c file. */
-
-#pragma GCC system_header
-#define FOO(A)do {int line = __LINE__ ; A;} while(0)