This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/67123] ICE with source allocation
- From: "vehre at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Aug 2015 10:08:08 +0000
- Subject: [Bug fortran/67123] ICE with source allocation
- Auto-submitted: auto-generated
- References: <bug-67123-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67123
vehre at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #2 from vehre at gcc dot gnu.org ---
I can confirm that this is a duplicate of 66927.
The code in the description nevertheless needs a tweak in the allocate to read:
allocate( as(0:0), ...
to allocate an array of size 1, but with bounds 0..0. Using as(0) allocates an
array of size 0 with bound 1..0, which then is the next bug that is not fixed
by pr66927. Therefore I did not mark this bug as duplicate, but as depends on,
because without the fix for 66927 the next "bug" does not show.