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

Reply via email to