[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

[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-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/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

[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

[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/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/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/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/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/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

[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 =

[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/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/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-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772 --- Comment #11 from Iain Buclaw --- (In reply to Iain Sandoe from comment #10) > (In reply to Iain Buclaw from comment #8) > > Created attachment 57329 [details] > > The quick fix to the lock-free test > > > > The immediate thing that can be

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

2024-02-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772 --- Comment #9 from Iain Buclaw --- (In reply to Iain Buclaw from comment #8) > Created attachment 57329 [details] > The quick fix to the lock-free test > > The immediate thing that can be changed is turning the test into a >

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

2024-02-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772 --- Comment #8 from Iain Buclaw --- Created attachment 57329 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57329=edit The quick fix to the lock-free test The immediate thing that can be changed is turning the test into a

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

2024-02-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772 --- Comment #7 from Iain Buclaw --- (In reply to Iain Sandoe from comment #6) > (In reply to Iain Buclaw from comment #4) > > Looking at gcc/builtins.cc, I have a bad feeling that the only compile-time > > > > /* If it isn't always lock

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

2024-02-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772 --- Comment #4 from Iain Buclaw --- Looking at gcc/builtins.cc, I have a bad feeling that the only compile-time values one can get out of this built-in are "true" and "defer to run-time" --- /* Return a one or zero if it can be determined that

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

2024-02-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772 --- Comment #2 from Iain Buclaw --- (In reply to Iain Sandoe from comment #0) > I am now seeing this on both Darwin and Linux BE powerpc. > > The message is somewhat odd, since AFAICS from the core druntime code that > pulls in builtins.def

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

2024-02-05 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772 --- Comment #1 from Iain Buclaw --- Isn't __atomic_is_lock_free tied to the __GCC_ATOMIC_XXX_T_LOCK_FREE macros?

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

2024-02-04 Thread ibuclaw at gdcproject dot org via Gcc-bugs
: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- D ABI does callee destruction of arguments, which depends on the argument already being copied to a temporary before passing

[Bug d/104739] gdc.test/runnable/mangle.d etc. FAIL with Solaris as

2024-02-02 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104739 --- Comment #6 from Iain Buclaw --- (In reply to r...@cebitec.uni-bielefeld.de from comment #5) > > --- Comment #4 from Rainer Orth --- > > I wonder how to handle this: while DejaGnu has an ucn effective-target > > keyword, > > the gdc.test

[Bug d/112408] [12/13/14 regression] d21 loops in getCpuInfo0B in Solaris/x86 kernel zone

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

[Bug target/96347] note: non-delegitimized UNSPEC UNSPEC_TP (19) found in variable location

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

[Bug analyzer/111537] ICE: in set_cell_span, at text-art/table.cc:148 with D front-end and -fanalyzer

2023-10-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537 --- Comment #9 from Iain Buclaw --- (In reply to Iain Buclaw from comment #8) > I see in the olden days when D sat outside of GCC, this is what was done too. > > https://github.com/D-Programming-GDC/gdc/commit/ >

[Bug analyzer/111537] ICE: in set_cell_span, at text-art/table.cc:148 with D front-end and -fanalyzer

2023-10-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537 --- Comment #8 from Iain Buclaw --- Looking at C++ FE, I see they construct the string literal using build_string (4, "foo") because I can see the terminating 0 in the pretty-printed string. --- unit-size align:8

[Bug analyzer/111537] ICE: in set_cell_span, at text-art/table.cc:148 with D front-end and -fanalyzer

2023-10-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537 --- Comment #7 from Iain Buclaw --- (In reply to David Malcolm from comment #5) > Is D correctly building that string_cst? Are D strings 0-terminated? Yes, D strings are 0-terminated. The way I've done it is, the string is constructed using

[Bug analyzer/111537] ICE: in set_cell_span, at text-art/table.cc:148 with D front-end and -fanalyzer

2023-10-11 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111537 --- Comment #2 from Iain Buclaw --- (In reply to David Malcolm from comment #1) > Am trying to reproduce locally, but when I run this in my BUILDDIR/gcc: > ./gdc -B. -S -fanalyzer oob.d > I get: > d21: error: cannot find source code for

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

2023-10-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111650 --- Comment #1 from Iain Buclaw --- Reduced a bit more. --- module object; ref V require(K, V)(ref V[K] aa, K key, lazy V value); struct Root { ulong[3] f; } Root[ulong] roots; Root getRoot(int fd, ulong rootID) { return

[Bug analyzer/111537] New: ICE: in set_cell_span, at text-art/table.cc:148 with D front-end and -fanalyzer

2023-09-22 Thread ibuclaw at gdcproject dot org via Gcc-bugs
Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Roughly copied an example from the static analyzer talk and wrote it in D. --- import core.stdc.string; void main

[Bug analyzer/111536] New: -fanalyzer false positive with NRVO return

2023-09-22 Thread ibuclaw at gdcproject dot org via Gcc-bugs
: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- This code (translated from D to C++): --- struct Guard { int i; ~Guard() {} }; Guard lock() { return Guard(); } void bar() { auto foo = lock

[Bug d/110712] d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr')

2023-07-19 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110712 --- Comment #3 from Iain Buclaw --- (In reply to Iain Buclaw from comment #2) > I think some extra errors during the D front-end codegen pass are likely the > most appropriate thing to do here, as you say, such things are rejected by > C/C++,

[Bug d/110712] d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr')

2023-07-19 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110712 --- Comment #2 from Iain Buclaw --- (In reply to Richard Biener from comment #1) > this_2(D)->ap = VIEW_CONVERT_EXPR(ap_3(D)); > > it looks odd since ap_3(D) is a is_gimple_reg but a struct[1] definitely > would not. Maybe you are missing a

[Bug d/110712] New: d: ICE: verify_gimple_failed (conversion of register to a different size in 'view_convert_expr')

2023-07-18 Thread ibuclaw at gdcproject dot org via Gcc-bugs
Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Seen with gdc-12 with --enable-checking turned on, assume that it's going to still be the case

[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/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] New: d: Undefined reference to nested lambda in template

2022-12-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- issue.d: --- import std.conv; void main() { float* zis ; static if (is(typeof(to!string(*zis to!string(*zis); } --- std/conv.d: --- T toStr(T, S

[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/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
Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- ice.d: --- import std : split; --- std/package.d --- module std; public import std.array; public import std.regex; --- std/array.d --- module

[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/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 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 web/107749] New: onlinedocs: gdc docs got removed during sphinx revert

2022-11-18 Thread ibuclaw at gdcproject dot org via Gcc-bugs
Component: web Assignee: unassigned at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- This got added during the conversion to Sphinx. https://gcc.gnu.org/onlinedocs/gdc/ Now that experiment has been reverted, the link to from the main page to gdc

[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 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-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,

[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
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- int bt32_setb(const __UINT32_TYPE__ *p, __UINT32_TYPE__ bitnum) { return ((p[bitnum >> 5] & (1

[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 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 >

[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

[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 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
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Seen when configuring with --target=aarch64-wrs-vxworks Looking at config.gcc, aarch64*-*-* is not included

[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 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/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/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
: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Currently behaviour is that object.d is searched for anyway, resulting in an error that it cannot be found. --- /opt

[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

[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: >

[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

[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: > >

[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
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Isolated, and translated to C from the D testsuite, likely can be reduced further, as I don't think opCmpProper

[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 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

[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/106623] New: internal compiler error: Segmentation fault at gimple-expr.cc:88

2022-08-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- When compiling with -O1 and above. --- private struct _Complex(T) { T re; T im; } enum __c_complex_double : _Complex!double; pragma

[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/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 >

[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/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/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/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] New: [12/13 Regression] d: undefined reference to pragma(inline) symbol

2022-08-08 Thread ibuclaw at gdcproject dot org via Gcc-bugs
Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Compiled with `gdc test.d` results in: /usr/bin/ld: /tmp/ccxf3O8c.o: in function `stdx.math.nextPow2!(ulong).nextPow2(const(ulong

[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/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
Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- When compiled with: gdc -O2 empty.d ice.d empty.d: --- --- ice.d: --- struct EnemyPool { int[] enemy

[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/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/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/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

[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
Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- Casting from vector to static array is permitted, and the frontend generates a reinterpret cast, but casting back the other way results

[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/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/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
: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- --- void ice() { struct hasDtor { int i; ~this() { } } hasDtor[4] arr = hasDtor(4

[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/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.

[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

[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
Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- This was discussed in gcc-patches a while back, creating an issue for tracking/fixing it. --- g++ -fno-PIE -c

[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/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/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/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] New: d: internal compiler error: in build_complex, at tree.c:2358

2022-03-21 Thread ibuclaw at gdcproject dot org via Gcc-bugs
Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- --- import core.stdc.config; c_complex_float toNative(float re, float im) { return c_complex_float(re, im); }

[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/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=edit fdump-tree-original The corrupt is indeed coming from the front-end. Attached tree dumps. ---

[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 >

[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/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/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/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|---

  1   2   3   4   5   6   7   >