This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38481] New: Add attribute for custom sentinels
- From: "gnu at behdad dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2008 18:09:17 -0000
- Subject: [Bug c/38481] New: Add attribute for custom sentinels
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Would be useful to have the sentinel attribute functionalities but for things
other than a NULL pointer. Something like:
__attribute__(sentinel_custom((int*) -1))
--
Summary: Add attribute for custom sentinels
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gnu at behdad dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38481