Currently sed command in flag cleanup removes all the -O[0-9] flags, ignoring
the context. This leads to issues when the optimization flags is passed to
linker:
CFLAGS="-Os -Wl,-O1 -Wl,--hash-style=gnu"
is converted into
CFLAGS="-Os -Wl,-Wl,--hash-style=gnu"
Which leads to configure failure with
Null pointer in path argument leads to SIGSEGV in interceptor.
libsanitizer/ChangeLog:
* sanitizer_common/sanitizer_common_interceptors.inc: Check
path for null before dereference in fopen64 interceptor.
---
Notes:
Apparently check has been lost during merge from upstream
li
* cp/decl.c (reshape_init_array_1): Enforce constructor creation
for VLAs when initialized with zero value.
* testsuite/g++.dg/pr93730.C: New test
* testsuite/g++.dg/abi/mangle72.C: Change mangling to new version
Signed-off-by: Slava Barinov
This fixes case when
gcc/
* varasm.c (use_object_blocks_p): Forbid section anchors for ASan
gcc/testsuite/
* g++.dg/asan/global-alignment.cc: New test to test global
variables alignment.
Signed-off-by: Slava Barinov
---
gcc/ChangeLog | 6
* g++.dg/asan/asan.exp: Switch on *.cc tests.
Signed-off-by: Slava Barinov
---
gcc/testsuite/ChangeLog| 4
gcc/testsuite/g++.dg/asan/asan.exp | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index