[Bug c/105207] New: C preprocessor: splicing physical source lines to form logical source lines may not work

pavel.morozkin at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 9 21:49:21 GMT 2022


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

            Bug ID: 105207
           Summary: C preprocessor: splicing physical source lines to form
                    logical source lines may not work
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pavel.morozkin at gmail dot com
  Target Milestone: ---

Sample code:
xxx \
#error

Invocation:
$ gcc t6.c -E

Actual output:
xxx
 #error

Expected output:
xxx #error


More information about the Gcc-bugs mailing list