https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88261
--- Comment #9 from Jeffrey A. Law <law at redhat dot com> --- Thanks for running with this Bernd. My brain was too mushy last night to get anywhere. I agree that digest_init_r seems like the right place to try and address this problem. ISTM we could either add the DECL as a parameter or pass in some kind of state to indicate if it's automatic or static. I've got no strong opinion on which of those two approaches is best -- but Jason will have the final call here.