OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
ljrittle [Tue, 29 Apr 2003 21:57:39 +0000 (21:57 +0000)]
2003-04-29 Joel Sherrill  <joel.sherrill@OARcorp.com>
   Loren J. Rittle <ljrittle@acm.org>
   Martin v. Loewis  <martin@v.loewis.de>

* config/cpu/i386/atomicity.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66261 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * calls.c (expand_call): When modes of target and valreg match, force
kenner [Tue, 29 Apr 2003 21:47:42 +0000 (21:47 +0000)]
* calls.c (expand_call): When modes of target and valreg match, force
sibcall failure when target is a MEM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66260 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/10549
mmitchel [Tue, 29 Apr 2003 21:28:41 +0000 (21:28 +0000)]
PR c++/10549
* class.c (layout_class_type): Mark overlong bitfields as having
the maximum size permitted by their type, after layout.

PR c++/10549
* g++.dg/other/bitfield1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66257 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/invoke.texi (Overall Options): Mention -x objective-c-header.
geoffk [Tue, 29 Apr 2003 20:45:55 +0000 (20:45 +0000)]
* doc/invoke.texi (Overall Options): Mention -x objective-c-header.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66254 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * dwarf2out.c (output_call_frame_info): No need to output EH
geoffk [Tue, 29 Apr 2003 20:42:55 +0000 (20:42 +0000)]
* dwarf2out.c (output_call_frame_info): No need to output EH
unwind information if all_throwers_are_sibcalls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66253 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-semantics.c (expand_unreachable_stmt): Return a tree.
geoffk [Tue, 29 Apr 2003 20:39:12 +0000 (20:39 +0000)]
* c-semantics.c (expand_unreachable_stmt): Return a tree.
(expand_stmt): Update for change to expand_unreachable_stmt.
(expand_unreachable_if_stmt): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66252 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
geoffk [Tue, 29 Apr 2003 20:34:45 +0000 (20:34 +0000)]
* Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66251 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR middle-end/10336
jason [Tue, 29 Apr 2003 20:25:11 +0000 (20:25 +0000)]
    PR middle-end/10336
        * jump.c (never_reached_warning): Really stop looking if we reach
        the beginning of the function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66249 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/10527
mmitchel [Tue, 29 Apr 2003 20:17:00 +0000 (20:17 +0000)]
PR c++/10527
* error.c (dump_expr): Correctly handling of NEW_EXPR.4

PR c++/10527
* g++.dg/init/new7.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66247 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-29 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 29 Apr 2003 19:46:07 +0000 (19:46 +0000)]
2003-04-29  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (open): Change to single return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66245 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX):
bwilson [Tue, 29 Apr 2003 18:56:53 +0000 (18:56 +0000)]
* config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX):
Remove redundant macros.
(WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int".
(LOCAL_LABEL_PREFIX): Define unconditionally.
(NO_DOT_IN_LABEL): Clarify comment.
* config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit
definition to "long int".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66242 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago bootstrap/10452
ljrittle [Tue, 29 Apr 2003 18:51:38 +0000 (18:51 +0000)]
bootstrap/10452
* gengtype-yacc.y: Improve portability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66239 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config.gcc: Install obsolete target list for GCC 3.3.
zack [Tue, 29 Apr 2003 18:47:40 +0000 (18:47 +0000)]
* config.gcc: Install obsolete target list for GCC 3.3.
* doc/install.texi: Mention in specific-target instructions
that certain configurations are deprecated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66238 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/10515
mmitchel [Tue, 29 Apr 2003 18:26:47 +0000 (18:26 +0000)]
PR c++/10515
* cp-tree.h (lookup_field_1): Declare it.
* search.c (lookup_field_1): Make it public.
* decl.c (reshape_init): Handle designated initializers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66236 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/10515
mmitchel [Tue, 29 Apr 2003 18:00:23 +0000 (18:00 +0000)]
PR c++/10515
* g++.dg/ext/desig1.C: New test.
* g++.dg/ext/init1.C: Likewise.

PR c++/10515
* cp-tree.h (lookup_field_1): Declare it.
* search.c (lookup_field_1): Make it public.
* decl.c (reshape_init): Handle designated initializers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66235 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-29 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 29 Apr 2003 17:47:38 +0000 (17:47 +0000)]
2003-04-29  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_sstream.h (underflow): Change to single return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66234 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.
zack [Tue, 29 Apr 2003 17:10:48 +0000 (17:10 +0000)]
* tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66233 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
lerdsuwa [Tue, 29 Apr 2003 14:16:48 +0000 (14:16 +0000)]
* c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
* gcc.c (display_help): Likewise.
* toplev.c (f_options): Likewise.
* params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
* config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
* config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
* config/s390/s390.h (TARGET_SWITCHES): Likewise.
* config/v850/v850.h (TARGET_SWITCHES): Likewise.

* call.c (build_operator_new_call): Fix typo.
* lang-options.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66228 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
ljrittle [Tue, 29 Apr 2003 12:52:57 +0000 (12:52 +0000)]
* config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
(SET_ASM_OP): New macro.
(HANDLE_SYSV_PRAGMA): New macro.
(ASM_WEAKEN_LABEL): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66223 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoTwo little fixes I commited to classpath but not to libgcj first
mkoch [Tue, 29 Apr 2003 12:34:49 +0000 (12:34 +0000)]
Two little fixes I commited to classpath but not to libgcj first

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66222 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-29 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 29 Apr 2003 12:31:25 +0000 (12:31 +0000)]
2003-04-29  Michael Koch  <konqueror@gmx.de>

* javax/swing/JTable.java
(AUTO_RESIZE_ALL_COLUMNS): New constant.
(AUTO_RESIZE_LAST_COLUMN): New constant.
(AUTO_RESIZE_NEXT_COLUMN): New constant.
(AUTO_RESIZE_OFF): New constant.
(AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
(JTable): New method.
(columnAdded): New method.
(columnMarginChanged): New method.
(columnMoved): New method.
(columnRemoved): New method.
(columnSelectionChanged): New method.
(editingCanceled): New method.
(editingStopped): New method.
(getColumnModel): New method.
(getPreferredScrollableViewportSize): New method.
(getScrollableBlockIncrement): New method.
(getScrollableTracksViewportHeight): New method.
(getScrollableTracksViewportWidth): New method.
(getScrollableUnitIncrement): New method.
(getSelectedRow): New method.
(getSelectionModel): New method.
(tableChanged): New method.
(setModel): New method.
(setSelectionMode): New method.
(setSelectionModel): New method.
(setShowGrid): New method.
(valueChanged): New method.
* javax/swing/text/DefaultEditorKit.java
(backwardAction): New constant.
(beepAction): New constant.
(beginAction): New constant.
(beginLineAction): New constant.
(beginParagraphAction): New constant.
(beginWordAction): New constant.
(copyAction): New constant.
(cutAction): New constant.
(defaultKeyTypedAction): New constant.
(deleteNextCharAction): New constant.
(deletePrevCharAction): New constant.
(downAction): New constant.
(endAction): New constant.
(endLineAction): New constant.
(endOfLineStringProperty): New constant.
(endParagraphAction): New constant.
(endWordAction): New constant.
(forwardAction): New constant.
(insertBreakAction): New constant.
(insertContentAction): New constant.
(insertTabAction): New constant.
(nextWordAction): New constant.
(pageDownAction): New constant.
(pageUpAction): New constant.
(pasteAction): New constant.
(previousWordAction): New constant.
(readOnlyAction): New constant.
(selectAllAction): New constant.
(selectionBackwardAction): New constant.
(selectionBeginAction): New constant.
(selectionBeginLineAction): New constant.
(selectionBeginParagraphAction): New constant.
(selectionBeginWordAction): New constant.
(selectionDownAction): New constant.
(selectionEndAction): New constant.
(selectionEndLineAction): New constant.
(selectionEndParagraphAction): New constant.
(selectionEndWordAction): New constant.
(selectionForwardAction): New constant.
(selectionNextWordAction): New constant.
(selectionPreviousWordAction): New constant.
(selectionUpAction): New constant.
(selectLineAction): New constant.
(selectParagraphAction): New constant.
(selectWordAction): New constant.
(upAction): New constant.
(writableAction): New constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66221 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * varasm.c (default_assemble_visibility): Use assemble_name.
amylaar [Tue, 29 Apr 2003 12:18:17 +0000 (12:18 +0000)]
* varasm.c (default_assemble_visibility): Use assemble_name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66220 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
ljrittle [Tue, 29 Apr 2003 12:01:59 +0000 (12:01 +0000)]
* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
(SIZE_TYPE): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66217 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
ljrittle [Tue, 29 Apr 2003 11:42:16 +0000 (11:42 +0000)]
* config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66215 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-29 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 29 Apr 2003 11:36:34 +0000 (11:36 +0000)]
2003-04-29  Michael Koch  <konqueror@gmx.de>

* java/util/PropertyPermission.java:
New version from classpath
* java/util/ResourceBundle.java:
Partly merged from classpath
(getObject): Reformated.
(tryBundle): Set foundBundle = null if no bundle found.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66214 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-29 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 29 Apr 2003 09:26:29 +0000 (09:26 +0000)]
2003-04-29  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractListModel.java,
javax/swing/DefaultBoundedRangeModel.java,
javax/swing/DefaultSingleSelectionModel.java:
New Versions from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66212 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-29 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 29 Apr 2003 07:51:46 +0000 (07:51 +0000)]
2003-04-29  Michael Koch  <konqueror@gmx.de>

* java/awt/Window.java
(show): Call super.show() instead of setVisible() to avoid endless
loop.
(hide): Call super.hide() instead of setVisible() to avoid endless
loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66208 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-29 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 29 Apr 2003 07:37:14 +0000 (07:37 +0000)]
2003-04-29  Michael Koch  <konqueror@gmx.de>

* java/util/zip/Deflater.java,
java/util/zip/DeflaterOutputStream.java:
Partly merged with classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66207 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoRemove accidental commit
mmitchel [Tue, 29 Apr 2003 07:35:47 +0000 (07:35 +0000)]
Remove accidental commit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66206 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl.c (maybe_commonize_var): Further tweak support for systems
mmitchel [Tue, 29 Apr 2003 07:13:33 +0000 (07:13 +0000)]
* decl.c (maybe_commonize_var): Further tweak support for systems
without weak symbols.

* g++.old-deja/g++.pt/deduct5.C: Remove unnecessary initializer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66205 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix date typo.
ljrittle [Tue, 29 Apr 2003 03:54:23 +0000 (03:54 +0000)]
Fix date typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66203 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/10180
mmitchel [Tue, 29 Apr 2003 03:24:27 +0000 (03:24 +0000)]
PR c++/10180
* tree-inline.c (expand_call_inline): Call push_srcloc when
encountering EXPR_WITH_FILE_LOCATION.  Honor warn_inline.

PR c++/10180
* g++.dg/warn/Winline-1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66202 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Tue, 29 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66200 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 28 Apr 2003 23:51:37 +0000 (23:51 +0000)]
2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_M_buf): is currently
used only for basic_filebuf, therefore move it there.
(basic_streambuf(), ~basic_streambuf()): Adjust.
* include/std/std_fstream.h (_M_buf): Moved here.
* include/std/std_sstream.h (setbuf): Don't set _M_buf,
is actually redundant for basic_stringbuf.
(_M_really_sync): Likewise.
* include/bits/fstream.tcc (basic_filebuf()): Adjust.
* include/bits/sstream.tcc (seekoff): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66193 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 28 Apr 2003 23:05:57 +0000 (23:05 +0000)]
2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>

* src/localename.cc: Standardize exception strings.
* src/locale.cc: Same.
* src/ios.cc: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/std/std_bitset.h: Same.
* include/ext/ropeimpl.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_bvector.h: Same.
* config/locale/generic/c_locale.cc: Same.
* config/locale/gnu/c_locale.cc: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.

* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66192 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 28 Apr 2003 23:02:46 +0000 (23:02 +0000)]
2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_M_buf_size): is currently
used only for basic_filebuf, therefore move it there.
(basic_streambuf(), ~basic_streambuf()): Adjust.
* include/std/std_fstream.h (_M_buf_size): Moved here.
* include/bits/fstream.tcc (basic_filebuf()): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66191 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 28 Apr 2003 22:15:58 +0000 (22:15 +0000)]
2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/streambuf.tcc (__copy_streambufs): Don't use
_M_buf_size (synced input is now correctly dealt with
elsewhere); when the output buffer is full don't fall back
to a snextc-sputc loop, call overflow instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66190 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 28 Apr 2003 21:28:25 +0000 (21:28 +0000)]
2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
the innermost 'if' by factoring out some code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66187 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gdbinit.in: Update to reflect new identifier structure.
mrs [Mon, 28 Apr 2003 21:24:06 +0000 (21:24 +0000)]
* gdbinit.in: Update to reflect new identifier structure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66186 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 28 Apr 2003 21:03:19 +0000 (21:03 +0000)]
2003-04-28  Phil Edwards  <pme@gcc.gnu.org>

* configure.in:  Test for libintl.h.
* include/bits/c++config:  Define __N for everybody.
* include/bits/basic_string.h, include/bits/stl_bvector.h,
include/bits/stl_deque.h, include/bits/stl_vector.h,
include/std/std_bitset.h:  Wrap all __throw* text with __N.
* po/Makefile.am (pot):  New rule, mostly working.
* src/functexcept.cc:  Call gettext on all __throw* arguments when
-fexceptions is in effect.
* po/Makefile.in, config.h.in, configure:  Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66185 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Mohan Embar <gnustuff@thisiscool.com>
tromey [Mon, 28 Apr 2003 20:54:37 +0000 (20:54 +0000)]
2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>

* configure.in: define GC_DLL under mingw if --enable-shared
* configure: rebuilt
* win32_threads.c: add #ifdef GC_DLL around DllMain

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66183 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
zack [Mon, 28 Apr 2003 20:02:28 +0000 (20:02 +0000)]
* tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
(struct tree_int_cst, struct tree_real_cst, struct tree_string,
struct tree_complex, struct tree_vector): Remove RTL field.
(CONSTRUCTOR_ELTS): Use elt 0.
* tree.def (CONSTRUCTOR): Delete first of its two operands.
* varasm.c (output_constant_def): Remove early exit if
TREE_CST_RTL is set.  Don't set TREE_CST_RTL.
(decode_addr_const): Don't mention TREE_CST_RTL in comment.
* target.h (select_section): Don't mention TREE_CST_RTL in comment.
* doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.

ada:
* utils.c (convert): No need to clear TREE_CST_RTL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66182 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * c-decl.c (finish_decl): When prototype with asmspec is found
jakub [Mon, 28 Apr 2003 19:58:52 +0000 (19:58 +0000)]
* c-decl.c (finish_decl): When prototype with asmspec is found
for built-in, adjust built_in_decls as well as expr.c decls.
* expr.c (init_block_move_fn, init_block_clear_fn): New functions.
(emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
* expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.

* gcc.c-torture/execute/string-opt-asm-1.c: New test.
* gcc.c-torture/execute/string-opt-asm-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66181 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/lang/natString.cc (_Jv_AllocString): Initialize
tromey [Mon, 28 Apr 2003 18:19:23 +0000 (18:19 +0000)]
* java/lang/natString.cc (_Jv_AllocString): Initialize
cachedHashCode.
(init): Likewise.
(_Jv_NewStringUtf8Const): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66180 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
rth [Mon, 28 Apr 2003 17:58:02 +0000 (17:58 +0000)]
    * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
        * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
        integral constant mult operand.
        (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
        (const_smulsi3_highpart_v8plus): Likewise.
        (const_smulsi3_highpart): Likewise.
        (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
        (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
        (const_umulsi3_highpart_v8plus): Likewise.
        (const_umulsi3_highpart): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66179 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Petur Runolfsson <peturr02@ru.is>
bkoz [Mon, 28 Apr 2003 17:15:03 +0000 (17:15 +0000)]
2003-04-28  Petur Runolfsson  <peturr02@ru.is>

        PR libstdc++/9523
        * include/bits/ios_base.h (Init::_S_ios_create,
        Init::_S_ios_destroy):  Remove declarations.
        (Init::_S_create_buffers,
        Init::_S_destroy_buffers):  Declare
        * src/ios.cc (Init::_S_ios_create):  Remove
        (Init::_S_create_buffers):  Create buffers and add to streams.
        (Init::_S_ios_destroy):  Rename to...
        (Init::_S_destroy_buffers):  this.
        (Init::Init):  Only construct streams once.
        (Init::~Init):  Flush streams, don't destroy them.
        (ios_base::sync_with_stdio):  Don't destroy streams, only buffers.
        * testsuite/27_io/ios_base/sync_with_stdio/9523.cc:  New test.
        * testsuite/27_io/objects/char/5.cc:  New test.
        * testsuite/27_io/objects/char/5268.cc:  Avoid undefined behavior.
        * testsuite/27_io/objects/char/6.cc:  New test.
        * testsuite/27_io/objects/char/7.cc:  New test.

2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>

        * testsuite/27_io/objects/char/8.cc:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66177 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 28 Apr 2003 15:30:25 +0000 (15:30 +0000)]
2003-04-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE):
Define as 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66174 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 David O'Brien <obrien@FreeBSD.org>
obrien [Mon, 28 Apr 2003 15:11:06 +0000 (15:11 +0000)]
2003-04-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66171 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 28 Apr 2003 14:30:07 +0000 (14:30 +0000)]
2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
* testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66170 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
jakub [Mon, 28 Apr 2003 12:10:35 +0000 (12:10 +0000)]
* builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
* builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
* builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
functions.
(expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.

* gcc.c-torture/execute/string-opt-19.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66169 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.
nickc [Mon, 28 Apr 2003 08:28:21 +0000 (08:28 +0000)]
* config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66156 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl.c (maybe_commonize_var): Fix thinko in last patch.
mmitchel [Mon, 28 Apr 2003 06:13:23 +0000 (06:13 +0000)]
* decl.c (maybe_commonize_var): Fix thinko in last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66154 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/10506
mmitchel [Mon, 28 Apr 2003 06:06:59 +0000 (06:06 +0000)]
PR c++/10506
* method.c (use_thunk): Decrement immediate_size_expand.

PR c++/10503
* cp-tree.h (DECL_VAR_MARKED_P): New macro.
(DECL_MAYBE_TEMPLATE): Remove.
* class.c (fixed_type_or_null): Avoid infinite recursion.

PR c++/10506
* g++.dg/init/new6.C: New test.

PR c++/10503
* g++.dg/init/ref6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66150 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 28 Apr 2003 04:54:54 +0000 (04:54 +0000)]
2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
_M_destroy_pback. _M_pback_create to
_M_create_pback. _M_underflow_common to
_M_underflow. _M_really_overflow to _M_overflow.
* include/bits/fstream.tcc: Same.
* src/fstream.cc: Same.
* include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
_M_move_in_cur.  _M_out_cur_move to _M_move_out_cur.
* include/bits/streambuf.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/sstream.tcc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66149 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
zack [Mon, 28 Apr 2003 04:13:48 +0000 (04:13 +0000)]
    * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
        output_constant_def, use its result instead of TREE_CST_RTL (exp).
        Can assume it has the form (mem (symbol_ref ".LCxxx")).
        (expand_expr <COMPONENT_REF>): Can always just extract the
        relevant field of a CONSTRUCTOR.
        (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF,
        ARRAY_RANGE_REF>): Make control flow explicit.
        * varasm.c (output_constant_def): Can look at TREE_CST_RTL of
        an INTEGER_CST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66148 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 28 Apr 2003 03:41:49 +0000 (03:41 +0000)]
2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_classes.h (locale::_Impl): Change _M_names
from fixed size array.
(locale): Change _S_categories as well.
Formatting tweaks.
* include/bits/locale_facets.tcc: Tweak.
* config/locale/gnu/c_locale.cc: Assign _S_categories.
* config/locale/generic/c_locale.cc: Same.
* src/locale.cc: Tweak.
* src/globals.cc: Change facet_name to name_vec, add names_c.
* src/localename.cc: Use them.
(locale::_Impl::~_Impl): Destroy _M_names.
(locale::_Impl::_Impl): Create _M_names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66147 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Makefile.tpl: Clean $(BUILD_SUBDIR).
drow [Mon, 28 Apr 2003 02:23:46 +0000 (02:23 +0000)]
* Makefile.tpl: Clean $(BUILD_SUBDIR).
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66145 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 28 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66144 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * reload1.c (reg_set_luid): Fix a comment typo.
kazu [Sun, 27 Apr 2003 20:10:49 +0000 (20:10 +0000)]
* reload1.c (reg_set_luid): Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66137 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/locale/ieee_1003.1-2001/codecvt_specializations.h
schwab [Sun, 27 Apr 2003 19:51:25 +0000 (19:51 +0000)]
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(__enc_traits): Use __ibom and __ebom instead of ignoring them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66136 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl.c (maybe_commonize_var): Make the code match the comments.
mmitchel [Sun, 27 Apr 2003 19:33:38 +0000 (19:33 +0000)]
* decl.c (maybe_commonize_var): Make the code match the comments.
* pt.c (instantiate_decl): Move call to import_export_decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66135 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
zack [Sun, 27 Apr 2003 18:57:51 +0000 (18:57 +0000)]
* varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
struct deferred_string, const_str_htab): Kill.
(n_deferred_strings): New static variable.
(build_constant_desc): Set SYMBOL_REF_DECL of the new
symbol_ref to point to the constant.
(output_constant_def): When a deferred string is forced out,
just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings.
(mark_constant): Likewise.
(maybe_output_constant_def_contents): When deferring a string
constant, just set STRING_POOL_ADDRESS_P and increment
n_deferred_strings.
(mark_constant_pool): Check n_deferred_strings, not the size
of const_str_htab.
(init_varasm_once): No need to create const_str_htab.

* rtl.def, rtl.h, doc/rtl.texi: Document possibility that
SYMBOL_REF_DECL points to a constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66133 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-27 Nathan Myers <ncm@cantrip.org>
paolo [Sun, 27 Apr 2003 17:20:42 +0000 (17:20 +0000)]
2003-04-27  Nathan Myers  <ncm@cantrip.org>

Move some basic_string members out of line because
they are too big to reasonably be inline.
* include/bits/basic_string.h
(assign(const basic_string&, size_type, size_type),
assign(const _CharT*, size_type),
insert(size_type, const basic_string&, size_type, size_type),
insert(size_type, const _CharT*, size_type),
replace(size_type, size_type, const _CharT*, size_type)):
Move from here to...
* include/bits/basic_string.tcc: ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66132 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * varasm.c (output_constant_def): Split out two new static
zack [Sun, 27 Apr 2003 03:50:27 +0000 (03:50 +0000)]
* varasm.c (output_constant_def): Split out two new static
functions, build_constant_desc and maybe_output_constant_def_contents.
Restructure for comprehensibility.  Don't call
output_addressed_constants.  Treat defstr being non-NULL for
STRING_POOL_ADDRESS_P constants as an invariant.
(struct deferred_string): Remove labelno field.
(output_constant_def_contents): Kill labelno argument.  Call
output_addressed_constants here.  Use ASM_OUTPUT_LABEL, not
asm_out.internal_label.
(mark_constant): Update call to output_constant_def_contents.
Treat defstr being non-NULL for STRING_POOL_ADDRESS_P
constants as an invariant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66129 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
rth [Sun, 27 Apr 2003 02:15:25 +0000 (02:15 +0000)]
    * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
        (ix86_expand_call, ix86_rtx_consts): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66128 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sun, 27 Apr 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66127 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * g++.dg/warn/weak1.C: XFAIL on AIX4.
dje [Sat, 26 Apr 2003 21:31:23 +0000 (21:31 +0000)]
    * g++.dg/warn/weak1.C: XFAIL on AIX4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66120 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoRevert cpplex.c change
neil [Sat, 26 Apr 2003 21:03:51 +0000 (21:03 +0000)]
Revert cpplex.c change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66118 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoUpdate copyright
ghazi [Sat, 26 Apr 2003 21:03:46 +0000 (21:03 +0000)]
Update copyright

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66117 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agogcc:
ghazi [Sat, 26 Apr 2003 20:44:30 +0000 (20:44 +0000)]
gcc:
* doc/md.texi (cmpstr): Document additional restrictions.

testsuite:
* gcc.c-torture/execute/string-opt-8.c: Don't perform cmpstr
checks for __pj__, but do them for !__OPTIMIZE__ and __s390__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66116 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl2.c (finish_file): Fix merge botch.
mmitchel [Sat, 26 Apr 2003 20:22:12 +0000 (20:22 +0000)]
* decl2.c (finish_file): Fix merge botch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66114 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * flags.h (time_report): Remove.
neil [Sat, 26 Apr 2003 15:19:06 +0000 (15:19 +0000)]
* flags.h (time_report): Remove.
* timevar.c (timevar_enable): New.
(TIMEVAR_ENABLE): Remove, use timevar_enable.
(timevar_init): Rename from init_timevar.
* timevar.h (timevar_init): Rename from init_timevar.
* toplev.c (time_report): Make static.
(do_compile): Conditionally call init_timevar first.
(preprocess_options): Move some code to do_compile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66110 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/install.texi (Binaries): Mention binaries for HC11/HC12.
ciceron [Sat, 26 Apr 2003 13:09:38 +0000 (13:09 +0000)]
* doc/install.texi (Binaries): Mention binaries for HC11/HC12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66107 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * _cpp_lex_direct: Remove pointless code.
neil [Sat, 26 Apr 2003 12:55:09 +0000 (12:55 +0000)]
* _cpp_lex_direct: Remove pointless code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66106 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/extend.texi (Function Attributes): Document "near" and "far"
ciceron [Sat, 26 Apr 2003 12:35:19 +0000 (12:35 +0000)]
* doc/extend.texi (Function Attributes): Document "near" and "far"
for 68HC11 and 68HC12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66104 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * expr.c (store_field): When making temporary for store, don't
kenner [Sat, 26 Apr 2003 11:16:44 +0000 (11:16 +0000)]
* expr.c (store_field): When making temporary for store, don't
make it TYPE_QUAL_CONST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66103 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-26 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 26 Apr 2003 08:31:57 +0000 (08:31 +0000)]
2003-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
the innermost 'if' by factoring out some code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66102 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-26 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 26 Apr 2003 08:13:35 +0000 (08:13 +0000)]
2003-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/streambuf.tcc (__copy_streambufs): Don't
use in_avail(), simplify.

2003-04-26  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_sstream.h (setbuf): don't set _M_buf_size,
in basic_stringbuf it's unused.

* include/std/std_sstream.h (underflow): consistently use
_M_in_cur, not gptr().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66100 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
bkoz [Sat, 26 Apr 2003 04:01:47 +0000 (04:01 +0000)]
2003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
            Phil Edwards  <pme@gcc.gnu.org>

* testsuite_flags.in: Guard against the possibility
of having "xgcc" as a part of a folder name in the
path to the GCC build folder.
* testsuite/Makefile.am: Likewise.
* testsuite/Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66098 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-25 Phil Edwards <pme@gcc.gnu.org>
pme [Sat, 26 Apr 2003 03:27:07 +0000 (03:27 +0000)]
2003-04-25  Phil Edwards  <pme@gcc.gnu.org>

* toplev.c (read_integral_parameter):  Use "argument" in error
message to distinguish it from actual invalid options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66097 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl2.c (finish_file): Don't call import_export_decl for
mmitchel [Sat, 26 Apr 2003 01:27:09 +0000 (01:27 +0000)]
* decl2.c (finish_file): Don't call import_export_decl for
functions that are not defined.
(handle_class_head): Robustify.
* pt.c (instantiate_decl): Do not call cp_finish_decl for
variables that are not defined.

* g++.old-deja/g++.pt/instantiate12.C: Explicit instantiate
initialized static data members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66095 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
bwilson [Sat, 26 Apr 2003 00:39:02 +0000 (00:39 +0000)]
* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
addition of __PIC__ and __pic__ macros.
* config/xtensa/xtensa.h: Clean up indentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66093 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 26 Apr 2003 00:23:18 +0000 (00:23 +0000)]
2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/10132
* include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
exception specifications.
(basic_filebuf::close): Same.
(basic_filebuf::_M_pback_destroy): Same.
(basic_filebuf::_M_destroy_internal_buffer): Same.
(basic_filebuf): Remove __res_type typedef.
* src/fstream.cc: Same.
* include/bits/fstream.tcc
(basic_filebuf::_M_convert_to_external): Simplify.
(basic_filebuf::seekoff): Use has_facet before use_facet.
(basic_filebuf::close): Add exception specification of throw().
* testsuite/27_io/basic_filebuf/cons: New.
* testsuite/27_io/basic_filebuf/cons/wchar_t: New.
* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66091 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sat, 26 Apr 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66090 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
bwilson [Sat, 26 Apr 2003 00:06:51 +0000 (00:06 +0000)]
    * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
        _GNU_SOURCE.  Add definitions of __PIC__ and __pic__.
        (SUBTARGET_CPP_SPEC): Define.
        (LIB_SPEC): Delete.
        * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete.
        * config/xtensa/xtensa.c (xtensa_declare_object): Delete.
        * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS):
        Define.
        (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
        (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66083 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoAdd the new file.
hjl [Fri, 25 Apr 2003 22:55:18 +0000 (22:55 +0000)]
Add the new file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66079 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 Apr 2003 22:51:02 +0000 (22:51 +0000)]
2003-04-25  H.J. Lu <hjl@gnu.org>

* gcc.dg/ia64-sync-4.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66078 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 Apr 2003 22:09:12 +0000 (22:09 +0000)]
2003-04-25  H.J. Lu <hjl@gnu.org>

* config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
for return mode.
(ia64_expand_builtin): Set rmode to SImode for
IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66077 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * MAINTAINERS (Write After Approval): Upgrade myself from
bangerth [Fri, 25 Apr 2003 22:06:51 +0000 (22:06 +0000)]
    * MAINTAINERS (Write After Approval): Upgrade myself from
       GNATS only to write-after-approval. Update my mail address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66076 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-25 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 25 Apr 2003 21:15:01 +0000 (21:15 +0000)]
2003-04-25  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (make_compare_target):  Test for GNU cmp and set this
variable appropriately.
* Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean,
compare4-lean): Rename actual targets to slowcompare*.  New compare*
targets depend on names based on make_compare_target.
* configure:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66075 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
rth [Fri, 25 Apr 2003 21:02:25 +0000 (21:02 +0000)]
    * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
        to clobber ar.pfs and ar.unat.
        (ia64_expand_prologue): Force alloc instruction if ar.pfs saved;
        fix test for spilling ar.pfs to the stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66074 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR opt/10315
rth [Fri, 25 Apr 2003 17:43:58 +0000 (17:43 +0000)]
    PR opt/10315
        * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper
        checks during reload; use validize_mem instead of adjust_address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66071 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago (OS Port Maintainers: freebsd): Add myself.
ljrittle [Fri, 25 Apr 2003 17:32:13 +0000 (17:32 +0000)]
(OS Port Maintainers: freebsd): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66069 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 25 Apr 2003 17:23:21 +0000 (17:23 +0000)]
2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_classes.h
(locale::_S_extra_categories_size): Remove.
* src/locale.cc: Remove _S_extra_categories_size.
* src/localename.cc: Same.
* config/locale/gnu/c_locale.cc: Same.
* config/locale/generic/c_locale.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66068 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
aph [Fri, 25 Apr 2003 16:48:13 +0000 (16:48 +0000)]
2003-03-29  Mohan Embar  <gnustuff@thisiscool.com>

        * include/jvm.h: (_Jv_GetNbArgs) added
        (_Jv_GetSafeArg) added
        (_Jv_SetArgs) added
        * prims.cc: (_Jv_GetNbArgs) implemented
        (_Jv_GetSafeArg) implemented
        (_Jv_SetArgs) implemented
        (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
        setting _Jv_argc and _Jv_argv
        * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
        instead of _Jv_argv
        * java/lang/natRuntime.cc: (insertSystemProperties) use
        _Jv_GetSafeArg() instead of _Jv_argv

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66067 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.c-torture/execute/string-opt-18.c: Clean up. Fix copyright date.
ghazi [Fri, 25 Apr 2003 15:37:19 +0000 (15:37 +0000)]
* gcc.c-torture/execute/string-opt-18.c: Clean up.  Fix copyright date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66065 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-26 Ben Elliston <bje@wasabisystems.com>
bje [Fri, 25 Apr 2003 15:24:30 +0000 (15:24 +0000)]
2003-04-26  Ben Elliston  <bje@wasabisystems.com>

* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
return values from recog_memoized().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66064 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-04-24 Richard Sandiford <rsandifo@redhat.com>
bkoz [Fri, 25 Apr 2003 02:52:57 +0000 (02:52 +0000)]
2003-04-24  Richard Sandiford  <rsandifo@redhat.com>

* src/localename.cc (__gnu_cxx::facet_vec): Correct types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66061 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR opt/8705
danglin [Fri, 25 Apr 2003 00:58:28 +0000 (00:58 +0000)]
PR opt/8705
* gcse.c (try_replace_reg): On a successful substitution of a constant
into a single set, try to simplify the source of the set.
* loop.c (scan_loop): Don't try to optimize a MODE_CC set with a
constant source.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66060 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Fri, 25 Apr 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66058 138bc75d-0d04-0410-961f-82ee72b054a4