http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54023
ebeworld <ebeworld at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from ebeworld <ebeworld at gmail dot com> 2012-07-18 21:40:20 UTC --- forgot the curly braces.It should have been double d={i} and the compiler gives warning: narrowing conversion of 'i' from 'int' to 'double' inside { } [-Wnarrowing]