Hi! On 2025-01-09T14:21:18+0100, I wrote: > Pushed to trunk branch commit 3861d362ec7e3c50742fc43833fe9d8674f4070e > "nvptx: PTX 'alloca' for '-mptx=7.3'+, '-march=sm_52'+ [PR65181]", > [...]
> --- a/gcc/testsuite/lib/target-supports.exp > +++ b/gcc/testsuite/lib/target-supports.exp > @@ -1009,9 +1009,37 @@ proc check_effective_target_alloca {} { > [...] > + # Find 'dg-do-what' in an outer frame. > + set level 1 > + while true { > + upvar $level dg-do-what dg-do-what > + if [info exists dg-do-what] then break > + incr level > + } > + verbose "check_effective_target_alloca: found dg-do-what at level > $level" 2 > [...] Here, I'd duplicated code from 'check_effective_target_stack_size', boo. Pushed to trunk branch commit f553b1aaa2b1b925c918e5dcf966290b045321c2 "Refactor duplicated code into 'gcc/testsuite/lib/gcc-dg.exp:find-dg-do-what'", see attached. Grüße Thomas