[Issue 17146] Internal error: tk.c 266 with -O -inline

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 8 07:36:12 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=17146

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
Simpler test case:

 struct S { int[] a; int b; }

 void foo() {
    S[] s;
    if (s[$-1] == S.init) {}
 }

 void bar() { foo(); }

--


More information about the Digitalmars-d-bugs mailing list