Commit 26a8964c by Joseph Myers Committed by Joseph Myers

i386.c (ix86_valid_target_attribute_tree): Use enum_opts_set when testing if…

i386.c (ix86_valid_target_attribute_tree): Use enum_opts_set when testing if attributes have set -mfpmath=.

	* config/i386/i386.c (ix86_valid_target_attribute_tree): Use
	enum_opts_set when testing if attributes have set -mfpmath=.

From-SVN: r173845
parent 23a0e653
2011-05-17 Joseph Myers <joseph@codesourcery.com>
* config/i386/i386.c (ix86_valid_target_attribute_tree): Use
enum_opts_set when testing if attributes have set -mfpmath=.
2011-05-17 Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (mips_handle_option): Remove unused variable.
......
......@@ -4692,7 +4692,7 @@ ix86_valid_target_attribute_tree (tree args)
|| target_flags != def->x_target_flags
|| option_strings[IX86_FUNCTION_SPECIFIC_ARCH]
|| option_strings[IX86_FUNCTION_SPECIFIC_TUNE]
|| ix86_fpmath != def->x_ix86_fpmath)
|| enum_opts_set.x_ix86_fpmath)
{
/* If we are using the default tune= or arch=, undo the string assigned,
and use the default. */
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