https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91235
Martin Sebor changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91235
--- Comment #3 from Andrew Pinski ---
I think the warning is correct. there is no negative sizes; only size_t sizes
for array.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91235
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91235
--- Comment #1 from Daniel Fruzynski ---
I checked that trunk gcc also accepts this code, both with -std=c++11 and
-std=c++1z. Clang also compiles this without error. Could someone take a look
on this and add some comment here?