[Patch, Fortran] PR 32460 - Check PRIVATE attribute for derived components

Tobias Burnus burnus@net-b.de
Sun Jun 24 00:32:00 GMT 2007


Bernhard Fischer wrote:
>> +  int private_comp = 0;
>>     
> bool?
>   
Good idea. I had somehow back in my mind that the GCC source does not
use bool as they were added quite late to the C standard (similar like
not using C99's // comments). But as bool is already used more than 300
times it surely must work. Thanks for pointing out!

Would like like to formally review the patch - or did you do so alreay
and only forgot the "Ok"?

Updated patch attached. (I fixed also gcc/fortran/dump-parse-tree.c
which did not print "PUBLIC" in the parse-tree dump.)

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: private_type2.diff
Type: text/x-patch
Size: 5155 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070624/db72fa5b/attachment.bin>


More information about the Fortran mailing list