http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55398
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-20 00:15:14 UTC --- >From http://gcc.gnu.org/gcc-4.5/changes.html : # Diagnostics that used to complain about passing non-POD types to ... or jumping past the declaration of a non-POD variable now check for triviality rather than PODness, as per C++0x.