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: New problem compiling g-exctra.adb


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.


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