This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR middle-end/32304 ICE with ipa-reference turning a variable needing constructing into a const variable
- From: Diego Novillo <dnovillo at google dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 03 Aug 2007 15:51:46 -0400
- Subject: Re: [PATCH] Fix PR middle-end/32304 ICE with ipa-reference turning a variable needing constructing into a const variable
- References: <de8d50360708031206q62584ca9wd909e30a05d7c4ea@mail.gmail.com>
On 8/3/07 3:06 PM, Andrew Pinski wrote:
> * ipa-reference.c (has_proper_scope_for_analysis): Return false when
> the decl's type has
> TYPE_NEEDS_CONSTRUCTING set.
>
> * g++.dg/torture/pr32304.C: New testcase.
OK.