[Bug tree-optimization/49725] [4.6 Regression] FAIL: c34005a

2011-07-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49725

Eric Botcazou  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |ebotcazou at gcc dot
   |gnu.org |gnu.org

--- Comment #6 from Eric Botcazou  2011-07-14 
09:07:09 UTC ---
> Hum, yes, you're right, the ICE comes from PRE, not SRA.

And is fixed by backporting

2011-03-31  Eric Botcazou  

* tree-ssa-pre.c (create_component_ref_by_pieces_1) : Drop
a zero minimum index only if it is redundant.

onto the branch.  Testing...


[Bug tree-optimization/49725] [4.6 Regression] FAIL: c34005a

2011-07-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49725

--- Comment #5 from Eric Botcazou  2011-07-14 
08:58:42 UTC ---
> I will have a look at it next week (if it can be reproduced on the hppa in the
> compile farm).

A cross-compiler from your favorite linux box is sufficient.

> Nevertheless, the interesting thing is that the patch only makes SRA to do 
> less, never more.  Does the ICE happen even if you switch SRA off completely 
> with -fno-tree-sra ?

Hum, yes, you're right, the ICE comes from PRE, not SRA.


[Bug tree-optimization/49725] [4.6 Regression] FAIL: c34005a

2011-07-14 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49725

--- Comment #4 from Martin Jambor  2011-07-14 
08:41:36 UTC ---
I will have a look at it next week (if it can be reproduced on the hppa in the
compile farm).  Nevertheless, the interesting thing is that the patch only
makes SRA to do less, never more.  Does the ICE happen even if you switch SRA
off completely with -fno-tree-sra ?  Thanks.


[Bug tree-optimization/49725] [4.6 Regression] FAIL: c34005a

2011-07-14 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49725

Eric Botcazou  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.07.14 08:35:08
 CC||ebotcazou at gcc dot
   ||gnu.org, jamborm at gcc dot
   ||gnu.org
  Component|ada |tree-optimization
 Ever Confirmed|0   |1

--- Comment #3 from Eric Botcazou  2011-07-14 
08:35:08 UTC ---
Confirmed as coming from Martin's patch.