From 2f5124a6e9b63303ac85d832066e67dcd3d694b2 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 24 Oct 2017 16:29:20 +0000 Subject: [PATCH] Fix gcc.target/i386/cet-sjlj-3.c on Solaris * gcc.target/i386/cet-sjlj-3.c: Allow for emtpy user label prefix in setjmp call. From-SVN: r254049 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/cet-sjlj-3.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 18794e49c64..116d85915b7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-24 Rainer Orth + + * gcc.target/i386/cet-sjlj-3.c: Allow for emtpy user label prefix + in setjmp call. + 2017-10-24 Richard Biener PR tree-optimization/82697 diff --git a/gcc/testsuite/gcc.target/i386/cet-sjlj-3.c b/gcc/testsuite/gcc.target/i386/cet-sjlj-3.c index c1efbbeab17..585f4d7ae89 100644 --- a/gcc/testsuite/gcc.target/i386/cet-sjlj-3.c +++ b/gcc/testsuite/gcc.target/i386/cet-sjlj-3.c @@ -2,7 +2,7 @@ /* { dg-options "-O -fcf-protection -mcet" } */ /* { dg-final { scan-assembler-times "endbr32" 4 { target ia32 } } } */ /* { dg-final { scan-assembler-times "endbr64" 4 { 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