http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57502
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- The problem exists in gcc 4.9.0 20130519 (experimental) as well. It seems also to exist for other user-defined types such as enumeration types: enum E {}; decltype(E{}); // Accepted Neither -predantic nor -predantic-errors makes any difference.