http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler at | |googlemail dot com --- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-05-05 16:32:18 UTC --- I agree that the code needs to be rejected, but I think the invalid expression should be ov.get<double>() instead of ov.get<int>() as indicated by the code comment. The same defect also exists in 4.8.0 HEAD.