[Bug rtl-optimization/86882] [9 Regression] ICE in reg_overlap_mentioned_p, at rtlanal.c:1873

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 18 16:26:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86882

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Tue Sep 18 16:19:56 2018
New Revision: 264400

URL: https://gcc.gnu.org/viewcvs?rev=264400&root=gcc&view=rev
Log:
Handle CLOBBER in reg_overlap_mentioned_p (PR86882)

Combine will put CLOBBER (with a non-void mode) anywhere in a pattern
to poison it.  reg_overlap_mentioned_p did not handle this.  This patch
fixes that.


        PR rtl-optimization/86882
        * rtlanal.c (reg_overlap_mentioned_p): Handle CLOBBER.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/rtlanal.c


More information about the Gcc-bugs mailing list