> After looking into this some more, because the PR got reopened, there were > two issues: 1) __builtin_adjust_trampoline call needing a frame or chain (as > can be seen on the new testcases) that wasn't added to parallel/task/target > clauses 2) for !optimize, there is code to add those, when frame or chain > is needed for calls, but the problem was that as !optimize didn't clear > DECL_STATIC_CHAIN initially it wasn't discovered. > > Both issues fixed in the following patch, which made the earlier change > unnecessary.
Thanks for looking into this! -- Eric Botcazou