[Bug middle-end/35288] Expression reassociation problem

2010-11-02 Thread xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35288 --- Comment #2 from davidxl 2010-11-02 23:40:15 UTC --- LLVM got it right: addl%esi, %edi leal(%rdx,%rdi,2), %eax vs gcc: addl%esi, %edx leal(%rsi,%rdi,2), %edi leal(%rdi,%rdx), %eax vs open64:

[Bug middle-end/35288] Expression reassociation problem

2008-02-22 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-02-22 10:55 --- Confirmed. Re-association generates D.1548_3 = a1_4(D) + a1_4(D); b1_5 = D.1548_3 + a2_2(D); b2_6 = b1_5 + a2_2(D); D.1549_7 = b2_6 + a3_1(D); but that does not expose SSA_NAMEs with the same value. --