https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82727
Bug ID: 82727 Summary: ICE in emit_library_call_value_1, at calls.c:4975 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu I can reproduce that with GCC 4.9.0+: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c -mandroid -mabi=ms /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c:6:40: warning: conflicting types for built-in function ‘abort’ [-Wbuiltin-declaration-mismatch] extern void __attribute__ ((sysv_abi)) abort (void); ^~~~~ /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c: In function ‘func_native’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/x86_64/abi/callabi/func-2a.c:13:11: internal compiler error: in emit_library_call_value_1, at calls.c:4975 ret = a + (long double) b + (long double) c; ~~^~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. It's probably invalid combination (-mandroid and -mabi=ms), but an error would be better than ICE.