https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97243
Bug ID: 97243 Summary: [11 Regression] ICE in compute_parm_map at gcc/ipa-modref.c:1368 since r11-3478-gada353b87909fd6c Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- The following fails: $ cat fp.c float fma_test1(float a, float b, float c) { float x = a * b + c; return x; } float fma_test2(float a, float b, float c) { float x = a * b + c; return x; } $ gcc fp.c -c -fipa-modref -fipa-icf during IPA pass: modref fp.c:8:1: internal compiler error: Segmentation fault 8 | } | ^ 0xda1cef crash_signal /home/marxin/Programming/gcc/gcc/toplev.c:329 0x7ffff788652f ??? /usr/src/debug/glibc-2.31-6.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0xb97b0c compute_parm_map /home/marxin/Programming/gcc/gcc/ipa-modref.c:1368 0xb9a0e1 compute_parm_map /home/marxin/Programming/gcc/gcc/ipa-modref.c:1338 0xb9a0e1 modref_propagate_in_scc /home/marxin/Programming/gcc/gcc/ipa-modref.c:1603 0xb9a0e1 execute /home/marxin/Programming/gcc/gcc/ipa-modref.c:1680 0xb9a0e1 execute /home/marxin/Programming/gcc/gcc/ipa-modref.c:1659 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.