Re: C PATCH to fix bogus inform with -Wc++-compat (PR c/81795)

2017-08-11 Thread Joseph Myers
On Fri, 11 Aug 2017, Marek Polacek wrote: > Pretty trivial patch -- these two informs weren't properly guarded so > they'd trigger even if the warning was disabled via #pragma. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? OK. -- Joseph S. Myers jos...@codesourcery.com

C PATCH to fix bogus inform with -Wc++-compat (PR c/81795)

2017-08-11 Thread Marek Polacek
Pretty trivial patch -- these two informs weren't properly guarded so they'd trigger even if the warning was disabled via #pragma. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2017-08-11 Marek Polacek PR c/81795 * c-decl.c (pushtag): Only print