Commit 5d94a6d0 by John David Anglin Committed by John David Anglin

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
parent 4d16a7b7
2008-07-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR testsuite/36440
* tree-call-cdce.c (check_target_format): Accept MIPS single, double
and quad formats.
2008-07-13 Jan Hubicka <jh@suse.cz> 2008-07-13 Jan Hubicka <jh@suse.cz>
* tree.c (decl_assembler_name_equal): Expect assembler name of decl * tree.c (decl_assembler_name_equal): Expect assembler name of decl
......
...@@ -142,8 +142,10 @@ check_target_format (tree arg) ...@@ -142,8 +142,10 @@ check_target_format (tree arg)
type = TREE_TYPE (arg); type = TREE_TYPE (arg);
mode = TYPE_MODE (type); mode = TYPE_MODE (type);
rfmt = REAL_MODE_FORMAT (mode); rfmt = REAL_MODE_FORMAT (mode);
if ((mode == SFmode && rfmt == &ieee_single_format) if ((mode == SFmode
|| (mode == DFmode && rfmt == &ieee_double_format) && (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 /* For long double, we can not really check XFmode
which is only defined on intel platforms. which is only defined on intel platforms.
Candidate pre-selection using builtin function Candidate pre-selection using builtin function
...@@ -151,6 +153,7 @@ check_target_format (tree arg) ...@@ -151,6 +153,7 @@ check_target_format (tree arg)
for long double modes: double, quad, and extended. */ for long double modes: double, quad, and extended. */
|| (mode != SFmode && mode != DFmode || (mode != SFmode && mode != DFmode
&& (rfmt == &ieee_quad_format && (rfmt == &ieee_quad_format
|| rfmt == &mips_quad_format
|| rfmt == &ieee_extended_intel_96_format || rfmt == &ieee_extended_intel_96_format
|| rfmt == &ieee_extended_intel_128_format || rfmt == &ieee_extended_intel_128_format
|| rfmt == &ieee_extended_intel_96_round_53_format))) || rfmt == &ieee_extended_intel_96_round_53_format)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment