From d9fea2c63da99cd8bbb869705f43401bf323a94f Mon Sep 17 00:00:00 2001 From: Dragan Mladjenovic Date: Fri, 17 May 2019 16:28:28 +0000 Subject: 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 --- gcc/config/mips/mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config') 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; -- cgit v1.1