https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88626
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Implementation should not be very hard - one would need to add pass propagating liveness that will mark all statements that are needed only for builtin_constant_p and call that from ipa_fnsummary.c:analyze_function_body. Then it would be easy to ignore those statements for code size/time calculations