public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/21381] New: Internal compiler error: in set_value_range
@ 2005-05-04 15:03 mick at nag dot co dot uk
  2005-05-04 15:05 ` [Bug tree-optimization/21381] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: mick at nag dot co dot uk @ 2005-05-04 15:03 UTC (permalink / raw)
  To: gcc-bugs

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

Compiling this code (AMD64 under SuSE Linux Professional 9.1):

      SUBROUTINE OPTBUG(N,A,LDA,B,LDB)
C     .. Scalar Arguments ..
      INTEGER                 LDA, LDB, N
C     .. Array Arguments ..
      REAL                    A(LDA,N), B(LDB,N)
C     .. Local Scalars ..
      REAL                    A1
      INTEGER                 I, J
C     .. Executable Statements ..
      DO 40 J = 1, N
         DO 20 I = 1, J
            A1 = A(I,J)
            B(I,J) = A1
  20     CONTINUE
  40  CONTINUE
      RETURN
      END

with optimization level -O2 or above, like this:

  gfortran -v -Wall -O2 -c optbug.f

gives the following error message:

Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/var/tmp/gfortran-20050422/irun
--enable-languages=c,f95
Thread model: posix
gcc version 4.1.0 20050422 (experimental)
 /opt/gfortran/irun/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.1.0/f951
optbug.f -ffixed-form -quiet -dumpbase optbug.f -mtune=k8 -auxbase optbug -O2
-Wall -version -o /tmp/ccGwsoUd.s
GNU F95 version 4.1.0 20050422 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
optbug.f: In function ‘optbug’:
optbug.f:1: internal compiler error: in set_value_range, at tree-vrp.c:124
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: Internal compiler error: in set_value_range
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mick at nag dot co dot uk
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug tree-optimization/21381] Internal compiler error: in set_value_range
  2005-05-04 15:03 [Bug fortran/21381] New: Internal compiler error: in set_value_range mick at nag dot co dot uk
@ 2005-05-04 15:05 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-04 15:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-04 15:05 -------


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|fortran                     |tree-optimization
           Keywords|                            |ice-on-valid-code
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-05-04 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-04 15:03 [Bug fortran/21381] New: Internal compiler error: in set_value_range mick at nag dot co dot uk
2005-05-04 15:05 ` [Bug tree-optimization/21381] " 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).