[Bug preprocessor/81364] Bogus -Wmultistatement-macros warning

2017-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81364 --- Comment #2 from Marek Polacek --- C++ doesn't warn. The problem is that we shouldn't warn (in the C FE) when a guard is followed by '{'.

[Bug preprocessor/81364] Bogus -Wmultistatement-macros warning

2017-07-11 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81364 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug preprocessor/81364] Bogus -Wmultistatement-macros warning

2017-07-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81364 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|