gfortran produces an internal compiler error under the following conditions:

1. A logical function is being evaluated
2. The flag "-f-default-integer-8" is specified
3. The August 10 snapshot versions of gcc and gfortran are compiled under
HP-PA. I have not tested this snapshot with other architectures, nor have I
tested the HP-PA architecture with other versions of gcc.

Listed below are two examples:

LOGICAL FUNCTION x()
x = .FALSE.
END FUNCTION x

a.f90: In function 'x':
a.f90:1: internal compiler error: in emit_move_insn, at expr.c:3316
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

PROGRAM axis
LOGICAL :: x, y
y = x()
END PROGRAM axis

x.f90: In function 'MAIN__':
x.f90:3: internal compiler error: in expand_call, at calls.c:3022
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in emit_move_insn and expand_call with -fdefault-
                    integer-8
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33062

Reply via email to