mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 13:57:12 +08:00
Fix a proble building the libiberty library with gcc-12.
PR 28779 * regex.c: Suppress -Wuse-after-free.
This commit is contained in:

committed by
Nick Clifton

parent
965c919f98
commit
2f279a64a2
@ -1,3 +1,7 @@
|
||||
2022-01-15 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
* regex.c: Suppress -Wuse-after-free.
|
||||
|
||||
2022-01-22 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* 2.38 release branch created.
|
||||
|
@ -30,6 +30,10 @@
|
||||
#pragma alloca
|
||||
#endif
|
||||
|
||||
#if __GNUC__ >= 12
|
||||
# pragma GCC diagnostic ignored "-Wuse-after-free"
|
||||
#endif
|
||||
|
||||
#undef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
||||
|
Reference in New Issue
Block a user