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: g++.old-deja/g++.mike/p7325.C - suspected bogus test case


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.



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