This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: Fix typo in low_io_address_operand


I forgot the 'x' number base specifier in r216034.
Committed as obvious.
2014-11-09  Joern Rennecke  <joern.rennecke@embecosm.com>

	* config/avr/predicates.md (low_io_address_operand): Fix typo.

Index: config/avr/predicates.md
===================================================================
--- config/avr/predicates.md	(revision 217265)
+++ config/avr/predicates.md	(working copy)
@@ -46,7 +46,7 @@ (define_predicate "stack_register_operan
 (define_special_predicate "low_io_address_operand"
   (ior (and (match_code "const_int")
 	    (match_test "IN_RANGE (INTVAL (op) - avr_current_arch->sfr_offset,
-				   0, 020 - GET_MODE_SIZE (mode))"))
+				   0, 0x20 - GET_MODE_SIZE (mode))"))
        (and (match_code "symbol_ref")
 	    (match_test "SYMBOL_REF_FLAGS (op) & SYMBOL_FLAG_IO_LOW"))))
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]