https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127
--- Comment #11 from qinzhao at gcc dot gnu.org --- Please see the details of the discussion of the patch for this bug: https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg275509.html as a summary, we decide to exclude OPAQUE_TYPE from auto-init at this time. so the fix will be in the routine “is_var_need_auto_init” in gimplify.c to exclude OPAQUE_TYPE from auto-init.