From 89d6e979f6e51927c13633bc1c374b05a37d0238 Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 30 Mar 2000 03:23:37 +0000 Subject: Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch" branch as of March 29th, 2000. [these are changes March 7-29th] --- contrib/gcc/ChangeLog | 21 +++++++++++++++++++++ contrib/gcc/f/ChangeLog | 4 ++++ contrib/gcc/f/stw.h | 2 +- contrib/gcc/glimits.h | 2 +- contrib/libobjc/ChangeLog | 5 +++++ contrib/libobjc/objc/Protocol.h | 2 +- contrib/libobjc/objc/objc-list.h | 2 +- contrib/libstdc++/ChangeLog | 4 ++++ contrib/libstdc++/std/bastring.h | 3 +++ 9 files changed, 41 insertions(+), 4 deletions(-) diff --git a/contrib/gcc/ChangeLog b/contrib/gcc/ChangeLog index 8e83eb9a..f1364d1 100644 --- a/contrib/gcc/ChangeLog +++ b/contrib/gcc/ChangeLog @@ -1,3 +1,24 @@ +Wed Mar 22 13:11:54 2000 David Edelsohn + + * rs6000.c (reg_or_u_cint_operand): New function. + (logical_operand): Handle 64-bit hosts. + (logical_u_operand): New function. + (non_logical_cint_operand): Handle 64-bit hosts. + (non_logical_u_cint_operand): New function. + (expand_block_move): Allow 8 DImode loads for PowerPC64. + * rs6000.h (PREDICATE_CODES): Define new functions. + * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits. + (movdi_64): Bracket code intended for 64-bit hosts. Create + CONST_DOUBLE for 32-bit values. + + * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too. + +Wed Mar 22 13:11:54 2000 Gabriel Paubert + + * rs6000.md: Correct instructions length attributes and + constraints on unsigned compare instructions. + (*ne0): Disable for PowerPC64. + Tue Mar 7 21:41:17 2000 Jeffrey A Law (law@cygnus.com) * cccp.c (handle_directive): Initialize backslash_newlines_p. diff --git a/contrib/gcc/f/ChangeLog b/contrib/gcc/f/ChangeLog index bc62110..47a745e 100644 --- a/contrib/gcc/f/ChangeLog +++ b/contrib/gcc/f/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 13 01:00:55 2000 Toon Moene + + * stw.h (struct _ffestw_): Change type of uses_ to int. + Fri Feb 18 13:36:50 2000 Martin von Loewis * g77spec.c (lang_specific_driver): Use GCCBUGURL. diff --git a/contrib/gcc/f/stw.h b/contrib/gcc/f/stw.h index 58818a6..554d047 100644 --- a/contrib/gcc/f/stw.h +++ b/contrib/gcc/f/stw.h @@ -70,7 +70,7 @@ struct _ffestw_ ffewhereLine line_; /* Where first token of statement triggering state */ ffewhereColumn col_; /* was seen in source file. */ - char uses_; /* # uses (new+use-kill calls). */ + int uses_; /* # uses (new+use-kill calls). */ ffestvState state_; int substate_; /* Used on a per-block-state basis. */ #if FFECOM_targetCURRENT == FFECOM_targetGCC diff --git a/contrib/gcc/glimits.h b/contrib/gcc/glimits.h index 559e712..2878051 100644 --- a/contrib/gcc/glimits.h +++ b/contrib/gcc/glimits.h @@ -64,7 +64,7 @@ /* Minimum and maximum values a `signed long int' can hold. (Same as `int'). */ #ifndef __LONG_MAX__ -#if defined (__alpha__) || defined (__sparc_v9__) || defined (__sparcv9) +#if defined (__alpha__) || (defined (_ARCH_PPC) && defined (__64BIT__)) || defined (__sparc_v9__) || defined (__sparcv9) #define __LONG_MAX__ 9223372036854775807L #else #define __LONG_MAX__ 2147483647L diff --git a/contrib/libobjc/ChangeLog b/contrib/libobjc/ChangeLog index 155c8f5..34230f6 100644 --- a/contrib/libobjc/ChangeLog +++ b/contrib/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2000-03-29 Zack Weinberg + + * objc/Protocol.h, objc/objc-list.h: Change #endif labels to + comments. + Sun Oct 24 23:54:10 PDT 1999 Jeff Law (law@cygnus.com) * gcc-2.95.2 Released. diff --git a/contrib/libobjc/objc/Protocol.h b/contrib/libobjc/objc/Protocol.h index c7464cf..f54b7cd 100644 --- a/contrib/libobjc/objc/Protocol.h +++ b/contrib/libobjc/objc/Protocol.h @@ -55,4 +55,4 @@ Boston, MA 02111-1307, USA. */ -#endif __Protocol_INCLUDE_GNU +#endif /* not __Protocol_INCLUDE_GNU */ diff --git a/contrib/libobjc/objc/objc-list.h b/contrib/libobjc/objc/objc-list.h index 1976090..de083a5 100644 --- a/contrib/libobjc/objc/objc-list.h +++ b/contrib/libobjc/objc/objc-list.h @@ -144,4 +144,4 @@ list_free(struct objc_list* list) objc_free(list); } } -#endif __GNU_OBJC_LIST_H +#endif /* not __GNU_OBJC_LIST_H */ diff --git a/contrib/libstdc++/ChangeLog b/contrib/libstdc++/ChangeLog index 18e557a..a358e5d 100644 --- a/contrib/libstdc++/ChangeLog +++ b/contrib/libstdc++/ChangeLog @@ -1,3 +1,7 @@ +2000-03-12 Gabriel Dos Reis + + * std/bastring.h (basic_string<>::push_back): Define. + Tue Mar 7 21:37:56 2000 Jeffrey A Law (law@cygnus.com) 1999-11-19 Gabriel Dos Reis diff --git a/contrib/libstdc++/std/bastring.h b/contrib/libstdc++/std/bastring.h index cd3793f..bbe8730 100644 --- a/contrib/libstdc++/std/bastring.h +++ b/contrib/libstdc++/std/bastring.h @@ -208,6 +208,9 @@ public: #endif { return replace (iend (), iend (), first, last); } + void push_back(charT __c) + { append(1, __c); } + basic_string& assign (const basic_string& str, size_type pos = 0, size_type n = npos) { return replace (0, npos, str, pos, n); } -- cgit v1.1