------- Comment #11 from hubicka at gcc dot gnu dot org 2006-05-09 19:19 ------- Fixed in mainline by patch http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00315.html (I got the PR number wrong, sorry).
It fixes the functions only, variables still can be optimized out. Do we wish to do the same here too? Comdats should be still elliminated. Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24561