[Bug c++/103183] ind[arr] produces an lvalue when arr is an array xvalue

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 11 09:56:12 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There has to be C++ defect report about this.  Because clang has the behavior
you are requesting but ICC, MSVC all act the same as GCC.


More information about the Gcc-bugs mailing list