This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg
- From: "dick dot hendrickson at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Apr 2008 15:23:30 -0000
- Subject: [Bug fortran/35932] New: internal compiler error: CHAR with array arg and also a KIND arg
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following program generates an ICE.
program FA0005
! fails on Windows XP
! gcc version 4.4.0 20080312 (experimental) [trunk revision 133139]
CHARACTER(1) CDA1(10)
INTEGER IDA(10)
CDA1 = CHAR ( IDA, KIND("A" )) !fails
CDA1 = CHAR ( IDA ) !works
END
C:\gfortran>gfortran fa0005.f
fa0005.f: In function 'fa0005':
fa0005.f:1: internal compiler error: in gfc_trans_assignment_1, at
fortran/trans
-expr.c:4330
--
Summary: internal compiler error: CHAR with array arg and also a
KIND arg
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dick dot hendrickson at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35932