diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-06-20 23:40:02 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-06-20 23:40:02 +0200 |
commit | 7a9df68ec6a8752f2e95e8ca1ca1fc53384c90c6 (patch) | |
tree | 1e97efe860be065609527c42d2b0729da6a444fa /gcc/testsuite/gcc.dg | |
parent | ab2e14f686162efdd3830198b0f89f7fbda5b3fd (diff) | |
download | gcc-7a9df68ec6a8752f2e95e8ca1ca1fc53384c90c6.zip gcc-7a9df68ec6a8752f2e95e8ca1ca1fc53384c90c6.tar.gz gcc-7a9df68ec6a8752f2e95e8ca1ca1fc53384c90c6.tar.bz2 |
re PR rtl-optimization/71591 (SIGSEGV in test_uncond_jump (rtl-tests.c:90) with -E -fself-test)
PR rtl-optimization/71591
* toplev.c (toplev::run_self_tests): If no_backend, complain and
don't run any tests.
* gcc.dg/cpp/pr71591.c: New test.
From-SVN: r237620
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/pr71591.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/pr71591.c b/gcc/testsuite/gcc.dg/cpp/pr71591.c new file mode 100644 index 0000000..e92cb52 --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/pr71591.c @@ -0,0 +1,5 @@ +/* PR rtl-optimization/71591 */ +/* { dg-do preprocess } */ +/* { dg-options "-fself-test" } */ + +/* { dg-message "self-tests incompatible with -E" "" { target *-*-* } 0 } */ |