[Issue 10750] Strict aliasing semantics

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 3 03:17:21 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10750


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at ubuntu.com


--- Comment #4 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-11-03 03:17:17 PST ---
(In reply to comment #3)
> We had problems with this in GDC right now on ARM (std.algorithm.find uses
> cast(ubyte[])string which internally translates to invalid pointer aliasing)
> and as a result we'll now have to disable strict aliasing in the GCC backend.
> 

Which is a shame, because dynamic arrays are perhaps the one type in D that
should instead benefit from strict aliasing rules...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list