re PR c/83448 (ice in get_source_location_for_substring, at input.c:1507)
PR c/83448 * gimple-ssa-sprintf.c (maybe_warn): Don't call set_caret_index if navail is >= dir.len. * gcc.c-torture/compile/pr83448.c: New test. * gcc.dg/tree-ssa/builtin-snprintf-warn-4.c: New test. From-SVN: r255960
Showing
Please
register
or
sign in
to comment