https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93027
Bug ID: 93027 Summary: ICE: in match_reload, at lra-constraints.c:1060 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fdgkhdkgh at gmail dot com Target Milestone: --- g++ ./hi.c INPUT: int main() { int f= 0, w; asm volatile( "" : "+m&l"(f) : "0a"(&w) ); } OUTPUT: during RTL pass: reload ./bug.cc: In function ‘int main()’: ./bug.cc:9:1: internal compiler error: in match_reload, at lra-constraints.c:1060 9 | } | ^ 0x2b55f43 match_reload ../.././gcc/lra-constraints.c:1058 0x2b9c03f curr_insn_transform ../.././gcc/lra-constraints.c:4306 0x2ba4656 lra_constraints(bool) ../.././gcc/lra-constraints.c:5009 0x2b102b4 lra(_IO_FILE*) ../.././gcc/lra.c:2437 0x28e6954 do_reload ../.././gcc/ira.c:5518 0x28e6954 execute ../.././gcc/ira.c:5704 It is probably the same bug in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84985