[Bug target/95419] [vax-openbsd] internal compiler error: in assemble_integer, at varasm.c:2818 with -fexceptions

2025-04-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95419 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug d/119817] d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676

2025-04-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug d/119826] [13/14/15/16 regression] ICE: verify_type failed: type variant differs by TYPE_MAX_VALUE with -g

2025-04-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119826 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug d/119874] d: Recognize user-defined prototypes of built-in functions

2025-04-19 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119874 Iain Buclaw changed: What|Removed |Added Last reconfirmed||2025-04-20 Assignee|ibuclaw at

[Bug d/119874] New: d: Recognize user-defined prototypes of built-in functions

2025-04-19 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119874 Bug ID: 119874 Summary: d: Recognize user-defined prototypes of built-in functions Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Pr

[Bug d/119826] [13/14/15 regression] ICE: verify_type failed: type variant differs by TYPE_MAX_VALUE with -g

2025-04-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119826 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug d/119817] d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676

2025-04-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817 Iain Buclaw changed: What|Removed |Added Last reconfirmed||2025-04-15 Status|UNCONFIRMED

[Bug d/119817] New: d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676

2025-04-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817 Bug ID: 119817 Summary: d: internal compiler error: in dwarf2out_imported_module_or_decl, at dwarf2out.cc:27676 Product: gcc Version: 15.0 Status: UN

[Bug d/119799] New: d: internal compiler error: in visit, at d/decl.cc:838

2025-04-14 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119799 Bug ID: 119799 Summary: d: internal compiler error: in visit, at d/decl.cc:838 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug d/119761] d: importC cannot find input file '__importc_builtins.d'

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119761 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/119761] New: d: importC cannot find input file '__importc_builtins.d'

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119761 Bug ID: 119761 Summary: d: importC cannot find input file '__importc_builtins.d' Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Prio

[Bug d/109023] d: Add option to include imported modules in the compilation

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109023 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/119758] d: -fonly= argument only matches when including full relative path to the input file

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119758 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/119758] New: d: -fonly= argument only matches when including full relative path to the input file

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119758 Bug ID: 119758 Summary: d: -fonly= argument only matches when including full relative path to the input file Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug d/112290] self-referencing `in` parameter with `-fpreview=in` causes ICE

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112290 --- Comment #5 from Iain Buclaw --- *** Bug 112291 has been marked as a duplicate of this bug. ***

[Bug d/112291] cyclic reference struct with `in` parameter and `-fpreview=in` causes bogus error: overlapping initializer for field ...

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112291 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug d/112291] cyclic reference struct with `in` parameter and `-fpreview=in` causes bogus error: overlapping initializer for field ...

2025-04-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112291 Iain Buclaw changed: What|Removed |Added Known to fail||13.3.0 CC|

[Bug d/118309] d: Forward referenced enums missing type names in debug info

2025-04-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118309 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/117832] Use CONSTRUCTOR_ZERO_PADDING_BITS in the D FE

2025-04-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117832 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/117995] [15 regression] Regression in libphobos tests on arm after g:0547dbb725b6d8e878a79e28a2e171eafcfbc1aa

2025-04-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117995 --- Comment #2 from Iain Buclaw --- @Christophe, I can only assume this is fixed, but have no way to test.

[Bug d/117995] [15 regression] Regression in libphobos tests on arm after g:0547dbb725b6d8e878a79e28a2e171eafcfbc1aa

2025-04-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117995 --- Comment #4 from Iain Buclaw --- (In reply to Christophe Lyon from comment #3) > (In reply to Iain Buclaw from comment #2) > > @Christophe, I can only assume this is fixed, but have no way to test. > > It seems so, has the test been renamed?

[Bug d/117995] [15 regression] Regression in libphobos tests on arm after g:0547dbb725b6d8e878a79e28a2e171eafcfbc1aa

2025-04-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117995 Bug 117995 depends on bug 117832, which changed state. Bug 117832 Summary: Use CONSTRUCTOR_ZERO_PADDING_BITS in the D FE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117832 What|Removed |Added -

[Bug d/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-31 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-03-31 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 117002, which changed state. Bug 117002 Summary: [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2 https://gcc.gnu.o

[Bug d/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-28 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #6 from Iain Buclaw --- So I'm currently thinking that perhaps this could be fixed my end. At the definition of the type, set TYPE_ALIGN and TYPE_PACKED to 1, so it's equivalent to: class __attribute__((packed)) Foo { ... }; Th

[Bug d/117832] Use CONSTRUCTOR_ZERO_PADDING_BITS in the D FE

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117832 --- Comment #2 from Iain Buclaw --- Gave a little test of this flag. Doesn't look like it will be able to replace all the uses where `memset(0)` is currently generated in the D front-end. It probably doesn't harm to have both this and `-ftrivia

[Bug middle-end/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #5 from Iain Buclaw --- (In reply to Iain Buclaw from comment #4) > I'm going to call this a bug in the D front-end. > > https://godbolt.org/z/EYvcfE4aK > > extern(C++) class Foo { > ubyte[4] not_multiple_of_8; > } > > static

[Bug middle-end/117002] [13/14/15 Regression] lifetime.d: In function ‘_d_newclassT’: error: size of array element is not a multiple of its alignment with -Warray-bounds and -O2

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117002 --- Comment #4 from Iain Buclaw --- I'm going to call this a bug in the D front-end. https://godbolt.org/z/EYvcfE4aK extern(C++) class Foo { ubyte[4] not_multiple_of_8; } static assert(__traits(classInstanceAlignment, Foo) == 8); static a

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Iain Buclaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 --- Comment #3 from Iain Buclaw --- The last change that touched TYPE_PACKED between 12..13 was r13-1104-gf4c3ce32fa54c1. Could start there for a quick bisect.

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 --- Comment #2 from Iain Buclaw --- Reduced test: ``` void test8847e() { auto foo()(inout int) { struct Bar {} return inout(Bar)(); } auto bar = foo(0); }

[Bug d/117621] [13/14/15 regression] runnable/mangle.d test fails with -g (d21: error: type variant differs by TYPE_PACKED)

2025-03-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117621 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug d/118545] d: Not all language options get a url in diagnostics

2025-03-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118545 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/119139] [12/13/14/15 regression] Regression with struct invariants

2025-03-11 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Last reconfirmed|2025-03-09 00:00

[Bug d/119139] Regression with struct invariants

2025-03-09 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 Iain Buclaw changed: What|Removed |Added URL||https://github.com/dlang/dm

[Bug d/119139] Regression with struct invariants

2025-03-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 --- Comment #7 from Iain Buclaw --- >From http://www.dsource.org/projects/dmd/changeset/259 The first setting of `const` to the result variable looks fine, as that's against the parameter in the `out(result)` function, the result cannot be chan

[Bug d/119139] Regression with struct invariants

2025-03-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 --- Comment #6 from Iain Buclaw --- https://github.com/dlang/dmd/blob/4661fec6b792dcb22d66776fcdbe62ecb59667d1/compiler/src/dmd/funcsem.d#L2420-L2421 Introduced by. https://issues.dlang.org/show_bug.cgi?id=3390

[Bug d/119139] Regression with struct invariants

2025-03-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 --- Comment #5 from Iain Buclaw --- Looking at where TREE_READONLY gets set in the front-end, it's likely introduced by PR110514. It does look as though the result variable incorrectly has `const` tagged against it though.

[Bug d/119139] Regression with struct invariants

2025-03-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 --- Comment #4 from Iain Buclaw --- The D front-end doesn't set TREE_STATIC on the `__result` variable, it's gcc/gimplify.cc at this location: ``` /* If a const aggregate variable is being initialized, then it should never be a lose to promo

[Bug d/119139] Regression with struct invariants

2025-03-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 --- Comment #3 from Iain Buclaw --- It's only in latter tree dump passes we see that in the "bad" code gen, the `const struct __result` is in fact static data from gdc-12 onwards. ``` struct str (struct B & this) { static const struct __res

[Bug d/119139] Regression with struct invariants

2025-03-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 --- Comment #2 from Iain Buclaw --- Both gdc-11 and gdc-12 seem to produce the same tree structures from initial dump. ``` struct toString () { return = {.length=1, .ptr="1"}; } void __invariant1 (const struct B & this) { return; } st

[Bug d/119139] Regression with struct invariants

2025-03-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug d/116975] Implement STAGE1_GDCFLAGS

2025-03-02 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116975 Iain Buclaw changed: What|Removed |Added Attachment #60637|0 |1 is obsolete|

[Bug d/116975] Implement STAGE1_GDCFLAGS

2025-03-02 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116975 --- Comment #1 from Iain Buclaw --- Created attachment 60637 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60637&action=edit First attempt at PR116975 Making a stab at this. As it's done in toplevel Makefile.tpl, it generates STAGExxx_GD

[Bug d/116961] [12/13/14 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-03-02 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug d/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o since r15-7400-gd3ff498c478ace

2025-03-02 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 Bug 118802 depends on bug 116961, which changed state. Bug 116961 Summary: [12/13/14 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression)) https://gcc.gnu.org/bugzilla/show_bug.cg

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #9 from Iain Buclaw --- Valgrind is happy with the reduced test after patch applied. $ valgrind ./gcc/d21 repro.d -quiet -dumpdir repro.o- -dumpbase repro.d -dumpbase-ext .d -mtune=generic -march=x86-64 -version -fsyntax-only -o /de

[Bug d/116961] [12/13/14/15 regression] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #8 from Iain Buclaw --- Created attachment 60606 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60606&action=edit Patch in testing @Sam, currently building with the attached patch, if you are able to confirm it fixes PR118802

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #7 from Iain Buclaw --- Minimal test passes with gdc-11, fails from gdc-12 onwards.

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #5 from Iain Buclaw --- (In reply to Andrei Horodniceanu from comment #4) > Sorry for the wait: > - > $ cat repro.d > module object; > struct Gcx > { > float thing = 0.0; > } Thanks, tweaked your test into: ``` module object

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 --- Comment #6 from Iain Buclaw --- (In reply to Iain Buclaw from comment #2) > (In reply to Sam James from comment #0) > > When bootstrapping with some patches for improving Valgrind support (see > > PR116947), I hit this: > > > > ==26778== Co

[Bug bootstrap/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o since r15-7400-gd3ff498c478ace

2025-02-27 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 --- Comment #23 from Iain Buclaw --- @Sam, I have a suspicion that this is related to PR116961.

[Bug d/118654] d: getTargetInfo key "CET" not supported by this implementation

2025-02-25 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118654 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o

2025-02-19 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 --- Comment #14 from Iain Buclaw --- (In reply to Sam James from comment #13) > Thanks Iain. > > Building stage0 with STAGE1_C{,XX}FLAGS="-O0" works. I'll try reproduce > manually next. At the bottom of the conservative/gc.d module (well, almos

[Bug other/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o

2025-02-18 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 --- Comment #12 from Iain Buclaw --- (In reply to Sam James from comment #1) > The differences are odd. > > ``` > $ diffoscope > ./work/build/stage2-x86_64-pc-linux-gnu/32/libphobos/libdruntime/core/ > internal/gc/impl/conservative/gc.o > ./wor

[Bug target/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-02-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #25 from Iain Buclaw --- (In reply to Iain Buclaw from comment #23) > (In reply to Iain Buclaw from comment #22) > > pthis.msgBuf = buf; > In D, this is an array copy assignment. > > I've tried lowering this to `foreach (i; 0 ..

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-02-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #23 from Iain Buclaw --- (In reply to Iain Buclaw from comment #22) > pthis.msgBuf = buf; In D, this is an array copy assignment. I've tried lowering this to `foreach (i; 0 .. 100) msgBuf[i] = buf[i]`, but that doesn't trigger t

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-02-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #22 from Iain Buclaw --- Reasonably small D code reduction. --- struct sICE { void **vtbl; char[100] msgBuf = '\0'; } sICE* ctor(sICE* pthis) { char[100] buf = void; pthis.msgBuf = buf; return pthis; } ---

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-02-12 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #19 from Iain Buclaw --- Thanks Stefan. I might be able to reduce the test if the reproducer works for me too.

[Bug d/118495] Unable to build gdc (D compiler) for MinGW-w64

2025-01-28 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495 --- Comment #14 from Iain Buclaw --- The compiler itself doesn't depend on the phobos standard library part of libphobos, only druntime. User applications would use Phobos however.

[Bug d/118495] Unable to build gdc (D compiler) for MinGW-w64

2025-01-28 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495 --- Comment #12 from Iain Buclaw --- (In reply to Brecht Sanders from comment #11) > Apparently MinGW-w64 dosn't like extern char** environ; > > To avoid this issue for now I commented out the following in > gcc/cp/module.cc: > extern char **

[Bug d/118654] New: d: getTargetInfo key "CET" not supported by this implementation

2025-01-25 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118654 Bug ID: 118654 Summary: d: getTargetInfo key "CET" not supported by this implementation Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-01-24 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #7 from Iain Buclaw --- Not able to reproduce this in an s390x QEMU VM running Debian. Version: 20250117 / r15-6997 Configure flags: --enable-languages=d --enable-libphobos --with-libphobos-druntime-only --enable-multiarch --disabl

[Bug d/118584] [15 Regression] libphobos fails to build on mips64el-linux-gnu (undefined reference to `fiber_switchContext')

2025-01-21 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118584 --- Comment #4 from Iain Buclaw --- Looks like upstream added a new version path to the fiber module. https://github.com/dlang/dmd/pull/16331

[Bug d/118584] [15 Regression] libphobos fails to build on mips64el-linux-gnu (undefined reference to `fiber_switchContext')

2025-01-21 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118584 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #2

[Bug d/111650] ICE in build_deref, at d/d-codegen.cc:1650

2025-01-21 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111650 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org Resolu

[Bug d/114434] gdc.test/runnable/test23514.d FAILs

2025-01-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114434 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2025-01-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 Bug 116613 depends on bug 116632, which changed state. Bug 116632 Summary: d_diagnostic_report_diagnostic and non-textual diagnostic output formats (e.g. SARIF) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116632 What|Removed

[Bug d/116632] d_diagnostic_report_diagnostic and non-textual diagnostic output formats (e.g. SARIF)

2025-01-20 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116632 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/118545] New: d: Not all language options get a url in diagnostics

2025-01-18 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118545 Bug ID: 118545 Summary: d: Not all language options get a url in diagnostics Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug d/114434] gdc.test/runnable/test23514.d FAILs

2025-01-18 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114434 --- Comment #6 from Iain Buclaw --- @Rainer, I think I've found the cause for discrepancy, a use of size_t vs. widest integer for pointer offsets. Can you give this a test? --- a/gcc/d/expr.cc +++ b/gcc/d/expr.cc @@ -1499,7 +1499,7 @@ public:

[Bug d/117115] [14/15 regression] ICE in expand_d_format when diagnosing an empty enum declaration since r14-4663-g964fd402c9b48e

2025-01-17 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117115 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug d/116632] d_diagnostic_report_diagnostic and non-textual diagnostic output formats (e.g. SARIF)

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116632 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 --- Comment #5 from Iain Buclaw --- And what version of gdc is being used to bootstrap? It might matter, as I've come across one instance where the compiler/runtime interface for BigEndian got mismatched at some point during gcc-14 development

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 --- Comment #5 from Iain Buclaw --- My guess is, I missed a change to the TypeInfo_Class layout in D runtime. ClassFlags got reduced from a uint to a ushort. https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff;f=libphobos/libdruntime/object.d;h=710f

[Bug d/115249] [14/15 regression] gdc.test/runnable/test34.d etc. FAIL

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115249 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #4

[Bug d/116373] [14/15 regression] ICE in dmd.expressionsem.resolveLoc since r14-8766-gf204359931866b

2025-01-16 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116373 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug d/118495] Unable to build gdc (D compiler) for MinGW-w64

2025-01-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #4

[Bug d/118248] [15 Regression] gdc ICE (segfault) building a riscv64 cross compiler on s390x-linux-gnu

2025-01-15 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118248 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #4

[Bug d/118449] [15 regression] libphobos.init_fini/custom_gc.d FAILs

2025-01-14 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118449 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/118438] [15 Regression] libgphobos fails to build on s390x-linux-gnu

2025-01-14 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118438 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug d/118448] [15 regression] libdruntime lacks Solaris SO_REUSEPORT

2025-01-14 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118448 Iain Buclaw changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

2025-01-14 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Iain Buclaw changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug d/117832] Use CONSTRUCTOR_ZERO_PADDING_BITS in the D FE

2025-01-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117832 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug d/117701] [15 Regression] Decide about gphobos soname bump for GCC 15

2025-01-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117701 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/118449] [15 regression] libphobos.init_fini/custom_gc.d FAILs

2025-01-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118449 --- Comment #4 from Iain Buclaw --- This commit r15-6816-gdd3026f05111a0. Which pulls in this change from upstream https://github.com/dlang/dmd/pull/16971 However, I can still trigger the fault in custom_gc if I were to add +1 loop iterations

[Bug d/118449] [15 regression] libphobos.init_fini/custom_gc.d FAILs

2025-01-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118449 --- Comment #3 from Iain Buclaw --- Speaking to the maintainer who's working on the new GC implementation for D. Initial suspicion is with the custom_gc.d test file itself, rather than changes within the runtime library. The custom_gc is just

[Bug d/118449] [15 regression] libphobos.init_fini/custom_gc.d FAILs

2025-01-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118449 --- Comment #2 from Iain Buclaw --- (In reply to Iain Buclaw from comment #1) > I think the reported line number slightly off. > > Ran it with -fsanitize=alignment and got this. > > ../../../../libphobos/libdruntime/core/internal/gc/blockmeta.

[Bug d/118449] [15 regression] libphobos.init_fini/custom_gc.d FAILs

2025-01-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118449 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

2025-01-13 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 --- Comment #5 from Iain Buclaw --- I suspect one of them might be this issue https://github.com/dlang/dmd/issues/20688

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

2025-01-10 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 --- Comment #3 from Iain Buclaw --- Changes made to the module itself. https://gcc.gnu.org/git/?p=gcc.git;a=blobdiff;f=libphobos/src/std/bitmanip.d;h=15211a3a98adab5ab2952bf801a350a5db76055c;hp=0993d34843fcf58b739372b86381cd96b1eff68f;hb=dd3026

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

2025-01-10 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Iain Buclaw changed: What|Removed |Added Last reconfirmed||2025-01-11 Ever confirmed|0

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

2025-01-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug d/118309] d: Forward referenced enums missing type names in debug info

2025-01-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118309 --- Comment #1 from Iain Buclaw --- It looks like the cause is early debug hooks being called before types are complete. My sense is that almost all calls to rest_of_{type,decl}_compilation during the codegen pass in the D frontend are too earl

[Bug d/118309] New: d: Forward referenced enums missing type names in debug info

2025-01-05 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118309 Bug ID: 118309 Summary: d: Forward referenced enums missing type names in debug info Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117707] [15 regression] gdc.dg/torture/pr110406.d FAILs on 32-bit x86

2025-01-05 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117707 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/116961] Valgrind reports uninitialized memory use in dstruct.d (dmd.dstruct._isZeroInit(dmd.expression.Expression))

2024-10-04 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116961 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #2

[Bug d/115295] [15 regression] Various gdc testsuite regressions

2024-06-11 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115295 --- Comment #3 from Iain Buclaw --- (In reply to Alexandre Oliva from comment #2) > Ugh, it looks like D deviates from one of the fundamental assumptions behind > the change, namely, that for each named source file, the compiler would > attempt

  1   2   >