diff options
author | Caroline Tice <cmtice@google.com> | 2017-01-28 11:06:17 -0800 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-02-12 00:47:43 +0000 |
commit | 8b066eb1d1aafb559890836e254ebf1ebd7de9a5 (patch) | |
tree | 462d4f570ef836cf0f5e8f7e9a853de3b4c3ad25 /gcc-4.9/gcc/passes.def | |
parent | 4bd43c54babe00722e71026a039cdd238fa420f3 (diff) | |
download | toolchain_gcc-8b066eb1d1aafb559890836e254ebf1ebd7de9a5.tar.gz toolchain_gcc-8b066eb1d1aafb559890836e254ebf1ebd7de9a5.tar.bz2 toolchain_gcc-8b066eb1d1aafb559890836e254ebf1ebd7de9a5.zip |
Fix GCC bug PR 46639, for kernel security
The kernel security team asked us to fix this bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639
This CL does that.
Note: This CL depends on
https://android-review.googlesource.com/329799
Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639
Test: Ran build.py for all toolchain versions; used resulting
compilers to build bullhead, angler and fugu plaform images.
Ran checkbuild.py.
Change-Id: I1e1abf594cff56c6ed6dc228a1d084da18c11420
Diffstat (limited to 'gcc-4.9/gcc/passes.def')
-rw-r--r-- | gcc-4.9/gcc/passes.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/passes.def b/gcc-4.9/gcc/passes.def index b88bcb219..0bec5c360 100644 --- a/gcc-4.9/gcc/passes.def +++ b/gcc-4.9/gcc/passes.def @@ -75,12 +75,13 @@ along with GCC; see the file COPYING3. If not see NEXT_PASS (pass_fre); NEXT_PASS (pass_copy_prop); NEXT_PASS (pass_merge_phi); + NEXT_PASS (pass_profile); + NEXT_PASS (pass_early_vrp); NEXT_PASS (pass_cd_dce); NEXT_PASS (pass_early_ipa_sra); NEXT_PASS (pass_tail_recursion); NEXT_PASS (pass_convert_switch); NEXT_PASS (pass_cleanup_eh); - NEXT_PASS (pass_profile); NEXT_PASS (pass_local_pure_const); /* Split functions creates parts that are not run through early optimizations again. It is thus good idea to do this |