[Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87996 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|8.4 |9.0 --- Comment #8 from Martin Sebor --- I don't think the bug is important enough to backport the fix to GCC 8 (if it were to be backported the patch for PR 89294 needs to go along with it). With that I'm resolving it as fixed. Richard, if you would prefer it backported please reopen this bug.
[Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87996 Bug 87996 depends on bug 89507, which changed state. Bug 89507 Summary: [9 Regression] bogus "size of array exceeds maximum object size" https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89507 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED
[Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87996 Jakub Jelinek changed: What|Removed |Added Target Milestone|8.3 |8.4 --- Comment #7 from Jakub Jelinek --- GCC 8.3 has been released.
[Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87996 Martin Sebor changed: What|Removed |Added Known to work||9.0 Summary|[8/9 Regression] "size of |[8 Regression] "size of |array is negative" error|array is negative" error |when SIZE_MAX/2 < |when SIZE_MAX/2 < |sizeof(array) <= SIZE_MAX |sizeof(array) <= SIZE_MAX Known to fail|9.0 | --- Comment #6 from Martin Sebor --- Fixed via r268774 in GCC 9.0.