Patchwork RFA: Fix fr30 --enable-werror-always build

login
register
mail settings
Submitter Joern Rennecke
Date Nov. 11, 2010, 9:23 p.m.
Message ID <20101111162323.wafeb2h81wkssko4-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/70882/
State New
Headers show

Comments

Joern Rennecke - Nov. 11, 2010, 9:23 p.m.
built on i686-pc-linux-gnu with gcc (GCC) 4.6.0 20101111 (experimental) .
2010-11-11  Joern Rennecke  <amylaar@spamcop.net>

	PR target/46431
	* config/fr30/fr30.md (*movsf_constant_store): Remove duplicated
	assignment.
Richard Henderson - Nov. 12, 2010, 5:29 p.m.
On 11/11/2010 01:23 PM, Joern Rennecke wrote:
> 	PR target/46431
> 	* config/fr30/fr30.md (*movsf_constant_store): Remove duplicated
> 	assignment.

Ok.


r~
Nick Clifton - Nov. 15, 2010, 9:46 a.m.
Hi Joern,

> 2010-11-11  Joern Rennecke  <amylaar@spamcop.net>
>
> 	PR target/46431
> 	* config/fr30/fr30.md (*movsf_constant_store): Remove duplicated
> 	assignment.

Approved - please apply.

Cheers
   Nick

Patch

Index: config/fr30/fr30.md
===================================================================
--- config/fr30/fr30.md	(revision 166609)
+++ config/fr30/fr30.md	(working copy)
@@ -579,8 +579,7 @@  (define_insn "*movsf_constant_store"
   const char *    tmp_reg;
   static char     buffer[100];
 
-  ldi_instr = fr30_const_double_is_zero (operands[1])
-	    ? ldi_instr = \"ldi:8\" : \"ldi:32\";
+  ldi_instr = fr30_const_double_is_zero (operands[1]) ? \"ldi:8\" : \"ldi:32\";
 
   tmp_reg = reg_names [COMPILER_SCRATCH_REGISTER];