2013-10-29 Marc Glisse <marc.glisse@inria.fr>
commit2b0d0b812e941e5662be385548d43f8eec3776af
authorglisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2013 13:15:48 +0000 (29 13:15 +0000)
committerglisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Oct 2013 13:15:48 +0000 (29 13:15 +0000)
treeae5bceba5953af2ac60c5b4a8c14448cf256bb34
parentb23fb4cbefbb7fc5574fe593cb955ff56e3aeaf9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204159 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/ansidecl.h
include/libiberty.h
libiberty/ChangeLog
libiberty/concat.c