]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years agoMakefile.in: Update.
Neil Booth [Sat, 20 Apr 2002 09:14:37 +0000 (09:14 +0000)] 
Makefile.in: Update.

* Makefile.in: Update.
* decl.c (push_c_function_context, pop_c_function_context,
mark_c_function_context): Rename for consistency.
* c-objc-common.c (c_objc_common_init): Langhooks set elsewhere.
* c-tree.h (push_c_function_context, pop_c_function_context,
mark_c_function_context): Rename for consistency.
* c-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.
* function.c (init_lang_status, save_lang_status,
restore_lang_status, mark_lang_status, free_lang_status):
Move to langhooks.h.
(push_function_context_to, pop_function_context_from,
free_after_parsing, prepare_function_start, ggc_mark_struct_function):
Update.
* function.h (init_lang_status, save_lang_status,
restore_lang_status, mark_lang_status, free_lang_status):
Move to langhooks.h.
* langhooks-def.h (LANG_HOOKS_FUNCTION_INIT,
LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_ENTER_NESTED,
LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK,
LANG_HOOKS_FUNCTION_INITIALIZER): New.
(LANG_HOOKS_INITIALIZER): Update.
(lhd_do_nothing_f): New.
* langhooks.h (struct lang_hooks_for_functions): New.
(struct lang_hooks): New hooks.
* langhooks.c (lhd_do_nothing_f): New.
cp:
* cp-lang.c (LANG_HOOKS_FUNCTION_INIT,
LANG_HOOKS_FUNCTION_FREE, LANG_HOOKS_FUNCTION_MARK): Redefine.
* cp-tree.h (cxx_push_function_context, cxx_pop_function_context,
cxx_mark_function_context): New.
* decl.c (push_cp_function_context, pop_cp_function_context,
mark_cp_function_context): Rename for consistency.
(cxx_init_decl_processing): Don't set old hooks.
objc:
* objc-lang.c (LANG_HOOKS_FUNCTION_ENTER_NESTED,
LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_FUNCTION_MARK): Redefine.

From-SVN: r52551

22 years agoDaily bump.
GCC Administrator [Sat, 20 Apr 2002 07:17:04 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r52550

22 years agolinux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
David S. Miller [Sat, 20 Apr 2002 04:47:49 +0000 (21:47 -0700)] 
linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.

2002-04-19  David S. Miller  <davem@redhat.com>

* config/sparc/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Likewise.

From-SVN: r52546

22 years agoconfigure: Rebuilt.
Hans Boehm [Sat, 20 Apr 2002 00:31:03 +0000 (00:31 +0000)] 
configure: Rebuilt.

2002-04-19  Hans Boehm <Hans_Boehm@hp.com>

* configure: Rebuilt.
* configure.in (backtrace): Function doesn't work on IA-64.

From-SVN: r52544

22 years agore PR libf2c/6367 (multiple repeat counts confuse namelist read into array)
Toon Moene [Fri, 19 Apr 2002 21:52:11 +0000 (23:52 +0200)] 
re PR libf2c/6367 (multiple repeat counts confuse namelist read into array)

2002-04-19  Toon Moene  <toon@moene.indiv.nluug.nl>

* PR6367
* g77.f-torture/execute/6367.f: New test.
* g77.f-torture/execute/6367.x: Disable for MMIX.

From-SVN: r52540

22 years agore PR rtl-optimization/3756 (gcc wishlist: arithmetic right shift for ternary operator)
Jakub Jelinek [Fri, 19 Apr 2002 21:09:16 +0000 (23:09 +0200)] 
re PR rtl-optimization/3756 (gcc wishlist: arithmetic right shift for ternary operator)

PR optimization/3756
* config/i386/i386.c (ix86_expand_int_movcc): Optimize
x = ((int) y < 0) ? cst1 : cst2.

From-SVN: r52539

22 years agore PR c/6358 (GCC 3.1 ICE on statement expressions)
Jakub Jelinek [Fri, 19 Apr 2002 21:02:52 +0000 (23:02 +0200)] 
re PR c/6358 (GCC 3.1 ICE on statement expressions)

PR c/6358
* function.c: Reapply patch for c/6358.
(expand_function_end): Copy decl_rtl's mode, not
current_function_return_rtx mode.

From-SVN: r52538

22 years agortems.h (STARTFILE_SPEC, [...]): Fix for non-ELF targets.
Joel Sherrill [Fri, 19 Apr 2002 18:43:11 +0000 (18:43 +0000)] 
rtems.h (STARTFILE_SPEC, [...]): Fix for non-ELF targets.

2002-04-19 Joel Sherrill <joel@OARcorp.com>

* config/rtems.h (STARTFILE_SPEC, ENDFILE_SPEC): Fix for non-ELF
targets.

From-SVN: r52535

22 years agore PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)
Tom Tromey [Fri, 19 Apr 2002 18:13:32 +0000 (18:13 +0000)] 
re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)

* doc/install.texi (Specific): Update status of Solaris 2.8.
For PR libgcj/6158.

From-SVN: r52532

22 years agoAdd some explanation for last change.
Andreas Schwab [Fri, 19 Apr 2002 17:50:40 +0000 (17:50 +0000)] 
Add some explanation for last change.

From-SVN: r52531

22 years agomh-a68bsd: clean out dead code
Nathanael Nerode [Fri, 19 Apr 2002 17:26:08 +0000 (17:26 +0000)] 
mh-a68bsd: clean out dead code

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

From-SVN: r52530

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

From-SVN: r52529

22 years agoreal.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.
Andreas Schwab [Fri, 19 Apr 2002 17:12:59 +0000 (17:12 +0000)] 
real.c: Allow sizeof (REAL_VALUE_TYPE) > 2*NE.

2002-04-19  Andreas Schwab  <schwab@suse.de>

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

From-SVN: r52527

22 years agoinstall.texi (Specific, [...]): Mention that binutils 2.11.2 and higher generate...
Dan Nicolaescu [Fri, 19 Apr 2002 16:47:09 +0000 (16:47 +0000)] 
install.texi (Specific, [...]): Mention that binutils 2.11.2 and higher generate smaller binaries than Sun's...

* doc/install.texi (Specific, sparc-sun-solaris2*): Mention that
binutils 2.11.2 and higher generate smaller binaries than Sun's
native tools.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r52526

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

From-SVN: r52522

22 years agore PR c++/6352 (GCC 3.1 inliner regression from March)
Mark Mitchell [Fri, 19 Apr 2002 16:21:58 +0000 (16:21 +0000)] 
re PR c++/6352 (GCC 3.1 inliner regression from March)

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.

From-SVN: r52521

22 years agoi386.md (movsi_1, movhi_1): Force reload to use more flexible alternative.
Jan Hubicka [Fri, 19 Apr 2002 14:02:06 +0000 (16:02 +0200)] 
i386.md (movsi_1, movhi_1): Force reload to use more flexible alternative.

* i386.md (movsi_1, movhi_1): Force reload to use more flexible
alternative.

From-SVN: r52519

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

From-SVN: r52516

22 years agobuiltins.c: Include langhooks.h.
Neil Booth [Fri, 19 Apr 2002 06:22:18 +0000 (06:22 +0000)] 
builtins.c: Include langhooks.h.

* 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.

From-SVN: r52512

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

From-SVN: r52511

22 years agoifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks.
Richard Henderson [Fri, 19 Apr 2002 04:01:15 +0000 (21:01 -0700)] 
ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN blocks.

        * 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.

From-SVN: r52509

22 years agoia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode...
Richard Henderson [Fri, 19 Apr 2002 03:59:51 +0000 (20:59 -0700)] 
ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls.

        * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
        crash with no type for by-mode libcalls.

From-SVN: r52508

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

From-SVN: r52507

22 years agolib2funcs.S (__xtensa_libgcc_window_spill, [...]): Use a syscall instructions to...
Bob Wilson [Fri, 19 Apr 2002 00:31:17 +0000 (00:31 +0000)] 
lib2funcs.S (__xtensa_libgcc_window_spill, [...]): Use a syscall instructions to flush the register windows.

        * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
        __xtensa_nonlocal_goto): Use a syscall instructions to flush
        the register windows.

From-SVN: r52503

22 years agoreal.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as appropriate.
Zack Weinberg [Fri, 19 Apr 2002 00:14:49 +0000 (00:14 +0000)] 
real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as appropriate.

* 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.

From-SVN: r52502

22 years agolocalefwd.h (locale::id::_M_id): Do this correctly, as type safety is important,...
Benjamin Kosnik [Thu, 18 Apr 2002 23:47:50 +0000 (23:47 +0000)] 
localefwd.h (locale::id::_M_id): Do this correctly, as type safety is important, especially on solaris.

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.

From-SVN: r52501

22 years agosparc.h (BRANCH_COST): Define.
David S. Miller [Thu, 18 Apr 2002 23:37:15 +0000 (16:37 -0700)] 
sparc.h (BRANCH_COST): Define.

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.

From-SVN: r52500

22 years agoflow.c (update_life_info): Ignore return value of cleanup_cfg.
Hans-Peter Nilsson [Thu, 18 Apr 2002 22:11:39 +0000 (22:11 +0000)] 
flow.c (update_life_info): Ignore return value of cleanup_cfg.

* 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.

From-SVN: r52498

22 years agore PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)
Tom Tromey [Thu, 18 Apr 2002 21:35:49 +0000 (21:35 +0000)] 
re PR libgcj/6158 (libgcj won't bootstrap on sparc-sun-solaris2.8 if already installed)

* 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.

From-SVN: r52497

22 years agoia64.c (ia64_function_arg_pass_by_reference): New.
Richard Henderson [Thu, 18 Apr 2002 20:28:39 +0000 (13:28 -0700)] 
ia64.c (ia64_function_arg_pass_by_reference): New.

        * 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.

From-SVN: r52494

22 years agoPR optimization/5887, PR optimization/6010
Jakub Jelinek [Thu, 18 Apr 2002 20:10:48 +0000 (22:10 +0200)] 
PR optimization/5887, PR optimization/6010

        PR optimization/5887, PR optimization/6010
* gcc.dg/20020418-1.c: New test.
* gcc.dg/20020418-2.c: New test.

From-SVN: r52492

22 years agoifcvt.c: Include except.h.
Richard Henderson [Thu, 18 Apr 2002 20:02:18 +0000 (13:02 -0700)] 
ifcvt.c: Include except.h.

        * 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.

From-SVN: r52489

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

From-SVN: r52487

22 years agore PR c/6358 (GCC 3.1 ICE on statement expressions)
Jakub Jelinek [Thu, 18 Apr 2002 19:10:11 +0000 (21:10 +0200)] 
re PR c/6358 (GCC 3.1 ICE on statement expressions)

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.

From-SVN: r52485

22 years agoinstall.texi (Downloading the source): Do not mention Chill any longer, but mention...
Gerald Pfeifer [Thu, 18 Apr 2002 18:04:03 +0000 (20:04 +0200)] 
install.texi (Downloading the source): Do not mention Chill any longer, but mention Ada.

* doc/install.texi (Downloading the source): Do not mention Chill
any longer, but mention Ada.
(Configuration): Do not mention Chill any longer.

From-SVN: r52482

22 years agoc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
Neil Booth [Thu, 18 Apr 2002 17:54:11 +0000 (17:54 +0000)] 
c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.

* 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.

From-SVN: r52480

22 years agoarc.md: Remove #if HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT blocks.
Zack Weinberg [Thu, 18 Apr 2002 17:38:23 +0000 (17:38 +0000)] 
arc.md: Remove #if HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT blocks.

* config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
TARGET_FLOAT_FORMAT blocks.

From-SVN: r52479

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

From-SVN: r52477

22 years agoi386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution in last patch.
Jan Hubicka [Thu, 18 Apr 2002 15:25:54 +0000 (17:25 +0200)] 
i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution in last patch.

* i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
in last patch.

From-SVN: r52475

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

* fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
instead of unsigned_type.

From-SVN: r52474

22 years agoi386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
Jan Hubicka [Thu, 18 Apr 2002 14:05:03 +0000 (16:05 +0200)] 
i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.

* 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.

From-SVN: r52471

22 years agore PR c++/5658 (Regression on redefinition of a type in a derived class.)
Jason Merrill [Thu, 18 Apr 2002 13:57:35 +0000 (09:57 -0400)] 
re PR c++/5658 (Regression on redefinition of a type in a derived class.)

        PR c++/5658
        * search.c (setup_class_bindings): A class template qualifies as a
        type binding.

From-SVN: r52469

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

From-SVN: r52467

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

From-SVN: r52466

22 years agofold-const.c (fold): Convert (T)(x&c) into ((T)x&(T)c) for integer constant c (if...
Roger Sayle [Thu, 18 Apr 2002 10:39:41 +0000 (10:39 +0000)] 
fold-const.c (fold): Convert (T)(x&c) into ((T)x&(T)c) for integer constant c (if...

* 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.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r52465

22 years agore PR middle-end/6205 (-O -fpmath=sse breaks visibility of register accumulated sum)
Jakub Jelinek [Thu, 18 Apr 2002 10:22:14 +0000 (12:22 +0200)] 
re PR middle-end/6205 (-O -fpmath=sse breaks visibility of register accumulated sum)

PR middle-end/6205
* config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
otherwise xorps.

From-SVN: r52464

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

From-SVN: r52462

22 years ago20020418-1.c: New test.
David S. Miller [Thu, 18 Apr 2002 08:05:23 +0000 (01:05 -0700)] 
20020418-1.c: New test.

2002-04-18  David S. Miller  <davem@redhat.com>

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

From-SVN: r52461

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

From-SVN: r52459

22 years agodoxygroups.cc: New group on binary searching.
Phil Edwards [Thu, 18 Apr 2002 02:55:50 +0000 (02:55 +0000)] 
doxygroups.cc: New group on binary searching.

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.

From-SVN: r52453

22 years agomainpage.html: Doxygen logo is now a PNG file.
Phil Edwards [Thu, 18 Apr 2002 01:42:50 +0000 (01:42 +0000)] 
mainpage.html: Doxygen logo is now a PNG file.

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.

From-SVN: r52451

22 years agotestsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.
Phil Edwards [Thu, 18 Apr 2002 01:37:42 +0000 (01:37 +0000)] 
testsuite_flags.in (cxxflags): Also pass @EXTRA_CXX_FLAGS@.

2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r52450

22 years agoclass.c (make_class_data): Set DECL_ALIGN on static class data, for hash synchronization.
Bryce McKinlay [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.

* 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.

From-SVN: r52448

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

* java/io/File.java (normalizePath): Add Win32 support for auto
conversion of a '/' path separator to Win32's '\' separator.

From-SVN: r52447

22 years agoconfigure.in: Move default CC setting out of config/mh-* fragments directly into...
Nathanael Nerode [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.

* configure.in:  Move default CC setting out of config/mh-* fragments
directly into here.

From-SVN: r52443

22 years agoconfigure.in: don't even try to configure or make a subdirectory if...
Nathanael Nerode [Wed, 17 Apr 2002 20:23:44 +0000 (20:23 +0000)] 
configure.in: don't even try to configure or make a subdirectory if...

* configure.in: don't even try to configure or make a subdirectory
if there's no configure script for it.

From-SVN: r52442

22 years agolinker-map.gnu (__malloc_alloc_template): Add.
Benjamin Kosnik [Wed, 17 Apr 2002 20:08:18 +0000 (20:08 +0000)] 
linker-map.gnu (__malloc_alloc_template): Add.

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.

From-SVN: r52441

22 years agogcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.
Hans Boehm [Wed, 17 Apr 2002 19:54:59 +0000 (19:54 +0000)] 
gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.

* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
SPARC Linux.

From-SVN: r52440

22 years agofilebuf_virtuals.cc: Add _S_pback_size instantiation.
Benjamin Kosnik [Wed, 17 Apr 2002 17:35:00 +0000 (17:35 +0000)] 
filebuf_virtuals.cc: Add _S_pback_size instantiation.

2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>

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

From-SVN: r52436

22 years agoelf.h: Undefine ASM_OUTPUT_CASE_LABEL.
NIIBE Yutaka [Wed, 17 Apr 2002 17:21:49 +0000 (17:21 +0000)] 
elf.h: Undefine ASM_OUTPUT_CASE_LABEL.

2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>

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

From-SVN: r52435

22 years agore PR c++/6316 (trap when compiling file)
Jakub Jelinek [Wed, 17 Apr 2002 17:17:55 +0000 (19:17 +0200)] 
re PR c++/6316 (trap when compiling file)

PR c++/6316
* decl2.c (finish_file): Clear DECL_EXTERNAL in a separate loop
before expanding.

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

From-SVN: r52434

22 years agonegzero.java: New.
Mark Wielaard [Wed, 17 Apr 2002 16:39:47 +0000 (16:39 +0000)] 
negzero.java: New.

* libjava.lang/negzero.java: New.
* libjava.lang/negzero.out: New.

From-SVN: r52429

22 years agojcf-write.c (generate_bytecode_insns): Only write const_0 if not negative zero.
Mark Wielaard [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.

* jcf-write.c (generate_bytecode_insns): Only write const_0 if not
negative zero.

From-SVN: r52427

22 years agogcc.c (read_specs): Detect and fail if an attempt is made to rename a spec string...
Nick Clifton [Wed, 17 Apr 2002 16:26:28 +0000 (16:26 +0000)] 
gcc.c (read_specs): Detect and fail if an attempt is made to rename a spec string to an already...

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.

From-SVN: r52426

22 years agos390.c (legitimize_pic_address): Do not generate illegal address constant without...
Ulrich Weigand [Wed, 17 Apr 2002 16:02:16 +0000 (16:02 +0000)] 
s390.c (legitimize_pic_address): Do not generate illegal address constant without CONST.

* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.

From-SVN: r52425

22 years agolinux64.h (CC1_SPEC): Error for -m32 and -m64.
Kaveh R. Ghazi [Wed, 17 Apr 2002 14:22:17 +0000 (14:22 +0000)] 
linux64.h (CC1_SPEC): Error for -m32 and -m64.

* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
* sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.

From-SVN: r52421

22 years agore PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)
Ulrich Weigand [Wed, 17 Apr 2002 12:25:31 +0000 (12:25 +0000)] 
re PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)

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.

From-SVN: r52417

22 years agoinstall.texi (Building): libgcj requires GNU make.
Andrew Haley [Wed, 17 Apr 2002 09:38:09 +0000 (09:38 +0000)] 
install.texi (Building): libgcj requires GNU make.

2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>

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

From-SVN: r52414

22 years agore PR bootstrap/6315 (sparc64 gcc -mhard-quad-float cannot compile libstdc++-v3)
Jakub Jelinek [Wed, 17 Apr 2002 08:24:03 +0000 (10:24 +0200)] 
re PR bootstrap/6315 (sparc64 gcc -mhard-quad-float cannot compile libstdc++-v3)

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.

From-SVN: r52412

22 years agore PR java/6294 (private inner interface is flagged illegal)
Bryce McKinlay [Wed, 17 Apr 2002 08:23:00 +0000 (08:23 +0000)] 
re PR java/6294 (private inner interface is flagged illegal)

Fix for PR java/6294:
* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
interfaces.

From-SVN: r52411

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

From-SVN: r52409

22 years agoconcept-inst.cc (vector<locale::facet*>): Remove instantiations.
Benjamin Kosnik [Wed, 17 Apr 2002 06:20:20 +0000 (06:20 +0000)] 
concept-inst.cc (vector<locale::facet*>): Remove instantiations.

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.

From-SVN: r52405

22 years agoMakefile.in (PROTO_OBJS): Add cppdefault.o.
Zack Weinberg [Wed, 17 Apr 2002 03:23:45 +0000 (03:23 +0000)] 
Makefile.in (PROTO_OBJS): Add cppdefault.o.

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>

From-SVN: r52404

22 years agoMakefile.in (PROTO_OBJS): Add cppdefault.o.
Zack Weinberg [Wed, 17 Apr 2002 03:15:21 +0000 (03:15 +0000)] 
Makefile.in (PROTO_OBJS): Add cppdefault.o.

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>

From-SVN: r52402

22 years agoaltivec.h (vec_ld): Add array variants.
Aldy Hernandez [Wed, 17 Apr 2002 02:31:30 +0000 (02:31 +0000)] 
altivec.h (vec_ld): Add array variants.

2002-04-17  Aldy Hernandez  <aldyh@redhat.com>

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

From-SVN: r52400

22 years agoaltivec.h: Define __ALTIVEC__.
Alan Matsuoka [Wed, 17 Apr 2002 02:03:43 +0000 (02:03 +0000)] 
altivec.h: Define __ALTIVEC__.

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.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r52398

22 years agore PR c++/6320 (3.1 regression wrt 3.0: ICE in remove_eh_handler, at except.c:2696)
Richard Henderson [Wed, 17 Apr 2002 01:52:38 +0000 (18:52 -0700)] 
re PR c++/6320 (3.1 regression wrt 3.0: ICE in  remove_eh_handler, at except.c:2696)

        PR c++/6320
        * except.c (remove_eh_handler): Insert inner regions at beginning
        of sibling chain.  Refactor expressions.

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

From-SVN: r52397

22 years agoc-common.h (STMT_EXPR_NO_SCOPE): New macro.
Mark Mitchell [Wed, 17 Apr 2002 01:47:36 +0000 (01:47 +0000)] 
c-common.h (STMT_EXPR_NO_SCOPE): New macro.

* 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.

From-SVN: r52395

22 years agosol2-bi.h (AS_SPARC64_FLAG): New.
Richard Henderson [Wed, 17 Apr 2002 01:37:42 +0000 (18:37 -0700)] 
sol2-bi.h (AS_SPARC64_FLAG): New.

        * 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.

From-SVN: r52393

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

From-SVN: r52391

22 years agomips.c (override_options): Don't override N32 for a 64-bit ISA.
Richard Henderson [Wed, 17 Apr 2002 00:43:04 +0000 (17:43 -0700)] 
mips.c (override_options): Don't override N32 for a 64-bit ISA.

        * config/mips/mips.c (override_options): Don't override N32 for
        a 64-bit ISA.

From-SVN: r52389

22 years agomips.md (can_delay): Split out of existing define_delays.
Richard Henderson [Wed, 17 Apr 2002 00:34:44 +0000 (17:34 -0700)] 
mips.md (can_delay): Split out of existing define_delays.

        * config/mips/mips.md (can_delay): Split out of existing define_delays.
        (HILO_delay): Set can_delay false.

From-SVN: r52387

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

From-SVN: r52386

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

From-SVN: r52385

22 years agoxregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.
David S. Miller [Wed, 17 Apr 2002 00:12:54 +0000 (17:12 -0700)] 
xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.

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.

From-SVN: r52383

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

From-SVN: r52379

22 years agors6000.c (rs6000_output_function_prologue): Compute instruction addresses.
Dale Johannesen [Tue, 16 Apr 2002 21:56:09 +0000 (21:56 +0000)] 
rs6000.c (rs6000_output_function_prologue): Compute instruction addresses.

2002-04-16  Dale Johannesen <dalej@apple.com>

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

From-SVN: r52378

22 years agoc-parse.in (poplevel, [...]): Add ending ';', in accordance with POSIX.
Paolo Carlini [Tue, 16 Apr 2002 18:35:13 +0000 (20:35 +0200)] 
c-parse.in (poplevel, [...]): Add ending ';', in accordance with POSIX.

2002-04-16  Paolo Carlini  <pcarlini@unitus.it>

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

From-SVN: r52376

22 years agoconfig.gcc (sparcv9-solaris): Configure for 64-bit default.
Richard Henderson [Tue, 16 Apr 2002 18:05:20 +0000 (11:05 -0700)] 
config.gcc (sparcv9-solaris): Configure for 64-bit default.

        * 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.

From-SVN: r52373

22 years agore PR libgcj/6081 (libjava make install fails: Arg list too long)
Tom Tromey [Tue, 16 Apr 2002 15:52:26 +0000 (15:52 +0000)] 
re PR libgcj/6081 (libjava make install fails: Arg list too long)

Fix for PR libgcj/6081:
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Use GNU make trick to avoid
shell limit.

From-SVN: r52370

22 years agonatFileWin32.cc (performList): Return the correct array type.
Adam King [Tue, 16 Apr 2002 15:37:39 +0000 (15:37 +0000)] 
natFileWin32.cc (performList): Return the correct array type.

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.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r52369

22 years agors6000.c (rs6000_emit_cmove): Fail if modes of comparison operands do not match each...
Dale Johannesen [Tue, 16 Apr 2002 15:25:30 +0000 (15:25 +0000)] 
rs6000.c (rs6000_emit_cmove): Fail if modes of comparison operands do not match each other or if...

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.

From-SVN: r52367

22 years agos390.md (mulsidi3): Set both subregs of the multiword register.
Hartmut Penner [Tue, 16 Apr 2002 12:43:26 +0000 (12:43 +0000)] 
s390.md (mulsidi3): Set both subregs of the multiword register.

 target/6305
        * config/s390/s390.md (mulsidi3): Set both subregs of the
        multiword register.

From-SVN: r52366

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

From-SVN: r52364

22 years agoaltivec.h (vec_addc): Type check.
Aldy Hernandez [Tue, 16 Apr 2002 06:40:40 +0000 (06:40 +0000)] 
altivec.h (vec_addc): Type check.

2002-04-16  Aldy Hernandez  <aldyh@redhat.com>

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

From-SVN: r52360

22 years agore PR target/6303 (output_operand: invalid expression as operand)
Jakub Jelinek [Tue, 16 Apr 2002 06:18:47 +0000 (08:18 +0200)] 
re PR target/6303 (output_operand: invalid expression as operand)

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.

From-SVN: r52358

22 years agore PR middle-end/6279 (gcc-3.1 miscompiles qmake on IA-64)
Jakub Jelinek [Tue, 16 Apr 2002 06:09:39 +0000 (08:09 +0200)] 
re PR middle-end/6279 (gcc-3.1 miscompiles qmake on IA-64)

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.

From-SVN: r52356

22 years agodecl.c (register_dtor_fn): Pass the address of dso_handle, not dso_handle itself...
Mark Mitchell [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.

* decl.c (register_dtor_fn): Pass the address of dso_handle, not
dso_handle itself, to __cxa_atexit.

From-SVN: r52354

22 years agoabi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too.
Richard Henderson [Tue, 16 Apr 2002 03:01:17 +0000 (20:01 -0700)] 
abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too.

        * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
        call_really_used_regs too.

From-SVN: r52352

22 years ago[multiple changes]
Gabriel Dos Reis [Tue, 16 Apr 2002 02:29:22 +0000 (02:29 +0000)] 
[multiple changes]

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.

From-SVN: r52348