https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81414
Bug ID: 81414
Summary: ICE in fma steering on AArch64/cortex-a57
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: amker at gcc dot gnu.org
Target Milestone: ---
Hi,
Compiling below test case:
typedef __Float32x2_t float32x2_t;
__inline float32x2_t vdup_n_f32(float) {}
float32x2_t vfma_lane_f32(float32x2_t __a, float32x2_t __b) {
int __lane;
return __builtin_aarch64_fmav2sf(__b, vdup_n_f32(__lane), __a);
}
With options:
$ g++ x.cc -mcpu=cortex-a57 -O2 -o x.S
gives below ICE:
x.cc: In function ‘float32x2_t vfma_lane_f32(float32x2_t, float32x2_t)’:
x.cc:10:1: internal compiler error: in analyze, at
config/aarch64/cortex-a57-fma-steering.c:977
}
^
0x14198f8 func_fma_steering::analyze()
../../gcc/gcc/config/aarch64/cortex-a57-fma-steering.c:977
0x1419af3 func_fma_steering::execute_fma_steering()
../../gcc/gcc/config/aarch64/cortex-a57-fma-steering.c:1026
0x1419deb pass_fma_steering::execute(function*)
../../gcc/gcc/config/aarch64/cortex-a57-fma-steering.c:1062
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.