[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-13 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21520

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-12 Thread dberlin at gcc dot gnu dot org
--- Additional Comments From dberlin at gcc dot gnu dot org 2005-05-12 23:34 --- Foxed -- What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-12 Thread dberlin at gcc dot gnu dot org
-- Bug 21520 depends on bug 21532, which changed state. Bug 21532 Summary: ICE caused by PRE dead instruction removal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21532 What|Old Value |New Value ---

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-12 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-12 22:13 --- Subject: Bug 21520 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-05-12 22:13:00 Modified files: gcc: ChangeLog tree-ssa-pre.c Added files

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-12 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-05-12 10:23 --- The failure I mentioned in comment #7 is caused by remove_dead_inserted_code, which removes the statement setting that SSA name: In the .pre dump file: Removing unnecessary insertion:pretmp.308_35 = (uns

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-11 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-05-12 06:58 --- It looks like phi_translate should fold the phi-translated expression...? -- What|Removed |Added -

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-11 23:40 --- I had forgot to mention this came from looking at PR 21518. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21520

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-11 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-05-11 23:22 --- The casts one seems to be there because we don't look through casts: Created value VH.14 for (charD.1) 1 Created value VH.15 for (intD.0) VH.14 This means that for the first cast we find a fully_consta

[Bug tree-optimization/21520] missing PRE opportunity with operand after operand

2005-05-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-11 22:25 --- Another testcase which shows it is not related to casts: int do_locator (int *call) { int type = 1; if (call != 0) type = *call; return type * 4 + 1; } int do_locator1 (int *call) { int prephitm