[PATCH] Fix PR92997

Richard Biener rguenther@suse.de
Wed Jan 8 14:07:00 GMT 2020


Committed.

Richard.

2020-01-08  Richard Biener  <rguenther@suse.de>

	PR testsuite/92997
	* gcc.dg/torture/ftrapv-1.c (iaddv): Use noipa attribute.

Index: gcc/testsuite/gcc.dg/torture/ftrapv-1.c
===================================================================
--- gcc/testsuite/gcc.dg/torture/ftrapv-1.c	(revision 280000)
+++ gcc/testsuite/gcc.dg/torture/ftrapv-1.c	(working copy)
@@ -13,7 +13,7 @@
 /* Disallow inlining/cloning which would constant propagate and trigger
    unrelated bugs.  */
 
-int __attribute__((noinline,noclone))
+int __attribute__((noipa))
 iaddv (int a, int b)
 {
   return a + b;



More information about the Gcc-patches mailing list