[Bug preprocessor/59566] New: [4.8 regression] g++ preprocessor output includes comments meant for GNU C Library files
gdlxn at us dot ibm.com
gcc-bugzilla@gcc.gnu.org
Fri Dec 20 04:12:00 GMT 2013
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.
More information about the Gcc-bugs
mailing list