Re: [PATCH] cgcc: filter-out -msize-long & -msize-llp64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 26/11/2019 20:30, Luc Van Oostenryck wrote:
> These options are sparse-specific and shouldn't be passed to GCC.
> 
> Reported-by: Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
> ---
>  cgcc | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/cgcc b/cgcc
> index 40dea2a05..ef0375c50 100755
> --- a/cgcc
> +++ b/cgcc
> @@ -131,6 +131,7 @@ sub check_only_option {
>      return 1 if $arg =~ /^-v(no-?)?(entry|dead)$/;
>      return 1 if $arg =~ /^-f(dump-ir|memcpy-max-count|diagnostic-prefix)(=\S*)?$/;
>      return 1 if $arg =~ /^-f(mem2reg|optim)(-enable|-disable|=last)?$/;
> +    return 1 if $arg =~ /^-msize-(long|llp64)$/;
>      return 0;
>  }
>  
> 

Looks good to me: applied and tested on current 'master'.

ATB,
Ramsay Jones




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux