[Bug 293] Utilize assert (ptr == (ptr & -align)) to assume alignment
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Fri Jun 29 15:18:06 UTC 2018
https://bugzilla.gdcproject.org/show_bug.cgi?id=293
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Asserts that have no side effects are given as hints for the optimizer,
otherwise generally having any kind of pattern matching in the that results in
emitting details like "assume aligned" is really out of scope for what a
front-end should do.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the D.gnu
mailing list