From: Aldy Hernandez Date: Thu, 22 Apr 2004 02:02:13 +0000 (+0000) Subject: rs6000.c (rs6000_override_options): Error when user wants altivec and e500 instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4463bf10ca4531a4e52377e7e48b45df9fd5b5c;p=gcc.git rs6000.c (rs6000_override_options): Error when user wants altivec and e500 instructions. * config/rs6000/rs6000.c (rs6000_override_options): Error when user wants altivec and e500 instructions. From-SVN: r80996 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9b22f4db7ee..e31d4957ec7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-04-21 Aldy Hernandez + + * config/rs6000/rs6000.c (rs6000_override_options): Error when + user wants altivec and e500 instructions. + 2004-04-21 H.J. Lu PR target/14813 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 7ea3ddaa91c..49f4f96ca7a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -893,6 +893,9 @@ rs6000_override_options (const char *default_cpu) if (TARGET_E500) { + if (TARGET_ALTIVEC) + error ("AltiVec and E500 instructions cannot coexist"); + /* The e500 does not have string instructions, and we set MASK_STRING above when optimizing for size. */ if ((target_flags & MASK_STRING) != 0)