[Issue 16563] [REG HEAD] Wrong struct size/alignment in local struct
https://issues.dlang.org/show_bug.cgi?id=16563 --- Comment #2 from uplink.co...@googlemail.com --- The hacky fix for this looks like this: --- a/src/dstruct.d +++ b/src/dstruct.d @@ -299,7 +299,8 @@ extern (C++) class StructDeclaration : AggregateDeclaration if (semanticRun == PASSinit) { protection = sc.protection; - +if (sc && sc.aligndecl && !sc.aligndecl._scope && sc.parent._scope) +sc.aligndecl._scope = sc.parent._scope; alignment = sc.alignment(); --
[Issue 16563] [REG HEAD] Wrong struct size/alignment in local struct
https://issues.dlang.org/show_bug.cgi?id=16563 uplink.co...@googlemail.com changed: What|Removed |Added CC||uplink.co...@googlemail.com --- Comment #1 from uplink.co...@googlemail.com --- The reason is that the _scope of the AlignDeclarartion does not get set. --
[Issue 16503] [ndslice] prevents fastmath LDC attribute
https://issues.dlang.org/show_bug.cgi?id=16503 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 16501] packed ndslices does not compile
https://issues.dlang.org/show_bug.cgi?id=16501 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 16503] [ndslice] prevents fastmath LDC attribute
https://issues.dlang.org/show_bug.cgi?id=16503 --- Comment #1 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/99532a8f410f4e15dc1908974cdddf73852ac4a6 fix issue 16503 : add fast math bridge for LDC --
[Issue 16501] packed ndslices does not compile
https://issues.dlang.org/show_bug.cgi?id=16501 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a3f205a19e2cc9fc9cae7ce84c1db3b63850eb97 fix 16501 and fix issue 16501 https://github.com/dlang/phobos/commit/a5e935370f5de590532bb5d12610c865343f56a9 Merge pull request #4781 from 9il/mapSlice add mapSlice and fix Issue 16501 --
[Issue 16563] New: [REG HEAD] Wrong struct size/alignment in local struct
https://issues.dlang.org/show_bug.cgi?id=16563 Issue ID: 16563 Summary: [REG HEAD] Wrong struct size/alignment in local struct Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: wrong-code Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com /// test.d // void test() { align(1) struct S { uint i; ubyte b; static assert(S.sizeof == 5); } } / Introduced in https://github.com/dlang/dmd/pull/5880. --
[Issue 16562] New: Icon for D files
https://issues.dlang.org/show_bug.cgi?id=16562 Issue ID: 16562 Summary: Icon for D files Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: tools Assignee: nob...@puremagic.com Reporter: an...@s-e-a-p.de Please include in "dmd2\html\d\images" an icon which can be used for .d files. The file"d002.ico" could be copied and the white color could be made transparent. Or the windows installer for D seems to have a nice icon which could be included into the package. --
[Issue 16561] New: API documentation: C runtime behavior of std.ascii.newline
https://issues.dlang.org/show_bug.cgi?id=16561 Issue ID: 16561 Summary: API documentation: C runtime behavior of std.ascii.newline Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: an...@s-e-a-p.de For users without C knowledge there is some magic if std.stdio.File was opened with "w". I just learned the C runtime translates \n to \r\n in the background. I was using std.ascii.newline because I tried to write OS independent code, but I wondered why the file endings where somehow broken. Please see https://forum.dlang.org/post/smslryopqywdwtzic...@forum.dlang.org The API reference https://dlang.org/phobos/std_stdio.html#.File lacks information about this behavior. There is only a link to a C documentiation (http://cplusplus.com/reference/clibrary/cstdio/fopen.html) which also do not explain this behavior. The only hint is: Use std.ascii.newline for portability (unless the file was opened in text mode) The API documentation should be enhanced to avoid other D users will fell into this trap. --
[Issue 11870] replace dynamic symbol table (--export-dynamic) for backtraces
https://issues.dlang.org/show_bug.cgi?id=11870 --- Comment #6 from yazan.dab...@gmail.com --- I don't think this should be closed. The implementation only provides file and line information. Function names are still extracted using `backtrace_symbols` which, AFAIR, need `--export-dynamic`. BTW, the reason that the implementation is not @nogc is `core.demangle.demangle` function only. --
[Issue 11870] replace dynamic symbol table (--export-dynamic) for backtraces
https://issues.dlang.org/show_bug.cgi?id=11870 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Martin Nowak --- Fixed by https://github.com/dlang/druntime/pull/1354, implementation is a bit inefficient and uses the GC though. --
[Issue 11870] replace dynamic symbol table (--export-dynamic) for backtraces
https://issues.dlang.org/show_bug.cgi?id=11870 Martin Nowak changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co ||m --- Comment #5 from Martin Nowak --- *** Issue 7454 has been marked as a duplicate of this issue. *** --
[Issue 7454] Add file and line numbers to Linux stack traces using addr2line
https://issues.dlang.org/show_bug.cgi?id=7454 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Martin Nowak --- *** This issue has been marked as a duplicate of issue 11870 *** --
[Issue 16560] [Mir] Prefetch intrinsics like in LDC
https://issues.dlang.org/show_bug.cgi?id=16560 Илья Ярошенко changed: What|Removed |Added Summary|Prefetch intrinsics like in |[Mir] Prefetch intrinsics |LDC |like in LDC --
[Issue 16560] New: Prefetch intrinsics like in LDC
https://issues.dlang.org/show_bug.cgi?id=16560 Issue ID: 16560 Summary: Prefetch intrinsics like in LDC Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: ilyayaroshe...@gmail.com --
[Issue 16559] [Mir] AVX & AVX2 floating point vector arithmetic
https://issues.dlang.org/show_bug.cgi?id=16559 Илья Ярошенко changed: What|Removed |Added Summary|AVX & AVX2 floating point |[Mir] AVX & AVX2 floating |vector arithmetic |point vector arithmetic --
[Issue 16559] New: AVX & AVX2 floating point vector arithmetic
https://issues.dlang.org/show_bug.cgi?id=16559 Issue ID: 16559 Summary: AVX & AVX2 floating point vector arithmetic Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: ilyayaroshe...@gmail.com --
[Issue 16559] AVX & AVX2 floating point vector arithmetic
https://issues.dlang.org/show_bug.cgi?id=16559 Илья Ярошенко changed: What|Removed |Added Keywords||SIMD --
[Issue 16558] [Mir] Generic unaligned load/store like (like LDC loadUnaligned and storeUnaligned)
https://issues.dlang.org/show_bug.cgi?id=16558 Илья Ярошенко changed: What|Removed |Added Keywords||SIMD Summary|Generic unaligned |[Mir] Generic unaligned |load/store like (like LDC |load/store like (like LDC |loadUnaligned and |loadUnaligned and |storeUnaligned) |storeUnaligned) --
[Issue 16558] New: Generic unaligned load/store like (like LDC loadUnaligned and storeUnaligned)
https://issues.dlang.org/show_bug.cgi?id=16558 Issue ID: 16558 Summary: Generic unaligned load/store like (like LDC loadUnaligned and storeUnaligned) Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: ilyayaroshe...@gmail.com --