diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-07 19:38:04 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-07 19:38:04 +0000 |
commit | 344f3f9eb99d8572f342b42fbf04d0d3a90a19df (patch) | |
tree | 8631ac3413ef224d9bd0f2b9ae942587cfb177c7 /gcc/optabs.c | |
parent | f2c4656b63eabfa11fac30b99ae6c972dbc1a1b5 (diff) | |
download | gcc-344f3f9eb99d8572f342b42fbf04d0d3a90a19df.tar.gz |
* optabs.c (expand_float): Search wider integer modes first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62535 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 92bfc359111..6fcdb1d9611 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; |