RFC: PATCH to diagnostic.c:text_specifies_location

Neil Booth neil@daikokuya.co.uk
Thu Mar 20 20:43:00 GMT 2003


Gabriel Dos Reis wrote:-

> There is an invariant that every _DECL has a source location.  What do
> you propose as filename for the built-ins? 
> In what ways do see the <internal> filename prolematic?

It encourages string comparisons (see e.g. dwarf2out.c).  If we have to
use a filename, why not use the same as the C front end must be using
for its built-in decls?

Neil.



More information about the Gcc-patches mailing list