[Bug rtl-optimization/43491] Unnecessary temporary for global register variable

2011-12-20 Thread amker.cheng at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43491 --- Comment #4 from amker.cheng 2011-12-21 03:44:03 UTC --- This bug is even worse on mips. The cause is ssa-pre eliminates global register variable when it is the RHS of single assign statment, while following passes do not handle the const/reg

[Bug rtl-optimization/43491] Unnecessary temporary for global register variable

2011-11-24 Thread amker.cheng at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43491 --- Comment #3 from amker.cheng 2011-11-24 09:24:37 UTC --- (In reply to comment #1) > > I'm thinking that this is perfectly normal thing to do, and that the redundant > move is meant to disappear in a later pass. My guess is that IRA is choos

[Bug rtl-optimization/43491] Unnecessary temporary for global register variable

2011-11-22 Thread amker.cheng at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43491 amker.cheng changed: What|Removed |Added CC||amker.cheng at gmail dot

[Bug rtl-optimization/43491] Unnecessary temporary for global register variable

2010-09-08 Thread ibolton at gcc dot gnu dot org
--- Comment #1 from ibolton at gcc dot gnu dot org 2010-09-08 16:21 --- reg is assigned to a temporary (reg.0) at the very first tree pass, as shown by this 004t.gimple dump: d () { struct b * const reg.0; unsigned int * D.2019; int D.2020; goto ; : c (); : reg.0 = reg;