[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #10 from Iain Buclaw --- (In reply to YunQiang Su from comment #6) > > This patch can solve this problem: of course, we need to back port it to > gcc-10/gcc-11 also. > > The problem is due to that: > N32 and N64 uses different

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #14 from Iain Buclaw --- (In reply to YunQiang Su from comment #13) > And please have a wait, I need to make sure that this patch can work with > N32. So on gcc230, what I see is: | C | D | 32 | 144 | 160 | o64 | 160 | 148

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #15 from Iain Buclaw --- Created attachment 51999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51999&action=edit mips stat_t patch Patch matches field declarations I can see in the headers, and it for sure reigns it in.

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #16 from Iain Buclaw --- (In reply to Iain Buclaw from comment #15) > Don't think it would fail now the statically allocated size is *at least* > same as C. But some alias is still not matching up. core.sys.posix.sys.types is implic

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #18 from Iain Buclaw --- (In reply to Iain Buclaw from comment #16) > (In reply to Iain Buclaw from comment #15) > > Don't think it would fail now the statically allocated size is *at least* > > same as C. But some alias is still no

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

2021-12-14 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103604 --- Comment #20 from Iain Buclaw --- (In reply to YunQiang Su from comment #17) > (In reply to Iain Buclaw from comment #16) > > (In reply to Iain Buclaw from comment #15) > > > Don't think it would fail now the statically allocated size is *at

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 --- Comment #1 from Iain Buclaw --- Why is the library not installed alongside the host compiler though? The D core runtime compiles and works well on powerpc64-linux.

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

2021-12-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #5 from Iain Buclaw --- (In reply to Rainer Orth from comment #0) > * toplevel configure needs to make certain that the bootstrap gdc can compile > *and link* some trivial D program. Letting the build proceed otherwise > leads >

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

2021-12-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103728 --- Comment #1 from Iain Buclaw --- Not sure if there'd be much help from the compiler on this front, as it's a runtime library feature that unittests are executed in the first place - the compiler simply generates functions in the proper place

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 Iain Buclaw changed: What|Removed |Added Known to fail||9.3.1 Keywords|

[Bug d/103739] Bootstrap broken on powerpc64-linux

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103739 --- Comment #5 from Iain Buclaw --- (In reply to Segher Boessenkool from comment #4) > Thanks. But the point of this PR is that bootstrapping trunk is broken. > That needs fixing some way. It's working when you use gcc-10 or later as the basel

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

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #7 from Iain Buclaw --- Created attachment 52018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52018&action=edit configure check compiler driver understands D How does this patch look? Because the module name is not "object"

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

2021-12-16 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103528 --- Comment #8 from Iain Buclaw --- (In reply to Iain Buclaw from comment #7) > Created attachment 52018 [details] > configure check compiler driver understands D > > How does this patch look? > > Because the module name is not "object", it bo

[Bug d/103604] [12 Regression] trunk 20210506 fails to build in libphobos on mips64el-linux-gnu

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

[Bug d/103739] Bootstrap broken on powerpc64-linux

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

[Bug d/102094] d: ICE in gimple_register_canonical_type_1, at lto/lto-common.c:430

2021-08-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102094 Iain Buclaw changed: What|Removed |Added Version|11.2.1 |12.0 --- Comment #1 from Iain Buclaw ---

[Bug d/102094] d: ICE in gimple_register_canonical_type_1, at lto/lto-common.c:430

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

[Bug d/102185] New: d: STRING_CSTs converted back into StringExp include null pointer in length

2021-09-03 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102185 Bug ID: 102185 Summary: d: STRING_CSTs converted back into StringExp include null pointer in length Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity:

[Bug d/102185] d: STRING_CSTs converted back into StringExp include null pointer in length

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

[Bug d/102428] New: d: Set TREE_NOTHROW for nothrow functions and library calls

2021-09-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102428 Bug ID: 102428 Summary: d: Set TREE_NOTHROW for nothrow functions and library calls Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug d/102476] New: d: Options -fmain and -fno-druntime do not work together

2021-09-24 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102476 Bug ID: 102476 Summary: d: Options -fmain and -fno-druntime do not work together Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug d/102476] d: Options -fmain and -fno-druntime do not work together

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

[Bug d/102574] New: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library

2021-10-03 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102574 Bug ID: 102574 Summary: d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library Product: gcc Version: 9.4.1 Status: UNCONFIRMED Se

[Bug d/102574] d: gdc driver ignores -static-libstdc++ when automatically linking libstdc++ library

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

[Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL

2021-10-30 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102837 --- Comment #5 from Iain Buclaw --- Testing this patch. --- a/libphobos/libdruntime/gcc/deh.d +++ b/libphobos/libdruntime/gcc/deh.d @@ -207,7 +207,7 @@ struct ExceptionHeader */ static void free(ExceptionHeader* eh) @nogc { -

[Bug d/102959] gdc.dg/torture/pr96435.d FAILs

2021-10-31 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102959 --- Comment #1 from Iain Buclaw --- (In reply to Rainer Orth from comment #0) > (gdb) p array > $2 = {16, 678} > (gdb) p u > $3 = {i = 0, b = false} > (gdb) n > 9 u.i = 0xDEADBEEF; > (gdb) n > 10assert(array[u.b] == 678); > (gdb)

[Bug c/103015] New: [i386][solaris] Segmentation fault loading pointer to TLS

2021-10-31 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 Bug ID: 103015 Summary: [i386][solaris] Segmentation fault loading pointer to TLS Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c/103015] [i386][solaris] Segmentation fault loading pointer to TLS

2021-10-31 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #1 from Iain Buclaw --- The specific CPU config options of -m32 are: -mcpu=generic -march=pentium4 -mtune=generic

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

2021-10-31 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103015 --- Comment #3 from Iain Buclaw --- (In reply to Andrew Pinski from comment #2) > Are you using Solaris's ld or as? Or what version of binutils are you using? > Yes it does matter here. Configured gcc --without-gnu-ld --with-ld=/usr/bin/ld --wit

[Bug d/102959] gdc.dg/torture/pr96435.d FAILs

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

[Bug d/102837] [12 regression] Many 32-bit gdc tests FAIL

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

[Bug d/107552] [13 regression] stage 1 d21 fails to link on Linux/x86_64

2022-11-07 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107552 --- Comment #1 from Iain Buclaw --- Isn't this a duplicate of pr104749, which got fixed in 9.4.0?

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2022-11-07 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #1 from Iain Buclaw --- Is there a (sort of simple) bootstrap process one can follow for 32-bit OSX? I have the means to test locally, but I can't get much further than building gdc-11 -m32 - using said compiler to bootstrap mainlin

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2022-11-07 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 --- Comment #3 from Iain Buclaw --- (In reply to r...@cebitec.uni-bielefeld.de from comment #2) > My builds are on Mac OS X 10.7/Darwin 11 still. What macOS version are > you trying this on? FWIW, I gave up on 32-bit builds with macOS > 10.14/

[Bug d/107592] ICE: gdc segfault on label continue

2022-11-09 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107592 --- Comment #1 from Iain Buclaw --- Generated function: --- void foo (struct _param_0) { void label = <<< error >>>; label:; while (1) { { struct thing; thing = _param_0; goto ; } goto ;

[Bug target/107671] New: i386: Missed optimization: use of bt in bit test pattern when LHS is an array index

2022-11-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107671 Bug ID: 107671 Summary: i386: Missed optimization: use of bt in bit test pattern when LHS is an array index Product: gcc Version: 13.0 Status: UNCONFIRMED Seve

[Bug target/107671] i386: Missed optimization: use of bt in bit test pattern (using -O2 -mtune=core2)

2022-11-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107671 --- Comment #1 from Iain Buclaw --- Non-pointer variants also not detected. --- int bt32v_setb(const __UINT32_TYPE__ v, __UINT32_TYPE__ bitnum) { return ((v & (1 << (bitnum & 31 != 0; } int bt64v_setb(const __UINT64_TYPE__ v, __UINT64_

[Bug target/107671] i386: Missed optimization: use of bt in bit test pattern (using -O2 -mtune=core2)

2022-11-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107671 --- Comment #2 from Iain Buclaw --- Expected generated code would be: --- bt32_setb*: ... shrl$5, %edx movl(%eax,%edx,4), %edx xorl%eax, %eax btl %ecx, %edx setb%al ... --- bt32_setae*: ... shrl$5, %edx

[Bug target/107671] i386: Missed optimization: use of bt in bit test pattern (using -O2 -mtune=core2)

2022-11-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107671 --- Comment #5 from Iain Buclaw --- (In reply to Uroš Bizjak from comment #4) > from: > movl%esi, %ecx > movl$1, %eax > sall%cl, %eax > testl %edi, %eax > setne %al > movzbl %al, %

[Bug web/107749] New: onlinedocs: gdc docs got removed during sphinx revert

2022-11-18 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107749 Bug ID: 107749 Summary: onlinedocs: gdc docs got removed during sphinx revert Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug d/107592] ICE: gdc segfault on label continue

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

[Bug d/105659] error: #error You must define PREFERRED_DEBUGGING_TYPE if DWARF is not supported

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

[Bug web/107749] onlinedocs: gdc docs got removed during sphinx revert

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

[Bug d/108050] New: d: internal compiler error: in visit, at d/imports.cc:72

2022-12-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050 Bug ID: 108050 Summary: d: internal compiler error: in visit, at d/imports.cc:72 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prio

[Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72

2022-12-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108050 --- Comment #1 from Iain Buclaw --- Doesn't even need to be a template that's imported. Two or more overloadable functions will trigger the ICE as well.

[Bug d/108055] New: d: Undefined reference to nested lambda in template

2022-12-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108055 Bug ID: 108055 Summary: d: Undefined reference to nested lambda in template Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug d/108050] d: internal compiler error: in visit, at d/imports.cc:72

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

[Bug d/108055] d: Undefined reference to nested lambda in template

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

[Bug d/105659] New: error: #error You must define PREFERRED_DEBUGGING_TYPE if DWARF is not supported

2022-05-19 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105659 Bug ID: 105659 Summary: error: #error You must define PREFERRED_DEBUGGING_TYPE if DWARF is not supported Product: gcc Version: 12.1.0 Status: UNCONFIRMED Sever

[Bug d/105659] error: #error You must define PREFERRED_DEBUGGING_TYPE if DWARF is not supported

2022-05-19 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105659 --- Comment #1 from Iain Buclaw --- If I recall the conversation correctly, either the CPU-specific D language hooks should be moved to macros - equivalent to TARGET_CPU_CPP_BUILTINS and others. Or the tm_d file should be packed with a lot more

[Bug d/105659] error: #error You must define PREFERRED_DEBUGGING_TYPE if DWARF is not supported

2022-05-20 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105659 --- Comment #2 from Iain Buclaw --- (In reply to Iain Buclaw from comment #1) > If I recall the conversation correctly, either the CPU-specific D language > hooks should be moved to macros - equivalent to TARGET_CPU_CPP_BUILTINS and > others. O

[Bug d/105544] gdc fails to compile d source from stdin

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

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

2022-06-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105942 Bug ID: 105942 Summary: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945 Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: norma

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

2022-06-14 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 URL||https://github.com/dlang/dm

[Bug d/105413] gdc extended assembler cannot constraints r8 - r15

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

[Bug d/106139] New: d: aggregate value used where floating point was expected

2022-06-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106139 Bug ID: 106139 Summary: d: aggregate value used where floating point was expected Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Pri

[Bug d/106139] d: aggregate value used where floating point was expected

2022-06-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106139 --- Comment #1 from Iain Buclaw --- Note, gdc-11 and gdc-10 error as a result to a different issue. --- cannot resolve type for cast(__vector(int[8]))arr --- Fix was made in a newer version of upstream dmd, so that'll be handled in the backport

[Bug d/106139] d: aggregate value used where floating point was expected

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

[Bug d/101691] d: Use of LOOP_EXPR prevents removing no-op loops.

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

[Bug d/101273] New: d: missed RVO optimization with non-pod structs

2021-06-30 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101273 Bug ID: 101273 Summary: d: missed RVO optimization with non-pod structs Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug d/101273] d: missed RVO optimization with non-pod structs

2021-07-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101273 --- Comment #1 from Iain Buclaw --- (In reply to Iain Buclaw from comment #0) > It looks like fixing PR d/100882 introduced a small regression: On further inspection, this is not the case. The front-end semantic pass returns us code that uses a

[Bug d/101282] New: d: RHS value lost when a target_expr appears in a cond_expr

2021-07-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101282 Bug ID: 101282 Summary: d: RHS value lost when a target_expr appears in a cond_expr Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal P

[Bug d/101282] d: RHS value lost when a target_expr modifies LHS in a cond_expr

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

[Bug d/101273] d: missed RVO optimization with non-pod structs

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

[Bug bootstrap/100552] [11/12 Regression] configure: 32208: Syntax error: Bad substitution

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

[Bug d/101619] New: d: Change in DotTemplateExp type semantics leading to regression

2021-07-25 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101619 Bug ID: 101619 Summary: d: Change in DotTemplateExp type semantics leading to regression Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

[Bug d/101441] __FUNCTION__ doesn't work in core.stdc.stdio functions without cast

2021-07-25 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101441 --- Comment #1 from Iain Buclaw --- Upstream dmd fixed bug much later than 2.076. https://github.com/dlang/dmd/pull/9920

[Bug d/101490] ICE at convert_expr(tree_node*, Type*, Type*)

2021-07-25 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101490 --- Comment #1 from Iain Buclaw --- Reduced test --- struct test { int[0] foo; } void main() { test* t; auto a = cast(typeof(t.foo)[0])t.foo; write(a); } void write(S)(S args) { foreach (arg; args) { } }

[Bug d/101640] New: d: Wrong evaluation order of binary expressions

2021-07-27 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101640 Bug ID: 101640 Summary: d: Wrong evaluation order of binary expressions Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug d/101127] d: Compile-time reflection for supported built-ins

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

[Bug d/101441] __FUNCTION__ doesn't work in core.stdc.stdio functions without cast

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

[Bug d/101490] ICE at convert_expr(tree_node*, Type*, Type*)

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

[Bug d/101619] d: Change in DotTemplateExp type semantics leading to regression

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

[Bug d/101640] d: Wrong evaluation order of binary expressions

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

[Bug d/101656] New: d: Don't escape quoted format strings in escape_d_format

2021-07-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101656 Bug ID: 101656 Summary: d: Don't escape quoted format strings in escape_d_format Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Pr

[Bug d/101657] New: d: di header file created even if errors occur

2021-07-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101657 Bug ID: 101657 Summary: d: di header file created even if errors occur Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d

[Bug d/101664] New: d: Return the correct value for C++ constructor calls

2021-07-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 Bug ID: 101664 Summary: d: Return the correct value for C++ constructor calls Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug d/101672] New: d: Allow use of classes without the runtime if they only contain static members

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101672 Bug ID: 101672 Summary: d: Allow use of classes without the runtime if they only contain static members Product: gcc Version: 12.0 Status: UNCONFIRMED Severity

[Bug d/101672] d: Allow use of classes without the runtime if they only contain static members

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

[Bug d/101657] d: di header file created even if errors occur

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

[Bug d/101656] d: Don't escape quoted format strings in escape_d_format

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

[Bug d/101664] d: Return the correct value for C++ constructor calls

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

[Bug d/96435] d: Returning boolean in a union violates @safe code

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

[Bug d/101664] d: Return the correct value for C++ constructor calls

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 --- Comment #5 from Iain Buclaw --- (In reply to Andrew Pinski from comment #4) > (In reply to Iain Buclaw from comment #0) > > C++ constructors return void, even though the front-end semantic treats them > > as implicitly returning `this'. > >

[Bug d/101691] New: d: Use of LOOP_EXPR prevents removing no-op loops.

2021-07-30 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101691 Bug ID: 101691 Summary: d: Use of LOOP_EXPR prevents removing no-op loops. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug d/113667] [14 Regression] libgphobos symbols missing

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

[Bug d/113772] [14 Regression] atomic.d compile error since recent upstream imports.

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

[Bug d/114155] gdc.test/runnable/literal.d FAILs

2024-02-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114155 --- Comment #1 from Iain Buclaw --- Upstream is notified, https://github.com/dlang/dmd/pull/16263#issuecomment-1969502776

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

2024-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 --- Comment #4 from Iain Buclaw --- Removed druntime dependency. --- import gcc.builtins; struct Token { string label; } struct BreakStatement { ulong pad; Token label; } pragma(inline, false) auto newclass() { void *p = __built

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

2024-03-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 --- Comment #6 from Iain Buclaw --- (In reply to Richard Biener from comment #5) > Unless gdc somehow guarantees bn->label and init are 128bit aligned > then "casting" this way is broken. You can of course use > build_aligned_type to build a pr

[Bug d/113758] d: Callee destructor call invalidates the live object, not the temporary

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

[Bug d/113125] [D] internal compiler error: in make_import, at d/imports.cc:48

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

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

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

[Bug d/112285] `in` class parameter with `gdc -fpreview=in` causes ICE

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

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

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

[Bug d/113081] static linking does not work

2024-03-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113081 --- Comment #2 from Iain Buclaw --- It could be moved to drtstuff.o to avoid it being in the library, but unless there's an equivalent function available there'll be crashes caused by the GC free'ing live objects as it did not scan all TLS varia

[Bug d/113081] static linking does not work

2024-03-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113081 --- Comment #3 from Iain Buclaw --- (In reply to Iain Buclaw from comment #2) > If I recall correctly, this trick is not guaranteed to work (for a > drtbegin.o and drtend.o object), as there really no control over where in > the TLS section the

[Bug d/114155] gdc.test/runnable/literal.d FAILs

2024-03-17 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114155 --- Comment #2 from Iain Buclaw --- Fix to format hexstrings as big endian has been committed from upstream merge. r14-9505 This should be resolved now.

[Bug d/109681] suggested preview switches use DMD preview flags

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

[Bug d/114155] gdc.test/runnable/literal.d FAILs

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

<    1   2   3   4   >