[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-11 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #21 from Christoph Reiter --- > Try removing the -g switch from the command line (leaving -gcodeview) - the combination of the -gcodeview -g switches (and in that order!) leads to such errors. Well, only those who know what SHOULD h

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-11 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #20 from Iouri Kharon --- (In reply to Christoph Reiter from comment #19) > After doing some more testing, the 32bit build now fails with these patches: > > [1/301] Compiling C++ object > operations/external/exr-save.dll.p/exr-save.

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-11 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #19 from Christoph Reiter --- After doing some more testing, the 32bit build now fails with these patches: [1/301] Compiling C++ object operations/external/exr-save.dll.p/exr-save.cc.obj FAILED: operations/external/exr-save.dll.p/ex

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-10 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #18 from Christoph Reiter --- (In reply to Iouri Kharon from comment #17) > (In reply to Christoph Reiter from comment #16) > > (In reply to Christoph Reiter from comment #15) > > > Thanks, that seems to have fixed the babl build. >

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-10 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #17 from Iouri Kharon --- (In reply to Christoph Reiter from comment #16) > (In reply to Christoph Reiter from comment #15) > > Thanks, that seems to have fixed the babl build. > > ah, I meant the gegl build. And did you apply the

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-10 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #16 from Christoph Reiter --- (In reply to Christoph Reiter from comment #15) > Thanks, that seems to have fixed the babl build. ah, I meant the gegl build.

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-10 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #15 from Christoph Reiter --- Thanks, that seems to have fixed the babl build. Because I already had it, a reduced example: $ cat test.c // gcc -O2 -gcodeview -c test.c typedef long a; typedef int b; int c(void *, void *, a); b d()

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-10 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 Iouri Kharon changed: What|Removed |Added Attachment #61379|0 |1 is obsolete|

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-10 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #13 from Christoph Reiter --- We found another crash in gegl. I'll try to reduce later.

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-09 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #12 from Iouri Kharon --- FYI: Yet cc1/cc1plus can be linked with --pdb :) - secondary patch for ld added to https://sourceware.org/bugzilla/show_bug.cgi?id=32942

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-09 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #11 from Christoph Reiter --- Thanks. With the latest patch + the patch for binutils, babl builds fine now.

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-09 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #10 from Iouri Kharon --- (In reply to Sam James from comment #6) > Mark, when you get a chance to work on this, if you haven't tried it before, > I'd recommend doing a bootstrap w/ -gcodeview enabled by default to see what > falls o

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-09 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 Iouri Kharon changed: What|Removed |Added Attachment #61364|0 |1 is obsolete|

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-08 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #8 from Christoph Reiter --- Crasher with the latest patch: // gcc -O1 -gcodeview -c test.c void a(float *); enum { b } c(long d) { float e[d]; a(e); }

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-07 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 Iouri Kharon changed: What|Removed |Added Attachment #61313|0 |1 is obsolete|

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #6 from Sam James --- Mark, when you get a chance to work on this, if you haven't tried it before, I'd recommend doing a bootstrap w/ -gcodeview enabled by default to see what falls out.

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-07 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #5 from Christoph Reiter --- Thanks for working on this. I applied the gcc patch and can confirm that the original example no longer crashes. I found another crasher though and reduced it to: $ cat test.c // gcc -O1 -gcodeview -c t

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-05 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #4 from Iouri Kharon --- (In reply to Sam James from comment #3) > (In reply to Iouri Kharon from comment #2) > > In addition, a bug in ld-2.44 was found :). See > > https://savannah.gnu.org/patch/index.php?10520 > > Could you file

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-05 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 --- Comment #3 from Sam James --- (In reply to Iouri Kharon from comment #2) > In addition, a bug in ld-2.44 was found :). See > https://savannah.gnu.org/patch/index.php?10520 Could you file that on the sourceware bugzilla? I don't think anyone

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-05 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 Iouri Kharon changed: What|Removed |Added Attachment #61272|0 |1 is obsolete|

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 Sam James changed: What|Removed |Added Summary|codeview ICE/segfault |[15/16 regression] codeview