summaryrefslogtreecommitdiff
path: root/include/fibheap.h
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2004-12-10 21:25:00 +0000
committerBen Elliston <bje@gcc.gnu.org>2004-12-11 08:25:00 +1100
commitd49d090735d64081c451de95145981f9cf47ba6f (patch)
tree2fdc9b1c9e88cdb423dd4e3adb701600864fb2bd /include/fibheap.h
parentda0e2953e4712ceff5b9e51119c9389ea13d66c2 (diff)
downloadgcc-d49d090735d64081c451de95145981f9cf47ba6f.tar.gz
fibheap.h (struct fibnode): Only use unsigned long bitfields when __GNUC__ is defined and ints are less...
[include] * fibheap.h (struct fibnode): Only use unsigned long bitfields when __GNUC__ is defined and ints are less than 32-bits wide. [libiberty] * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int). * configure: Regenerate. * config.in: Likewise. From-SVN: r92009
Diffstat (limited to 'include/fibheap.h')
-rw-r--r--include/fibheap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fibheap.h b/include/fibheap.h
index 4eebaf13ba6..e1e843ddbb1 100644
--- a/include/fibheap.h
+++ b/include/fibheap.h
@@ -59,7 +59,7 @@ typedef struct fibnode
struct fibnode *right;
fibheapkey_t key;
void *data;
-#ifdef __GNUC__
+#if defined (__GNUC__) && (!defined (SIZEOF_INT) || SIZEOF_INT < 4)
__extension__ unsigned long int degree : 31;
__extension__ unsigned long int mark : 1;
#else