[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c/28319] sentinel attribute should support non-NULL sentinels




------- Comment #2 from ludo at gnu dot org  2008-02-21 09:00 -------
(In reply to comment #1)
> The only time I can think this comes up is that the sentinel is -1.

As another example, GNU Guile has a number of variadic functions (e.g.,
`scm_list_n ()') whose sentinel is `SCM_UNDEFINED' (which happens to be 2^8 +
4).  It would be great to be able to specify that value as a second (optional)
argument to the `sentinel' attribute.

Ludovic.


-- 

ludo at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ludo at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28319

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


Reply to: