http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54922
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
AssignedTo|paolo.carlini at oracle dot |unassigned at gcc dot
|com |gnu.org
--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-07
11:05:20 UTC ---
Patch is reverted for now. The fix wasn't correct (or was incomplete), as
showed by the testcase:
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;
}