https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952

--- Comment #42 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #39)
> 2. Handle non-contiguous strings:
> 
>   __builtin_printf(" %" "d ", 0.5);

Right now, we detect that the offset is outside the first string and give up.
Supporting this might be just as easier as keeping track in
location_column_from_byte_offset of the closing ", skipping to the opening "
and keep counting until reaching the offset.

No time to do it myself but worth a try.

Reply via email to