aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2024-11-10 21:42:48 -0500
committerJason Merrill <jason@redhat.com>2024-11-11 17:30:21 -0500
commite3de2962cbac3fc7f1d7c6d0205a62e68f3f4b3a (patch)
treef8202886f97895d6bb6964784b5dfea10382aa82 /gcc/tree-vectorizer.h
parentf32e7339871beec0e4d49698f7e34d77ee882088 (diff)
downloadgcc-e3de2962cbac3fc7f1d7c6d0205a62e68f3f4b3a.zip
gcc-e3de2962cbac3fc7f1d7c6d0205a62e68f3f4b3a.tar.gz
gcc-e3de2962cbac3fc7f1d7c6d0205a62e68f3f4b3a.tar.bz2
opts: fix narrowing warning
The init-list initialization of cl_deferred_option p had a couple of narrowing warnings: first of opt_index from int to size_t and then of value from HOST_WIDE_INT to int. Fixed by making the types more consistent. gcc/ChangeLog: * opts.h (cl_deferred_option::value): Change to HOST_WIDE_INT. (set_option): Change opt_index parm to size_t. * opts-common.cc (set_option): Likewise.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions