This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12040] [3.4 Regression] tree checking ICE in genrtl_cleanup_stmt
- From: "janis187 at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2003 20:12:41 -0000
- Subject: [Bug c++/12040] [3.4 Regression] tree checking ICE in genrtl_cleanup_stmt
- References: <20030823094625.12040.jss@ast.cam.ac.uk>
- 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=12040
janis187 at us dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
------- Additional Comments From janis187 at us dot ibm dot com 2003-08-29 20:12 -------
The regression in PR 12040 was introduced or exposed by this patch:
--- gcc/gcc/cp/ChangeLog ---
2003-08-20 Jason Merrill <jason@redhat.com>
* semantics.c (simplify_aggr_init_expr): Split out from
simplify_aggr_init_exprs_r. Convert slot address to match
the return type.
* cp-tree.h: Declare it.
* tree.c (cp_copy_res_decl_for_inlining): Don't clobber the
DECL_NAME of a user variable.
The regression hunt took place on i686-pc-linux-gnu using Volker's
shortened test case from comment #2 compiled with -O.