[AArch64] Do not ICE after apologising for -mcmodel=large -fPIC
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 12 Aug 2015 14:36:35 +0000 (14:36 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 12 Aug 2015 14:36:35 +0000 (14:36 +0000)
* config/aarch64/aarch64.c (initialize_aarch64_code_model): Break
after -mcmodel=large -fPIC sorry.

From-SVN: r226815

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index 6028d26a38bb631eed367c0e92f8f2706e4fcc45..ebf0d4f969a5f6a3e7287852a345b8d7dce7a537 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/aarch64/aarch64.c (initialize_aarch64_code_model): Break
+       after -mcmodel=large -fPIC sorry.
+
 2015-08-12  Richard Biener  <rguenther@suse.de>
 
        * tree-ssa-sccvn.c (vn_nary_op_compute_hash): Also canonicalize
index 35f063ea19b3f9c5c5584939eb2d4d88bb8b2d90..7159f5aca5df97f154b3e654f60af9136354f335 100644 (file)
@@ -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 ();
         }