New problem compiling g-exctra.adb

Diego Novillo dnovillo@redhat.com
Tue Sep 7 23:04:00 GMT 2004


On Tue, 2004-09-07 at 18:56, Richard Henderson wrote:
> On Tue, Sep 07, 2004 at 06:04:10PM -0400, Richard Kenner wrote:
> > OK, I fixed that bug in the front end.  Now I get an abort in
> > add_pointed_to_var.  The reason is that DECL_INITIAL of a pointer is
> > set to INTEGER_CST of zero, but add_pointed_to_var expects an ADDR_EXPR.
> 
> I think add_pointed_to_var and add_pointed_to_expr should be merged.
> Thoughts, Diego?
> 
Yes.  And in the case of a pointer initialized to 0, we should probably
set it PT_ANYTHING, unless we can equate 0 with "can't point to a user
variable".


Diego.



More information about the Gcc mailing list