This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/24997] [4.1/4.2 regression] ICE with -ftree-vectorize



------- Comment #9 from amodra at bigpond dot net dot au  2005-11-24 08:59 -------
Indeed it's not a stack slot.  Instead, reg 1824 is an invariant, equal to
sfp+16512.  Code in reload1.c:eliminate_regs_1 substitutes r1 for sfp, then
reorganises the order of the additions, so we get (r1+r11)+const not
(r1+const)+r11.  This of course isn't a valid address on powerpc, where indexed
addresses can't take an offset.

In case it isn't obvious, I'm a little lost.  Hopefully my analysis will let
someone more familiar with reload sort this out.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24997


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]