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

2014-08-25 Thread dpb at corrigendum dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28319 Роман Донченко changed: What|Removed |Added CC||dpb at corrigendum dot ru -- You are r

[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 rec

[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' (which h

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

2006-07-08 Thread pinskia 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/