From: John David Anglin Date: Sun, 13 Jul 2008 22:27:58 +0000 (+0000) Subject: re PR testsuite/36440 (FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d94a6d0873fb7b2275b3ee7c4a646783dccf699;p=gcc.git re PR testsuite/36440 (FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0) PR testsuite/36440 * tree-call-cdce.c (check_target_format): Accept MIPS single, double and quad formats. From-SVN: r137757 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a98d096ee4..a7e84b6a995 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-07-13 John David Anglin + + PR testsuite/36440 + * tree-call-cdce.c (check_target_format): Accept MIPS single, double + and quad formats. + 2008-07-13 Jan Hubicka * tree.c (decl_assembler_name_equal): Expect assembler name of decl diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c index 4be0cf9bd89..8f7041bbf09 100644 --- a/gcc/tree-call-cdce.c +++ b/gcc/tree-call-cdce.c @@ -142,8 +142,10 @@ check_target_format (tree arg) type = TREE_TYPE (arg); mode = TYPE_MODE (type); rfmt = REAL_MODE_FORMAT (mode); - if ((mode == SFmode && rfmt == &ieee_single_format) - || (mode == DFmode && rfmt == &ieee_double_format) + if ((mode == SFmode + && (rfmt == &ieee_single_format || rfmt == &mips_single_format)) + || (mode == DFmode + && (rfmt == &ieee_double_format || rfmt == &mips_double_format)) /* For long double, we can not really check XFmode which is only defined on intel platforms. Candidate pre-selection using builtin function @@ -151,6 +153,7 @@ check_target_format (tree arg) for long double modes: double, quad, and extended. */ || (mode != SFmode && mode != DFmode && (rfmt == &ieee_quad_format + || rfmt == &mips_quad_format || rfmt == &ieee_extended_intel_96_format || rfmt == &ieee_extended_intel_128_format || rfmt == &ieee_extended_intel_96_round_53_format)))