This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28319] sentinel attribute should support non-NULL sentinels
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2006 18:50:10 -0000
- Subject: [Bug c/28319] sentinel attribute should support non-NULL sentinels
- References: <bug-28319-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-08 18:50 -------
The only time I can think this comes up is that the sentinel is -1. But
sentinels are really there so you don't just pass 0 to the function which will
fail on some 64bit targets.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28319