This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/11514] [tree-ssa] ICE on bootstrap with ada in sem_util.adb --- walk_tree does not know about PLACEHOLDER_EXPR
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2003 08:42:02 -0000
- Subject: [Bug middle-end/11514] [tree-ssa] ICE on bootstrap with ada in sem_util.adb --- walk_tree does not know about PLACEHOLDER_EXPR
- References: <20030713191541.11514.dhazeghi@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11514
------- Additional Comments From steven at gcc dot gnu dot org 2003-07-19 08:42 -------
I believe that in the mean time, this should fix the problem.
Index: tree-inline.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-inline.c,v
retrieving revision 1.26.2.34
diff -c -3 -p -r1.26.2.34 tree-inline.c
*** tree-inline.c 14 Jul 2003 21:18:48 -0000 1.26.2.34
--- tree-inline.c 19 Jul 2003 08:39:42 -0000
*************** walk_tree (tp, func, data, htab_)
*** 1578,1583 ****
--- 1578,1584 ----
case ENUMERAL_TYPE:
case BLOCK:
case RECORD_TYPE:
+ case PLACEHOLDER_EXPR:
case SSA_NAME:
/* None of thse have subtrees other than those already walked
above. */