I don't know whether a new bug should be opened in the GCC bugzilla or not for the 4.5 branch, but this is the 4.6 bugfix: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44768#c9 (this comment links it to the problem)
Mageia has a backported patch: http://svnweb.mageia.org/packages/cauldron/gcc/current/SOURCES/gcc_pr44768.p...
(Thanks to Arnaud Patard for the above links!)
I think it's r99440 in gcc-linaro.