This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19956] [4.0 Regression] ICE copy_tree_r, at tree-inline.c:2320 on simple Ada code
- 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: 15 Feb 2005 05:45:22 -0000
- Subject: [Bug middle-end/19956] [4.0 Regression] ICE copy_tree_r, at tree-inline.c:2320 on simple Ada code
- References: <20050214184509.19956.laurent@guerby.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-15 05:45 -------
Hmm, here is what is going on:
long int p__x2___PAD___XVZ = x1.F.d == 0 ? 32 : 64;
struct p__x2___PAD x2;
We gimplify p__x2___PAD___XVZ but that is the TYPE_SIZE of p__x2___PAD in which we ICE as it now
contains a STATEMENT_LIST which we cannot (and should not) copy via copy_tree_r.
Someone who has more knowlege about the gimplifier and PLACEHOLDER_EXPRs should look into this
more.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19956