diff mbox

Patch RFA: With -fnon-call-exceptions sync builtins may throw

Message ID mvmy553upwm.fsf@hawking.suse.de
State New
Headers show

Commit Message

Andreas Schwab Nov. 5, 2013, 10:03 a.m. UTC
Ian Lance Taylor <iant@google.com> writes:

> gcc/testsuite/ChangeLog:
>
> 2013-11-03  Ian Lance Taylor  <iant@google.com>
>
> 	* g++.dg/ext/sync-4.C: New test.

Tested on m68k-suse-linux and x86_64-suse-linux and installed as obvious.

Andreas.

	* g++.dg/ext/sync-4.C: Require sync_long_long_runtime support.
diff mbox

Patch

diff --git a/gcc/testsuite/g++.dg/ext/sync-4.C b/gcc/testsuite/g++.dg/ext/sync-4.C
index f99fd48..14ed273 100644
--- a/gcc/testsuite/g++.dg/ext/sync-4.C
+++ b/gcc/testsuite/g++.dg/ext/sync-4.C
@@ -1,4 +1,5 @@ 
 /* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* } } */
+/* { dg-require-effective-target sync_long_long_runtime } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 
 /* Verify that the builtin functions are correctly marked as trapping