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

2008-04-21 Thread ludo at gnu dot org
--- Comment #3 from ludo at gnu dot org 2008-04-21 12:14 --- I proposed a patch, which awaits approval and copyright assignment: http://article.gmane.org/gmane.comp.gcc.patches/160923/focus=160991 Ludovic. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28319 --- You are

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

2008-02-21 Thread ludo at gnu dot org
--- 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