See URL; basically a pretty bad bug that didn't make it for 3.4, as described in: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20131216/199116.html Adding those patches (r197503, r197505, r197520) from upstream would prevent a lot of upfront pain. They are small and will be in future releases. Reproducible: Always Steps to Reproduce: see $URL Actual Results: see $URL Expected Results: see $URL
The relevant patches can be found at: http://llvm.org/viewvc/llvm-project?view=revision&revision=197503 http://llvm.org/viewvc/llvm-project?view=revision&revision=197505 http://llvm.org/viewvc/llvm-project?view=revision&revision=197520
Created attachment 367222 [details, diff] r197503 1/4
Created attachment 367224 [details, diff] r197503 2/4
Created attachment 367226 [details] r197503 3/4
Created attachment 367228 [details] r197503 4/4
Created attachment 367230 [details, diff] r197505
Created attachment 367232 [details, diff] r197520
(In reply to Holger Hoffstätte from comment #1) I've extracted and attached the patches with meaningful (ordered) names so you don't have to. Hope this helps.
Hmm that's a nasty bug, thanks for the report and patch hunting! I added the patch to current (masked) 3.4 ebuild, tests still run fine