[Bug d/104659] msvcUsedUCRT in libphobos/libdruntime/config/mingw/msvc.c

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

[Bug d/104729] libphobos.betterc/test19933.d FAILs on Solaris

2022-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104729 --- Comment #1 from Iain Buclaw --- These should be templated functions so that they get compiled in. The betterc tests build without linking in libphobos, however many version paths define a new symbol.

[Bug d/104735] [12 regression] gdc.test/runnable/complex.d etc. FAIL

2022-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104735 --- Comment #1 from Iain Buclaw --- The test could implement signbit inline.

[Bug d/104736] gdc.test/runnable/dhry.d FAILs on Solaris

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

[Bug d/104737] [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris

2022-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104737 Iain Buclaw changed: What|Removed |Added URL||https://issues.dlang.org/sh

[Bug d/104738] gdc.test/runnable_cxx/stdint.d FAILs on Solaris

2022-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738 Iain Buclaw changed: What|Removed |Added URL||https://issues.dlang.org/sh

[Bug d/104740] gdc.dg/simd_ctfe.d etc. FAIL

2022-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104740 --- Comment #1 from Iain Buclaw --- b18489.d and ice21727.d were fixed in the last sync (r12-7414). Only simd_ctfe.d is outstanding.

[Bug d/104743] [12 regression] gdc.dg/torture/pr96152.d FAILs

2022-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104743 --- Comment #1 from Iain Buclaw --- Does anything change if you compile the test with `-ftrivial-auto-var-init=zero` ?

[Bug d/104737] [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris

2022-03-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104737 --- Comment #2 from Iain Buclaw --- Fixed test was downstreamed in r12-7454.

[Bug d/104737] [12 regression] gdc.test/runnable_cxx/cppa.d FAILs on Solaris

2022-03-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104737 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/104735] [12 regression] gdc.test/runnable/complex.d etc. FAIL

2022-03-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104735 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/104729] libphobos.betterc/test19933.d FAILs on Solaris

2022-03-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104729 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/104741] gdc.test/runnable/previewin.d FAILs

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

[Bug d/104744] [12 regression] gdc.test/runnable/test15.d FAILs

2022-03-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104744 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/104749] [12 regression] stage1 d21 fails to link on Solaris/x86

2022-03-03 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104749 --- Comment #6 from Iain Buclaw --- Just having a look around, I couldn't see anywhere that `___s` would be created now. Then I came across r9-8460, which was fixed for 10.1.0, and backported before 9.4.0 was released. Linked bug report is pr

[Bug d/104743] [12 regression] gdc.dg/torture/pr96152.d FAILs

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

[Bug d/104745] [12 regression] gdc.test/runnable/testaa.d FAILs

2022-03-04 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104745 --- Comment #1 from Iain Buclaw --- *** Bug 104743 has been marked as a duplicate of this bug. ***

[Bug d/104745] [12 regression] gdc.test/runnable/testaa.d FAILs

2022-03-04 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104745 --- Comment #2 from Iain Buclaw --- Regression confirmed in upstream druntime. The `itemSize' reported by a struct's TypeInfo need not be a multiple of pointer size.

[Bug d/104742] [12 regression] gdc.test/runnable/sdtor.d FAILs

2022-03-04 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104742 Iain Buclaw changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Bug d/104538] gdc/d21: segfault on mips64

2022-03-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104538 Iain Buclaw changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug d/104835] [12 Regression] libphobos fails to build on mips64el-linux-gnu

2022-03-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104835 Iain Buclaw changed: What|Removed |Added CC||syq at debian dot org --- Comment #1 from

[Bug d/104835] [12 Regression] libphobos fails to build on mips64el-linux-gnu

2022-03-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104835 --- Comment #2 from Iain Buclaw --- The backtrace I get is: d21: internal compiler error: output_operand: '%l' operand isn't a label 0x1208268cf output_operand_lossage(char const*, ...) ../../gcc/final.cc:3235 0x12082692b output_asm_lab

[Bug d/104835] [12 Regression] libphobos fails to build on mips64el-linux-gnu

2022-03-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104835 --- Comment #3 from Iain Buclaw --- Ends with: #86 0x000120582768 in semantic3(Dsymbol*, Scope*) (sc=, dsym=) at ../../gcc/d/dmd/semantic3.d:1525 #87 Semantic3Visitor::visit(AggregateDeclaration*) (this=0xffbab0, ad=0xfff76c0800) a

[Bug d/104835] [12 Regression] libphobos fails to build on mips64el-linux-gnu

2022-03-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104835 Iain Buclaw changed: What|Removed |Added See Also||https://github.com/dlang/dm

[Bug d/104738] gdc.test/runnable_cxx/stdint.d FAILs on Solaris

2022-03-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/104835] [12 Regression] libphobos fails to build on mips64el-linux-gnu

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

[Bug d/104742] [12 regression] gdc.test/runnable/sdtor.d FAILs

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

[Bug d/104745] [12 regression] gdc.test/runnable/testaa.d FAILs

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

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 --- Comment #2 from Iain Buclaw --- That's interesting. I've just done a build of 54ef95cc4d1f3f2cde7c1f13250f889ffb81ca75 (20220301) and I get the same comparison failure.

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 --- Comment #5 from Iain Buclaw --- (In reply to Rainer Orth from comment #4) > typesem.s indeed shows small codegen differences, while for semantic3.s > there are > both codegen differences per se as well as label renamings that may not > effec

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-18 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 --- Comment #6 from Iain Buclaw --- Created attachment 52649 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52649&action=edit fdump-tree-original The corrupt is indeed coming from the front-end. Attached tree dumps. --- stage2/typesem.d

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

2022-03-18 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104911 Iain Buclaw changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug d/105004] New: d: internal compiler error: in build_complex, at tree.c:2358

2022-03-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105004 Bug ID: 105004 Summary: d: internal compiler error: in build_complex, at tree.c:2358 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug d/104911] [12 regression] Comparison failure in gcc/d/typesem.o etc.

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

[Bug d/105004] d: internal compiler error: in build_complex, at tree.c:2358

2022-03-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105004 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/104878] untranslated string in diagnostic "%s %qs instantiated"

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

[Bug d/104740] gdc.dg/simd_ctfe.d etc. FAIL

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

[Bug d/105942] [12/13 Regression] d: internal compiler error: in visit, at d/expr.cc:945

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

[Bug d/106555] New: [12/13 Regression] d: internal compiler error: in add_stack_var, at cfgexpand.cc:476

2022-08-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106555 Bug ID: 106555 Summary: [12/13 Regression] d: internal compiler error: in add_stack_var, at cfgexpand.cc:476 Product: gcc Version: 12.0 Status: UNCONFIRMED Sev

[Bug d/106555] [12/13 Regression] d: internal compiler error: in add_stack_var, at cfgexpand.cc:476

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

[Bug d/106563] New: [12/13 Regression] d: undefined reference to pragma(inline) symbol

2022-08-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106563 Bug ID: 106563 Summary: [12/13 Regression] d: undefined reference to pragma(inline) symbol Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug d/106563] [12/13 Regression] d: undefined reference to pragma(inline) symbol

2022-08-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106563 Iain Buclaw changed: What|Removed |Added Known to fail||12.1.0 Known to work|

[Bug d/106563] [12/13 Regression] d: undefined reference to pragma(inline) symbol

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

[Bug d/105360] Inlined lazy parameters / delegate literals, still emitted

2022-08-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105360 --- Comment #2 from Iain Buclaw --- Looks like it's a middle-end missed-optimization, not a D front-end one. https://godbolt.org/z/5WWYEG4jW Perhaps we need an extra DCE pass?

[Bug d/105360] Inlined lazy parameters / delegate literals, still emitted

2022-08-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105360 Iain Buclaw changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug d/104317] D language: rt.config module doesn't work as expected in GDC 9/10 (multiple definition linker error)

2022-08-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104317 --- Comment #3 from Iain Buclaw --- (In reply to Siarhei Siamashka from comment #2) > I first tried to toggle "flag_weak_templates" in "gcc/d/lang.opt" from 1 to > 0 in GDC11 instead of reverting PR99914, but the resulting toolchain was > unable

[Bug d/102765] [11 Regression] GDC11 stopped inlining library functions and lambdas used by a binary search one-liner code

2022-08-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102765 --- Comment #6 from Iain Buclaw --- r13-2002 (and r12-8673) is a start that sows the seeds to make the codegen option -fno-weak-templates the default. Should just be a case of extending the forced emission to all instantiations too.

[Bug d/106623] New: internal compiler error: Segmentation fault at gimple-expr.cc:88

2022-08-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106623 Bug ID: 106623 Summary: internal compiler error: Segmentation fault at gimple-expr.cc:88 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug d/106623] internal compiler error: Segmentation fault at gimple-expr.cc:88

2022-08-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106623 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/106638] docs: bad links to DIPs

2022-08-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106638 --- Comment #2 from Iain Buclaw --- (In reply to Martin Liška from comment #1) > Should likely lead to something like: > https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1021.md Indeed, I'm sure the wiki links were working at one point

[Bug d/106638] docs: bad links to DIPs

2022-08-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106638 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/106819] New: [13 Regression] NaN != NaN comparisons return false at -O2 since r13-2338

2022-09-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106819 Bug ID: 106819 Summary: [13 Regression] NaN != NaN comparisons return false at -O2 since r13-2338 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norm

[Bug d/106832] Missing powerpc64le-linux support for D

2022-09-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #10 from Iain Buclaw --- (In reply to Peter Bergner from comment #9) > (In reply to Jakub Jelinek from comment #2) > > Well, I certainly see libphobos/configure.tgt having powerpc*-linux* as the > > only target that does: > > power

[Bug d/106832] Missing powerpc64le-linux support for D

2022-09-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #12 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #11) > Doesn't powerpc*-*-freebsd* use IEEE double long double? > grep LONG_DOUBLE_SIZE * > darwin.h:#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128 > linux64.h:#define RS6

[Bug d/106832] Missing powerpc64le-linux support for D

2022-09-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #24 from Iain Buclaw --- (In reply to Peter Bergner from comment #22) > (In reply to Peter Bergner from comment #21) > > For the record, this is what I'm testing with: > > So we get farther, but ICE again at: > /home/bergner/gcc/gcc

[Bug d/106832] Missing powerpc64le-linux support for D

2022-09-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832 --- Comment #25 from Iain Buclaw --- (In reply to Iain Buclaw from comment #24) > I'd imagine all static asserts would be hit, so a lot more than that - > floor, tan, sin, cos, pow, etc... - some of which are not exactly trivial to > implement f

[Bug d/107101] New: d: Add stub for object module when libphobos is not compiled, or supported

2022-09-30 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107101 Bug ID: 107101 Summary: d: Add stub for object module when libphobos is not compiled, or supported Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: nor

[Bug d/107101] d: Add stub for object module when libphobos is not compiled, or supported

2022-09-30 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107101 --- Comment #1 from Iain Buclaw --- This also affects when compiling with `-nostdinc`.

[Bug d/102765] [11 Regression] GDC11 stopped inlining library functions and lambdas used by a binary search one-liner code

2022-10-12 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102765 Iain Buclaw changed: What|Removed |Added CC||witold.baryluk+gcc at gmail dot co

[Bug d/107241] std.bitmanip.bigEndianToNative et al not inlined

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

[Bug target/107265] New: error: TARGET_VXWORKS7 was not declared in this scope; did you mean TARGET_VXWORKS

2022-10-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107265 Bug ID: 107265 Summary: error: TARGET_VXWORKS7 was not declared in this scope; did you mean TARGET_VXWORKS Product: gcc Version: 13.0 Status: UNCONFIRMED Sever

[Bug d/103728] Allow to run unittests before main()

2021-12-25 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103728 --- Comment #3 from Iain Buclaw --- (In reply to Pierrick Bouvier from comment #2) > Problem with command line approach is that it implies to patch all our > scripts, which is *really* boring. At this point, manually adding rt_options > string i

[Bug middle-end/103839] New: __builtin_clear_padding doesn't zero alignment holes of unions with fields that overlap padding

2021-12-26 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103839 Bug ID: 103839 Summary: __builtin_clear_padding doesn't zero alignment holes of unions with fields that overlap padding Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/103839] __builtin_clear_padding doesn't zero alignment holes of unions with fields that overlap padding

2021-12-26 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103839 --- Comment #1 from Iain Buclaw --- (In reply to Iain Buclaw from comment #0) > I can work around this by setting DECL_PADDING_P on all fields in unions > except the first. However I suspect this is a mistake, and the proper thing > to do would

[Bug middle-end/103839] __builtin_clear_padding doesn't zero alignment holes of unions with fields that overlap padding

2021-12-26 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103839 --- Comment #3 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #2) > For __builtin_clear_padding builtin, that behavior is completely > intentional, for unions the compiler most of the time doesn't know which > union member is curre

[Bug d/103840] New: d: Errors message: Please submit a full bug report in testsuite

2021-12-26 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103840 Bug ID: 103840 Summary: d: Errors message: Please submit a full bug report in testsuite Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug d/103840] d: Errors message: Please submit a full bug report in testsuite

2021-12-26 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103840 --- Comment #1 from Iain Buclaw --- In both cases, the dmd front-end has an error with %zu as a format specifier in the message.

[Bug d/103840] d: Errors message: Please submit a full bug report in testsuite

2021-12-27 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103840 --- Comment #2 from Iain Buclaw --- Fix in upstream. https://github.com/dlang/dmd/pull/13462

[Bug d/103840] d: Errors message: Please submit a full bug report in testsuite

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

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 Iain Buclaw changed: What|Removed |Added Target||i686-redhat-linux --- Comment #3 from Iai

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #6 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #4) > Note, it isn't just i686-linux, I was getting the hangs on x86_64-linux, > s390x-linux or armv7hl-linux-gnueabi too. > Wonder whether it is > -fstack-clash-protect

[Bug d/103944] [12 Regression] Testsuite hang due to libphobos/testsuite/libphobos.gc/forkgc2.d

2022-01-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103944 --- Comment #7 from Iain Buclaw --- (In reply to Iain Buclaw from comment #6) > (In reply to Jakub Jelinek from comment #4) > > Note, it isn't just i686-linux, I was getting the hangs on x86_64-linux, > > s390x-linux or armv7hl-linux-gnueabi too

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-02-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gdcproject dot org --- Comment

[Bug target/103015] [pentium4][solaris] Segmentation fault loading pointer to TLS

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #5 from Iain Buclaw --- (In reply to Richard Biener from comment #4) > I suppose that maybe solaris does not align TLS vars with custom DECL_ALIGN > properly, but maybe you also did not have g:eed248bb8cc3091e8 in your tree? I'm on r

[Bug target/103015] [pentium4][solaris] Segmentation fault loading pointer to TLS

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #6 from Iain Buclaw --- (In reply to Iain Buclaw from comment #5) > (In reply to Richard Biener from comment #4) > > I suppose that maybe solaris does not align TLS vars with custom DECL_ALIGN > > properly, but maybe you also did not

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #3 from Iain Buclaw --- The test is trivially translatable into C++, though I don't think C++ attempts to ensure (n)rvo always occurs. --- #include struct S101273 { int x; S101273* impl; S101273(int x) { th

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #7 from Iain Buclaw --- (In reply to Jakub Jelinek from comment #6) > One quite visible change is that D has those stmts that clear the vars > before it is constructed, so e.g. in main: > SR.11_24 = 0; > _12 = SR.11_24; > MEM

[Bug d/103044] New: d: Use __builtin_clear_padding for zeroing objects before set.

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103044 Bug ID: 103044 Summary: d: Use __builtin_clear_padding for zeroing objects before set. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #8 from Iain Buclaw --- Still occurs after stubbing out the build_memset_call function in the D front-end. Just having a look at the this reference parameter now.

[Bug target/103015] [pentium4][solaris] Segmentation fault loading pointer to TLS

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #7 from Iain Buclaw --- (In reply to Iain Buclaw from comment #6) > Not that there's a regressing commit anywhere, just a change exposed a > problem with Solaris. First commit it started occurring with -O2 is r12-4240. This gives an

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #9 from Iain Buclaw --- Confirmed that r12-4814 is the first commit when this FAIL started to occur.

[Bug d/103040] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #10 from Iain Buclaw --- (In reply to Iain Buclaw from comment #8) > Still occurs after stubbing out the build_memset_call function in the D > front-end. Just having a look at the this reference parameter now. Switched the return v

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #14 from Iain Buclaw --- (In reply to hubicka from comment #13) > > See above comments from Iain, even if that pre-initialization is removed it > > is > > still miscompiled. And, the testcase fails not because of the padding bits

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #15 from Iain Buclaw --- Got it. The difference between D and C++ is a matter of early inlining. The C++ example Jakub posted fails in the same way that D does if you compile with: -O1 -fno-inline

[Bug target/103015] [pentium4][solaris] Segmentation fault loading pointer to TLS

2021-11-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #8 from Iain Buclaw --- (In reply to Iain Buclaw from comment #6) > Not that there's a regressing commit anywhere, just a change exposed a > problem with Solaris. First commit it started occurring with -O2 -ftree-vectorize is r10-47

[Bug d/103040] [12 Regression] gdc.dg/torture/pr101273.d FAILs

2021-11-03 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103040 --- Comment #20 from Iain Buclaw --- I don't see any failures for this test anymore, so inclined to say yes.

[Bug d/102765] [11 Regression] GDC11 stopped inlining library functions and lambdas used by a binary search one-liner code

2021-11-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102765 --- Comment #2 from Iain Buclaw --- D semantics for template symbols is that they must be overridable - even by normal global symbols. So in version 11.1, the default linkage for templates was switched over to weak, and with that, you can't saf

[Bug middle-end/103120] New: [12 Regression] test miscompiled with -O2 on darwin since r12-4790

2021-11-07 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103120 Bug ID: 103120 Summary: [12 Regression] test miscompiled with -O2 on darwin since r12-4790 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103120] [12 Regression] test miscompiled with -O2 on darwin since r12-4790

2021-11-07 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103120 Iain Buclaw changed: What|Removed |Added Target|x86_64-lin ux-gnu |x86_64-linux-gnu, |

[Bug d/103520] [12 regression] ICE: onRangeError

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

[Bug d/103529] [12 regression] d21 SIGBUS on SPARC

2021-12-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103529 --- Comment #2 from Iain Buclaw --- Hi Rainer, I pushed a fix for this a couple weeks back, just haven't trickled it down yet. https://issues.dlang.org/show_bug.cgi?id=22517 https://github.com/dlang/dmd/pull/13324

[Bug d/103528] [12 regression] d21 doesn't build on Solaris

2021-12-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #3 from Iain Buclaw --- (In reply to Rainer Orth from comment #2) > Created attachment 51921 [details] > libphobos: Define SIG_BLOCK etc. on Solaris [PR 103528] > > Define SIG_BLOCK and friends on Solaris to unbreak bootstrap. > >

[Bug d/103558] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-04 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 --- Comment #1 from Iain Buclaw --- Fix is already in upstream, just needs to be merged in. https://github.com/dlang/druntime/pull/3620

[Bug d/103582] [12 Regression] trunk 20210501 ftbfs in libphobos on s390x-linux-gnu

2021-12-06 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103582 Iain Buclaw changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug d/103558] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-06 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 Iain Buclaw changed: What|Removed |Added CC||doko at debian dot org --- Comment #2 fro

[Bug d/103558] [12 Regression] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 Iain Buclaw changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug d/103529] [12 regression] d21 SIGBUS on SPARC

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

[Bug d/100062] Can't put DECL_STATIC_CONSTRUCTOR/DESTRUCTORs decls on comdat

2021-12-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100062 Iain Buclaw changed: What|Removed |Added Component|middle-end |d --- Comment #3 from Iain Buclaw --- Sw

[Bug d/103577] d21 SIGSEGV on Darwin/x86_64

2021-12-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103577 --- Comment #2 from Iain Buclaw --- (In reply to r...@cebitec.uni-bielefeld.de from comment #1) > I cannot yet tell if this is just an issue with GCC 11.1.0 gdc or > libphobos that's fixed in 11.2.0 or gcc-11 branch. It could be this patch fix

[Bug d/103577] d21 SIGSEGV on Darwin/x86_64

2021-12-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103577 --- Comment #3 from Iain Buclaw --- FYI, with darwin, I've only been using the most recent commit in releases/gcc-11 for testing as there have been a number of issues exposed from that port. I have VMs set-up running 10.4 (PPC), 10.6 (x86_64),

<    1   2   3   4   >