[Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
aoliva at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 2 15:21:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53820
--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-07-02 15:20:54 UTC ---
This patchlet for var-tracking.c fixes the testcase. I'm now testing it on
x86_64. John, would you be so kind as to try to bootstrap it on
hppa64-hp-hpux11.11 to make sure no other such problem remains? TIA,
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -9333,8 +9333,6 @@ vt_add_function_parameter (tree parm)
based on generic registers. But the prerequisite is that this argument
pointer be also the virtual CFA pointer, see vt_initialize. */
if (MEM_P (incoming)
- && stack_realign_drap
- && arg_pointer_rtx == cfa_base_rtx
&& (XEXP (incoming, 0) == crtl->args.internal_arg_pointer
|| (GET_CODE (XEXP (incoming, 0)) == PLUS
&& XEXP (XEXP (incoming, 0), 0)
More information about the Gcc-bugs
mailing list