[Bug c++/115190] -fmodule-mapper does not accept CRLF files

2024-05-23 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115190 Christoph Reiter changed: What|Removed |Added CC||reiter.christoph at gmail dot com

[Bug target/115038] [14/15 regression] internal error in seh_cfa_offset with -O2 -fno-omit-frame-pointer

2024-05-12 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115038 --- Comment #6 from Christoph Reiter --- I can confirm that the patch from comment 4 fixes all the above cases, and also emacs builds again. Thanks again

[Bug target/115038] [14/15 regression] internal error in seh_cfa_offset with -O2 -fno-omit-frame-pointer

2024-05-12 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115038 --- Comment #5 from Christoph Reiter --- Thanks! I can confirm that "-fno-fold-mem-offsets" works around the issue. I'll test the proposed patch tomorrow. In the meantime we've reduced another instance of this when building emacs, but this time

[Bug target/115038] ICE in seh_cfa_offset since 14.1.0

2024-05-11 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115038 --- Comment #1 from Christoph Reiter --- Another downstream report with the same error: https://github.com/msys2/MINGW-packages/issues/20864 I've c-reduced that as well to: ``` // gcc -c -fno-omit-frame-pointer -O2 repro.cpp struct d { d();

[Bug c++/115038] New: ICE in seh_cfa_offset since 14.1.0

2024-05-10 Thread reiter.christoph at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com Target Milestone: --- Downstream issue: https://github.com/msys2/MINGW-packages/issues/20861 The following code using GCC 14.1.0 on Windows targeting x86_64-w64-mingw32: ``` // gcc -c -fno-omit

[Bug libgcc/109670] [13/14 regression] Exception handling broken for 32-bit Windows

2023-05-13 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670 --- Comment #15 from Christoph Reiter --- (In reply to Thomas Neumann from comment #12) > Created attachment 55037 [details] > radix sort fix > > I could reproduce the problem, the radix sort did not behave correctly when > we ran out of bits,

[Bug tree-optimization/109806] [13/14 Regression] 13.1.0 cc1plus stack smashing crash with C array of complex structs

2023-05-11 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109806 Christoph Reiter changed: What|Removed |Added CC||reiter.christoph at gmail dot com

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

2023-05-05 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.

[Bug ada/109670] SYSTEM.PERFECT_HASH_GENERATORS.TOO_MANY_TRIES compilation error on 32bit Windows starting with GCC 13

2023-05-03 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670 --- Comment #5 from Christoph Reiter --- Taking `libgcc_s_dw2-1.dll` from gcc 12.2 fixes the issue. We also found that gdb and cmake are broken due to broken exception handling (in case of cmake it is flaky). In both those cases taking the old `

[Bug ada/108202] [13 Regression] Many new acats fails on 32bit Darwin hosts.

2023-04-28 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108202 Christoph Reiter changed: What|Removed |Added CC||reiter.christoph at gmail dot com

[Bug ada/109670] SYSTEM.PERFECT_HASH_GENERATORS.TOO_MANY_TRIES compilation error on 32bit Windows starting with GCC 13

2023-04-28 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670 --- Comment #4 from Christoph Reiter --- Everything seems to be dynamically linked to libgcc, I'm out of ideas.

[Bug ada/109670] SYSTEM.PERFECT_HASH_GENERATORS.TOO_MANY_TRIES compilation error on 32bit Windows starting with GCC 13

2023-04-28 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670 --- Comment #3 from Christoph Reiter --- This looks very much like bug 108202 though, so I'll see if I can find something.

[Bug ada/109670] SYSTEM.PERFECT_HASH_GENERATORS.TOO_MANY_TRIES compilation error on 32bit Windows starting with GCC 13

2023-04-28 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670 --- Comment #2 from Christoph Reiter --- (In reply to Christoph Reiter from comment #1) > [...] I'll try building without that. That didn't make a difference sadly.

[Bug ada/109670] SYSTEM.PERFECT_HASH_GENERATORS.TOO_MANY_TRIES compilation error on 32bit Windows starting with GCC 13

2023-04-28 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109670 --- Comment #1 from Christoph Reiter --- Could this be another case of exceptions being broken, as indicated here https://github.com/AdaCore/gnat-llvm/issues/25#issuecomment-1057198363 ? I see some "-static-libgcc" in the ada Makefile.in. I'll t

[Bug ada/109670] New: SYSTEM.PERFECT_HASH_GENERATORS.TOO_MANY_TRIES compilation error on 32bit Windows starting with GCC 13

2023-04-28 Thread reiter.christoph at gmail dot com via Gcc-bugs
Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com CC: dkm at gcc dot gnu.org Target Milestone: --- Updating from 12.2.0 to

[Bug web/107337] -march docs for nocona are missing CX16

2022-10-20 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107337 --- Comment #1 from Christoph Reiter --- Created attachment 53737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53737&action=edit 0001-docs-nocona-has-CX16-enabled-by-default.patch

[Bug web/107337] New: -march docs for nocona are missing CX16

2022-10-20 Thread reiter.christoph at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com Target Milestone: --- On https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html nocona doesn't list CX16 despite it being enabled there. https://github.com/gcc-mirror/gcc

[Bug libgomp/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-27 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #10 from Christoph Reiter --- lgtm

[Bug target/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-27 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #8 from Christoph Reiter --- (In reply to Jakub Jelinek from comment #5) > Ugh, that is a lame limitation. > Does mingw support any of the other aligned allocators (memalign, > posix_memalign or aligned_alloc) that can be freed just

[Bug target/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-27 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #7 from Christoph Reiter --- Created attachment 53043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53043&action=edit libgomp: don't use GOMP_USE_ALIGNED_WORK_SHARES on Windows

[Bug target/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-27 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #6 from Christoph Reiter --- Created attachment 53042 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53042&action=edit libgomp: use _aligned_free in gomp_aligned_free() if needed

[Bug target/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-27 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #4 from Christoph Reiter --- Yes, that's it I think. libgomp is mixing aligned malloc with unaligned free in various places.

[Bug target/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-26 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #3 from Christoph Reiter --- Wild guess: I see _aligned_malloc() being used in libgomp, but not _aligned_free().

[Bug target/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-26 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #2 from Christoph Reiter --- For "#pragma omp parallel for if (0)": #0 0x7ffacdeac6b3 in ntdll!RtlIsZeroMemory () from C:\WINDOWS\SYSTEM32\ntdll.dll #1 0x7ffacdeb5512 in ntdll!.misaligned_access () from C:\WINDOWS\SY

[Bug libgomp/105745] New: Conditional OpenMP directive fails with GCC 12

2022-05-26 Thread reiter.christoph at gmail dot com via Gcc-bugs
: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com CC: jakub at gcc dot gnu.org Target Milestone: --- Downstream issue: https://github.com/msys2/MINGW-packages/issues/11729 The following example crashes with GCC

[Bug ada/100486] Ada build fails for 32bit Windows

2022-05-22 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #73 from Christoph Reiter --- In a similar bug 105507 we figured out that the MSYS2 build was broken because it was linking libgcc both statically and dynamically via dependencies, and that breaks exceptions with dwarf-2. So in theo

[Bug ada/105507] Ada build fails for 32bit Windows

2022-05-22 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105507 Christoph Reiter changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ada/105507] Ada build fails for 32bit Windows

2022-05-19 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105507 --- Comment #9 from Christoph Reiter --- (In reply to Eric Botcazou from comment #8) > > We currently link: > > > > shared: gmp, winpthread, zlib, zstd > > static: mpc, mpfr, isl > > > > Not for any particular gcc related reason I think, some

[Bug ada/105507] Ada build fails for 32bit Windows

2022-05-18 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105507 --- Comment #7 from Christoph Reiter --- We currently link: shared: gmp, winpthread, zlib, zstd static: mpc, mpfr, isl Not for any particular gcc related reason I think, some dependent packages have static/shared builds, some don't.

[Bug ada/105507] Ada build fails for 32bit Windows

2022-05-18 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105507 --- Comment #4 from Christoph Reiter --- I see, thanks for having a look :) We do have some open bugs re broken exception handling with mingw32, like https://github.com/msys2/MINGW-packages/issues/9289#issuecomment-945306860 Sadly no one stepp

[Bug ada/105507] Ada build fails for 32bit Windows

2022-05-18 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105507 --- Comment #2 from Christoph Reiter --- Stack trace (I rebuilt the host gcc 11.3.0 with debug symbols and re-ran the failing command with "-wrapper gdb,--args"): Thread 1 received signal SIGSEGV, Segmentation fault. 0x7563bd90 in strlen () fro

[Bug ada/105507] Ada build fails for 32bit Windows

2022-05-17 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105507 --- Comment #1 from Christoph Reiter --- I've bisected it now: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=76f9c7f44fffb0b03266730b137313fe79f1c99e 76f9c7f44fffb0b03266730b137313fe79f1c99e is the first bad commit commit 76f9c7f44fffb0b032667

[Bug ada/105507] New: Ada build fails for 32bit Windows

2022-05-06 Thread reiter.christoph at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com Target Milestone: --- Downstream context: https://github.com/msys2/MINGW-packages/pull/11582 Building gcc 12.1.0 fails for 32bit Windows (64bit works): $ make [ -f stage_final ] || echo stage3

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-20 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #72 from Christoph Reiter --- Works nicely now. Thanks everyone!

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #52 from Christoph Reiter --- Turns out this might be fallout from the last grep update, see https://github.com/msys2/MINGW-packages/issues/9771#issuecomment-945007372 Needs investigating..

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #51 from Christoph Reiter --- (In reply to Eric Botcazou from comment #50) > > Yes, from 2.36.1 to 2.37, but I've already tried reverting that and it > > didn't help. I'm going to try older versions (of everything) though.. > > This

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #48 from Christoph Reiter --- (In reply to Eric Botcazou from comment #47) > > Yes, everything is checksummed in our build script. We apply various patches > > and backports, they are also checksummed: > > https://github.com/msys2/MI

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-16 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #46 from Christoph Reiter --- (In reply to Eric Botcazou from comment #45) > > Fore completeness: The "exceptions not working" problem now also crept into > > our v10.3 build with the last rebuild. Maybe some dependency change in the

[Bug ada/100486] Ada build fails for 32bit Windows

2021-10-15 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #44 from Christoph Reiter --- Fore completeness: The "exceptions not working" problem now also crept into our v10.3 build with the last rebuild. Maybe some dependency change in the last two months, but no idea :/ https://github.com/

[Bug ada/100486] Ada build fails for 32bit Windows

2021-07-30 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 --- Comment #15 from Christoph Reiter --- Still the same error with GCC 11.2 and binutils 2.37: https://github.com/msys2/MINGW-packages/pull/9088/checks?check_run_id=3196226530

[Bug ada/100486] New: Ada build fails for 32bit Windows

2021-05-08 Thread reiter.christoph at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com Target Milestone: --- 10.3 works fine. Trying to build 11.1 results in the following error. I can try to debug this or try patches if someone can give me some hints on where to best start

[Bug target/98341] [11/12 Regression] Ada bootstrap fails with Storage_Error stack overflow or erroneous memory access on m68k

2021-05-02 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98341 Christoph Reiter changed: What|Removed |Added CC||reiter.christoph at gmail dot com

[Bug c++/95749] New: std::filesystem::file_size returns wrong size for large files on Windows

2020-06-18 Thread reiter.christoph at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com Target Milestone: --- Downstream report: https://github.com/msys2/MINGW-packages/issues/6585 #include #include #include #include

[Bug preprocessor/88424] Inserts newlines when preserving comments for a file using Windows newlines

2018-12-09 Thread reiter.christoph at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88424 --- Comment #2 from Christoph Reiter --- For context, we use gcc in gobject-introspection where we parse metadata from the C comments and this breaks things when users on Windows have git set up to auto convert line endings: https://gitlab.gnome.

[Bug c/88424] New: Inserts newlines when preserving comments for a file using Windows newlines

2018-12-09 Thread reiter.christoph at gmail dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: reiter.christoph at gmail dot com Target Milestone: --- gcc --version gcc (Debian 8.2.0-11) 8.2.0 When preprocessing a file which uses Windows newlines without discarding