aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-02-03 14:42:20 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-02-03 14:42:20 -0800
commitdabb3f04da95f2cdbe4b713d3e997dfb67b87ca0 (patch)
treeb06e600bb678be6305dbf07842e1ba19c1f9ff99 /gcc/optabs.c
parentd074ed7c016d74f5305d482e5a2b685920802a4d (diff)
downloadgcc-dabb3f04da95f2cdbe4b713d3e997dfb67b87ca0.zip
gcc-dabb3f04da95f2cdbe4b713d3e997dfb67b87ca0.tar.gz
gcc-dabb3f04da95f2cdbe4b713d3e997dfb67b87ca0.tar.bz2
libgcc2.c (__ffsdi2, [...]): Change return type to "int".
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2, __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change return type to "int". Shuffle declarations and undef int trap. * libgcc2.h: Remove their declarations. * optabs.c (expand_unop): Force outmode to int for bitops. From-SVN: r62353
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 2b08f8e..92bfc35 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -2675,7 +2675,7 @@ expand_unop (mode, unoptab, op0, target, unsignedp)
have them return something that isn't a double-word. */
if (unoptab == ffs_optab || unoptab == clz_optab || unoptab == ctz_optab
|| unoptab == popcount_optab || unoptab == parity_optab)
- outmode = word_mode;
+ outmode = TYPE_MODE (integer_type_node);
start_sequence ();