------- Comment #1 from tromey at gcc dot gnu dot org 2006-12-29 03:28 -------
This happens because destringize_and_run calls cpp_push_buffer.
The new buffer has a non-null 'prev'; do_pragma_system_header
checks for prev==NULL to determine whether the directive is
in the primary source file.
I'm testing a patch for this.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-12-29 03:28:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28165