On Wed, 3 Mar 2021, Jakub Jelinek via Gcc-patches wrote: > Hi! > > build_va_arg calls the middle-end mark_addressable, which e.g. requires that > cfun is non-NULL. The following patch calls instead > c_common_mark_addressable_vec > which is the c-family variant similarly to the FE c_mark_addressable and > cxx_mark_addressable, except that it doesn't error on addresses of register > variables. As the taking of the address is artificial for the .VA_ARG > ifn and when that is lowered goes away, it is similar case to the vector > subscripting for which c_common_mark_addressable_vec has been added. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
OK. -- Joseph S. Myers jos...@codesourcery.com