[Issue 17654] return value incorrectly considered unique when casting to another pointer type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 15 07:21:25 PDT 2017


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

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I'm not sure the UB rules for D and aliasing. In C you definitely can run into
things like the array cast being considered unrelated. 

The class case is definitely a bug.

--


More information about the Digitalmars-d-bugs mailing list