This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/61412] Warnings incorrectly suppressed when compiling previously preprocessed file


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61412

Matt Godbolt <matt at godbolt dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #14 from Matt Godbolt <matt at godbolt dot org> ---
(In reply to Manuel LÃpez-IbÃÃez from comment #9)
> but maybe it is a dup of PR60723.

It does indeed look like this. My reproduction attempts all failed until I put
a newline into my macro, which then triggers output like '# "file.cpp" 4 3'
after the newlines, which then causes suppression of warnings downstream.

I'll mark this bug as a duplicate, thanks for spotting it!

*** This bug has been marked as a duplicate of bug 60723 ***

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]