This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52069] ARM: initialization of static member in template struct


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]