求助,这个报错怎么解决?
下面这个代码编译就能触发这个报错:
#include<bits/stdc++.h>
using namespace std;
const int N=1000,M=1000,L=1000,C=6;
int cfg[C];
struct song{
string st[M+5];
int size,fa;
};
struct player{
int id;
song name[L+5];
bool operator <(const player x){
return this->id<x.id;
}
bool dead(){
for(int i=1;i<=cfg[3];++i){
if(name[i].fa==-1) return 1;
}
return 0;
}
}a[N+5];
编译日志:(路径已经被略去)
insntest.cpp: In function 'void __tcf_1()':
insntest.cpp:21:2: error: unrecognizable insn:
}a[N+5];
^
(insn 6 5 15 2 (set (reg/f:DI 83 [ D.55210 ])
(plus:DI (symbol_ref:DI ("a") [flags 0x2] <var_decl 05f47660 a>)
(reg:DI 84))) insntest.cpp:21 -1
(expr_list:REG_EQUAL (const:DI (plus:DI (symbol_ref:DI ("a") [flags 0x2] <var_decl 05f47660 a>)
(const_int 8128689240 [0x1e481f458])))
(nil)))
insntest.cpp:21:2: internal compiler error: in extract_insn, at recog.c:2202
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://tdm-gcc.tdragon.net/bugs> for instructions.