diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-02 17:01:13 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-02 17:01:13 +0000 |
commit | 83e32a86ce5b5190303dafd4a0e4ccec84b73d23 (patch) | |
tree | 33e626ecf7d173a341ab289bdd457e7b358a8650 /gcc/emit-rtl.c | |
parent | c8e28f0bc980570ef2b0dc5dbf806e9c1bbe3a5d (diff) | |
download | gcc-83e32a86ce5b5190303dafd4a0e4ccec84b73d23.tar.gz |
* c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-tree.h: ... not here.
* errors.h: Prototype fancy_abort.
* emit-rtl.c (gen_lowpart_common): Move variable 'c' into
HOST_BITS_PER_WIDE_INT == 64 ifdef block.
* regrename.c (regrename_optimize): Make control flow explicit.
(replace_reg_in_block): Initialize reg_use to 0.
* i386.c (legitimate_address_p): Rename error label to
report_error to avoid namespace clash.
cp:
* cp-tree.h: Don't prototype min_precision here.
(my_friendly_assert): Cast expression to void.
* semantics.c (do_poplevel): Initialize scope_stmts.
f:
* expr.c (ffeexpr_finished_): Cast signed side of ?:
expression to bool.
java:
* class.c (build_dtable_decl): Initialize dummy.
intl:
* dcgettext.c (find_msg): Initialize act before loop.
(guess_category_value): Add dummy uses of both parameters.
* localealias.c (read_alias_file): Cast arg of strchr to char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35427 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 440009ba237..122c58570ea 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -931,7 +931,6 @@ gen_lowpart_common (mode, x) REAL_VALUE_TYPE r; long i[4]; /* Only the low 32 bits of each 'long' are used. */ int endian = WORDS_BIG_ENDIAN ? 1 : 0; - int c; REAL_VALUE_FROM_CONST_DOUBLE (r, x); switch (GET_MODE (x)) @@ -959,16 +958,20 @@ gen_lowpart_common (mode, x) #if HOST_BITS_PER_WIDE_INT == 32 return immed_double_const (i[endian], i[1-endian], mode); #else - if (HOST_BITS_PER_WIDE_INT != 64) - abort(); - for (c = 0; c < 4; c++) - i[c] &= 0xffffffffL; + { + int c; + + if (HOST_BITS_PER_WIDE_INT != 64) + abort(); + for (c = 0; c < 4; c++) + i[c] &= 0xffffffffL; - return immed_double_const (i[endian*3] | - (((HOST_WIDE_INT) i[1+endian]) << 32), - i[2-endian] | - (((HOST_WIDE_INT) i[3-endian*3]) << 32), - mode); + return immed_double_const (i[endian*3] | + (((HOST_WIDE_INT) i[1+endian]) << 32), + i[2-endian] | + (((HOST_WIDE_INT) i[3-endian*3]) << 32), + mode); + } #endif } #endif /* ifndef REAL_ARITHMETIC */ |