[Bug debug/41238] VTA: bootstrap failure, ICE in loc_cmp, at var-tracking.c:2456
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 3 11:58:00 GMT 2009
------- Comment #4 from jakub at gcc dot gnu dot org 2009-09-03 11:58 -------
Created an attachment (id=18472)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18472&action=view)
gcc45-pr41238.patch
Here is an untested fix (well, tested on the provided testcase, but nothing
else). The function.c change is only needed for arguments passed by invisible
reference which don't have the pointers passed in registers, but on the stack
(say long double argument on alpha or sparc -m32 with -mlong-double-128 which
has 6 or so other integral arguments before it). Saying the stack slot
contains the parameter is certainly wrong in that case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41238
More information about the Gcc-bugs
mailing list