summaryrefslogtreecommitdiff
path: root/gcc/ipa-reference.c
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-04 09:23:52 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-04 09:23:52 +0000
commit5cb7c8cf9860d39ab7d499b1a6c0f9c5ec4263bd (patch)
treea709ffe23b44fcd2abb68344a04e99f622598b1d /gcc/ipa-reference.c
parenta499a116ce74465d3eff0040f5bc394de81ea237 (diff)
downloadgcc-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.c2
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 ();
}
}