Commit 85b3bb6d by Alan Modra Committed by Alan Modra

ansidecl.h (ATTRIBUTE_NONSTRING): Define.

ATTRIBUTE_NONSTRING

	* ansidecl.h (ATTRIBUTE_NONSTRING): Define.

From-SVN: r259832
parent b1750618
2018-05-02 Alan Modra <amodra@gmail.com>
* ansidecl.h (ATTRIBUTE_NONSTRING): Define.
2018-05-01 Sriraman Tallam <tmsriram@google.com>
* plugin-api.h: Add plugin API to get the list of wrap
......
......@@ -283,6 +283,15 @@ So instead we use the macro below and test it against specific values. */
# endif /* GNUC >= 4.9 */
#endif /* ATTRIBUTE_NO_SANITIZE_UNDEFINED */
/* Attribute 'nonstring' was valid as of gcc 8. */
#ifndef ATTRIBUTE_NONSTRING
# if GCC_VERSION >= 8000
# define ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
# else
# define ATTRIBUTE_NONSTRING
# endif
#endif
/* We use __extension__ in some places to suppress -pedantic warnings
about GCC extensions. This feature didn't work properly before
gcc 2.8. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment