https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106269
--- Comment #2 from marshal ---
(In reply to marshal from comment #0)
> #include
> #include
>
> void operator delete[]( void* ptr ) noexcept {
> std::cout << "delete with 1 parameters==" << std::endl;
> ::o
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406
--- Comment #4 from marshal ---
(In reply to marshal from comment #0)
> int main()
> {
> int i = 4;
> for (_Static_assert (3, "This is a three"); i < 7; i++) {
> i += 2;
> }
> }
>
>
> Gcc can build successfully, but it doe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406
Bug ID: 106406
Summary: _Static_assert declaration can not be first of
for-triplet
Product: gcc
Version: rust/master
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106269
Bug ID: 106269
Summary: the "operator delete" selection does not follow c++
spec
Product: gcc
Version: rust/master
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105077
--- Comment #5 from marshal ---
(In reply to Jonathan Wakely from comment #4)
> (In reply to marshal from comment #3)
> > But why "new int[negative];" throws std::bad_array_new_length as following
> > case?
>
> Because that case requires size_t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105077
--- Comment #3 from marshal ---
(In reply to Jonathan Wakely from comment #2)
> I've added the first example there. The other two examples are exactly the
> same scenario.
>
> *** This bug has been marked as a duplicate of bug 85795 ***
But w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105077
Bug ID: 105077
Summary: The std::bad_array_new_length is not thrown for some
new array scenarios.
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: no