2017-02-24 Segher Boessenkool <segher@kernel.crashing.org>
commit6af3f2419ecad247057c281f2bdee5c9785eba59
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Feb 2017 22:35:18 +0000 (24 22:35 +0000)
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Feb 2017 22:35:18 +0000 (24 22:35 +0000)
treeed6039601e79f32a051b87a579fcd18d0f7f780c
parent758b15525c540bf53da336813a4a5269af99b5c0
2017-02-24  Segher Boessenkool  <segher@kernel.crashing.org>
    Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* config/nios2/nios2.c (nios2_simple_const_p): Returns false if the
argument isn't a CONST_INT.
(nios2_alternate_compare_const): Assert op is a CONST_INT.
(nios2_valid_compare_const_p): Assert op is a CONST_INT.
(nios2_validate_compare): Bypass alternate compare logic if *op2
is not a CONST_INT.
(ldstwm_operation_p): Return false if first_base is not a REG or
if first_offset is not a CONST_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245724 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nios2/nios2.c