[Bug libgcc/109670] Exception handling broken for 32bit Windows starting with GCC 13

2023-05-08 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670

--- Comment #11 from LIU Hao  ---
(In reply to Thomas Neumann from comment #10)
> (In reply to LIU Hao from comment #9)
> > GDB is affected, too:
> 
> I will debug that. That is easier to build than Ada. Strange that it only
> affects 32bit Windows. I will take a look.

Only on i686-w64-mingw64 is DWARF2 used for exception handling; SEH is used on
all the other *-w64-mingw32 targets.

[Bug libgcc/109670] Exception handling broken for 32bit Windows starting with GCC 13

2023-05-08 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670

--- Comment #10 from Thomas Neumann  ---
(In reply to LIU Hao from comment #9)
> GDB is affected, too:

I will debug that. That is easier to build than Ada. Strange that it only
affects 32bit Windows. I will take a look.

[Bug libgcc/109670] Exception handling broken for 32bit Windows starting with GCC 13

2023-05-08 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670

--- Comment #9 from LIU Hao  ---
GDB is affected, too:

https://github.com/msys2/MINGW-packages/pull/16968#issuecomment-1533702758

[Bug libgcc/109670] Exception handling broken for 32bit Windows starting with GCC 13

2023-05-08 Thread tneumann at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670

--- Comment #8 from Thomas Neumann  ---
Do you by chance an Ada-enabled WIN32 toolchain somewhere that I can use to
build gcc with? Or an script on how to do that? I have not managed to reproduce
the problem yet, unfortunately, because I could not build Ada.

[Bug libgcc/109670] Exception handling broken for 32bit Windows starting with GCC 13

2023-05-06 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670

Christoph Reiter  changed:

   What|Removed |Added

 CC||tneumann at users dot 
sourceforge.
   ||net

--- Comment #7 from Christoph Reiter  ---
Yes, I can confirm that reverting
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1c118c9970600117700cc12284587e0238de6bbe
on top of 13.1.0 fixes exception handling, and cmake/ada/gdb work again.

[Bug libgcc/109670] Exception handling broken for 32bit Windows starting with GCC 13

2023-05-06 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670

LIU Hao  changed:

   What|Removed |Added

 CC||lh_mouse at 126 dot com

--- Comment #6 from LIU Hao  ---
Try reverting 1c118c9970600117700cc12284587e0238de6bbe?