system.h: Poison strndup (PR bootstrap/78616)
gcc/ChangeLog: PR bootstrap/78616 * system.h: Poison strndup. From-SVN: r244494
This commit is contained in:
parent
b497fbc10a
commit
436afa16af
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user