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]

[Patch, AVR]: Fix build warning in md.


gen machinery comes up with a build warning:

../../../gcc.gnu.org/trunk/gcc/config/avr/avr.md:2763: '@' is
redundant for output template with single alternative

There is @ asm template selector for insn with just one alternative.

This trivial patch fixes that.

Johann

	* config/avr/avr.md (*jcindirect_jump): Fix build warning.

Index: config/avr/avr.md
===================================================================
--- config/avr/avr.md	(revision 175201)
+++ config/avr/avr.md	(working copy)
@@ -2763,8 +2763,7 @@ (define_expand "indirect_jump"
 (define_insn "*jcindirect_jump"
   [(set (pc) (match_operand:HI 0 "immediate_operand" "i"))]
   ""
-  "@
-  	%~jmp %x0"
+  "%~jmp %x0"
   [(set_attr "length" "2")
    (set_attr "cc" "none")])


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