[Bug c++/91235] Array size expression is implicitly casted to unsigned long type

2021-08-25 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91235 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/91235] Array size expression is implicitly casted to unsigned long type

2021-08-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/91235] Array size expression is implicitly casted to unsigned long type

2019-08-29 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91235 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/91235] Array size expression is implicitly casted to unsigned long type

2019-08-29 Thread bugzi...@poradnik-webmastera.com
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?