[cfe-commits] r153723 - in /cfe/trunk: lib/CodeGen/CGDecl.cpp lib/CodeGen/ItaniumCXXABI.cpp test/CodeGenCXX/static-init.cpp

Chandler Carruth chandlerc at google.com
Fri Mar 30 11:41:09 PDT 2012

On Fri, Mar 30, 2012 at 1:06 AM, Richard Smith <richard at metafoo.co.uk>wrote:

> Repro looks like this:
> extern "C" {
>   void f() { static int n = 1; }
>   void g() { static long long n = 2; }
> }
> The root cause seems to be that we don't mangle static locals inside an
> extern "C" block. (For reference, g++ does.)

This is causing pretty significant regressions for us. Is a fix in the
works? If not, I'd like to revert until we get a fix in place so that we
can make forward progress, and track down other bugs currently showing up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120330/1eed2749/attachment.html>

More information about the cfe-commits mailing list