This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55137] [4.8 Regression] Unexpected static structure initialization
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Oct 2012 12:56:07 +0000
- Subject: [Bug c++/55137] [4.8 Regression] Unexpected static structure initialization
- Auto-submitted: auto-generated
- References: <bug-55137-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55137
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-30
Ever Confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-30 12:56:07 UTC ---
Insane.
struct S {
int b;
};
struct S s = { -1 + (int)(sizeof(int) - 1) };