[Bug jit/87003] New: use nonnull attribute in libgccjit.h

tromey at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 17 22:58:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87003

            Bug ID: 87003
           Summary: use nonnull attribute in libgccjit.h
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: tromey at gcc dot gnu.org
  Target Milestone: ---

Many functions in libgccjit.h take a pointer argument,
and it isn't clear which of these can be NULL and which cannot.
It would be a bit helpful if the nonnull attribute were applied
where appropriate.


More information about the Gcc-bugs mailing list