This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52069] ARM: initialization of static member in template struct
- From: "thomas dot betker at rohde-schwarz dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jan 2012 16:25:02 +0000
- Subject: [Bug c++/52069] ARM: initialization of static member in template struct
- Auto-submitted: auto-generated
- References: <bug-52069-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52069
--- Comment #5 from Thomas Betker <thomas.betker@rohde-schwarz.com> 2012-01-31 16:25:02 UTC ---
Okay, got it; thanks a lot for the ultra-quick reply!
Wouldn't a diagnostic message be helpful here even if it is not required by the
standard? After all, the resulting binaries won't work correctly.
I also keep wondering why things do work when optimization is disabled, but I
guess the compiler may do anything it pleases since the input is invalid.