Summary: | [11/12/13/14 Regression] m32c ICE in leaf_function_p, at final.c:4368 | ||
---|---|---|---|
Product: | gcc | Reporter: | Sebastian Huber <sebastian.huber> |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | normal | CC: | dj_adilovic, jbglaw, joel, mike, vehre |
Priority: | P4 | Keywords: | ice-on-valid-code |
Version: | 8.0 | ||
Target Milestone: | 11.5 | ||
Host: | Target: | m32c-rtems5 | |
Build: | Known to work: | 4.8.3 | |
Known to fail: | 8.0 | Last reconfirmed: | 2019-02-26 00:00:00 |
Attachments: |
Test program.
Prevent the ICE ICE report |
Description
Sebastian Huber
2018-01-03 14:19:25 UTC
*** Bug 89515 has been marked as a duplicate of this bug. *** Exposed by https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01027.html . The value might already be cached by the time we call leaf_function_p in crtl->is_leaf which can be used here instead. Related to the similar issue on mmix: PR 85666. *** Bug 95099 has been marked as a duplicate of this bug. *** GCC 8 branch is being closed. GCC 9.4 is being released, retargeting bugs to GCC 9.5. *** Bug 81804 has been marked as a duplicate of this bug. *** GCC 9 branch is being closed GCC 10.4 is being released, retargeting bugs to GCC 10.5. Created attachment 53966 [details]
Prevent the ICE
I have no clue whether the attached patch is any good. It makes compile of libgcc continue somewhat further, but then it fails when assigning registers for a jump_ins.
Created attachment 54511 [details]
ICE report
This is the -freport-bug output for an m32c build on GCC 12.1.0
*** Bug 109026 has been marked as a duplicate of this bug. *** GCC 10 branch is being closed. |