This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Remove ICEing test-case.
- From: Martin Liška <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 20 Mar 2018 09:08:14 +0100
- Subject: [PATCH] Remove ICEing test-case.
Hi.
The CHKP test-case ICEs for me and as CHKP will be removed in next stage1,
I would like to remove the test-case. Will it be possible?
Martin
gcc/testsuite/ChangeLog:
2018-03-19 Martin Liska <mliska@suse.cz>
* gcc.dg/lto/chkp-ctor-merge_0.c: Remove.
---
gcc/testsuite/gcc.dg/lto/chkp-ctor-merge_0.c | 23 -----------------------
1 file changed, 23 deletions(-)
delete mode 100644 gcc/testsuite/gcc.dg/lto/chkp-ctor-merge_0.c
diff --git a/gcc/testsuite/gcc.dg/lto/chkp-ctor-merge_0.c b/gcc/testsuite/gcc.dg/lto/chkp-ctor-merge_0.c
deleted file mode 100644
index ac4095bf012..00000000000
--- a/gcc/testsuite/gcc.dg/lto/chkp-ctor-merge_0.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* { dg-lto-do run } */
-/* { dg-require-effective-target mpx } */
-/* { dg-lto-options { { -O2 -flto -fcheck-pointer-bounds -mmpx -nodefaultlibs -lc } } } */
-
-int glob = 1;
-
-void __attribute__((constructor))
-ctor1 ()
-{
- glob += 1;
-}
-
-
-void __attribute__((constructor))
-ctor2 ()
-{
- glob -= 2;
-}
-
-int main (int argc, const char **argv)
-{
- return glob;
-}