[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-02-08 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot |dot org

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 Thread steven at gcc dot gnu dot org
--- Comment #7 from steven at gcc dot gnu dot org 2010-01-02 14:10 --- For the record, options for compiler to get the asm output of the comments: "-march=armv5te -mthumb -mthumb-interwork -fpic -Os" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|steven at gcc dot gnu dot |unassigned at gcc dot gnu |org

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-02 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2010-01-02 14:08 --- Created an attachment (id=19446) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19446&action=view) Classic GCSE, resurrected (with some improvements) With this patch (not bootstrapped/tested/etc.), I get the fol

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-01-02 00:12 --- Playing with a classic-GCSE pass (resurrected from svn...). No idea yet if it will help, but nonetheless mine in the mean time. -- steven at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-01-01 21:00 --- Actually, no - you're right, this is not something CPROP would handle. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2010-01-01 20:44 --- CPROP should handle this, since the address is a "constant" if a proper REG_EQUAL note is placed on the (set (reg) (address)). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-01 20:39 --- I would say that at -Os we don't run RTL PRE? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.3.6 |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42574

[Bug middle-end/42574] [4.3/4.4/4.5 Regression] Address of global variable is calculated multiple times (missed CSE)

2010-01-01 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.3.3 4.4.2 4.5.0 Known to work||4.1.