[llvm-commits] [llvm-gcc-4.2] r98626 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Tue Mar 16 11:15:46 PDT 2010


Hi Chris,

> This is not safe, please revert it.

reverted in commit 98646.

> I originally tried to do this for llvm-gcc 3 and was defeated by libstdc++.  It assumes (and it turns out the c++ standard allows this) that global variables are zero initialized before the constructor for a type is run on it.

That is so annoying!  You could do easily do some nice simplifications if this
wasn't the case...

Ciao,

Duncan.



More information about the llvm-commits mailing list