diff options
Diffstat (limited to 'gdb/opencl-lang.c')
-rw-r--r-- | gdb/opencl-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c index 8ced334a2d3..80d7ec96bc2 100644 --- a/gdb/opencl-lang.c +++ b/gdb/opencl-lang.c @@ -820,7 +820,7 @@ evaluate_subexp_opencl (struct type *expect_type, struct expression *exp, else { /* For scalar operations we need to avoid evaluating operands - unecessarily. However, for vector operations we always need to + unnecessarily. However, for vector operations we always need to evaluate both operands. Unfortunately we only know which of the two cases apply after we know the type of the second operand. Therefore we evaluate it once using EVAL_AVOID_SIDE_EFFECTS. */ |