This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 229110 - gfortran -ff2c ... produces `internal compiler error'
gfortran -ff2c ... produces `internal compiler error'
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
6
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-17 03:50 EST by Burgin M.S.
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 4.1.2-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-24 06:24:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Burgin M.S. 2007-02-17 03:50:12 EST
Description of problem: 
gfortran -ff2c ... produces `internal compiler error'


Version-Release number of selected component (if applicable):
gfortran --version
GNU Fortran 95 (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30)

How reproducible:
The console log follows.

FORTRAN>gfortran -c -ff2c gfortran_err_at_expr_3162.f
gfortran_err_at_expr_3162.f: In function 't':
gfortran_err_at_expr_3162.f:1: internal compiler error: in emit_move_insn, at
expr.c:3162
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

FORTRAN>cat $_
      function t(x)
      t=x
      if(t .gt. 0) stop
      return
      end

FORTRAN>gfortran -c -ff2c gfortran_err_at_optabs_2932.f 
gfortran_err_at_optabs_2932.f: In function 'y':
gfortran_err_at_optabs_2932.f:4: internal compiler error: in expand_copysign, at
optabs.c:2932
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

FORTRAN>cat $_
      real function y (x)
      real x
      y=1.0
      y = sign (y, x)
      end function y



Additional info:
The same error occurs on x86_64
Comment 1 Jakub Jelinek 2007-02-24 06:24:42 EST
Fixed in 4.1.2-3 in rawhide.

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