https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102514
Jonathan Wakely changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102514
--- Comment #2 from jim x ---
It seems that they all do not obey [expr.new] p9, which says that
If the expression in a noptr-new-declarator is present, it is implicitly
converted to std::size_t. The expression is erroneous if:
- the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102514
--- Comment #1 from Andrew Pinski ---
Hmm, clang, GCC, ICC and MSVC all have the same behavior for the testcase.