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 preprocessor/27777] New: Bad diagnostic emission when #error contains a trigraph


Testcase, compiled with -trigraphs:
#error "BUG??!"

produces:

x.c:3:2: error: #error "BUG|"x.c:3:12: warning: trigraph ??! converted to |

The diagnostics are good, but there should be a newline in-between those.

-Chris


-- 
           Summary: Bad diagnostic emission when #error contains a trigraph
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sabre at nondot dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27777


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