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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2007 21:40:10 -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 #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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30108