This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: PATCH to diagnostic.c:text_specifies_location
Neil Booth <neil at daikokuya dot co dot uk> writes:
| 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).
Well, I do not believe that -requires- string comparaison.
One we get_identifier ("<internal>"), we can use the resulting tree
everywhere. No?
| 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?
Please, can you recall me what is that filename?
-- Gaby