diff options
author | Jan Hubicka <jh@suse.cz> | 2021-12-13 17:29:26 +0100 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2021-12-13 17:30:13 +0100 |
commit | 16c848090f237c2398930b8c0ef75acebf4fa44d (patch) | |
tree | a4f3291b1af698d22a2ad009f2b08ffab81d3950 /gcc/common.opt | |
parent | 5954b4d415f6424f1232c6b22a772ce184773f54 (diff) | |
download | gcc-16c848090f237c2398930b8c0ef75acebf4fa44d.zip gcc-16c848090f237c2398930b8c0ef75acebf4fa44d.tar.gz gcc-16c848090f237c2398930b8c0ef75acebf4fa44d.tar.bz2 |
Add -fipa-strict-aliasing
gcc/ChangeLog:
2021-12-13 Jan Hubicka <hubicka@ucw.cz>
* common.opt: Add -fipa-strict-aliasing.
* doc/invoke.texi: Document -fipa-strict-aliasing.
* ipa-modref.c (modref_access_analysis::record_access): Honor
-fipa-strict-aliasing.
(modref_access_analysis::record_access_lto): Likewise.
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 445a53a..8f8fc2f 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1945,6 +1945,10 @@ fira-algorithm= Common Joined RejectNegative Enum(ira_algorithm) Var(flag_ira_algorithm) Init(IRA_ALGORITHM_CB) Optimization -fira-algorithm=[CB|priority] Set the used IRA algorithm. +fipa-strict-aliasing +Common Var(flag_ipa_strict_aliasing) Init(1) Optimization +Assume strict aliasing rules apply across (uninlined) function boundaries. + Enum Name(ira_algorithm) Type(enum ira_algorithm) UnknownError(unknown IRA algorithm %qs) |