I can't manage to compile any openvz-sources with gcc 4.5.0 installed. I reported it upstream too (1), but I thought it was better to post it here too, so it could block gcc 4.5.0 main bug #296658. (1): http://bugzilla.openvz.org/show_bug.cgi?id=1586 Reproducible: Always
Test case is available in upstream bug report. If somebody has time, please, test.
I've reproduced this issue and upstream patch fixes this issue. Patch added to 2.6.32.10.1. thank you for report.