[Bug c++/58336] New: internal compiler error when using a static int for the size of a char array within a class

2013-09-06 Thread holger.brunck at keymile dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: holger.brunck at keymile dot com Hi, I hit a compiler error when compiling the following code with g++ 4.7.2: static int b = 5; class A { public : A(); }; A

[Bug c++/58336] internal compiler error when using a static int for the size of a char array within a class

2013-09-07 Thread holger.brunck at keymile dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58336 --- Comment #2 from holger.brunck at keymile dot com --- With a g++ verison 4.7.2 it's definetely crashing on my side, but I doublechecked with a 4.7.3 compiler and the problem seems already to be fixed. g++ --version g++ (Ubuntu/Linaro