[Issue 23880] ImportC: __attribute__((vector_size(N))) is not implemented
https://issues.dlang.org/show_bug.cgi?id=23880 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @WalterBright updated dlang/dmd pull request #15172 "fix Issue 23857 and fix Issue 23880" fixing this issue: - fix Issue 23857 23880 https://github.com/dlang/dmd/pull/15172 --
[Issue 23875] ImportC: __attribute__ in a cast doesn't work
https://issues.dlang.org/show_bug.cgi?id=23875 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @WalterBright updated dlang/dmd pull request #15172 "fix Issue 23857 23880" fixing this issue: - fix Issue 23875 23880 https://github.com/dlang/dmd/pull/15172 --
[Issue 23857] backend inliner takes too long on recursive function call
https://issues.dlang.org/show_bug.cgi?id=23857 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot --- @WalterBright created dlang/dmd pull request #15172 "fix Issue 23857 and fix Issue 23880" fixing this issue: - fix Issue 23857 and fix Issue 23880 https://github.com/dlang/dmd/pull/15172 --
[Issue 23875] ImportC: __attribute__ in a cast doesn't work
https://issues.dlang.org/show_bug.cgi?id=23875 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=23880 --
[Issue 23880] ImportC: __attribute__((vector_size(N))) is not implemented
https://issues.dlang.org/show_bug.cgi?id=23880 Walter Bright changed: What|Removed |Added Keywords||ImportC See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=23875 --
[Issue 23880] New: ImportC: __attribute__((vector_size(N))) is not implemented
https://issues.dlang.org/show_bug.cgi?id=23880 Issue ID: 23880 Summary: ImportC: __attribute__((vector_size(N))) is not implemented Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: bugzi...@digitalmars.com https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html --
[Issue 23024] Large static array causes access violation on Windows with DMD
https://issues.dlang.org/show_bug.cgi?id=23024 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @rainers created dlang/dmd pull request #15170 "fix issues 20737 and 23024 - TLS variables unusable with -betterC/imp…" fixing this issue: - fix issues 20737 and 23024 - TLS variables unusable with -betterC/importC for Windows MSVC targets always generate access via __tls_index https://github.com/dlang/dmd/pull/15170 --
[Issue 20737] TLS variables unusable with -betterC for Windows MSVC targets
https://issues.dlang.org/show_bug.cgi?id=20737 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #7 from Dlang Bot --- @rainers created dlang/dmd pull request #15170 "fix issues 20737 and 23024 - TLS variables unusable with -betterC/imp…" fixing this issue: - fix issues 20737 and 23024 - TLS variables unusable with -betterC/importC for Windows MSVC targets always generate access via __tls_index https://github.com/dlang/dmd/pull/15170 --
[Issue 23879] New: ImportC: Windows system headers use `__alignof`
https://issues.dlang.org/show_bug.cgi?id=23879 Issue ID: 23879 Summary: ImportC: Windows system headers use `__alignof` Product: D Version: D2 Hardware: All OS: Windows Status: NEW Keywords: ImportC Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: maxsamu...@gmail.com struct S { int x; }; int x = __alignof(struct S); windows.c(7): Error: expression expected, not `struct --
[Issue 23878] New: [REG 2.103] internal compiler error: C++ 'null' template value parameter is not supported
https://issues.dlang.org/show_bug.cgi?id=23878 Issue ID: 23878 Summary: [REG 2.103] internal compiler error: C++ 'null' template value parameter is not supported Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: ibuc...@gdcproject.org See PR, which introduced the ICE. https://github.com/dlang/dmd/pull/15100 ``` template Template(T...) { extern(C++) const __gshared int Template = 0; } auto x = Template!(null); ``` --
[Issue 23877] New: ImportC: Importing byteswap.h results in undefined reference to core.bitop.byteswap with -betterC
https://issues.dlang.org/show_bug.cgi?id=23877 Issue ID: 23877 Summary: ImportC: Importing byteswap.h results in undefined reference to core.bitop.byteswap with -betterC Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: nay...@abv.bg Not sure if this is a valid issue. xawd.c - #include - Compile with: dmd xawd.c -betterC Error: - /usr/bin/ld: /usr/lib64/gcc/x86_64-solus-linux/12/../../../../lib64/Scrt1.o: in function `_start': /home/build/YPKG/root/glibc/build/glibc-2.36/csu/../sysdeps/x86_64/start.S:103: undefined reference to `main' /usr/bin/ld: xawd.o: in function `_D10__builtins__T17__builtin_bswap16ZQuFNaNbNiNftZt': xawd.c:(.text._D10__builtins__T17__builtin_bswap16ZQuFNaNbNiNftZt[_D10__builtins__T17__builtin_bswap16ZQuFNaNbNiNftZt]+0x10): undefined reference to `_D4core5bitop8byteswapFNaNbNiNftZt' collect2: error: ld returned 1 exit status Error: linker exited with status 1 - This specific byteswap.h file has: - static __inline __uint16_t __bswap_16 (__uint16_t __bsx) { #if __GNUC_PREREQ (4, 8) return __builtin_bswap16 (__bsx); #else return __bswap_constant_16 (__bsx); #endif } - DMD64 D Compiler v2.103.0 Linux --
[Issue 23874] -profile=gc segfaults / ICE regression
https://issues.dlang.org/show_bug.cgi?id=23874 Jan Jurzitza changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #6 from Jan Jurzitza --- the fix didn't fully resolve this ICE, this still segfaults: reduced.d ``` string myToString() { return ""; } immutable x = myToString ~ ""; ``` --
[Issue 23876] New: segfault / ICE regression with packages
https://issues.dlang.org/show_bug.cgi?id=23876 Issue ID: 23876 Summary: segfault / ICE regression with packages Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: d.b...@webfreak.org reproduction test case: reduced.d ```d void onInvalidType() { import mystd.meta; import mystd.range; } ``` mystd/meta.d ```d import mystd.range.primitives ; ``` mystd/range/package.d ```d import mystd.range; ``` mystd/range/primitives.d ```d // file is empty ``` dmd -c reduced.d --
[Issue 23876] segfault / ICE regression with packages
https://issues.dlang.org/show_bug.cgi?id=23876 --- Comment #1 from Jan Jurzitza --- smaller reduced.d: ```d import mystd.meta; import mystd.range; ``` --
[Issue 23874] -profile=gc segfaults / ICE regression
https://issues.dlang.org/show_bug.cgi?id=23874 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Dlang Bot --- dlang/dmd pull request #15164 "Fix Issue 23874 - -profile=gc segfaults / ICE regression" was merged into stable: - 5e7383817f4951f0553cb9e2638c2ecae0a41f1c by RazvanN7: Fix Issue 23874 - -profile=gc segfaults / ICE regression https://github.com/dlang/dmd/pull/15164 --
[Issue 21415] catch immutable exceptions breaks immutable
https://issues.dlang.org/show_bug.cgi?id=21415 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Dlang Bot --- dlang/dmd pull request #14707 "Fix Issue 21415 - catch immutable exceptions breaks immutable" was merged into master: - c3920edb59ec4bd8dbac63169bee1d37529e70d9 by Nick Treleaven: Fix Issue 21415 - catch immutable exceptions breaks immutable https://github.com/dlang/dmd/pull/14707 --
[Issue 23873] [ICE] segfault on imported `static if ; else auto x`
https://issues.dlang.org/show_bug.cgi?id=23873 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @RazvanN7 created dlang/dmd pull request #15168 "Fix Issue 23873 - [ICE] segfault on imported static if ; else auto x" fixing this issue: - Fix Issue 23873 - [ICE] segfault on imported static if ; else auto x https://github.com/dlang/dmd/pull/15168 --
[Issue 23874] -profile=gc segfaults / ICE regression
https://issues.dlang.org/show_bug.cgi?id=23874 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #4 from Dlang Bot --- @RazvanN7 created dlang/dmd pull request #15164 "Fix Issue 23874 - -profile=gc segfaults / ICE regression" fixing this issue: - Fix Issue 23874 - -profile=gc segfaults / ICE regression https://github.com/dlang/dmd/pull/15164 --
[Issue 23874] -profile=gc segfaults / ICE regression
https://issues.dlang.org/show_bug.cgi?id=23874 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #3 from RazvanN --- (In reply to Jan Jurzitza from comment #1) > note: the code to reproduce has been fixed with > https://github.com/dlang/dmd/commit/abb7836dd705be4f3c82e606b31d54dd69276476 > on master, but that did not seem intentional and I'm keeping this open until > the real regression cause has been identified and can be confirmed fixed by > this. > > Regression was introduced by > https://github.com/dlang/dmd/commit/276ef2145b2cab876c82845d2d1e943847ea2f3a Actually, even though the fix was not intentional it is the proper fix. The underlying issue stems from the fact that the profile gc hook needs to be given a function name so that it outputs where the allocation takes place (allocations that are not inside function bodies are compile time allocations therefore do not require the gc). However, in speculative contexts (such as the ones provided in this bug report) you are not necessarily inside a function body, therefore when the hook is instantiated it tries to pass a function name (taken from a null object). That is why the fix linked here correctly solves this issue by avoiding to lower to the druntime hook if no code is going to be generated. There probably might be other slips of this sort so please file them as individual bugs (not as comments to this bug report) if you discover them. I am going to fix the case that is provided in this bug report so please do not link any other manifestations. --
[Issue 23873] [ICE] segfault on imported `static if ; else auto x`
https://issues.dlang.org/show_bug.cgi?id=23873 RazvanN changed: What|Removed |Added Keywords||ice CC||razvan.nitu1...@gmail.com Severity|enhancement |critical --