diff mbox

[committed] Fix handling of constant doubles in expand_mult

Message ID 20120730155047.GA28611@hiauly1.hia.nrc.ca
State New
Headers show

Commit Message

John David Anglin July 30, 2012, 3:50 p.m. UTC
Committed as obvious.

Tested on hppa2.0w-hp-hpux11.11 and hppa-unknown-linux-gnu.

Dave
diff mbox

Patch

Index: expmed.c
===================================================================
--- expmed.c	(revision 189920)
+++ expmed.c	(working copy)
@@ -3176,8 +3176,8 @@ 
   if (INTEGRAL_MODE_P (mode))
     {
       rtx fake_reg;
-      HOST_WIDE_INT coeff = 0;
-      bool is_neg = false;
+      HOST_WIDE_INT coeff;
+      bool is_neg;
       int mode_bitsize;
 
       if (op1 == CONST0_RTX (mode))
@@ -3230,6 +3230,8 @@ 
 		}
 	      goto skip_synth;
 	    }
+	  else
+	    goto skip_synth;
 	}
       else
 	goto skip_synth;