[Bug preprocessor/81515] C pre-processor allows invalid words

2017-07-22 Thread barto at cambridgesemantics dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81515 --- Comment #5 from David Barto --- This is about the #ele which I would expect to either generate a parse error or a warning of some kind.

[Bug preprocessor/81515] C pre-processor allows invalid words

2017-07-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81515 --- Comment #4 from Jonathan Wakely --- The #if group is not processed because it's control condition evaluates to zero, so the non-directive #ele is ignored. See http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_412.htm

[Bug preprocessor/81515] C pre-processor allows invalid words

2017-07-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81515 --- Comment #3 from Andrew Pinski --- Note the C preprocessor makes "#ele" valid if under a #if 0 section.

[Bug preprocessor/81515] C pre-processor allows invalid words

2017-07-22 Thread tavianator at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81515 Tavian Barnes changed: What|Removed |Added CC||tavianator at gmail dot com --- Comment

[Bug preprocessor/81515] C pre-processor allows invalid words

2017-07-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81515 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---