https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
--- Comment #9 from Andrew Pinski ---
(In reply to Fangrui Song from comment #8)
> Note: Clang supports
> __attribute__((no_sanitize("address","undefined")))
> but not
> __attribute__((no_sanitize("address,undefined")))
>
> Possibly reject
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #8 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
Martin Liška changed:
What|Removed |Added
Status|NEW |RESOLVED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
--- Comment #6 from Martin Liška ---
Author: marxin
Date: Tue Jun 13 13:59:05 2017
New Revision: 249158
URL: https://gcc.gnu.org/viewcvs?rev=249158=gcc=rev
Log:
Implement no_sanitize function attribute
2017-06-13 Martin Liska
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
Martin Liška changed:
What|Removed |Added
Target Milestone|--- |8.0
--- Comment #5 from Martin Liška
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
--- Comment #4 from Jeffrey Walton ---
(In reply to Martin Liška from comment #3)
> As I'm reading the source code, there's no option to do that.
> Apart from 'no_sanitize' attribute, GCC supports 'no_sanitize_undefined'
> attribute (clang does
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
Martin Liška changed:
What|Removed |Added
Status|WAITING |NEW
Severity|normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
--- Comment #2 from Jan Kratochvil ---
Yes, that would be the best, to stay compatible with clang.
Or is there some other way how to disable -fsanitize=float-divide-by-zero only
for one function / block of code?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78204
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|