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
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
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
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
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
Andreas Schwab [Fri, 19 Apr 2002 17:50:40 +0000 (17:50 +0000)]
Add some explanation for last change.
From-SVN: r52531
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
Kelley R. Cook [Fri, 19 Apr 2002 17:23:36 +0000 (17:23 +0000)]
* gcc_release: Set TZ to UTC0.
From-SVN: r52529
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
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
Mark Mitchell [Fri, 19 Apr 2002 16:40:52 +0000 (16:40 +0000)]
* MAINTAINERS: Add information about purpose of this file.
From-SVN: r52522
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
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
GCC Administrator [Fri, 19 Apr 2002 07:19:16 +0000 (07:19 +0000)]
Daily bump.
From-SVN: r52516
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
Richard Henderson [Fri, 19 Apr 2002 04:41:34 +0000 (21:41 -0700)]
* function.c: Revert patch for c/6358.
From-SVN: r52511
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
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
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
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
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
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
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
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
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
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
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
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
Richard Henderson [Thu, 18 Apr 2002 19:45:36 +0000 (12:45 -0700)]
* config/ia64/ia64.md (trap, conditional_trap): New.
From-SVN: r52487
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
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
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
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
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
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
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
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
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
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
Bernd Schmidt [Thu, 18 Apr 2002 11:23:25 +0000 (11:23 +0000)]
Plug memory leak in handle_vector_size_attribute
From-SVN: r52466
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
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
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
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
GCC Administrator [Thu, 18 Apr 2002 07:18:01 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r52459
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
GCC Administrator [Wed, 17 Apr 2002 07:17:56 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52409
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
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
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
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
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
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
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
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
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
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
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
Richard Henderson [Wed, 17 Apr 2002 00:32:33 +0000 (17:32 -0700)]
Remove, again.
From-SVN: r52386
Richard Henderson [Wed, 17 Apr 2002 00:30:17 +0000 (17:30 -0700)]
* gcc_update: Remove libchill.
From-SVN: r52385
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
Mark Mitchell [Tue, 16 Apr 2002 22:01:55 +0000 (22:01 +0000)]
Remove libchill
From-SVN: r52379
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
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
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
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
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
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
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
GCC Administrator [Tue, 16 Apr 2002 07:18:05 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r52364
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
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
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
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
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
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
DJ Delorie [Tue, 16 Apr 2002 02:03:03 +0000 (22:03 -0400)]
configure.in: Allow building in $srcdir.
* configure.in: Allow building in $srcdir.
* configure: Regenerated.
From-SVN: r52347
Richard Henderson [Tue, 16 Apr 2002 01:16:35 +0000 (18:16 -0700)]
* config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
From-SVN: r52346
Benjamin Kosnik [Tue, 16 Apr 2002 00:45:36 +0000 (00:45 +0000)]
re PR libstdc++/4164 (33 Memory Leak when using iostream)
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.
From-SVN: r52345
David S. Miller [Mon, 15 Apr 2002 23:12:58 +0000 (16:12 -0700)]
rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed.
2002-04-15 David S. Miller <davem@redhat.com>
* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
as being CLOBBERed.
From-SVN: r52343