https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183
--- Comment #3 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #2)
> Found it PR 79832.
Well DR 1213, http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1213
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183
--- Comment #2 from Andrew Pinski ---
Found it PR 79832.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103183
--- Comment #1 from Andrew Pinski ---
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.