This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/67123] ICE with source allocation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]