diff options
author | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-13 11:55:01 +0000 |
---|---|---|
committer | glisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-13 11:55:01 +0000 |
commit | 26fc128eab91ae40894877a81973aeef3ef71fae (patch) | |
tree | cee768894a40cdc543f797d9247b4e4bddf59694 | |
parent | 1ba4a1dbec24c9cf1c64122cf83a08f4f946521c (diff) | |
download | gcc-26fc128eab91ae40894877a81973aeef3ef71fae.tar.gz |
2013-11-13 Marc Glisse <marc.glisse@inria.fr>
PR tree-optimization/59077
* ipa-pure-const.c (better_state): Update *state.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204739 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-pure-const.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 52d02b9aff0..38dec6e71ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-13 Marc Glisse <marc.glisse@inria.fr> + + PR tree-optimization/59077 + * ipa-pure-const.c (better_state): Update *state. + 2013-11-13 Christophe Lyon <christophe.lyon@linaro.org> * config/aarch64/aarch64.h (FRAME_GROWS_DOWNWARD): Define to 1. diff --git a/gcc/ipa-pure-const.c b/gcc/ipa-pure-const.c index 50bf500b172..d775b3178bf 100644 --- a/gcc/ipa-pure-const.c +++ b/gcc/ipa-pure-const.c @@ -397,6 +397,7 @@ better_state (enum pure_const_state_e *state, bool *looping, *looping = looping2; else *looping = MIN (*looping, looping2); + *state = state2; } else if (state2 != IPA_NEITHER) *looping = MIN (*looping, looping2); |