Set proper internal functions fnspec (PR sanitizer/84307).
authorMartin Liska <mliska@suse.cz>
Fri, 16 Feb 2018 10:03:47 +0000 (11:03 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 16 Feb 2018 10:03:47 +0000 (10:03 +0000)
2018-02-16  Martin Liska  <mliska@suse.cz>

PR sanitizer/84307
* internal-fn.def (ASAN_CHECK): Set proper flags.
(ASAN_MARK): Likewise.

From-SVN: r257729

gcc/ChangeLog
gcc/internal-fn.def

index 3b6f5c3f0ee4e59da02c31912b7cb5bd1109e62e..9e7b575b38a70d3828ddc978ae6628de44e28419 100644 (file)
@@ -1,3 +1,9 @@
+2018-02-16  Martin Liska  <mliska@suse.cz>
+
+       PR sanitizer/84307
+       * internal-fn.def (ASAN_CHECK): Set proper flags.
+       (ASAN_MARK): Likewise.
+
 2018-02-16  Julia Koval  <julia.koval@intel.com>
 
        * config/i386/i386.c (ix86_option_override_internal): Remove PTA_CLWB
index 5970d0e472cf685b71ec748a17c37940f4d11927..4080e1698ea82404a1102ef586cce64100033e76 100644 (file)
@@ -255,8 +255,8 @@ DEF_INTERNAL_FN (UBSAN_PTR, ECF_LEAF | ECF_NOTHROW, ".R.")
 DEF_INTERNAL_FN (UBSAN_OBJECT_SIZE, ECF_LEAF | ECF_NOTHROW, NULL)
 DEF_INTERNAL_FN (ABNORMAL_DISPATCHER, ECF_NORETURN, NULL)
 DEF_INTERNAL_FN (BUILTIN_EXPECT, ECF_CONST | ECF_LEAF | ECF_NOTHROW, NULL)
-DEF_INTERNAL_FN (ASAN_CHECK, ECF_TM_PURE | ECF_LEAF | ECF_NOTHROW, ".R...")
-DEF_INTERNAL_FN (ASAN_MARK, ECF_LEAF | ECF_NOTHROW, ".R..")
+DEF_INTERNAL_FN (ASAN_CHECK, ECF_TM_PURE | ECF_LEAF | ECF_NOTHROW, "..R..")
+DEF_INTERNAL_FN (ASAN_MARK, ECF_LEAF | ECF_NOTHROW, NULL)
 DEF_INTERNAL_FN (ASAN_POISON, ECF_LEAF | ECF_NOTHROW | ECF_NOVOPS, NULL)
 DEF_INTERNAL_FN (ASAN_POISON_USE, ECF_LEAF | ECF_NOTHROW | ECF_NOVOPS, NULL)
 DEF_INTERNAL_FN (ADD_OVERFLOW, ECF_CONST | ECF_LEAF | ECF_NOTHROW, NULL)