Bug 21415 - internal compiler error in gfortran -fdefault-integer-8
Summary: internal compiler error in gfortran -fdefault-integer-8
Status: RESOLVED DUPLICATE of bug 20971
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.0.0
: P1 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 11:43 UTC by jiri.pittner
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: 4.0.0
Target: 4.0.0
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jiri.pittner 2005-05-06 11:44:00 UTC
The following file.f causes the following error:
gfortran -fdefault-integer-8 -c fi.f
fi.f: In function 'bug':
fi.f:1: internal compiler error: in gfc_conv_string_tmp, at fortran/trans-expr.c:736
----
Without -fdefault-integer-8 works just fine.
fi.f:
      SUBROUTINE bug
      CHARACTER*6 S
      CALL something(S//'X')
      RETURN
      END
The error happens both on an opteron machine with
GNU Fortran 95 (GCC 4.0.0 20050406 (Red Hat 4.0.0-0.41.fc3))
and on a pentium machine where I compiled gcc4 myself
GNU Fortran 95 (GCC 4.0.0)
Comment 1 Andrew Pinski 2005-05-06 13:52:10 UTC

*** This bug has been marked as a duplicate of 20971 ***