From 5dd9af4977aeff30b38c3b4cb68241e823013b9d Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 25 Oct 2017 09:15:30 +0000 Subject: [PATCH] Fix gcc.target/i386/cet-sjlj-5.c on Solaris * gcc.target/i386/cet-sjlj-5.c: Allow for emtpy user label prefix in setjmp call. From-SVN: r254070 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/cet-sjlj-5.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 00dde9f9d6d..27aad40dafa 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-25 Rainer Orth + + * gcc.target/i386/cet-sjlj-5.c: Allow for emtpy user label prefix + in setjmp call. + 2017-10-25 Jakub Jelinek PR libstdc++/81706 diff --git a/gcc/testsuite/gcc.target/i386/cet-sjlj-5.c b/gcc/testsuite/gcc.target/i386/cet-sjlj-5.c index 12ea9f4e442..8e54b4bfec8 100644 --- a/gcc/testsuite/gcc.target/i386/cet-sjlj-5.c +++ b/gcc/testsuite/gcc.target/i386/cet-sjlj-5.c @@ -2,7 +2,7 @@ /* { dg-options "-O -fcf-protection -mcet" } */ /* { dg-final { scan-assembler-times "endbr32" 2 { target ia32 } } } */ /* { dg-final { scan-assembler-times "endbr64" 2 { target { ! ia32 } } } } */ -/* { dg-final { scan-assembler-times "call _setjmp" 1 } } */ +/* { dg-final { scan-assembler-times "call _?setjmp" 1 } } */ /* { dg-final { scan-assembler-times "call longjmp" 1 } } */ #include -- 2.30.2