[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Wed Nov 23 19:51:27 2016 New Revision: 242795 URL: https://gcc.gnu.org/viewcvs?rev=242795&root=gcc&view=rev Log: PR sanitizer/69278 * opts.c (parse_sanitizer_options): Fo

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #10 from Jakub Jelinek --- Created attachment 40134 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40134&action=edit gcc7-pr69278.patch Untested fix for that.

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #9 from Jakub Jelinek --- You've already changed that behavior in r240491 (but also broke -fsanitize=undefined at the same time, will fix momentarily).

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #8 from Martin Liška --- (In reply to Martin Liška from comment #7) > Well, the actual difference is that they enabled by default > -fsanitize-recover=address: > > ~/bin/llvm/bin/clang -fsanitize=address /tmp/leak.c ; grep store leak

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #7 from Martin Liška --- Well, the actual difference is that they enabled by default -fsanitize-recover=address: ~/bin/llvm/bin/clang -fsanitize=address /tmp/leak.c ; grep store leak.s callq __asan_report_store4_noabort

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-23 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #6 from Martin Liška --- Behavior was changed in between clang 3.7.1 and 3.8.1: https://godbolt.org/g/poL2cY.

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #5 from Martin Liška --- (In reply to Jakub Jelinek from comment #4) > Maybe llvm doesn't care about backwards compatibility, but we do. Sure, are we going to make a behavior change (and document it) in upcoming release? If so, I can

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #4 from Jakub Jelinek --- Maybe llvm doesn't care about backwards compatibility, but we do.

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #3 from Martin Liška --- I've just verified that clang 3.8.1 emits *_noabort calls with -fsanitize-recover=all: $ clang++ -fsanitize=address -fsanitize-recover=all /tmp/leak.c -S ; grep store leak.s callq __asan_report_stor

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-11-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 Andrew Pinski changed: What|Removed |Added Target Milestone|7.0 |---

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-01-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 Martin Liška changed: What|Removed |Added Target Milestone|--- |7.0 --- Comment #2 from Martin Liška ---

[Bug sanitizer/69278] Confusion option handling for -sanitize-recovery=alll

2016-01-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69278 --- Comment #1 from Jakub Jelinek --- This has been the intentional behavior before when -fsanitize-recover=address has not been supported. Now it is just a backwards compatibility thing, unless clang went away and redefined -fsanitize=recover=a