This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13060] New: ICE in fixup_var_refs_1, at function.c:1947 on correct code with "-O2 -fno-force-mem"
- From: "smelkov at mph1 dot phys dot spbu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2003 12:26:37 -0000
- Subject: [Bug fortran/13060] New: ICE in fixup_var_refs_1, at function.c:1947 on correct code with "-O2 -fno-force-mem"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
--- geo2.f ---
c g77 -c -O2 -fno-force-mem geo2.f
c geo2.f: In subroutine `geo2': geo2.f:13: internal compiler error: in fixup_var_refs_1, at
function.c:1947
c Please submit a full bug report,
c with preprocessed source if appropriate.
c See <URL:http://gcc.gnu.org/bugs.html> for instructions.
subroutine geo2()
implicit none
integer ms,n,ne(2)
ne(1) = 1
ne(2) = 2
ms = 1
call call_me(ne(1)*ne(1))
n = ne(ms)
end
--- geo2.f end---
[kirr@roro psi]$ g77 -v
Reading specs from /mnt/tmini/kirr/local/gcc-3.3.2/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --prefix=/mnt/tmini/kirr/local/gcc-3.3.2 --with-gnu-as
--with-gnu-ld --enable-threads=posix --enable-languages=c,c++,f77 --enable-checking
--disable-nls
Thread model: posix
gcc version 3.3.2
--
Summary: ICE in fixup_var_refs_1, at function.c:1947 on correct
code with "-O2 -fno-force-mem"
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: smelkov at mph1 dot phys dot spbu dot ru
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13060