This is the mail archive of the
mailing list for the GCC project.
[committed] Fix reload assert due to CLOBBER_HIGH support
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 6 Aug 2018 07:48:37 -0600
- Subject: [committed] Fix reload assert due to CLOBBER_HIGH support
forget_old_reloads_1 can be called with NULL_RTX for SETTER which causes
a segfault in the assert that SETTER is not a CLOBBER_HIGH expression
(see the call from within reload_as_needed)
forget_old_reloads_1 (XEXP (in_reg, 0), NULL_RTX, NULL);
Clearly this only happens on reload targets. Verified this fixed the
segfault my tester hit on c6x.
Installing as obvious.