[cfe-commits] r146766 - /cfe/trunk/lib/Sema/SemaInit.cpp

Nicola Gigante nicola.gigante at gmail.com
Wed Dec 21 13:15:45 PST 2011


Il giorno 20/dic/2011, alle ore 05:06, Richard Smith ha scritto:

> Hi Nicola,
> 
> I reverted this patch in r146961. It caused a miscompile (see the testcase I
> added in that revision). Checking the LastCheckedSubobjectIndex is
> insufficient -- the initializer could be a subobject of a different
> initializer list, in which case the patch replaces the initializer expression
> with an unrelated one.
> 

Sad news :(
But you're right.

Any idea on how to workaround this problem?

> - Richard

Nicola



More information about the cfe-commits mailing list