Add missing ECF_NOTHROW flags to internal.def
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 17 Aug 2017 16:31:09 +0000 (16:31 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 17 Aug 2017 16:31:09 +0000 (16:31 +0000)
This patch adds missing ECF_NOTHROW flags to the vectorisable
integer internal functions.

2017-08-17  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* internal-fn.def (CLRSB, CLZ, CTZ, FFS, PARITY, POPCOUNT): Add
missing ECF_NOTHROW flags.

From-SVN: r251155

gcc/ChangeLog
gcc/internal-fn.def

index 5ccbeddd7a37d3f21c2eb5d047e0e04825b77919..a51c2599a77ea2d280cf6debeff00f4a38d8f45b 100644 (file)
@@ -1,3 +1,8 @@
+2017-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * internal-fn.def (CLRSB, CLZ, CTZ, FFS, PARITY, POPCOUNT): Add
+       missing ECF_NOTHROW flags.
+
 2017-08-17  Peter Bergner  <bergner@vnet.ibm.com>
 
        PR target/72804
index b1211159845f07faa60c3daf527bffcf485af768..e21e125a339ffbdaf954243fe99d22c59686df8e 100644 (file)
@@ -135,12 +135,12 @@ DEF_INTERNAL_OPTAB_FN (XORSIGN, ECF_CONST, xorsign, binary)
 DEF_INTERNAL_FLT_FN (LDEXP, ECF_CONST, ldexp, binary)
 
 /* Unary integer ops.  */
-DEF_INTERNAL_INT_FN (CLRSB, ECF_CONST, clrsb, unary)
-DEF_INTERNAL_INT_FN (CLZ, ECF_CONST, clz, unary)
-DEF_INTERNAL_INT_FN (CTZ, ECF_CONST, ctz, unary)
-DEF_INTERNAL_INT_FN (FFS, ECF_CONST, ffs, unary)
-DEF_INTERNAL_INT_FN (PARITY, ECF_CONST, parity, unary)
-DEF_INTERNAL_INT_FN (POPCOUNT, ECF_CONST, popcount, unary)
+DEF_INTERNAL_INT_FN (CLRSB, ECF_CONST | ECF_NOTHROW, clrsb, unary)
+DEF_INTERNAL_INT_FN (CLZ, ECF_CONST | ECF_NOTHROW, clz, unary)
+DEF_INTERNAL_INT_FN (CTZ, ECF_CONST | ECF_NOTHROW, ctz, unary)
+DEF_INTERNAL_INT_FN (FFS, ECF_CONST | ECF_NOTHROW, ffs, unary)
+DEF_INTERNAL_INT_FN (PARITY, ECF_CONST | ECF_NOTHROW, parity, unary)
+DEF_INTERNAL_INT_FN (POPCOUNT, ECF_CONST | ECF_NOTHROW, popcount, unary)
 
 DEF_INTERNAL_FN (GOMP_USE_SIMT, ECF_NOVOPS | ECF_LEAF | ECF_NOTHROW, NULL)
 DEF_INTERNAL_FN (GOMP_SIMT_ENTER, ECF_LEAF | ECF_NOTHROW, NULL)