This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64069] New: [4.8/4.9 Regression] ICE on allocating character array with source
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Nov 2014 15:14:08 +0000
- Subject: [Bug fortran/64069] New: [4.8/4.9 Regression] ICE on allocating character array with source
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64069
Bug ID: 64069
Summary: [4.8/4.9 Regression] ICE on allocating character array
with source
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: janus at gcc dot gnu.org
Consider the following example code:
character(len=12), allocatable :: yDesc(:)
allocate(yDesc(5), source="some_string")
print *,yDesc(1:5)
end
This ICEs with gfortran 4.7.4, 4.8.3 and 4.9.1, while it compiles and runs as
expected with 4.6.4. Haven't tried trunk.