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/59566] New: [4.8 regression] g++ preprocessor output includes comments meant for GNU C Library files


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

            Bug ID: 59566
           Summary: [4.8 regression] g++ preprocessor output includes
                    comments meant for GNU C Library files
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gdlxn at us dot ibm.com

Created attachment 31484
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31484&action=edit
Example input and output files

I've found that g++ 4.8.x preprocessor output unexpectedly includes comments
meant for GNU C Library files.

To illustrate this problem, I ran the g++ preprocessor on test.hpp using as
follows

    g++ -C -E -o test-<gcc-version>.hpp -P test.hpp

With g++ 4.7.3, this generated the expected output file.  However, with g++
4.8.0, 4.8.1, and 4.8.2 the generated output file unexpectedly contained a
number of comments meant for GNU C Library files.


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