https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
--- Comment #9 from Martin Sebor ---
Author: msebor
Date: Mon Jun 20 15:46:09 2016
New Revision: 237606
URL: https://gcc.gnu.org/viewcvs?rev=237606&root=gcc&view=rev
Log:
PR c/69507 - bogus warning: ISO C does not allow __alignof__ (expression)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
--- Comment #7 from Martin Sebor ---
Author: msebor
Date: Sun Jun 19 16:11:40 2016
New Revision: 237582
URL: https://gcc.gnu.org/viewcvs?rev=237582&root=gcc&view=rev
Log:
PR c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
--- Comment #6 from Martin Sebor ---
Author: msebor
Date: Sun Jun 19 16:10:04 2016
New Revision: 237581
URL: https://gcc.gnu.org/viewcvs?rev=237581&root=gcc&view=rev
Log:
PR c/69507 - bogus warning: ISO C does not allow ‘__alignof__ (expression)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
--- Comment #5 from Martin Sebor ---
Patch posted for review:
https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02216.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
--- Comment #4 from Martin Sebor ---
Created attachment 37483
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37483&action=edit
Proposed patch.
Attaching a proposed patch tested on x86_64-linux. Since GCC is in stage 4
(regression fixes on
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
--- Comment #2 from Martin Sebor ---
The manual says this about -Wpedantic:
-Wpedantic does not cause warning messages for use of the alternate keywords
whose names begin and end with '__'.
GCC accepts without a warning many extensions in ped
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
--- Comment #1 from Andrew Pinski ---
I don't think this is a bogus warning. -pedantic turns off all of GCC
extensions including __attribute__ and asm support IIRC.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69507
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
Severity|normal
10 matches
Mail list logo