[PATCH] PR fortran/24005
Paul Thomas
paulthomas2@wanadoo.fr
Fri Sep 23 04:23:00 GMT 2005
Tobi,
>p->sym->name and q->sym->name should never be NULL. Furthermore, the module
>
>
If it is, I should like to know about it. module.c does produce symbols
with null name and stashes them in the pointer_info table. I have not
yet caught any of them escaping but have had it in mind to investigate
why they are there at all and to get rid of them
>does "the right thing" with NULL arguments unlike FreeBSD's. Alternatively,
>(if I understand C well enough) we could simply compare the string pointers
>(they're allocated by gfc_get_string) like so:
>
>
Yes indeed. Sometime, we should do a trawl through the compiler to
ensure that they ar all allocated by gfc_get_string and to reduce the
number strcmp's thereby.
Paul T
More information about the Gcc-patches
mailing list