From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13069 invoked by alias); 7 Jul 2008 13:08:30 -0000 Received: (qmail 12826 invoked by uid 48); 7 Jul 2008 13:07:47 -0000 Date: Mon, 07 Jul 2008 13:08:00 -0000 Subject: [Bug fortran/36747] New: Internal compiler error X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "gabriel dot barton at acutgmbh dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00786.txt.bz2 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