Commit ebff619b by Michael Meissner Committed by Michael Meissner

Fix thinko in setting target options

From-SVN: r182747
parent 73ac190a
2011-12-30 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_inner_target_options): Fix thinko
in setting options via target #pragma or attribute.
2011-12-30 Anatoly Sokolov <aesok@post.ru>
* config/bfin/bfin.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
......@@ -27138,7 +27138,7 @@ rs6000_inner_target_options (tree args, bool attr_p)
if (strcmp (r, rs6000_opt_vars[i].name) == 0)
{
size_t j = rs6000_opt_vars[i].global_offset;
((int *) &global_options)[j] = !invert;
*((int *) ((char *)&global_options + j)) = !invert;
error_p = false;
break;
}
......
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