[PATCH] D30538: Add documentation for -fno-strict-aliasing

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 2 08:31:36 PST 2017


On Thu, Mar 02, 2017 at 04:20:47PM +0000, Simon Byrne via Phabricator via cfe-commits wrote:
> simonbyrne created this revision.
> 
> This is probably good to document, as the behaviour of `-fstrict-aliasing` differs from gcc in a quite important way (see https://bugs.llvm.org//show_bug.cgi?id=31928) .

While it is reasonable to document the bug, it should not be seen as
desirable behavior. The change seems to imply that it is intentional.
More importantly, it should be documented as regression.

Joerg


More information about the cfe-commits mailing list