https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87541
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-10-06 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Summary|ICE using a constant decl |]7/8 Regression] ICE using |as an attribute alloc_size |a constant decl as an |argument |attribute alloc_size | |argument Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The ICE first appeared with r243470 (in GCC 7.0.0), though the problem was most likely latent before then. r243470 | msebor | 2016-12-08 18:50:40 -0500 (Thu, 08 Dec 2016) | 44 lines PR c/77531 - __attribute__((alloc_size(1,2))) could also warn on multiplication overflow PR c/78284 - warn on malloc with very large arguments