http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55226
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-11-07 Blocks| |54922 Summary|[C++11] ICE regression in |[4.8 Regression] ICE |regard to anonymous unions |regression in regard to |and constexpr |anonymous unions and | |constexpr Ever Confirmed|0 |1 --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-07 10:52:16 UTC --- I'm going to revert for now the fix for 54922. This one is essentially just a duplicate of that one, simply trying to use the user defined type: class nullable_int { bool init_; union { unsigned char for_value_init; int value_; }; public: constexpr nullable_int() : init_(false), for_value_init() {} }; int main() { nullable_int n; }