Commit 436afa16 by David Malcolm Committed by David Malcolm

system.h: Poison strndup (PR bootstrap/78616)

gcc/ChangeLog:
	PR bootstrap/78616
	* system.h: Poison strndup.

From-SVN: r244494
parent b497fbc1
2017-01-16 David Malcolm <dmalcolm@redhat.com>
PR bootstrap/78616
* system.h: Poison strndup.
2017-01-16 Alan Modra <amodra@gmail.com>
PR target/79098
......
......@@ -840,7 +840,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
#ifndef USES_ISL
#undef calloc
#undef strdup
#pragma GCC poison calloc strdup
#undef strndup
#pragma GCC poison calloc strdup strndup
#endif
#if !defined(FLEX_SCANNER) && !defined(YYBISON)
......
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