Re: Is it time to take the middle-end stringop/array warnings out of -Wall?

Matthias Kretz via Gcc <[email protected]>
Newsgroups gmane.comp.gcc.devel
Organization GSI Helmholtz Center for Heavy Ion Research
Message-ID <[email protected]>
Jakub Jelinek via Gcc [Saturday, 23 May 2026, 11:53:43 CEST]:
> it is no longer VARYING range and the
> middle-end warning code thinks that in that case all other values need to be
> somehow possible and warns.

For real? The warning emits "if any_of index_range is out-of-bounds"? Why then 
not simply change it to "if all_of index_range is out-of-bounds"? The any_of 
condition is a -Wmaybe-array-bounds situation.

- Matthias

-- 
──────────────────────────────────────────────────────────────────────────
 Dr. Matthias Kretz                           https://mattkretz.github.io
 GSI Helmholtz Center for Heavy Ion Research               https://gsi.de
 std::simd
──────────────────────────────────────────────────────────────────────────
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.