public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42678]  New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253
@ 2010-01-09 23:52 burnus at gcc dot gnu dot org
  2010-01-09 23:52 ` [Bug middle-end/42678] " burnus at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-01-09 23:52 UTC (permalink / raw)
  To: gcc-bugs

The following program causes an ICE. With an older version of the 4.5 trunk it
worked thus it is a true regression.

$ gfortran -Wall -c -flto -O1 test.f
$ ${PATH}/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto1 -o /dev/null ylm4.o

Performing interprocedural optimizations
 <whole-program> <inline>Assembling functions:
 ylm4
In file included from test.f:5:0,
                 from :0:
test.f: In function 'ylm4':
test.f:9:0: internal compiler error: in expand_mult, at expmed.c:3253



      SUBROUTINE ylm4(ylm)
      COMPLEX, INTENT (OUT):: ylm(1)
      INTEGER l,m
      COMPLEX ylms
      REAL, ALLOCATABLE, SAVE  :: ynorm(:)
      ylms = 0
      DO m = 1, 1
         DO l = m, 1
            ylm(m) = conjg(ylms)*ynorm(m)
         ENDDO
      ENDDO
      END SUBROUTINE ylm4


-- 
           Summary: [4.5 Regression] ICE with lto1 in expand_mult, at
                    expmed.c:3253
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-13 10:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-09 23:52 [Bug middle-end/42678] New: [4.5 Regression] ICE with lto1 in expand_mult, at expmed.c:3253 burnus at gcc dot gnu dot org
2010-01-09 23:52 ` [Bug middle-end/42678] " burnus at gcc dot gnu dot org
2010-01-10 21:37 ` [Bug middle-end/42678] " rguenth at gcc dot gnu dot org
2010-01-10 21:38 ` rguenth at gcc dot gnu dot org
2010-01-10 22:39 ` rguenth at gcc dot gnu dot org
2010-01-13 10:09 ` rguenth at gcc dot gnu dot org
2010-01-13 10:09 ` rguenth 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).