From 1c6527817ffd53bb1a1c0a6c09516d642fb1500e Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Wed, 12 Aug 2015 14:36:35 +0000 Subject: [PATCH] [AArch64] Do not ICE after apologising for -mcmodel=large -fPIC * config/aarch64/aarch64.c (initialize_aarch64_code_model): Break after -mcmodel=large -fPIC sorry. From-SVN: r226815 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6028d26a38b..ebf0d4f969a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-12 Kyrylo Tkachov + + * config/aarch64/aarch64.c (initialize_aarch64_code_model): Break + after -mcmodel=large -fPIC sorry. + 2015-08-12 Richard Biener * tree-ssa-sccvn.c (vn_nary_op_compute_hash): Also canonicalize diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 35f063ea19b..7159f5aca5d 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -7895,6 +7895,7 @@ initialize_aarch64_code_model (struct gcc_options *opts) case AARCH64_CMODEL_LARGE: sorry ("code model %qs with -f%s", "large", opts->x_flag_pic > 1 ? "PIC" : "pic"); + break; default: gcc_unreachable (); } -- 2.30.2