[PATCH, i386] Spellcheck hints for the i386 backend option handling (PR middle-end/77475, take 2, generic part)

Bernd Schmidt bschmidt@redhat.com
Mon Sep 12 12:49:00 GMT 2016


On 09/06/2016 10:36 PM, Jakub Jelinek wrote:

> +/* Helper function for listing valid choices and hint for misspelled
> +   value.  CANDIDATES is a vector containing all valid strings,
> +   STR is set to a heap allocated string that contains all those
> +   strings concatenated, separated by spaces, and the return value
> +   is the closest string from those to ARG, or NULL if nothing is
> +   close enough.  */

Maybe mention the return value should be freed with XDELETEVEC by the 
caller. Ok with that change.


Bernd



More information about the Gcc-patches mailing list