[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-06-17 Thread dominiq at lps dot ens dot fr


--- Comment #14 from dominiq at lps dot ens dot fr  2010-06-17 12:30 ---
From comments #11 to #13, given links and
http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01744.html closing as fixed.


-- 

dominiq at lps dot ens dot fr changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-06-16 Thread hp at gcc dot gnu dot org


--- Comment #11 from hp at gcc dot gnu dot org  2010-06-17 02:20 ---
Disappeared for cris-elf in (160828:r160836], which agrees i686-linux results
on gcc100 at http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01649.html
(160820) and http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01712.html
(160836).  A deliberate fix (perhaps as a side-effect of fixing PR43905) or
just accidental cover-up?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-06-16 Thread kargl at gcc dot gnu dot org


--- Comment #12 from kargl at gcc dot gnu dot org  2010-06-17 04:43 ---
(In reply to comment #11)
 Disappeared for cris-elf in (160828:r160836], which agrees i686-linux results
 on gcc100 at http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01649.html
 (160820) and http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01712.html
 (160836).  A deliberate fix (perhaps as a side-effect of fixing PR43905) or
 just accidental cover-up?
 

I see the same thing with i686-*-freebsd.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-06-16 Thread kargl at gcc dot gnu dot org


--- Comment #13 from kargl at gcc dot gnu dot org  2010-06-17 05:08 ---
(In reply to comment #12)
 (In reply to comment #11)
  Disappeared for cris-elf in (160828:r160836], which agrees i686-linux 
  results
  on gcc100 at http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01649.html
  (160820) and http://gcc.gnu.org/ml/gcc-testresults/2010-06/msg01712.html
  (160836).  A deliberate fix (perhaps as a side-effect of fixing PR43905) or
  just accidental cover-up?
  
 
 I see the same thing with i686-*-freebsd.

REverting the patch for 43905 with

svn merge -r 160832:160831 .

indeed shows that the ICE returns.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-05-13 Thread dominiq at lps dot ens dot fr


--- Comment #8 from dominiq at lps dot ens dot fr  2010-05-13 14:25 ---


*** This bug has been marked as a duplicate of 44114 ***


-- 

dominiq at lps dot ens dot fr changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-05-13 Thread hjl dot tools at gmail dot com


--- Comment #9 from hjl dot tools at gmail dot com  2010-05-13 14:31 ---
Reopen. This bug report has more info than PR 44114.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-05-13 Thread hjl dot tools at gmail dot com


--- Comment #10 from hjl dot tools at gmail dot com  2010-05-13 14:31 
---
*** Bug 44114 has been marked as a duplicate of this bug. ***


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 CC||tkoenig at gcc dot gnu dot
   ||org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-05-12 Thread ro at gcc dot gnu dot org


--- Comment #7 from ro at gcc dot gnu dot org  2010-05-12 15:54 ---
Also on i386-pc-solaris2.1[01] and sparc-sun-solaris2.1[01].


-- 

ro at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ro at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-29 Thread hp at gcc dot gnu dot org


--- Comment #6 from hp at gcc dot gnu dot org  2010-04-29 20:40 ---
Well, guess what, cris-elf too!
Worked with 158780, failed with 158788 (and after) as in the description,
except the line number I see for r158788 is 10648; I'm guessing the description
is from 158793 or later.


-- 

hp at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hp at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread kargl at gcc dot gnu dot org


--- Comment #1 from kargl at gcc dot gnu dot org  2010-04-28 19:08 ---
The regression is also seen on i686-*-freebsd.  The
regression dissappears if r158788 is reverted.


-- 

kargl at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jh at suse dot cz
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-04-28 19:08:00
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread dominiq at lps dot ens dot fr


--- Comment #2 from dominiq at lps dot ens dot fr  2010-04-28 19:21 ---
I did not filled the triplets since I see the ICE on *-darwin-* and *-linux-*
as well.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread burnus at gcc dot gnu dot org


-- 

burnus at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||burnus at gcc dot gnu dot
   ||org
   Keywords||ice-on-valid-code
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread kargl at gcc dot gnu dot org


--- Comment #3 from kargl at gcc dot gnu dot org  2010-04-28 21:35 ---
*** Bug 43928 has been marked as a duplicate of this bug. ***


-- 

kargl at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hjl dot tools at gmail dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread hjl dot tools at gmail dot com


--- Comment #4 from hjl dot tools at gmail dot com  2010-04-28 22:01 ---
It is caused by revision 158788:

http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00895.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924



[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread kargl at gcc dot gnu dot org


--- Comment #5 from kargl at gcc dot gnu dot org  2010-04-28 23:07 ---
Comment propagated from the duplicate PR.


It appears to be an in-lining issue.  This reduced case

program main
  implicit none
  call build (77)
contains
  subroutine build (order)
integer :: order, i, j

call test (1, order, 3,  (/ (i, i = 1, order, 3) /))
call test (order, 1, -3, (/ (i, i = order, 1, -3) /))

do j = 0, 1
  call test (order + j, order, 5,  (/ (i, i = order + j, order, 5) /))
end do

  end subroutine build

  subroutine test (from, to, step, values)
integer, dimension (:) :: values
integer :: from, to, step, last, i

last = 0
do i = from, to, step
  last = last + 1
  if (values (last) .ne. i) call abort
end do
if (size (values, dim = 1) .ne. last) call abort
  end subroutine test

end program main

gives
laptop:kargl[230] gfc4x -c -g -O3 array_constructor_11.f90
array_constructor_11.f90:6:0: internal compiler error: in output_die, at
dwarf2out.c:10649
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
laptop:kargl[231] gfc4x -c -g -O3 -fno-inline array_constructor_11.f90

where the last command succeeds.

Note, if I remove any one of the calls to test() or remove either
if-statement within test(), the ICE goes away.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924