[AVR] : Fix build warning in md.

Submitted by Georg-Johann Lay on June 21, 2011, 11:36 a.m.

Details

Message ID 4E008227.4070108@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay June 21, 2011, 11:36 a.m.
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.

Comments

Denis Chertykov June 21, 2011, 12:39 p.m.
2011/6/21 Georg-Johann Lay <avr@gjlay.de>:
> 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.

Please, commit.

Denis.

Patch hide | download patch | download mbox

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")])