https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-checking Summary|[12 Regression] ICE in |[10/11/12 Regression] ICE |redirect_callee, at |in redirect_callee, at |cgraph.c:1389 with |cgraph.c:1389 with |__attribute__((flatten)) |__attribute__((flatten)) |and -O2 |and -O2 Known to fail| |10.3.0, 11.1.0, 12.0 Ever confirmed|0 |1 Known to work| |10.1.0, 10.2.0 Status|UNCONFIRMED |NEW Last reconfirmed| |2021-12-23 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- With -fchecking, GCC 10.3.0, 11.1.0 also ICE: <source>:22:1: error: calls_comdat_local is set outside of a comdat group 22 | } | ^ <source>:22:1: error: invalid calls_comdat_local flag _Z16value_to_numericv/5 (void value_to_numeric()) @0x7f780edb3ca8 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body calls_comdat_local Called by: Calls: _ZN8OptionalI10CompletionED2Ev/25 (inlined) (1073741824 (estimated locally),1.00 per call) <source>:22: confused by earlier errors, bailing out