------- Comment #2 from rguenth at gcc dot gnu dot org 2008-04-23 08:54 -------
Confirmed. Testcase:
char *foo() __attribute__((alloc_size(2)));
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-invalid-code
Known to fail| |4.3.0
Known to work| |4.2.3
Priority|P3 |P2
Last reconfirmed|0000-00-00 00:00:00 |2008-04-23 08:54:29
date| |
Summary|__attribute__((alloc_size(n)|[4.3/4.4 Regression]
|)) with function of no |__attribute__((alloc_size(n)
|arguments causes gcc to |)) with function of no
|segfault |arguments causes gcc to
| |segfault
Target Milestone|--- |4.3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36021