Uh oh!
There was an error while loading. Please reload this page.
Work around GCC -Warray-bounds false positive in argument_vector - #5908
Conversation
rwgk
commented
Nov 29, 2025
@swolchok does this look good to you? (Could you please approve?) |
swolchok
commented
Nov 30, 2025
Don’t you need to gate the push and the pop with the same conditions? |
rwgk
commented
Nov 30, 2025
It's critical that the push/pop pair are balanced, but they don't have to be guarded. There are existing similar cases, for example here:
The |
rwgk
commented
Nov 30, 2025
Thanks @swolchok! |
Description
Closescontourpy/contourpy#512
Validations:
Suggested changelog entry:
-Warray-boundsfalse positive inargument_vectorwas added.