]> granicus.if.org Git - clang/commit
Fix PR14321, a crash when Clang is built with GCC 4.7 at -O1 or greater.
authorMatt Beaumont-Gay <matthewbg@google.com>
Fri, 16 Nov 2012 01:14:52 +0000 (01:14 +0000)
committerMatt Beaumont-Gay <matthewbg@google.com>
Fri, 16 Nov 2012 01:14:52 +0000 (01:14 +0000)
commit0bbf1c668e8cb1a3e5b1385c2fd5cd6c73f481c0
tree0c915e3a28f8aae7a65dccf6dc6651cf4716cb4c
parent426391cd51af86f9d59eceb0fb1c42153eccbb9a
Fix PR14321, a crash when Clang is built with GCC 4.7 at -O1 or greater.

GCC 4.7 reuses stack slots fairly aggressively, which exposes more temporary
lifetime bugs.

No new test, this was caught by the existing CodeGenCXX/mangle-ms-templates.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp