https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59016

--- Comment #13 from drikosev at otenet dot gr ---
Hi Dominiq,

The new patch (gcc-4.8.4) worked as the older one but since the locus is
corrupted I'm not surprised that a test case you tried failed. Could you post
it here please?

The corrupted locus is the reason that the patch 65469, submitted by Janus,
doesn't work also; the "p->sym->name" sometimes is not null but it points to an
invalid location and so one cannot use it in a comparison: 

if (p->sym->name != NULL ) //segmentation fault!

Since the locus is corrupted, in my first patch I avoided to examine it
whenever we are about to print an error and the referenced locus was available;
which obviously invalidated some test cases in comment 9. 

To reset the name to null, one needs to figure out where the symbol is created
(or assigned to p) which is something I don't know at the moment.

With regard to the coding style, I'd like to ask for some indexes (e.g. gnu
guideline or something like that).

Regards,
Ev. Drikos

Reply via email to