[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2023-02-04 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 Max Samukha changed: What|Removed |Added CC||maxsamu...@gmail.com --

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-12-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 --- Comment #7 from Iain Buclaw --- (In reply to Walter Bright from comment #6) > (In reply to Iain Buclaw from comment #5) > > // GDC and LDC forces 'auto ref' to be 'ref', even when the > > // front-end decides to drop the 'ref' from the

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-12-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 --- Comment #6 from Walter Bright --- (In reply to Iain Buclaw from comment #5) > // GDC and LDC forces 'auto ref' to be 'ref', even when the > // front-end decides to drop the 'ref' from the signature. > ref std_string opAssign()(const

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-07-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 Iain Buclaw changed: What|Removed |Added CC||ibuc...@gdcproject.org --- Comment #5 from

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-07-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 --- Comment #4 from Mathias LANG --- > Remember that D does not allow internal pointers to members. If memory serves me well, Andrei mentioned a few years ago that this position is no longer tenable. Not supporting internal pointers means users

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-07-07 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 --- Comment #3 from Walter Bright --- I find the `auto ref` parameter suspicious. What are you expecting to happen there? Do you expect it to be passed by ref or by value? It doesn't compile with making it just `ref`, so simply removing `auto ref`

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-07-07 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 --- Comment #2 from Walter Bright --- If I add @safe and compile with -preview=dip1000, I get: test23164.d(15): Error: address of variable `this` assigned to `this` with longer lifetime test23164.d(22): Error: address of variable `this` assigned to

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-07-07 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #1

[Issue 23164] [REG 2.097] Infinite loop on assertion failure + DMD moves struct with copy constructor

2022-06-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23164 RazvanN changed: What|Removed |Added Keywords||backend CC|