This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
- From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 Oct 2017 19:41:27 +0000
- Subject: [Bug fortran/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure
- Auto-submitted: auto-generated
- References: <bug-82511-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82511
--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Sat, Oct 14, 2017 at 07:33:28PM +0000, fritzoreese at gmail dot com wrote:
>
> --- Comment #5 from Fritz Reese <fritzoreese at gmail dot com> ---
> Nice! That should probably not compile. There is some trickiness because it
> is valid to create a RECORD variable with the same name as a STRUCTURE.
> I’ll get on that as well.
>
Perhaps, you can add a attr.record (and .union and .map if needed)
to distinguish a record a from a structure.