[Bug objc/124260] [16 Regression] ICE during IPA pass: cp when producing 64b objective-c code on 32b host
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 9 14:28:02 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124260
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
So varasm.cc:output_constructor_regular_field "supports" a NULL FIELD_DECL in
CTORs by "appending" and advancing according to the types size. That suggests
that ipa_analyze_var_static_initializer would need to support that as well,
or that it had to get a "failure" mode. OTOH it does not seem to be
conservative given it's TODO, so a do-nothing is correct here? In that
case adding || !index to the continue case would be correct?
In alternative to fix the frontend, that is.
More information about the Gcc-bugs
mailing list