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/65713] New: C Preprocessor generates invalid output


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

            Bug ID: 65713
           Summary: C Preprocessor generates invalid output
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krejzi at email dot com

Created attachment 35274
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35274&action=edit
gcc-4.9.2 output

Using GCC snapshot 5.0.0 20150405 (experimental) and trying to build
libgpg-error-1.18, which generates a header file using the output from gcc -E
on a header file. Output from gcc-4.9.2 and the mentioned snapshot is
different, which causes libgpg-error to fail to compile.

gcc-4.9.2 gives the output from first.txt
mentioned snapshot gives the output from second.txt

The header file used in both examples is the third attachment.


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