[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-12-20 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

Jakub Jelinek  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 CC||jakub at gcc dot gnu.org
 Resolution||FIXED

--- Comment #9 from Jakub Jelinek  2010-12-20 
11:17:00 UTC ---
My patch should make the #c3 patch unnecessary, and perhaps if the problem was
somewhere deeper in the ARRAY_REF argument instead the #c3 patch wouldn't fix
ICE while what has been committed did.  Anyway, as it is fixed now, let's say
it is fixed.


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-12-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

Dominique d'Humieres  changed:

   What|Removed |Added

 CC||jakub at redhat dot com

--- Comment #8 from Dominique d'Humieres  2010-12-20 
10:52:14 UTC ---
Since the patch in comment #3 is doing changes in gcc/tree-scalar-evolution.c,
revision 168027 seems to be the best candidate (although I don't know enough to
rule out r168034 or even r168031):

Revision 168027

Jump to revision: 
Author:jakub
Date:Sat Dec 18 18:15:10 2010 UTC (40 hours, 30 minutes ago)
Changed paths:4
Log Message:
PR tree-optimization/46985
* tree-scalar-evolution.c (instantiate_scev_r): If chrec is NULL,
return it immediately.

* gfortran.dg/pr46985.f90: New test.
Changed paths:

PathDetails
trunk/gcc/ChangeLogmodified , text changed
trunk/gcc/testsuite/ChangeLogmodified , text changed
trunk/gcc/testsuite/gfortran.dg/pr46985.f90added
trunk/gcc/tree-scalar-evolution.cmodified , text changed


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-12-20 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

--- Comment #7 from Dominique d'Humieres  2010-12-20 
10:25:46 UTC ---
These failures have disappeared between revisions 168021 and 168044 (see 
http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01606.html and
http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01678.html ).


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-11-15 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

--- Comment #6 from Dominique d'Humieres  2010-11-15 
11:44:41 UTC ---
> Try valgrind then please.

AFAICT there is no valgrind on powerpc-apple-darwin* (if I am wrong, a pointer
is welcome).


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

Richard Guenther  changed:

   What|Removed |Added

 Status|ASSIGNED|WAITING

--- Comment #5 from Richard Guenther  2010-11-15 
11:33:42 UTC ---
Try valgrind then please.


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-11-03 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

--- Comment #4 from Dominique d'Humieres  2010-11-03 
19:49:32 UTC ---
> Could you please apply the attached patch and see if it fixes the problem?

Unless I did something wrong (I just used 'make' after the patch), it does
not!-(

> Otherwise, could you please run gdb on f951 and report a backtrace of where it
> fails?

Unfortunately as said in comment #0 the ICE disappears when using gdb.


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-11-03 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

Sebastian Pop  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.03 19:22:39
 AssignedTo|unassigned at gcc dot   |spop at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #3 from Sebastian Pop  2010-11-03 19:22:39 
UTC ---
Created attachment 22265
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22265
first shot at fixing this

Hi Dominique,

I cannot reproduce this bug on amd64-linux.
Could you please apply the attached patch and see if it fixes the problem?
Otherwise, could you please run gdb on f951 and report a backtrace of where it
fails?

Thanks,
Sebastian


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

Richard Guenther  changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-10-11 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

--- Comment #2 from Dominique d'Humieres  2010-10-11 
16:40:10 UTC ---
This pr is due to revision 164790

http://gcc.gnu.org/viewcvs?view=revision&sortby=date&revision=164790

Author:spop
Date:Thu Sep 30 21:18:48 2010 UTC (10 days, 19 hours ago)
Changed paths:3
Log Message:
Also handle ARRAY_REFs in instantiate_scev_r.

2010-08-20  Sebastian Pop  

* tree-scalar-evolution.c (instantiate_array_ref): New.
(instantiate_scev_r): Also handle ARRAY_REFs.
Changed paths:

PathDetails
trunk/gcc/ChangeLogmodified , text changed
trunk/gcc/ChangeLog.graphitemodified , text changed
trunk/gcc/tree-scalar-evolution.cmodified , text changed


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-10-11 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

--- Comment #1 from Dominique d'Humieres  2010-10-11 
15:55:29 UTC ---
Reduced range: r164769 no ICE, r164800 ICE.