Bug 158434 - gfortran internal compiler error in convert_move at expr.c:339
gfortran internal compiler error in convert_move at expr.c:339
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-22 05:09 EDT by Alexander Täschner
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.0.0-9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-06 05:24:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alexander Täschner 2005-05-22 05:09:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Description of problem:
When trying to compile the fortran file below gfortran produces
an internal compiler error.

Version-Release number of selected component (if applicable):
gcc4-gfortran-4.0.0-0.41.fc3

How reproducible:
Always

Steps to Reproduce:
gfortran -c hwbran.f

--- start of file hwbran.f ---
      SUBROUTINE HWBRAN(KPAR)

        IF (NTRY.GT.NBTRY) CALL HWWARN('HWBRAN',100,*999)
        IF (ID.EQ.13) THEN
          IF (QLST.GT.QCDL3) THEN
            QKTHR=2.*HWBVMC(N)
            IF (QLST.GT.QKTHR) THEN
              RN=HWRGEN(N)
            ENDIF
          ENDIF
        ENDIF

  999 END
--- end of file hwbran.f ---

Actual Results:  hwbran.f: In function 'hwbran':
hwbran.f:6: internal compiler error: in convert_move, at expr.c:339


Expected Results:  It compiles without problem with g77.

Additional info:

The file below is only a minimalistic fragment from the CERNLIB file
<http://wwwasd.web.cern.ch/wwwasd/cernlib/download/2004_source/src/mclibs/herwig/code/hwbran.F>
Comment 1 Jakub Jelinek 2005-05-22 10:05:16 EDT
Simplified testcase:
        SUBROUTINE FOO (A)
        REAL T, A, BAZ
        CALL BAR (*10)
        T = 2 * BAZ ()
        IF (T.GT.0) T = BAZ ()
10      END
Comment 3 Jakub Jelinek 2005-06-06 05:24:19 EDT
Should be fixed in gcc-4.0.0-9 in rawhide.

Note You need to log in before you can comment on or make changes to this bug.