d: fix thinko in optimize attr parsing
gcc/d/ChangeLog: * d-attribs.cc (parse_optimize_options): Fix thinko.
This commit is contained in:
parent
d62c8c747c
commit
7a66c4909f
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ parse_optimize_options (tree args)
|
|||
{
|
||||
unsigned opt_index = decoded_options[i].opt_index;
|
||||
if (opt_index >= cl_options_count
|
||||
&& ! (cl_options[opt_index].flags & CL_OPTIMIZATION))
|
||||
|| ! (cl_options[opt_index].flags & CL_OPTIMIZATION))
|
||||
{
|
||||
ret = false;
|
||||
warning (OPT_Wattributes,
|
||||
|
|
Loading…
Add table
Reference in a new issue