This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
- From: "aoliva at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jul 2012 15:20:54 +0000
- Subject: [Bug debug/53820] [4.8 Regression] ICE in vt_expand_var_loc_chain, at var-tracking.c:8029
- Auto-submitted: auto-generated
- References: <bug-53820-4@http.gcc.gnu.org/bugzilla/>
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)