[Bug preprocessor/28165] _Pragma GCC system_header broken

2007-01-04 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2007-01-04 15:33 --- I checked in a fix for this. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/28165] _Pragma GCC system_header broken

2007-01-04 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2007-01-04 15:32 --- Subject: Bug 28165 Author: tromey Date: Thu Jan 4 15:32:26 2007 New Revision: 120441 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120441 Log: libcpp PR preprocessor/28165: * internal.h (cpp

[Bug preprocessor/28165] _Pragma GCC system_header broken

2007-01-01 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2007-01-01 21:56 --- Subject: Bug number PR preprocessor/28165 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01850.html -- http://gcc.gnu.o

[Bug preprocessor/28165] _Pragma GCC system_header broken

2006-12-28 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-12-29 04:29 --- I think this will also occur for _Pragma("once") -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28165

[Bug preprocessor/28165] _Pragma GCC system_header broken

2006-12-28 Thread tromey at gcc dot gnu dot org
--- 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'