https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
Tom de Vries changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #15 from Tom de Vries ---
Created attachment 42653
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42653&action=edit
conformance scan results
Output from command:
$ rm -f OUTPUT; for f in $(find . | egrep -v '\.git|/testsuite/'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #13 from Tom de Vries ---
Author: vries
Date: Tue Nov 7 08:11:43 2017
New Revision: 254489
URL: https://gcc.gnu.org/viewcvs?rev=254489&root=gcc&view=rev
Log:
[libgcc] Remove semicolon after do {} while (0) in FP_HANDLE_EXCEPTIONS
2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #14 from Tom de Vries ---
Author: vries
Date: Tue Nov 7 08:11:54 2017
New Revision: 254490
URL: https://gcc.gnu.org/viewcvs?rev=254490&root=gcc&view=rev
Log:
[arm] Remove semicolon after while {} do (0) in HANDLE_NARROW_SHIFT_ARITH
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #12 from Tom de Vries ---
Author: vries
Date: Sun Nov 5 09:58:27 2017
New Revision: 254425
URL: https://gcc.gnu.org/viewcvs?rev=254425&root=gcc&view=rev
Log:
Remove semicolon after do {} while (0) in DEF_SANITIZER_BUILTIN
2017-11-0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #8 from Tom de Vries ---
Author: vries
Date: Sun Nov 5 09:57:43 2017
New Revision: 254421
URL: https://gcc.gnu.org/viewcvs?rev=254421&root=gcc&view=rev
Log:
[graphite] Remove semicolon after do {} while (0) in DEBUG_PRINT
2017-11-0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #9 from Tom de Vries ---
Author: vries
Date: Sun Nov 5 09:57:53 2017
New Revision: 254422
URL: https://gcc.gnu.org/viewcvs?rev=254422&root=gcc&view=rev
Log:
[fortran] Remove semicolon after do {} while (0) in match macros
2017-11-0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #11 from Tom de Vries ---
Author: vries
Date: Sun Nov 5 09:58:16 2017
New Revision: 254424
URL: https://gcc.gnu.org/viewcvs?rev=254424&root=gcc&view=rev
Log:
[libcpp] Remove semicolon after do {} while (0) in BUF_APPEND
2017-11-05
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #10 from Tom de Vries ---
Author: vries
Date: Sun Nov 5 09:58:05 2017
New Revision: 254423
URL: https://gcc.gnu.org/viewcvs?rev=254423&root=gcc&view=rev
Log:
Remove semicolon after ASM_OUTPUT_BEFORE_CASE_LABEL macro body
2017-11-05
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #7 from Tom de Vries ---
Author: vries
Date: Sun Nov 5 09:57:30 2017
New Revision: 254420
URL: https://gcc.gnu.org/viewcvs?rev=254420&root=gcc&view=rev
Log:
[libquadmath] Remove semicolon after do {} while (0) in MPN_MUL_N_RECURSE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #6 from Tom de Vries ---
Author: vries
Date: Sun Nov 5 09:57:17 2017
New Revision: 254419
URL: https://gcc.gnu.org/viewcvs?rev=254419&root=gcc&view=rev
Log:
[libsanitizer] Remove semicolon after do {} while (0) in macro body
2017-1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
Andi Kleen changed:
What|Removed |Added
CC||andi-gcc at firstfloor dot org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #4 from Tom de Vries ---
Created attachment 42506
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42506&action=edit
More minimal asan.c patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #3 from Tom de Vries ---
Created attachment 42505
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42505&action=edit
asan.c patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #2 from Jonathan Wakely ---
So the way it's used is correct ... but why bother with the do {...} while(0)
in that case? It could just use {...} instead.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784
--- Comment #1 from Andrew Pinski ---
Some of these makes sense.
gcc/asan.c makes sense:
#define DEF_SANITIZER_BUILTIN(ENUM, NAME, TYPE, ATTRS) \
do { \
decl = add_builtin_fun
16 matches
Mail list logo