OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years agoAdd some explanation for last change.
schwab [Fri, 19 Apr 2002 17:50:40 +0000 (17:50 +0000)]
Add some explanation for last change.

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

22 years ago2002-04-19 Nathanael Nerode <neroden@twcny.rr.com>
dj [Fri, 19 Apr 2002 17:26:08 +0000 (17:26 +0000)]
2002-04-19  Nathanael Nerode  <neroden@twcny.rr.com>

* config/mh-a68bsd: clean out dead code
* config/mh-apollo68: clean out dead code
* config/mh-cxux: clean out dead code
* config/mh-decstation: clean out dead code
* config/mh-dgux: clean out dead code
* config/mh-dgux386: clean out dead code
* config/mh-hp300: clean out dead code
* config/mh-hpux: clean out dead code
* config/mh-hpux8: clean out dead code
* config/mh-interix: clean out dead code
* config/mh-irix4: clean out dead code
* config/mh-lynxrs6k: clean out dead code
* config/mh-mingw32: clean out dead code
* config/mh-ncr3000: clean out dead code
* config/mh-ncrsvr43: clean out dead code
* config/mh-necv4: clean out dead code
* config/mh-openedition: clean out dead code
* config/mh-riscos: clean out dead code
* config/mh-sco: clean out dead code
* config/mh-sysv4: clean out dead code
* config/mh-lynxos: removed, contained only dead code
* config/mh-vaxult2: removed, contained only dead code
* config/mh-sun3: removed, contained only dead code
* configure.in: remove references to dead files

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

22 years ago * gcc_release: Set TZ to UTC0.
mmitchel [Fri, 19 Apr 2002 17:23:36 +0000 (17:23 +0000)]
* gcc_release: Set TZ to UTC0.

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

22 years ago2002-04-19 Andreas Schwab <schwab@suse.de>
dje [Fri, 19 Apr 2002 17:12:59 +0000 (17:12 +0000)]
2002-04-19  Andreas Schwab  <schwab@suse.de>

        * real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
        (PUT_REAL): Restore old definition.

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

22 years ago * doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
gerald [Fri, 19 Apr 2002 16:47:09 +0000 (16:47 +0000)]
* doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
binutils 2.11.2 and higher generate smaller binaries than Sun's
native tools.

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

22 years ago * MAINTAINERS: Add information about purpose of this file.
mmitchel [Fri, 19 Apr 2002 16:40:52 +0000 (16:40 +0000)]
* MAINTAINERS: Add information about purpose of this file.

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

22 years ago PR c++/6352
mmitchel [Fri, 19 Apr 2002 16:21:58 +0000 (16:21 +0000)]
PR c++/6352
* toplev.c (rest_of_compilation): Do not defer functions for which
TREE_SYMBOL_REFERENCED has already been set.

* PR6352
* g++.dg/opt/inline2.C: New test.

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

22 years ago * i386.md (movsi_1, movhi_1): Force reload to use more flexible
hubicka [Fri, 19 Apr 2002 14:02:06 +0000 (14:02 +0000)]
* i386.md (movsi_1, movhi_1): Force reload to use more flexible
alternative.

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

22 years agoDaily bump.
gccadmin [Fri, 19 Apr 2002 07:19:16 +0000 (07:19 +0000)]
Daily bump.

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

22 years ago * builtins.c: Include langhooks.h.
neil [Fri, 19 Apr 2002 06:22:18 +0000 (06:22 +0000)]
* builtins.c: Include langhooks.h.
(lang_type_promotes_to): Remove.
(expand_builtin_va_arg): Use new hook.
* c-common.c (c_common_nodes_and_builtins): Don't set hook.
(simple_type_promotes_to): Move to c-typeck.c.
* c-common.h (simple_type_promotes_to): Remove.
* c-decl.c (duplicate_decls, grokdeclarator): Update.
* c-format.c: Include langhooks.h.
(check_format_types): Update.
* c-tree.h (c_type_promotes_to): New.
* c-typeck.c (c_type_promotes_to): Move from c-common.c.
(type_lists_compatible_p): Update.
* langhooks-def.h (lhd_type_promotes_to): New.
(LANG_HOOKS_TYPE_PROMOTES_TO): New.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
* langhooks.c (lhd_type_promotes_to): New.
* langhooks.h (struct lang_hooks_for_types): New hook.
* tree.h (lang_type_promotes_to): Remove.
cp:
* call.c (convert_type_from_ellipsis): Rename, update.
* cp-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.
* cp-tree.h (convert_type_from_ellipsis): Rename.
* decl.c (cxx_init_decl_processing): Don't set hook.
objc:
* objc-lang.c (LANG_HOOKS_TYPE_PROMOTES_TO): Redefine.

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

22 years ago * function.c: Revert patch for c/6358.
rth [Fri, 19 Apr 2002 04:41:34 +0000 (04:41 +0000)]
    * function.c: Revert patch for c/6358.

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

22 years ago * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
rth [Fri, 19 Apr 2002 04:01:15 +0000 (04:01 +0000)]
    * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
        blocks.  Handle multiple references to the TRAP block.  Handle
        non-adjacent THEN and OTHER blocks.

        * gcc.dg/20000906-1.c: Enable for all targets.
        * gcc.c-torture/compile/iftrap-2.c: New.

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

22 years ago * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
rth [Fri, 19 Apr 2002 03:59:51 +0000 (03:59 +0000)]
    * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
        crash with no type for by-mode libcalls.

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

22 years ago * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
rth [Fri, 19 Apr 2002 03:59:28 +0000 (03:59 +0000)]
    * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.

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

22 years ago * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
bwilson [Fri, 19 Apr 2002 00:31:17 +0000 (00:31 +0000)]
    * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
        __xtensa_nonlocal_goto): Use a syscall instructions to flush
        the register windows.

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

22 years ago * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
zack [Fri, 19 Apr 2002 00:14:49 +0000 (00:14 +0000)]
* real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
appropriate.  Document need for extended precision even when
MAX_LONG_DOUBLE_TYPE_SIZE is smaller.  Define REAL_WIDTH here,
based on REAL_VALUE_TYPE_SIZE.  Use REAL_WIDTH to size
REAL_VALUE_TYPE.  Define CONST_DOUBLE_FORMAT here.  Use #error
instead of relying on later syntax error when REAL_WIDTH > 5.
* real.c: Define NE based only on whether or not we have a
full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
Require sizeof(REAL_VALUE_TYPE) == 2*NE.  Unconditionally
define GET_REAL and PUT_REAL as simple memcpy operations; no
need to byteswap or round.
Use #error instead of #ifdef-ing out the entire file, for
prompt error detection.

* rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.

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

22 years ago2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 18 Apr 2002 23:47:50 +0000 (23:47 +0000)]
2002-04-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
as type safety is important, especially on solaris.
* include/bits/istream.tcc (istream::read): Clean.
(istream::readsome): Same.
* locale.cc: Wrap lines.

* testsuite/21_strings/inserters_extractors.cc: Tweaks.
* testsuite/27_io/instantiations.cc (test): Add bool variable...
* testsuite/21_strings/capacity.cc: Clean.

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

22 years ago2002-04-18 David S. Miller <davem@redhat.com>
davem [Thu, 18 Apr 2002 23:37:15 +0000 (23:37 +0000)]
2002-04-18  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (BRANCH_COST): Define.

* fold-const.c (BRANCH_COST): Don't provide default here, expr.h
does it.

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

22 years ago * flow.c (update_life_info): Ignore return value of cleanup_cfg.
hp [Thu, 18 Apr 2002 22:11:39 +0000 (22:11 +0000)]
* flow.c (update_life_info): Ignore return value of cleanup_cfg.
Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
propagate_block calls after relaxation loop using new variable
stabilized_prop_flags.

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

22 years ago * configure.in: Disallow configuring libgcj when it is already
tromey [Thu, 18 Apr 2002 21:35:49 +0000 (21:35 +0000)]
* configure.in: Disallow configuring libgcj when it is already
installed and we're using Solaris 2.8 linker.  Do enable libgcj on
Solaris 2.8 by default.  For PR libgcj/6158.

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

22 years ago * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
rth [Thu, 18 Apr 2002 20:28:39 +0000 (20:28 +0000)]
    * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
        (ia64_va_arg): Expect variable sized types by reference.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
        ia64_function_arg_pass_by_reference.

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

22 years ago PR optimization/5887, PR optimization/6010
jakub [Thu, 18 Apr 2002 20:10:48 +0000 (20:10 +0000)]
    PR optimization/5887, PR optimization/6010
* gcc.dg/20020418-1.c: New test.
* gcc.dg/20020418-2.c: New test.

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

22 years ago * ifcvt.c: Include except.h.
rth [Thu, 18 Apr 2002 20:02:18 +0000 (20:02 +0000)]
    * ifcvt.c: Include except.h.
        (block_has_only_trap): Break out from find_cond_trap.
        (find_cond_trap): Use it.  Always delete the trap block.
        (merge_if_block): Allow then block null.  Be less simplistic about
        what insns can end a block.
        * Makefile.in (ifcvt.o): Depend on except.h.

        * gcc.c-torture/compile/iftrap-1.c: New.
        * gcc.dg/iftrap-1.c: Adjust for ia64.
        * gcc.dg/iftrap-2.c: New.

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

22 years ago * config/ia64/ia64.md (trap, conditional_trap): New.
rth [Thu, 18 Apr 2002 19:45:36 +0000 (19:45 +0000)]
    * config/ia64/ia64.md (trap, conditional_trap): New.

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

22 years ago PR c/6358
jakub [Thu, 18 Apr 2002 19:10:11 +0000 (19:10 +0000)]
PR c/6358
* function.c (assign_parms): Assign hard current_function_return_rtx
register here...
(expand_function_end): ...not here.

* gcc.c-torture/compile/20020418-1.c: New test.

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

22 years ago * doc/install.texi (Downloading the source): Do not mention Chill
gerald [Thu, 18 Apr 2002 18:04:03 +0000 (18:04 +0000)]
* doc/install.texi (Downloading the source): Do not mention Chill
any longer, but mention Ada.
(Configuration): Do not mention Chill any longer.

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

22 years ago * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
neil [Thu, 18 Apr 2002 17:54:11 +0000 (17:54 +0000)]
* c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
* c-tree.h (c_incomplete_type_error): New.
* c-typeck.c (require_complete_type, build_component_ref): Update.
(incomplete_type_error): Rename.
* langhooks-def.h (lhd_incomplete_type_error): New.
(LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
* langhooks.c (lhd_incomplete_type_error): New.
* langhooks.h (struct lang_hooks_for_types): New hook.
* tree.c (size_in_bytes): Use new hook.
* tree.h (incomplete_type_error): Remove.
ada: * gigi.h (incomplete_type_error): Remove.
* utils.c (incomplete_type_error): Remove.
cp:
* call.c (build_new_method_call): Update.
* cp-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
* cp-tree.h (cxx_incomplete_type_error): New.
* decl.c (grokdeclarator, grokparms): Update.
* decl2.c (check_classfn): Update.
* pt.c (tsubst): Update.
* typeck.c (complete_type_or_else, expr_sizeof,
decay_conversion): Update.
* typeck2.c (incomplete_type_error): Rename.
(add_exception_specifier): Update.
f:
* com.c (incomplete_type_error): Remove.
java:
* typeck.c (incomplete_type_error): Remove.
objc:
* objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.

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

22 years ago * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
zack [Thu, 18 Apr 2002 17:38:23 +0000 (17:38 +0000)]
* config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
TARGET_FLOAT_FORMAT blocks.

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

22 years ago * config/cris/cris.h (TARGET_VERSION): Remove local version number.
hp [Thu, 18 Apr 2002 16:55:31 +0000 (16:55 +0000)]
* config/cris/cris.h (TARGET_VERSION): Remove local version number.

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

22 years ago * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
hubicka [Thu, 18 Apr 2002 15:25:54 +0000 (15:25 +0000)]
* i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
in last patch.

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

22 years ago * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
jakub [Thu, 18 Apr 2002 15:17:47 +0000 (15:17 +0000)]
* fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
instead of unsigned_type.

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

22 years ago * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
hubicka [Thu, 18 Apr 2002 14:05:03 +0000 (14:05 +0000)]
* i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
* i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
later.

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

22 years ago PR c++/5658
jason [Thu, 18 Apr 2002 13:57:35 +0000 (13:57 +0000)]
    PR c++/5658
        * search.c (setup_class_bindings): A class template qualifies as a
        type binding.

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

22 years agoPrevent aborts taking a vector mode subreg of a constant integer
bernds [Thu, 18 Apr 2002 11:29:19 +0000 (11:29 +0000)]
Prevent aborts taking a vector mode subreg of a constant integer

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

22 years agoPlug memory leak in handle_vector_size_attribute
bernds [Thu, 18 Apr 2002 11:23:25 +0000 (11:23 +0000)]
Plug memory leak in handle_vector_size_attribute

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

22 years ago * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
jakub [Thu, 18 Apr 2002 10:39:41 +0000 (10:39 +0000)]
* fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
for integer constant c (if x has unsigned type or sign bit is not
set in c).  This folds the zero/sign extension into the bit-wise and
operation.

* gcc.c-torture/compile/20020415-1.c: New.

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

22 years ago PR middle-end/6205
jakub [Thu, 18 Apr 2002 10:22:14 +0000 (10:22 +0000)]
PR middle-end/6205
* config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
otherwise xorps.

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

22 years ago * gcc_update (touch_files): Don't have empty for loop.
geoffk [Thu, 18 Apr 2002 10:09:10 +0000 (10:09 +0000)]
* gcc_update (touch_files): Don't have empty for loop.

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

22 years ago2002-04-18 David S. Miller <davem@redhat.com>
davem [Thu, 18 Apr 2002 08:05:23 +0000 (08:05 +0000)]
2002-04-18  David S. Miller  <davem@redhat.com>

* gcc.c-torture/execute/20020418-1.c: New test.

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

22 years agoDaily bump.
gccadmin [Thu, 18 Apr 2002 07:18:01 +0000 (07:18 +0000)]
Daily bump.

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

22 years ago2002-04-17 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 18 Apr 2002 02:55:50 +0000 (02:55 +0000)]
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/doxygroups.cc:  New group on binary searching.
* include/bits/stl_algo.h:  Document binary searches and merges.
* include/bits/stl_deque.h:  The 'map' member is not the 'map' class.

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

22 years ago2002-04-17 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 18 Apr 2002 01:42:50 +0000 (01:42 +0000)]
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/mainpage.html:  Doxygen logo is now a PNG file.
* docs/doxygen/run_doxygen:  Bump required version.
* docs/doxygen/user.cfg.in:  Revert accidental change.
* docs/html/faq/index.html:  Reindent a block of links.
(4.4):  New note on using dlsym.
* docs/html/faq/index.txt:  Regenerated.

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

22 years ago2002-04-17 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 18 Apr 2002 01:37:42 +0000 (01:37 +0000)]
2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

* testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.

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

22 years ago * class.c (make_class_data): Set DECL_ALIGN on static class data,
bryce [Wed, 17 Apr 2002 23:13:11 +0000 (23:13 +0000)]
* class.c (make_class_data): Set DECL_ALIGN on static class data,
for hash synchronization.
* expr.c (java_expand_expr): Set DECL_ALIGN on static array objects.
* decl.c (java_init_decl_processing): Don't set TYPE_ALIGN for
class_type_node.

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

22 years ago * java/io/File.java (normalizePath): Add Win32 support for auto
bryce [Wed, 17 Apr 2002 23:02:33 +0000 (23:02 +0000)]
* java/io/File.java (normalizePath): Add Win32 support for auto
conversion of a '/' path separator to Win32's '\' separator.

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

22 years ago* configure.in: Move default CC setting out of config/mh-* fragments
dj [Wed, 17 Apr 2002 20:45:24 +0000 (20:45 +0000)]
* configure.in:  Move default CC setting out of config/mh-* fragments
directly into here.

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

22 years ago* configure.in: don't even try to configure or make a subdirectory
dj [Wed, 17 Apr 2002 20:23:44 +0000 (20:23 +0000)]
* configure.in: don't even try to configure or make a subdirectory
if there's no configure script for it.

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

22 years ago2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 17 Apr 2002 20:08:18 +0000 (20:08 +0000)]
2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu (__malloc_alloc_template): Add.
(__default_alloc_template): Same.
* include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
template.
(__default_alloc_template): Same.

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

22 years ago * include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
hboehm [Wed, 17 Apr 2002 19:54:59 +0000 (19:54 +0000)]
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
SPARC Linux.

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

22 years ago2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 17 Apr 2002 17:35:00 +0000 (17:35 +0000)]
2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.

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

22 years ago2002-04-17 NIIBE Yutaka <gniibe@m17n.org>
amylaar [Wed, 17 Apr 2002 17:21:49 +0000 (17:21 +0000)]
2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>

* config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.

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

22 years ago PR c++/6316
jakub [Wed, 17 Apr 2002 17:17:55 +0000 (17:17 +0000)]
PR c++/6316
* decl2.c (finish_file): Clear DECL_EXTERNAL in a separate loop
before expanding.

* g++.dg/opt/inline1.C: New test.

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

22 years ago * libjava.lang/negzero.java: New.
mark [Wed, 17 Apr 2002 16:39:47 +0000 (16:39 +0000)]
* libjava.lang/negzero.java: New.
* libjava.lang/negzero.out: New.

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

22 years ago * jcf-write.c (generate_bytecode_insns): Only write const_0 if not
mark [Wed, 17 Apr 2002 16:36:47 +0000 (16:36 +0000)]
* jcf-write.c (generate_bytecode_insns): Only write const_0 if not
negative zero.

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

22 years ago2002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
nickc [Wed, 17 Apr 2002 16:26:28 +0000 (16:26 +0000)]
2002-04-17  Nick Clifton  <nickc@cambridge.redhat.com>

    * gcc.c (read_specs): Detect and fail if an attempt is made to
    rename a spec string to an already existing string.

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

22 years ago* config/s390/s390.c (legitimize_pic_address): Do not generate
uweigand [Wed, 17 Apr 2002 16:02:16 +0000 (16:02 +0000)]
* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.

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

22 years ago * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
ghazi [Wed, 17 Apr 2002 14:22:17 +0000 (14:22 +0000)]
* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
* sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.

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

22 years agoPR optimization/6305
uweigand [Wed, 17 Apr 2002 12:25:31 +0000 (12:25 +0000)]
PR optimization/6305
* config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
to make sure previous reloads are taken into account.  Generate
better code if one operand is an in-range immediate constant.

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

22 years ago2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
aph [Wed, 17 Apr 2002 09:38:09 +0000 (09:38 +0000)]
2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>

* doc/install.texi (Building): libgcj requires GNU make.

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

22 years ago PR bootstrap/6315
jakub [Wed, 17 Apr 2002 08:24:03 +0000 (08:24 +0000)]
PR bootstrap/6315
* config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
even if hard quad and register is not floating.
(movtf reg<-mem split): Disallow splitting if hard quad and
register is floating.
(movtf mem<-reg split): Likewise.
* config/sparc/sparc.c (fp_register_operand): New predicate.
* config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.

* gcc.dg/20020416-1.c: New test.

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

22 years ago Fix for PR java/6294:
bryce [Wed, 17 Apr 2002 08:23:00 +0000 (08:23 +0000)]
Fix for PR java/6294:
* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
interfaces.

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

22 years agoDaily bump.
gccadmin [Wed, 17 Apr 2002 07:17:56 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago2002-04-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 17 Apr 2002 06:20:20 +0000 (06:20 +0000)]
2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>

* src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
* src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
(__malloc_alloc_template): Conditionalize.

* include/bits/istream.tcc: Remove sputbackc calls.

* testsuite/19_diagnostics/stdexceptions.cc: Fix comment.

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

22 years ago2002-04-17 Zack Weinberg <zack@codesourcery.com>
obrien [Wed, 17 Apr 2002 03:23:45 +0000 (03:23 +0000)]
2002-04-17  Zack Weinberg  <zack@codesourcery.com>
* Makefile.in (PROTO_OBJS): Add cppdefault.o.
(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
(unprotoize.o): Ditto.  Build from protoize.c.  Define
UNPROTOIZE on command line.
* protoize.c: Include cppdefault.h.  Delete include_defaults.
(in_system_include_dir): Use cpp_include_defaults (defined in
cppdefault.o).
* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

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

22 years ago2002-04-17 Zack Weinberg <zack@codesourcery.com>
obrien [Wed, 17 Apr 2002 03:15:21 +0000 (03:15 +0000)]
2002-04-17  Zack Weinberg  <zack@codesourcery.com>
* Makefile.in (PROTO_OBJS): Add cppdefault.o.
(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
(unprotoize.o): Ditto.  Build from protoize.c.  Define
UNPROTOIZE on command line.
* protoize.c: Include cppdefault.h.  Delete include_defaults.
(in_system_include_dir): Use cpp_include_defaults (defined in
cppdefault.o).
* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

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

22 years ago2002-04-17 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 17 Apr 2002 02:31:30 +0000 (02:31 +0000)]
2002-04-17  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_ld): Add array variants.
        (vec_lde): Same.
        (vec_ldl): Same.

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

22 years ago2002-04-17 Alan Matsuoka <alanm@redhat.com>
aldyh [Wed, 17 Apr 2002 02:03:43 +0000 (02:03 +0000)]
2002-04-17  Alan Matsuoka  <alanm@redhat.com>
            Aldy Hernandez <aldyh@redhat.com>

        * config/rs6000/altivec.h: Define __ALTIVEC__.
        (bool): New.
        (__pixel): New.
        (pixel): New.
        (vec_cfux): New.
        (vec_vmaddfp): New.
        (vec_vsldoi): New.
        Add parentheses to all macro arguments.

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

22 years ago PR c++/6320
rth [Wed, 17 Apr 2002 01:52:38 +0000 (01:52 +0000)]
    PR c++/6320
        * except.c (remove_eh_handler): Insert inner regions at beginning
        of sibling chain.  Refactor expressions.

* g++.dg/eh/dead1.C: New.

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

22 years ago * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
mmitchel [Wed, 17 Apr 2002 01:47:36 +0000 (01:47 +0000)]
* c-common.h (STMT_EXPR_NO_SCOPE): New macro.
* c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
* tree.h (expand_start_stmt_expr): Update prototype.
* stmt.c (expand_start_stmt_expr): Add has_scope parameter.
* tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
on the STMT_EXPR created for the inline function.

* trans.c (tree_transform): Add has_scope argument to
expand_start_stmt_expr.

* com.c (ffecom_expr_power_integer): Add has_scope argument to
call to expand_start_stmt_expr.

* init.c (begin_init_stmts): Remove commented out code.
(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
* semantics.c (begin_gobal_stmt_expr): Adjust call to
expand_start_stmt_expr.

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

22 years ago * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
rth [Wed, 17 Apr 2002 01:37:42 +0000 (01:37 +0000)]
    * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
        * config/sparc/sol2-gas-bi.h: New file.
        * config.gcc (sparc*-solaris): Add it as needed.
        * configure.in (AS_SPARC64_FLAG): Remove check.
        * config.in, configure: Regenerate.

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

22 years ago * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
rth [Wed, 17 Apr 2002 01:34:22 +0000 (01:34 +0000)]
    * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.

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

22 years ago * config/mips/mips.c (override_options): Don't override N32 for
rth [Wed, 17 Apr 2002 00:43:04 +0000 (00:43 +0000)]
    * config/mips/mips.c (override_options): Don't override N32 for
        a 64-bit ISA.

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

22 years ago * config/mips/mips.md (can_delay): Split out of existing define_delays.
rth [Wed, 17 Apr 2002 00:34:44 +0000 (00:34 +0000)]
    * config/mips/mips.md (can_delay): Split out of existing define_delays.
        (HILO_delay): Set can_delay false.

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

22 years agoRemove, again.
rth [Wed, 17 Apr 2002 00:32:33 +0000 (00:32 +0000)]
Remove, again.

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

22 years ago * gcc_update: Remove libchill.
rth [Wed, 17 Apr 2002 00:30:17 +0000 (00:30 +0000)]
    * gcc_update: Remove libchill.

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

22 years ago2002-04-16 David S. Miller <davem@redhat.com>
davem [Wed, 17 Apr 2002 00:12:54 +0000 (00:12 +0000)]
2002-04-16  David S. Miller  <davem@redhat.com>

* xregex2.h (__restrict_arr): Define to __restrict on GCC
3.1 and later.  Do not redefine.

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

22 years agoRemove libchill
mmitchel [Tue, 16 Apr 2002 22:01:55 +0000 (22:01 +0000)]
Remove libchill

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

22 years ago2002-04-16 Dale Johannesen <dalej@apple.com>
dje [Tue, 16 Apr 2002 21:56:09 +0000 (21:56 +0000)]
2002-04-16  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
        instruction addresses.
        (rs6000_output_function_epilogue): Likewise.

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

22 years ago2002-04-16 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 16 Apr 2002 18:35:13 +0000 (18:35 +0000)]
2002-04-16  Paolo Carlini  <pcarlini@unitus.it>

* c-parse.in (poplevel, compstmt_start,
compstmt_primary_start): Add ending ';', in accordance
with POSIX.

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

22 years ago * config.gcc (sparcv9-solaris): Configure for 64-bit default.
rth [Tue, 16 Apr 2002 18:05:20 +0000 (18:05 +0000)]
    * config.gcc (sparcv9-solaris): Configure for 64-bit default.
        Adjust tm_file order to get TARGET_DEFAULT set properly.
        (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
        * doc/install.texi (sparc-solaris): Update.

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

22 years ago Fix for PR libgcj/6081:
tromey [Tue, 16 Apr 2002 15:52:26 +0000 (15:52 +0000)]
Fix for PR libgcj/6081:
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Use GNU make trick to avoid
shell limit.

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

22 years ago2002-04-16 Adam King <aking@dreammechanics.com>
tromey [Tue, 16 Apr 2002 15:37:39 +0000 (15:37 +0000)]
2002-04-16  Adam King <aking@dreammechanics.com>
    Tom Tromey  <tromey@redhat.com>

* java/io/natFileWin32.cc (performList): Return the correct array
type.  Don't duplicate the creation of a File since it's already
done earlier in the method and the existing code would cause a
ArrayStoreException.  Don't use fixed-size array.
(_access, _stat, attr, getCanonicalPath, performMkdir,
performRenameTo): Don't use fixed-size array.
(getCanonicalPath): Use throw, not _Jv_Throw.

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

22 years ago2002-04-16 Dale Johannesen <dalej@apple.com>
dje [Tue, 16 Apr 2002 15:25:30 +0000 (15:25 +0000)]
2002-04-16  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
        comparison operands do not match each other or if modes of
        conditions do not match result.

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

22 years ago target/6305
hpenner [Tue, 16 Apr 2002 12:43:26 +0000 (12:43 +0000)]
 target/6305
        * config/s390/s390.md (mulsidi3): Set both subregs of the
        multiword register.

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

22 years agoDaily bump.
gccadmin [Tue, 16 Apr 2002 07:18:05 +0000 (07:18 +0000)]
Daily bump.

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

22 years ago2002-04-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 16 Apr 2002 06:40:40 +0000 (06:40 +0000)]
2002-04-16  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_addc): Type check.

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

22 years ago PR target/6303
jakub [Tue, 16 Apr 2002 06:18:47 +0000 (06:18 +0000)]
PR target/6303
* dwarf2out.c (rtl_for_decl_location): Call ASM_SIMPLIFY_DWARF_ADDR
before returning.
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT only
when inside of MEM by eliminating the indirection too.
* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Define.
* config/s390/s390.c (s390_simplify_dwarf_addr): New.
* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Add
prototype.

* gcc.dg/20020415-1.c: New test.

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

22 years ago PR middle-end/6279
jakub [Tue, 16 Apr 2002 06:09:39 +0000 (06:09 +0000)]
PR middle-end/6279
* expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.

* expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.

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

22 years ago * decl.c (register_dtor_fn): Pass the address of dso_handle, not
mmitchel [Tue, 16 Apr 2002 03:17:57 +0000 (03:17 +0000)]
* decl.c (register_dtor_fn): Pass the address of dso_handle, not
dso_handle itself, to __cxa_atexit.

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

22 years ago * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
rth [Tue, 16 Apr 2002 03:01:17 +0000 (03:01 +0000)]
    * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
        call_really_used_regs too.

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

22 years ago2002-04-16 Paolo Carlini <pcarlini@unitus.it>
gdr [Tue, 16 Apr 2002 02:29:22 +0000 (02:29 +0000)]
2002-04-16  Paolo Carlini <pcarlini@unitus.it>
        * testsuite/24_iterators/rel_ops.cc: New test.

2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

        * include/bits/type_traits.h (__normal_iterator): Declare in
        __gnu_cxx.  Adjust use at global namespace.
        * include/bits/stl_iterator.h (__normal_iterator): Move
        definition
        into __gnu_cxx::. Add more operator overloads.  Tidy existing
        ones.
        * include/bits/basic_string.h (basic_string): Adjust use of
        __normal_iterator.
        * include/bits/stl_vector.h (_Alloc>): Likewise.
        * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now
        here.
        * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.

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

22 years ago* configure.in: Allow building in $srcdir.
dj [Tue, 16 Apr 2002 02:03:03 +0000 (02:03 +0000)]
* configure.in: Allow building in $srcdir.
* configure: Regenerated.

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

22 years ago * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
rth [Tue, 16 Apr 2002 01:16:35 +0000 (01:16 +0000)]
    * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.

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

22 years ago2002-04-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 16 Apr 2002 00:45:36 +0000 (00:45 +0000)]
2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/4164
Valgrind fixes.
* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
Call close.
(__basic_file::close): Call fflush. Correct return if fclose ok.
(__basic_file::is_open): Make const.
Change __c_file_type to __c_file.
* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
(__basic_file::is_open): Make const.
* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
(filebuf::_M_unbuf): Add.
(filebuf::_M_file): Change to non-pointer.
(filebuf::_M_allocate_pback_buffer): Remove.
* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
Change initialization list for _M_file change.
(filebuf::_M_allocate_pback_buffer): Remove.
Change _M_file usage to reflect non-pointer data member.

* config/locale/generic/c_locale.cc
(locale::facet::_S_create_c_locale): Add parameter.
* config/locale/generic/collate_members.cc: Change
_M_compare_helper to _M_compare.
Change _M_transform_helper to _M_transform.
* config/locale/generic/monetary_members.cc: Changeup data types.
Add dtors.
* config/locale/generic/numeric_members.cc: Add dtors.
* config/locale/generic/time_members.cc: Add dtors.
* config/locale/gnu/c_locale.cc: Add parameter.
* config/locale/gnu/collate_members.cc:Change
_M_compare_helper to _M_compare.
Change _M_transform_helper to _M_transform.
* config/locale/gnu/ctype_members.cc: Better error checking.
* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
* config/locale/gnu/messages_members.cc: Tweak comment.
* config/locale/gnu/monetary_members.cc: Change data types.
Add dtors.
* config/locale/gnu/numeric_members.cc: Add dtors, better error
checking.
* config/locale/gnu/time_members.cc: Same.
* config/locale/ieee_1003.1-2001/c_locale.cc
(locale::facet::_S_create_c_locale): Add parameter.
* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
bogus ctor.

* include/bits/locale_facets.h (moneypunct): Use string literals.
Don't define dtor.
(numpunct): Same.
(__timepunct): Same.
(locale::_Impl::_M_facets): Change from vector to array.
(locale::_Impl::_M_names): Change from array of strings to array
of string literals.
(locale::facet::_S_create_c_locale): Add parameter.
(locale::locale::_S_num_facets): Move to...
(locale::_Impl::_M_facets_size): Here.
* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
changes.
* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
(locale::_Impl::_Impl(string, size_t)): Change to
(locale::_Impl::_Impl(const char*, size_t)): This.

* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
(streambuf::_S_pback_size): This.

* src/globals.cc: Add pre-allocations for "C" facets.
* src/locale-inst.cc: Remove vector instantiations.
* src/locale.cc: Remove vector include. Fixups for _M_names,
_M_facets changes.
* src/localename.cc: Same.

* include/bits/stl_vector.h: Fix odd formatting.

* include/bits/basic_string.tcc: Tweak comment.

* libsupc++/new: Make sure parameters are uglified.
* libsupc++/typeinfo: Same.

* testsuite/22_locale/num_get_members_char.cc: Fixup.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/27_io/filebuf_members.cc: Same.

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

22 years ago2002-04-15 David S. Miller <davem@redhat.com>
davem [Mon, 15 Apr 2002 23:12:58 +0000 (23:12 +0000)]
2002-04-15  David S. Miller  <davem@redhat.com>

* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
as being CLOBBERed.

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

22 years ago PR c/6290
jakub [Mon, 15 Apr 2002 22:39:10 +0000 (22:39 +0000)]
PR c/6290
* config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
CONST_VECTOR is { 0, ... 0 }.

* gcc.dg/altivec-5.c: New test.

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

22 years ago* acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
dj [Mon, 15 Apr 2002 21:59:09 +0000 (21:59 +0000)]
* acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
too.
(CYG_AC_PATH_TKCONFIG): Likewise.

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

22 years ago * doc/install.texi (Installing GCC: Configuration): Clarify
ljrittle [Mon, 15 Apr 2002 21:28:46 +0000 (21:28 +0000)]
    * doc/install.texi (Installing GCC: Configuration): Clarify
        the only supported ways to configure gcc.

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

22 years ago * config.gcc (alpha*-*-gnu*): New target configuration.
rth [Mon, 15 Apr 2002 20:44:35 +0000 (20:44 +0000)]
    * config.gcc (alpha*-*-gnu*): New target configuration.
        * config/alpha/gnu.h: New file for it.
        * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.

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

22 years ago * aclocal.m4 (gcc_version_trigger): Use robust path construction.
ljrittle [Mon, 15 Apr 2002 20:42:28 +0000 (20:42 +0000)]
* aclocal.m4 (gcc_version_trigger): Use robust path construction.
* configure: Rebuilt.

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