How to debug ssa optimizer

Richard Henderson rth@redhat.com
Sun Jun 20 09:49:00 GMT 2004


On Sat, Jun 19, 2004 at 09:16:19PM -0700, Zack Weinberg wrote:
> I think the C front end is treating ADDR_EXPR as having a built-in
> NOP_EXPR, so it can get the language-semantic expected type,
> <pointer_type char *>, without inserting another node in the AST.

Yes.

This is buried pretty deeply.  When implementing check_pointer_types_r,
I gave up and allowed it.  Ideally we'd generate &array[0] instead.


r~



More information about the Gcc mailing list