Hi gcc-patches mailing list,
Saurabh Jha <[email protected]> has requested that the following 
forgejo pull request
be published on the mailing list.

Created on: 2026-02-25 09:00:11+00:00
Latest update: 2026-02-25 09:07:29+00:00
Changes: 6 changed files, 66 additions, 4 deletions
Head revision: saurabh.jha/gcc-TEST ref mingw-eh commit 
29e63bb88803f90fd020c3ab09156b87dd48824f
Base revision: gcc/gcc-TEST ref trunk commit 
9fd690d54370a05be1d7c16a3c593e600a983fbb r16-7655-g9fd690d54370a0
Merge base: 9fd690d54370a05be1d7c16a3c593e600a983fbb
Full diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/140.diff
Discussion:  https://forge.sourceware.org/gcc/gcc-TEST/pulls/140
Requested Reviewers:

Hey,

gcc-15 has support for C++ without exception handling. This patch fixes
a regression that happened during the development of GCC-16 and some
workarounds to support C++ without the exception handling stopped
working.

Regression tested this patch on aarch64-linux-gnu and
aarch64-w64-mingw32 targets and found no regressions.

This patch series doesn't deal with structured exception handling (SEH).
This is done elsewhere:
1. gcc: https://gcc.gnu.org/pipermail/gcc-patches/2024-November/669003.html
2. binutils: https://sourceware.org/pipermail/binutils/2026-February/148332.html

Is this ok for master and is this acceptable for gcc-16?

Thanks,
Saurabh

Saurabh Jha (1):
  aarch64: mingw: Fix regression in C++ support

 .../gcc.target/aarch64/mingw/mingw.exp        |  2 +-
 .../aarch64/mingw/minimal_new_del.cc          | 12 ++++++++++
 libgcc/config.host                            |  9 ++++++-
 libgcc/config/aarch64/t-no-eh                 |  2 --
 libgcc/config/aarch64/t-seh-eh                | 24 +++++++++++++++++++
 libgcc/config/aarch64/t-sjlj-eh               | 21 ++++++++++++++++
 6 files changed, 66 insertions(+), 4 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/aarch64/mingw/minimal_new_del.cc
 delete mode 100644 libgcc/config/aarch64/t-no-eh
 create mode 100644 libgcc/config/aarch64/t-seh-eh
 create mode 100644 libgcc/config/aarch64/t-sjlj-eh

--
2.34.1


Changed files:
- A: gcc/testsuite/gcc.target/aarch64/mingw/minimal_new_del.cc
- A: libgcc/config/aarch64/t-seh-eh
- A: libgcc/config/aarch64/t-sjlj-eh
- D: libgcc/config/aarch64/t-no-eh
- M: gcc/testsuite/gcc.target/aarch64/mingw/mingw.exp
- M: libgcc/config.host


Saurabh Jha (1):
  aarch64: mingw: Fix regression in C++ support

 .../gcc.target/aarch64/mingw/mingw.exp        |  2 +-
 .../aarch64/mingw/minimal_new_del.cc          | 12 ++++++++++
 libgcc/config.host                            |  9 ++++++-
 libgcc/config/aarch64/t-no-eh                 |  2 --
 libgcc/config/aarch64/t-seh-eh                | 24 +++++++++++++++++++
 libgcc/config/aarch64/t-sjlj-eh               | 21 ++++++++++++++++
 6 files changed, 66 insertions(+), 4 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/aarch64/mingw/minimal_new_del.cc
 delete mode 100644 libgcc/config/aarch64/t-no-eh
 create mode 100644 libgcc/config/aarch64/t-seh-eh
 create mode 100644 libgcc/config/aarch64/t-sjlj-eh

-- 
2.52.0

Reply via email to