public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18716] New: [ICE] verify_flow_info failed (loop)
@ 2004-11-29 14:01 coudert at clipper dot ens dot fr
  2004-11-29 14:03 ` [Bug tree-optimization/18716] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: coudert at clipper dot ens dot fr @ 2004-11-29 14:01 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

The following simple fortran code:

-------------------------
subroutine test(n, v)
  implicit none
  integer :: n, i
  real(8) :: v(n)

  do i = 1, n
    v(i) = 0
  end do

  return
end
-------------------------

fails to compile with the following messages:
(using latest gfortran binaries, from 20041128 CVS)

~ $ gfortran -O1 -msse2 -ftree-vectorize -c foo.f90
foo.f90: In function ‘test’:
foo.f90:1: error: ‘then’ label does not match edge at end of bb 1
foo.f90:1: error: ‘else’ label does not match edge at end of bb 1
foo.f90:1: error: ‘then’ label does not match edge at end of bb 7
foo.f90:1: error: ‘else’ label does not match edge at end of bb 7
foo.f90:1: internal compiler error: verify_flow_info failed

However, it does compile fine if I remove one of -O1, -msse2 or -ftree-vectorize.

-- 
           Summary: [ICE] verify_flow_info failed (loop)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: coudert at clipper dot ens dot fr
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-gnu-linux


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


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

end of thread, other threads:[~2004-12-02 14:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-29 14:01 [Bug tree-optimization/18716] New: [ICE] verify_flow_info failed (loop) coudert at clipper dot ens dot fr
2004-11-29 14:03 ` [Bug tree-optimization/18716] " pinskia at gcc dot gnu dot org
2004-11-30 12:35 ` pinskia at gcc dot gnu dot org
2004-12-01 18:35 ` dorit at il dot ibm dot com
2004-12-01 21:58 ` dorit at il dot ibm dot com
2004-12-02 14:01 ` cvs-commit at gcc dot gnu dot org
2004-12-02 14:13 ` pinskia 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).