g++.old-deja/g++.mike/p7325.C - suspected bogus test case

Mike Stump mrs@apple.com
Tue Jun 29 14:21:00 GMT 2004


On Saturday, June 26, 2004, at 12:12  PM, Zack Weinberg wrote:
> It seemed a plausible consequence of the interprocedural escape
> analysis that he was describing.

In this case, with the options given, no.

> Sure, the language says these temporaries go away at a particular 
> point, but the data-flow analysis says their addresses are preserved, 
> so the conservative optimization decision is not to recycle the 
> storage.

No, thaat would be wrong.  A warning about addresses escaping would be 
better.



More information about the Gcc mailing list