This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to debug ssa optimizer


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]