Fix thinko in setting target options
From-SVN: r182747
This commit is contained in:
parent
73ac190a5e
commit
ebff619b53
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue