Skip to content
Snippets Groups Projects
  • Marc Glisse's avatar
    eda14d6a
    re PR tree-optimization/58689 ([meta-bug] __attribute__((returns_nonnull)) enhancements) · eda14d6a
    Marc Glisse authored
    2013-10-29  Marc Glisse  <marc.glisse@inria.fr>
    
    	PR tree-optimization/58689
    include/
    	* ansidecl.h (ATTRIBUTE_RETURNS_NONNULL): New macro.
    	* libiberty.h (basename, lbasename, dos_lbasename, unix_lbasename,
    	concat_copy): Mark with attributes nonnull(1) and returns_nonnull.
    	(concat, reconcat, concat_copy2, choose_temp_base, xstrerror,
    	xmalloc, xrealloc, xcalloc, xstrdup, xstrndup, xmemdup, pex_init):
    	Mark with attribute returns_nonnull.
    
    libiberty/
    	* concat.c: Remove note about xmalloc.
    
    From-SVN: r204159
    eda14d6a
    History
    re PR tree-optimization/58689 ([meta-bug] __attribute__((returns_nonnull)) enhancements)
    Marc Glisse authored
    2013-10-29  Marc Glisse  <marc.glisse@inria.fr>
    
    	PR tree-optimization/58689
    include/
    	* ansidecl.h (ATTRIBUTE_RETURNS_NONNULL): New macro.
    	* libiberty.h (basename, lbasename, dos_lbasename, unix_lbasename,
    	concat_copy): Mark with attributes nonnull(1) and returns_nonnull.
    	(concat, reconcat, concat_copy2, choose_temp_base, xstrerror,
    	xmalloc, xrealloc, xcalloc, xstrdup, xstrndup, xmemdup, pex_init):
    	Mark with attribute returns_nonnull.
    
    libiberty/
    	* concat.c: Remove note about xmalloc.
    
    From-SVN: r204159