I found another expression-related spot that could use constification.
This patch adds it. Tested by rebuilding.
gdb/ChangeLog
2020-11-14 Tom Tromey <tom@tromey.com>
* opencl-lang.c (opencl_component_ref): Make "comps" const.
+2020-11-14 Tom Tromey <tom@tromey.com>
+
+ * opencl-lang.c (opencl_component_ref): Make "comps" const.
+
2020-11-14 Simon Marchi <simon.marchi@polymtl.ca>
* arm-tdep.c (class arm_instruction_reader) <read>: Fix comment.
/* OpenCL vector component access. */
static struct value *
-opencl_component_ref (struct expression *exp, struct value *val, char *comps,
- enum noside noside)
+opencl_component_ref (struct expression *exp, struct value *val,
+ const char *comps, enum noside noside)
{
LONGEST lowb, highb;
int src_len;