wget-dev
[Top][All Lists]
Advanced

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

Re: wget2 | * configure.ac: Remove redundant sanitizer warnings (!506)


From: Avinash Sonawane (@rootkea)
Subject: Re: wget2 | * configure.ac: Remove redundant sanitizer warnings (!506)
Date: Fri, 22 Apr 2022 12:19:38 +0000



Avinash Sonawane started a new discussion on configure.ac: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/506#note_920969227

> +  if test "$CCNAME" = "gcc"; then
> +    gl_WARN_ADD([-fsanitize=float-cast-overflow])
> +  fi
>  fi
>  
>  if test "$gl_cc_sanitize_asan" = yes; then
>    gl_WARN_ADD([-fsanitize=address])
>    gl_WARN_ADD([-fsanitize=leak])
> -  gl_WARN_ADD([-fsanitize=nonnull-attribute])
>    gl_WARN_ADD([-fno-omit-frame-pointer])
> +  gl_WARN_ADD([-fno-optimize-sibling-calls])
>  
> -  # additional clang option
> -  gl_WARN_ADD([-fsanitize-address-use-after-scope])
> +  if test "$CCNAME" = "gcc"; then
> +    gl_WARN_ADD([-fsanitize=pointer-compare])

`-fsanitize=pointer-compare` fails 31 tests with gcc analyzer on well known 
pointer idioms. So let's not add it.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/merge_requests/506#note_920969227
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]