[Patch, Fortran] PR 43199 - Handle class%component references when reading .mod files
Tobias Burnus
burnus@net-b.de
Sun Feb 28 17:12:00 GMT 2010
Hello,
this patch prevents an ICE when handling class%component in
find_array_spec. The problem is that with CLASS(type) one has
effectively another layer around type, i.e. kind of
TYPE class.type
type(type) :: data
and one needs to accommodate for this extra layer. I think the attached
patch correctly handles this.
Build on x86-64-linux and currently regtesting. OK for the trunk?
Tobias
PS: I marked the test as "dg-do compile" but one can also use "run";
what do you prefer?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod-read.diff
Type: text/x-patch
Size: 1699 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100228/e4fcd767/attachment.bin>
More information about the Fortran
mailing list