[RFC] Fix ADDR_EXPR type mismatches in C++ frontend
Richard Guenther
rguenth@tat.physik.uni-tuebingen.de
Wed May 18 20:31:00 GMT 2005
Richard Henderson wrote:
> On Wed, May 18, 2005 at 02:08:02PM +0200, Richard Guenther wrote:
>
>>! vtbl = build_fold_addr_expr (vtbl);
>
>
> No convert.
It will break later if I use convert here - the frontend chokes on
the unexpected NOP_EXPR.
> And I'm pretty sure you never want to use convert, as that'll
> emit warnings. Use fold_convert.
Ah ok, nice to know.
I guess I wont touch the frontends if possible for now.
Richard.
More information about the Gcc
mailing list