]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arc/arc.c
arc: Fixes for RTL checking
authorSegher Boessenkool <segher@kernel.crashing.org>
Fri, 24 Feb 2017 22:20:14 +0000 (23:20 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Fri, 24 Feb 2017 22:20:14 +0000 (23:20 +0100)
commit4173ddafe21fd49f78a69bc94f0ba4ccde118685
tree7bc401d180e27fa625214dac8c8bc7af6214a92b
parent4227c9adf01d5ada5eb7c868aa104167c2a01983
arc: Fixes for RTL checking

* config/arc/arc.c (arc_ccfsm_advance): Only take the PATTERN of
this_insn if it is an INSN or JUMP_INSN.
(force_offsettable): Look at base, not at addr.
* config/arc/predicates.md (brcc_nolimm_operator): Don't call INTVAL
on things that aren' necessarily CONST_INTs.

From-SVN: r245720
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/config/arc/predicates.md