This is the mail archive of the gcc-patches@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]

Re: [C++ Patch] PR 30500


Paolo Carlini wrote:

> 2007-03-25  Paolo Carlini  <pcarlini@suse.de>
> 
> 	PR c++/30500
> 	* pt.c (instantiate_decl): Set in_system_header.
> 
> 2007-03-25  Paolo Carlini  <pcarlini@suse.de>
> 
> 	PR c++/30500
> 	* g++.dg/warn/pragma-system_header1.C: New test.
> 	* g++.dg/warn/pragma-system_header1.h. New.

OK for mainline, as long as you check that in_system_header is restored
upon pop_from_top_level.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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