[cfe-dev] One little test, comparing clang and gcc
Chris Lattner
clattner at apple.com
Fri Oct 30 11:08:21 PDT 2009
On Oct 30, 2009, at 10:14 AM, Giangiacomo Mariotti wrote:
> On Fri, Oct 30, 2009 at 5:44 PM, Chris Lattner <clattner at apple.com>
> wrote:
>>
>> We intentionally do optimize them out. Consider if this was a
>> generic c++
>> iterator loop who was instantiated on a type with a trivial
>> destructor.
>> We'd want the loop to be nuked.
>>
>> -Chris
>>
> Good, but that's not happening for the code I posted. So, is this a
> work in progress?
I'd say this is a "missed optimization" bug. Please file a PR in http://llvm.org/bugs/
-Chris
More information about the cfe-dev
mailing list