diff options
author | DJ Delorie <dj@redhat.com> | 2004-12-10 22:04:41 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2004-12-10 22:04:41 +0000 |
commit | 40a59a4c4605b06ba043814f54b06f5dbf95c677 (patch) | |
tree | 2214d6053d76dfa14ca0d9181e5e5ba9c5fa0eb1 /include | |
parent | c51015756801ddc31073da83c88281fe5b9aef0e (diff) | |
download | gdb-40a59a4c4605b06ba043814f54b06f5dbf95c677.zip gdb-40a59a4c4605b06ba043814f54b06f5dbf95c677.tar.gz gdb-40a59a4c4605b06ba043814f54b06f5dbf95c677.tar.bz2 |
merge from gcc
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/fibheap.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 33157f3..1985709 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2004-12-11 Ben Elliston <bje@au.ibm.com> + + * fibheap.h (struct fibnode): Only use unsigned long bitfields + when __GNUC__ is defined and ints are less than 32-bits wide. + 2004-11-29 Tomer Levi <Tomer.Levi@nsc.com> * opcode/crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4. diff --git a/include/fibheap.h b/include/fibheap.h index 4eebaf1..e1e843d 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 |