summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-03 22:42:20 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-03 22:42:20 +0000
commit7a02b4da1b51da1d31730f97ba5d4e18d833a195 (patch)
treeb06e600bb678be6305dbf07842e1ba19c1f9ff99 /gcc/optabs.c
parent119a12ff1b0517c5684796cb4a7c41feea2ab287 (diff)
downloadgcc-7a02b4da1b51da1d31730f97ba5d4e18d833a195.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62353 138bc75d-0d04-0410-961f-82ee72b054a4
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 2b08f8efa57..92bfc359111 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 ();