diff options
author | Dragan Mladjenovic <dmladjenovic@wavecomp.com> | 2019-05-17 16:28:28 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-05-17 10:28:28 -0600 |
commit | d9fea2c63da99cd8bbb869705f43401bf323a94f (patch) | |
tree | 1552c5dd37268702d893cd46b3f8b92da5c435ee /gcc/config | |
parent | 6f1becb66055c351fb9a44563ce7153dbf6487aa (diff) | |
download | gcc-d9fea2c63da99cd8bbb869705f43401bf323a94f.zip gcc-d9fea2c63da99cd8bbb869705f43401bf323a94f.tar.gz gcc-d9fea2c63da99cd8bbb869705f43401bf323a94f.tar.bz2 |
mips.c (mips_dwarf_frame_reg_mode): Replace TARGET_FLOAT64 with !TARGET_FLOAT32, thus handling both fp64 and fpxx modes.
* config/mips/mips.c (mips_dwarf_frame_reg_mode): Replace
TARGET_FLOAT64 with !TARGET_FLOAT32, thus handling both fp64
and fpxx modes.
* g++.dg/eh/o32-fp.C: New.
* gcc.target/mips/dwarfregtable-1.c: New.
* gcc.target/mips/dwarfregtable-2.c: New.
* gcc.target/mips/dwarfregtable-3.c: New.
* gcc.target/mips/dwarfregtable-4.c: New.
* gcc.target/mips/dwarfregtable.h: New.
From-SVN: r271331
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 4c4c9cb..42cafed 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -9588,7 +9588,7 @@ mips_dwarf_frame_reg_mode (int regno) { machine_mode mode = default_dwarf_frame_reg_mode (regno); - if (FP_REG_P (regno) && mips_abi == ABI_32 && TARGET_FLOAT64) + if (FP_REG_P (regno) && mips_abi == ABI_32 && !TARGET_FLOAT32) mode = SImode; return mode; |