https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104996
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpolacek at gcc dot gnu.org, | |ppalka at gcc dot gnu.org Status|UNCONFIRMED |NEW Target Milestone|--- |10.4 Known to fail| |10.3.0, 11.2.0, 12.0 Last reconfirmed| |2022-03-21 Summary|Overload resolution over |[10/11/12 Regression] |rvalue/const lvalue array |Overload resolution over |reference parameters for an |rvalue/const lvalue array |init. list argument |reference parameters for an |incorrectly picks the const |init. list argument |lvalue ref. overload |incorrectly picks the const | |lvalue ref. overload Known to work| |9.4.0 Ever confirmed|0 |1 --- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- We started rejecting the commented out static_assert after r10-3740-g89e0a492af5bec.