[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug tree-optimization/107477] spurious -Wrestrict warning
From:       "pinskia at gcc dot gnu.org via Gcc-bugs" <gcc-bugs () gcc ! gnu ! org>
Date:       2022-10-31 18:27:30
Message-ID: bug-107477-4-kqySCMH2Nc () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Adding:

  if (s < 0) __builtin_unreachable();

"fixes" the warning.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic