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/82511] [7/8 Regression] ICE Bad IO basetype (12) on attempted read or write of entire DEC structure


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.

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