++
Assignee: unassigned at gcc dot gnu.org
Reporter: y...@momonga-linux.org
I found ICE with the following code;
$ cat test.cpp
struct A {
A();
};
static const struct {
A a;
} b[3] = {
};
$ g++-4.8 -c bug.cpp
bug.cpp: In function ‘void __static_initialization_and_destruction_0(int,
int
Component: c
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: y...@momonga-linux.org
gcc 4.6.0 20110305 ICEs with "-O3" when using the following code;
typedef struct {
unsigned long status;
} Table;
extern Table* table;
extern void func2(Table *p);
int func(int a)