Mailinglist Archive: opensuse-bugs (4917 mails)

< Previous Next >
[Bug 589946] New: gfortran-4.5 internal compiler error
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 19 Mar 2010 23:41:26 +0000
  • Message-id: <bug-589946-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=589946

http://bugzilla.novell.com/show_bug.cgi?id=589946#c0


Summary: gfortran-4.5 internal compiler error
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Development
AssignedTo: pth@xxxxxxxxxx
ReportedBy: d.pashov@xxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.0)
Gecko/20100115 SUSE/3.6.0-1.2 Firefox/3.6

Hi,
When compiling this questionable routine :

subroutine ss(w)
implicit none
integer :: w(:)
integer :: b,c,d
b = w(8)
c = 5
d = 3
call s1(c)
call s2(b+c)
call s3(w(b))
end subroutine ss

with this command:

gfortran-4.5 -O2 -c tt.f90

the output is:

tt.f90: In function ‘ss’:
tt.f90:1:0: internal compiler error: in form_sum, at reload.c:5348
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.

It does the same for -O3 but compiles fine with -O0, -O1 and -O

Notice how the the size of "w" is not checked but arbitrary index ( w(w(8)) )
is addressed.

ifort 11.1/069,sunf95 12u1, gfortran 4.4 and older compile it.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >