aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorAndrey Petrov <petrov@netbsd.org>2003-02-07 19:38:04 +0000
committerRichard Henderson <rth@gcc.gnu.org>2003-02-07 11:38:04 -0800
commit7bf0a5935361a7af3bf7823d6733c2f691a7529f (patch)
tree8631ac3413ef224d9bd0f2b9ae942587cfb177c7 /gcc/optabs.c
parent01e4596e4ee45d69e626814515f4aa7ee582b5fd (diff)
downloadgcc-7bf0a5935361a7af3bf7823d6733c2f691a7529f.zip
gcc-7bf0a5935361a7af3bf7823d6733c2f691a7529f.tar.gz
gcc-7bf0a5935361a7af3bf7823d6733c2f691a7529f.tar.bz2
* optabs.c (expand_float): Search wider integer modes first.
From-SVN: r62535
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 92bfc35..6fcdb1d 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -4807,10 +4807,10 @@ expand_float (to, from, unsignedp)
wider mode. If the integer mode is wider than the mode of FROM,
we can do the conversion signed even if the input is unsigned. */
- for (imode = GET_MODE (from); imode != VOIDmode;
- imode = GET_MODE_WIDER_MODE (imode))
- for (fmode = GET_MODE (to); fmode != VOIDmode;
- fmode = GET_MODE_WIDER_MODE (fmode))
+ for (fmode = GET_MODE (to); fmode != VOIDmode;
+ fmode = GET_MODE_WIDER_MODE (fmode))
+ for (imode = GET_MODE (from); imode != VOIDmode;
+ imode = GET_MODE_WIDER_MODE (imode))
{
int doing_unsigned = unsignedp;