]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Add -mdejagnu-cpu=
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Mar 2019 17:44:15 +0000 (17:44 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Mar 2019 17:44:15 +0000 (17:44 +0000)
commit1729be3fa9731e37f630f7fca5a6bbb1f2081aa3
treec8f6e563c5115bf3e56e8a24a4a2e360c5e9d231
parent45e17a2128d40a0512361cf5fc8cf5dada09d0c3
rs6000: Add -mdejagnu-cpu=

This adds an option -mdejagnu-cpu=.  This option simply overrides what
is given in -mcpu=.  The reason for this is that with older versions
of DejaGnu the value given in the RUNTESTFLAGS will override the value
a testcase wants to have.

* config/rs6000/rs6000.c (rs6000_option_override_internal): If
rs6000_dejagnu_cpu_index is set, use that to override rs6000_cpu_index.
* config/rs6000/rs6000.opt (mdejagnu-cpu=): New option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269322 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.opt