-
- Downloads
libgccjit: Fix GGC segfault when using -flto
gcc/ChangeLog: PR jit/111396 * ipa-fnsummary.cc (ipa_fnsummary_cc_finalize): Call ipa_free_size_summary. * ipa-icf.cc (ipa_icf_cc_finalize): New function. * ipa-profile.cc (ipa_profile_cc_finalize): New function. * ipa-prop.cc (ipa_prop_cc_finalize): New function. * ipa-prop.h (ipa_prop_cc_finalize): New function. * ipa-sra.cc (ipa_sra_cc_finalize): New function. * ipa-utils.h (ipa_profile_cc_finalize, ipa_icf_cc_finalize, ipa_sra_cc_finalize): New functions. * toplev.cc (toplev::finalize): Call ipa_icf_cc_finalize, ipa_prop_cc_finalize, ipa_profile_cc_finalize and ipa_sra_cc_finalize Include ipa-utils.h. gcc/testsuite/ChangeLog: PR jit/111396 * jit.dg/all-non-failing-tests.h: Add note about test-ggc-bugfix. * jit.dg/test-ggc-bugfix.c: New test.
Showing
- gcc/ipa-fnsummary.cc 1 addition, 0 deletionsgcc/ipa-fnsummary.cc
- gcc/ipa-icf.cc 9 additions, 0 deletionsgcc/ipa-icf.cc
- gcc/ipa-profile.cc 10 additions, 0 deletionsgcc/ipa-profile.cc
- gcc/ipa-prop.cc 18 additions, 0 deletionsgcc/ipa-prop.cc
- gcc/ipa-prop.h 2 additions, 0 deletionsgcc/ipa-prop.h
- gcc/ipa-sra.cc 12 additions, 0 deletionsgcc/ipa-sra.cc
- gcc/ipa-utils.h 7 additions, 0 deletionsgcc/ipa-utils.h
- gcc/testsuite/jit.dg/all-non-failing-tests.h 4 additions, 0 deletionsgcc/testsuite/jit.dg/all-non-failing-tests.h
- gcc/testsuite/jit.dg/test-ggc-bugfix.c 34 additions, 0 deletionsgcc/testsuite/jit.dg/test-ggc-bugfix.c
- gcc/toplev.cc 5 additions, 0 deletionsgcc/toplev.cc
Loading
Please register or sign in to comment