This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30108] [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2007 21:46:09 -0000
- Subject: [Bug c++/30108] [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
- References: <bug-30108-13708@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from mark at codesourcery dot com 2007-03-13 21:46 -------
Subject: Re: [4.0/4.1 Regression] internal compiler error:
in make_decl_rtl, at varasm.c:890
pinskia at gcc dot gnu dot org wrote:
> ------- Comment #14 from pinskia at gcc dot gnu dot org 2007-03-13 21:40 -------
> (In reply to comment #13)
>> I think this patch causes the regression reported in PR 31165. copy_node is
>> incorrect as it will even copy decls, I think copy_node should be replaced with
>> unshare_expr instead.
>
> A quick run with that change, fixes 31165.
Thanks for that testing. That patch is pre-approved. If you don't want
to handle it, let me know, and I will do it.
Thanks,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30108