It can be reproduced with following simple code
struct function { int pops_args; long long x_frame_offset; };
long long get_func_frame_size (struct function *f) { return -f->x_frame_offset; }
Command line options are: -march=armv7-a -mfloat-abi=softfp -mthumb -Os
Arm mode and O2/O3 also show this ICE.
It can be reproduced with following simple code
struct function
{
int pops_args;
long long x_frame_offset;
};
long long get_func_frame_size (struct function *f)
{
return -f->x_frame_offset;
}
Command line options are: -march=armv7-a -mfloat-abi=softfp -mthumb -Os
Arm mode and O2/O3 also show this ICE.