This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36747] New: Internal compiler error
- From: "gabriel dot barton at acutgmbh dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2008 13:07:47 -0000
- Subject: [Bug fortran/36747] New: Internal compiler error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When compiling this stripped down fragment of code:
subroutine dmnwgenod()
integer dmnwmaxno,dmnwmaxme
Parameter ( dmnwmaxno = 600000,
> dmnwmaxme = 200 )
integer dmnwmemli(dmnwmaxme,dmnwmaxno),
> dmnwnodco
common / dmwpnodes / dmnwmemli,
> dmnwnodco
integer nodmco,nodwml(dmnwmaxme)
integer i,mnodiid,dmvwmaiid
do 110 i=1,nodmco
nodwml(i) = dmvwmaiid(dmnwmemli(i,mnodiid))
110 continue
return
end
c: if dmnwnodco is deleted from the integer definition and the common block,
this subroutine compiles!
Command to compile:
gfortran-4.3 -m64 -O -c -fimplicit-none -fno-underscoring -fno-automatic
-Wuninitialized error.f
System:
gfortran -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64
--libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3
--enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-__cxa_atexit--enable-libstdcxx-allocator=new
--disable-libstdcxx-pch --program-suffix=-4.3
--enable-version-specific-runtime-libs --enable-linux-futex
--without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE
Linux)
We get following error message:
internal compiler error: in set_uids_in_ptset, at tree-ssa-structalias.c:4785
This subroutine has always compiled successfully on g77 and gfortran 4.2
systems.
--
Summary: Internal compiler error
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gabriel dot barton at acutgmbh dot de
GCC build triplet: ?
GCC host triplet: x86_64 GNU/Linux
GCC target triplet: x86_64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36747