[tree-ssa] Misc C++ improvements

Diego Novillo dnovillo@redhat.com
Fri Mar 21 23:24:00 GMT 2003


On Fri, 2003-03-21 at 17:55, law@redhat.com wrote:

> 20020412-1.c certainly doesn't need to be looking at the TYPE_DECLs,
> nor does any other test that I can find.
> 
Cool.  Maybe it really isn't necessary.  It should be easy to check by
just putting an abort() if the condition triggers.

> Are you sure you weren't working around a bug elsewhere, particularly in
> the life analysis code that went in at just about the same time?
> 
Sorry, all I remember is adding code to the VLA finder until it stopped
failing.

> If you recall we were failing to consider the uses that occurred in
> VDEFs when computing what variables were live across block boundaries.
> That caused us to mis-compile some tests, including 20020412-1.c if
> I recall correctly.
> 
Well, the VLA finder only looks at declarations, so I'm not sure why
they would be related.  But if removing the check doesn't break
anything, then great!


Diego.



More information about the Gcc-patches mailing list