There's no actual problem with the code here, just a false-positive
warning emitted by some older GCC versions.
gcc/cp/ChangeLog
* parser.cc (cp_finish_omp_declare_variant): Initialize
append_args_last.
location_t varid_loc = make_location (caret_loc, start_loc, finish_loc);
tree append_args_tree = NULL_TREE;
- tree append_args_last;
+ tree append_args_last = NULL_TREE;
vec<tree> adjust_args_list = vNULL;
bool has_match = false, has_adjust_args = false;
location_t adjust_args_loc = UNKNOWN_LOCATION;