aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCatherine Moore <clm@codesourcery.com>2010-08-30 14:57:30 -0400
committerCatherine Moore <clm@gcc.gnu.org>2010-08-30 14:57:30 -0400
commit037f9973716f8e3e9f8f33847bce345075f87141 (patch)
treee27d0ef72198358a286b57e098f6777c26102b5e /gcc
parentb960ce040d53b610b2b2e3fb9c2220353a297229 (diff)
downloadgcc-037f9973716f8e3e9f8f33847bce345075f87141.zip
gcc-037f9973716f8e3e9f8f33847bce345075f87141.tar.gz
gcc-037f9973716f8e3e9f8f33847bce345075f87141.tar.bz2
mips.h (BASE_DRIVER_SELF_SPECS): Infer -mdspr2 for the the 74K.
2010-08-31 Catherine Moore <clm@codesourcery.com> * config/mips/mips.h (BASE_DRIVER_SELF_SPECS): Infer -mdspr2 for the the 74K. From-SVN: r163656
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3093c6c..71dc958 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-31 Catherine Moore <clm@codesourcery.com>
+
+ * config/mips/mips.h (BASE_DRIVER_SELF_SPECS):
+ Infer -mdspr2 for the the 74K.
+
2010-08-30 Jakub Jelinek <jakub@redhat.com>
PR debug/45419
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index cc3ebb4..4dd86d4 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -761,7 +761,9 @@ enum mips_code_readable_setting {
/* A spec that infers the -mdsp setting from an -march argument. */
#define BASE_DRIVER_SELF_SPECS \
- "%{!mno-dsp:%{march=24ke*|march=34k*|march=74k*|march=1004k*: -mdsp}}"
+ "%{!mno-dsp: \
+ %{march=24ke*|march=34k*|march=1004k*: -mdsp} \
+ %{march=74k*:%{!mno-dspr2: -mdspr2 -mdsp}}}"
#define DRIVER_SELF_SPECS BASE_DRIVER_SELF_SPECS