This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters
- From: "zlomek at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2004 06:57:34 -0000
- Subject: [Bug debug/14058] [3.5 Regression] ICE in vt_add_function_parameters
- References: <20040207025727.14058.amodra@bigpond.net.au>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From zlomek at gcc dot gnu dot org 2004-02-09 06:57 -------
GCC fails with an ICE at var-tracking.c:2390 because parm != REG_EXPR
((DECL_RTL_IF_SET (parm))). They differ because the parm was copied in
split_complex_args. Removing the test at var-tracking.c:2389 and using the decl
would not work because some REGs in the insn chain contain the original parm and
some contain the copied parm and thus these variables would not match resulting
in wrong debug info.
My patch not to copy parms of other types than complex types however broke
bootstrap, I'll look into it later today.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14058