This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 30500
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 25 Mar 2007 19:33:47 -0700
- Subject: Re: [C++ Patch] PR 30500
- References: <46072A6E.7020505@suse.de>
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