[cfe-commits] r160068 - in /cfe/trunk: include/clang/Frontend/ lib/Frontend/ test/Frontend/ test/Lexer/ test/Modules/ test/Modules/Inputs/Module.framework/Headers/ test/PCH/ test/Preprocessor/ test/SemaCXX/

Andy Gibbs andyg1001 at hotmail.co.uk
Tue Aug 7 06:40:33 PDT 2012


On Tuesday, August 07, 2012 9:59 AM, Tom Care wrote:
> Hi Andy and Jordan,
>
> This commit is causing an assertion for me with the following:
>
> struct A {};
> void foo(A *placement) {
>  new (placement) A();
> }
>
> The assertion occurs when compiling with clang -cc1 -verify. It does not
> assert when omitting -verify. Let me know if you need any more info or
> can't reproduce the assertion.

Hi Tom,

Sorry for the slow reply.

Thanks for the report.  This is a known regression, but is fixed in the
patches under consideration here:

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120723/061404.html

(the links to all the patches to be applied are available from this post)

If you are able to apply these patches locally, please let me know whether
this solves the problem for you.  I'm afraid you will almost certainly have
to apply the complete set, since it is a cumulative patch-set.

Cheers,
Andy

> Thanks,
>
> Tom
 




More information about the cfe-commits mailing list