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 target/43437] ICE in CSE, during libgcc build



------- Comment #6 from jakub at gcc dot gnu dot org  2010-03-19 20:37 -------
Created an attachment (id=20144)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20144&action=view)
gcc45-pr43437.patch

Possible patch.  Except that note_uses (and note_stores) walk parallels from
end to start, so as first the side effects for r15 store are replaced etc.  Not
sure what the insn really does, if it expects the storing to be done first
parallel goes to r0 - 4, second to r0 - 8, third to r0 - 12 and fourth to r0 -
16, or
first to r0 - 16, second to r0 - 12, third to r0 - 8 and fourth to r0 - 4.
To me this sounds very much like multiple side-effects in one statement in C,
I'd say doing this should be invalid RTL.


-- 


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


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