This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/13726] [3.3/3.4/4.0 regression]cpp -C -dI loses comments on same line as #include directives
- From: "neroden at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2004 02:39:35 -0000
- Subject: [Bug preprocessor/13726] [3.3/3.4/4.0 regression]cpp -C -dI loses comments on same line as #include directives
- References: <20040118012210.13726.neroden@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From neroden at gcc dot gnu dot org 2004-11-27 02:39 -------
libcpp turns off save_comments in start_directive, near the start of
_cpp_handle_directive (all in directives.c). This is arguably mistaken, but
there's probably a reason for it, so I'm loathe to just remove it
unconditionally. :-P
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0 3.4.0 |4.0.0 3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13726