public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/43928] New: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 @ 2010-04-28 21:16 hjl dot tools at gmail dot com 2010-04-28 21:19 ` [Bug fortran/43928] " hjl dot tools at gmail dot com ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: hjl dot tools at gmail dot com @ 2010-04-28 21:16 UTC (permalink / raw) To: gcc-bugs On Linux/x86, revision 158788 gave FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error) FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (test for excess errors) Revision 158783 is OK. -- Summary: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl dot tools at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43928 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/43928] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 2010-04-28 21:16 [Bug fortran/43928] New: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 hjl dot tools at gmail dot com @ 2010-04-28 21:19 ` hjl dot tools at gmail dot com 2010-04-28 21:35 ` kargl at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: hjl dot tools at gmail dot com @ 2010-04-28 21:19 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from hjl dot tools at gmail dot com 2010-04-28 21:18 ------- It may be caused by revision 158788: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00895.html -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Summary|[4.6 Regression] FAIL: |[4.6 Regression] FAIL: |gfortran.dg/array_constructo|gfortran.dg/array_constructo |r_11.f90 |r_11.f90 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43928 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/43928] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 2010-04-28 21:16 [Bug fortran/43928] New: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 hjl dot tools at gmail dot com 2010-04-28 21:19 ` [Bug fortran/43928] " hjl dot tools at gmail dot com @ 2010-04-28 21:35 ` kargl at gcc dot gnu dot org 2010-04-28 22:20 ` hubicka at ucw dot cz 2010-04-28 23:06 ` kargl at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: kargl at gcc dot gnu dot org @ 2010-04-28 21:35 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from kargl at gcc dot gnu dot org 2010-04-28 21:35 ------- *** This bug has been marked as a duplicate of 43924 *** -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43928 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/43928] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 2010-04-28 21:16 [Bug fortran/43928] New: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 hjl dot tools at gmail dot com 2010-04-28 21:19 ` [Bug fortran/43928] " hjl dot tools at gmail dot com 2010-04-28 21:35 ` kargl at gcc dot gnu dot org @ 2010-04-28 22:20 ` hubicka at ucw dot cz 2010-04-28 23:06 ` kargl at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: hubicka at ucw dot cz @ 2010-04-28 22:20 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from hubicka at ucw dot cz 2010-04-28 22:20 ------- Subject: Re: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 Looks like latent problem that we fail when optimiznig for size. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43928 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/43928] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 2010-04-28 21:16 [Bug fortran/43928] New: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 hjl dot tools at gmail dot com ` (2 preceding siblings ...) 2010-04-28 22:20 ` hubicka at ucw dot cz @ 2010-04-28 23:06 ` kargl at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: kargl at gcc dot gnu dot org @ 2010-04-28 23:06 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from kargl at gcc dot gnu dot org 2010-04-28 23:06 ------- (In reply to comment #3) > Subject: Re: [4.6 Regression] FAIL: > gfortran.dg/array_constructor_11.f90 > > Looks like latent problem that we fail when optimiznig for size. > 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=43928 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-28 23:06 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-04-28 21:16 [Bug fortran/43928] New: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 hjl dot tools at gmail dot com 2010-04-28 21:19 ` [Bug fortran/43928] " hjl dot tools at gmail dot com 2010-04-28 21:35 ` kargl at gcc dot gnu dot org 2010-04-28 22:20 ` hubicka at ucw dot cz 2010-04-28 23:06 ` kargl at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).