http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51625
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-30 10:02:24 UTC --- FWIW int{1.0} is an invalid narrowing conversion in C++11, even when the double value is known to be exactly representable as int. Without -pedantic-errors or -Werror=narrowing G++ only issues a warning, not an error. N.B. we don't use the CLOSED status in GCC's bugzilla, so setting it just makes it less likely people will find the bug if they search for it with status=RESOLVED and don't think to include CLOSED reports.