[PATCH] aarch64: Ensure const and sign correctness

2023-09-14 Thread Pekka Seppänen
Be const and sign correct by using a matching CIE augmentation type. Use a builtin instead of relying being included. libgcc/ChangeLog: * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): Use const unsigned type and a builtin. Signed-off-by: Pekka

[PATCH v2] libstdc++: Fix -Wunused-parameter warnings

2023-09-07 Thread Pekka Seppänen
On 7.9.2023 19:40, Jonathan Wakely wrote: > On 29/08/23 15:04 +0300, Pekka Seppänen wrote: >> libstdc++: Fix -Wunused-parameter warnings when _GLIBCXX_USE_WCHAR_T is >> not defined. >> >> libstdc++-v3/ChangeLog: >> >> * src/c++11/cow-locale_init.cc: Add [

[PATCH] libstdc++: Fix -Wunused-parameter warnings

2023-08-29 Thread Pekka Seppänen
libstdc++: Fix -Wunused-parameter warnings when _GLIBCXX_USE_WCHAR_T is not defined. libstdc++-v3/ChangeLog: * src/c++11/cow-locale_init.cc: Add [[maybe_unused]] attribute. * src/c++17/fs_path.cc (path::_S_convert_loc): Likewise. * src/filesystem/path.cc

[PATCH] Use expandargv on gcc-ar [PR77576]

2023-05-24 Thread Pekka Seppänen
Call expandargv prior attempting to prepend a dash to the first argument. When using response files the first character is never a dash but an at-sign. PR gcc/77576 gcc/ChangeLog: * gcc-ar.cc (main): Call expandargv. --- gcc/gcc-ar.cc | 2 ++ 1 file changed, 2 insertions(+)

[PATCH] lto: pass -pthread to AM_LDFLAGS [PR 106118]

2022-06-28 Thread Pekka Seppänen
Move -pthread from configure.ac to Makefile.in so that it is passed to AM_LDFLAGS. lto-plugin/ChangeLog: * configure.ac: Move -pthread from here... * Makefile.am: ...to here. * configure: Regenerate. * Makefile.in: Likewise. --- lto-plugin/Makefile.am | 3 ++-

[PATCH] Adjust CPP_FOR_BUILD

2021-11-11 Thread Pekka Seppänen
Hi. CPP/CPPFLAGS were changed by commit 84401ce5fb4ecab55decb472b168100e7593e01f. That commit uses CPP as a default for CPP_FOR_BUILD. Unless CPP is defined, GNU make defaults CPP as `$(CC) -E'. Given the context, this is now incorrect, since CC_FOR_BUILD should be used. Fixes PR103011.