diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-04 09:23:52 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-04 09:23:52 +0000 |
commit | 5cb7c8cf9860d39ab7d499b1a6c0f9c5ec4263bd (patch) | |
tree | a709ffe23b44fcd2abb68344a04e99f622598b1d /gcc/ipa-reference.c | |
parent | a499a116ce74465d3eff0040f5bc394de81ea237 (diff) | |
download | gcc-5cb7c8cf9860d39ab7d499b1a6c0f9c5ec4263bd.tar.gz |
2014-06-04 Martin Jambor <mjambor@suse.cz>
PR ipa/61340
* ipa-pure-const.c (propagate_pure_const): Add unreachable default
handler for switch on an ipa_ref_use enum.
* ipa-reference.c (analyze_function): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211216 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-reference.c')
-rw-r--r-- | gcc/ipa-reference.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index ebff60cdfee..bc58cfa25ec 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -483,6 +483,8 @@ analyze_function (struct cgraph_node *fn) break; case IPA_REF_ADDR: break; + default: + gcc_unreachable (); } } |