This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in change_address at emit_rtl.c
Neil Booth <neil@daikokuya.demon.co.uk> writes:
| Gabriel Dos Reis wrote:-
|
| > Since merging the C and C++ front-ends is a goal repeatedly asserted,
| > I'm worried about the alternative. There are various parts of the
| > compiler (the obvious one is cp/pt.c) where using a default type like
| > int just does not make sense -- it might be even worse than
| > error_mark_node.
|
| But templates are part of C++ not C, so C needn't worry about them.
I agree that templates are not part of C. But in the merged front-end
where do you put the line? Please remember that template
instantiation sort of is a degenerated form of parsing where some
routines are shared by the two front-ends.
-- Gaby