https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103185
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ind[arr] is rejected when |[11/12/13/14 Regression] |arr is an array prvalue |ind[arr] is rejected when | |arr is an array prvalue CC| |ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- Started to be rejected in C++17 mode since r10-3793-g1a37b6d9a7e57c: using intarr = int[]; using type = decltype(0[intarr{0}]); // { dg-bogus "taking address of temporary array" }