This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, AVR]: Fix build warning in md.
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Denis Chertykov <chertykov at gmail dot com>, Anatoly Sokolov <aesok at post dot ru>, "Eric B. Weddington" <eric dot weddington at atmel dot com>
- Date: Tue, 21 Jun 2011 13:36:07 +0200
- Subject: [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")])