platform/upstream/gcc.git
22 years agoMakefile.am (c_base_builddir): Remove redundant slash.
Loren J. Rittle [Tue, 22 Jan 2002 17:35:37 +0000 (17:35 +0000)]
Makefile.am (c_base_builddir): Remove redundant slash.

* include/Makefile.am (c_base_builddir): Remove redundant slash.
(std_builddir): Likewise.
(std_headers_rename): Fix cut-n-paste typo.
(install-data-local): Concat path per element instead of once to
first element of list.
* include/Makefile.in: Rebuilt.

From-SVN: r49081

22 years agoMove body of HARD_REGNO_MODE_OK into a function: arm_hard_regno_mode_ok
Nick Clifton [Tue, 22 Jan 2002 17:35:27 +0000 (17:35 +0000)]
Move body of HARD_REGNO_MODE_OK into a function: arm_hard_regno_mode_ok

From-SVN: r49080

22 years agoReplace REG_MAYBE_DEAD notes with USEs.
Nick Clifton [Tue, 22 Jan 2002 17:10:57 +0000 (17:10 +0000)]
Replace REG_MAYBE_DEAD notes with USEs.

From-SVN: r49079

22 years agoctype_noninline.h: Fix formatting.
Benjamin Kosnik [Tue, 22 Jan 2002 16:09:25 +0000 (16:09 +0000)]
ctype_noninline.h: Fix formatting.

2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>

* config/os/aix/bits/ctype_noninline.h: Fix formatting.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.

From-SVN: r49078

22 years agoc-semantics.c (genrtl_compound_stmt): Only check nesting consistency if this COMPOUND...
Jason Merrill [Tue, 22 Jan 2002 16:05:50 +0000 (11:05 -0500)]
c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if this COMPOUND_STMT is scoped.

        * c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if
        this COMPOUND_STMT is scoped.

From-SVN: r49077

22 years agoparse.y (function_body): Suppress the block for the outermost curly braces.
Jason Merrill [Tue, 22 Jan 2002 14:42:09 +0000 (09:42 -0500)]
parse.y (function_body): Suppress the block for the outermost curly braces.

        * parse.y (function_body): Suppress the block for the outermost
        curly braces.
        * decl.c (pushdecl): Don't try to skip it.
        (begin_function_body): Keep the block we create, not the next one.
        * init.c (emit_base_init): Don't mess with keep_next_level.

From-SVN: r49076

22 years ago* class.c (build_base_path): Tweak formatting.
Jason Merrill [Tue, 22 Jan 2002 14:37:29 +0000 (09:37 -0500)]
* class.c (build_base_path): Tweak formatting.

From-SVN: r49075

22 years agopredict.c: Fix formatting.
Kazu Hirata [Tue, 22 Jan 2002 14:33:35 +0000 (14:33 +0000)]
predict.c: Fix formatting.

* predict.c: Fix formatting.
* print-tree.c: Likewise.
* protoize.c: Likewise.
* real.h: Likewise.
* rtl.h: Likewise.
* sbitmap.h: Likewise.
* scan.c: Likewise.
* sched-deps.c: Likewise.
* sched-vis.c: Likewise.
* sdbout.c: Likewise.
* sibcall.c: Likewise.
* ssa.c: Likewise.
* ssa-ccp.c: Likewise.
* ssa-dce.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* system.h: Likewise.

From-SVN: r49074

22 years agotree.c (int_fits_type_p): If bounds of a subtype are variable, see if fits in bounds...
Richard Kenner [Tue, 22 Jan 2002 12:01:54 +0000 (12:01 +0000)]
tree.c (int_fits_type_p): If bounds of a subtype are variable, see if fits in bounds of base type.

* tree.c (int_fits_type_p): If bounds of a subtype are variable, see
if fits in bounds of base type.

From-SVN: r49070

22 years agodwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
Richard Kenner [Tue, 22 Jan 2002 11:33:52 +0000 (11:33 +0000)]
dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.

* dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
(loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
(add_bound_info, default): If can't find a context, make a
SAVE_EXPR.
(dwarf2out_finish): Check for SAVE_EXPR in node->created_for.

From-SVN: r49069

22 years agoDaily bump.
GCC Administrator [Tue, 22 Jan 2002 08:16:44 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49067

22 years agoc-typeck.c (parser_build_binary_op): If result from build_binary_op is ERROR_MARK...
Hans-Peter Nilsson [Tue, 22 Jan 2002 07:48:25 +0000 (07:48 +0000)]
c-typeck.c (parser_build_binary_op): If result from build_binary_op is ERROR_MARK just return error_mark_node...

* c-typeck.c (parser_build_binary_op): If result from
build_binary_op is ERROR_MARK just return error_mark_node without
further processing.

From-SVN: r49066

22 years ago* gcc.dg/20020122-1.c: New test.
Hans-Peter Nilsson [Tue, 22 Jan 2002 07:43:58 +0000 (07:43 +0000)]
* gcc.dg/20020122-1.c: New test.

From-SVN: r49065

22 years agonetbsd.h (TARGET_HAS_F_SETLKW): define.
Jason Thorpe [Tue, 22 Jan 2002 04:23:07 +0000 (04:23 +0000)]
netbsd.h (TARGET_HAS_F_SETLKW): define.

* config/netbsd.h (TARGET_HAS_F_SETLKW): define.
Split a.out-specific bits into...
* config/netbsd-aout.h: ...this.
* config/netbsd-elf.h: New file.
* config/alpha/netbsd-elf.h: Remove.
* config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
* config/i386/netbsd-elf.h (LIB_SPEC): Remove.
(STARTFILE_SPEC): Remove redundant definition.
(ENDFILE_SPEC): Likewise.
(LINK_SPEC): Likewise.
(CPP_SPEC): Likewise.
(ASM_SPEC): Likewise.
(LIB_SPEC): Likewise.
(SWITCH_TAKES_ARG): Likewise.
(TARGET_MEM_FUNCTIONS): Likewise.
(CPP_PREDEFINES): Redefine.
(ASM_FINAL_SPEC): Remove redefinition.
(ASM_COMMENT_START): Redefine.
(FUNCTION_PROFILER): Define.
(TARGET_VERSION): Redefine.
Comment and formatting cleanup.
* config/i386/netbsd.h: Include <netbsd-aout.h>.
* config/m68k/netbsd.h: Include <netbsd-aout.h>.
* config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
big- or little-endian.
* config/ns32k/netbsd.h: Include <netbsd-aout.h>.
* config.gcc (*-*-netbsd*): Add definitions common to all
NetBSD configs.
(alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
gnu_ld definitions.  Add netbsd-elf.h to and remove
alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
tmake_file, and don't lose previous tmake_file contents.
(arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
(i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
gnu_ld definitions.  Add netbsd-elf.h to tm_file.
(mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
(mipsel-*-netbsd*): Rename this to...
(mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
mips/little.h to tm_file for mips*el-*.
(powerpc-*-netbsd*): Remove redundant xm_defines definition.
(sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
(vax-*-netbsd*): Add netbsd-aout.h to tm_file.

From-SVN: r49064

22 years agotm.texi: Remove STARTING_FRAME_PHASE.
Aldy Hernandez [Tue, 22 Jan 2002 02:36:54 +0000 (02:36 +0000)]
tm.texi: Remove STARTING_FRAME_PHASE.

        * doc/tm.texi: Remove STARTING_FRAME_PHASE.

        * config/rs6000/rs6000.h: Same.

        * function.c (instantiate_virtual_regs): Remove
        STARTING_FRAME_PHASE.
        (assign_stack_local_1): Same.
        Calculate frame phase.

From-SVN: r49063

22 years agoChangeLog rotation
Tom Tromey [Tue, 22 Jan 2002 00:20:23 +0000 (00:20 +0000)]
ChangeLog rotation

From-SVN: r49061

22 years agoattrib5.C: XFAIL cygwin too
David Billinghurst [Mon, 21 Jan 2002 23:40:44 +0000 (23:40 +0000)]
attrib5.C: XFAIL cygwin too

2001-01-22  David.Billinghurst <David.Billinghurst@riotinto.com>

* g++.old-deja/g++.ext/attrib5.C: XFAIL cygwin too

From-SVN: r49060

22 years ago20010207-1.c: Restrict to i?86-*-[eflno]*
David Billinghurst [Mon, 21 Jan 2002 22:58:30 +0000 (22:58 +0000)]
20010207-1.c: Restrict to i?86-*-[eflno]*

2002-01-22  David Billinghurst <David.Billinghurst@riotinto.com>

* gcc.dg/20010207-1.c: Restrict to i?86-*-[eflno]*

From-SVN: r49059

22 years agopa-protos.h (reg_before_reload_operand): New function prototype.
John David Anglin [Mon, 21 Jan 2002 22:57:49 +0000 (22:57 +0000)]
pa-protos.h (reg_before_reload_operand): New function prototype.

* pa-protos.h (reg_before_reload_operand): New function prototype.
* pa.c (reg_before_reload_operand): New function implementation.
* pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
contraints to "*m".

From-SVN: r49058

22 years agocombine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
Franz Sirl [Mon, 21 Jan 2002 22:19:55 +0000 (22:19 +0000)]
combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.

2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.

From-SVN: r49057

22 years ago20020121-1.c: New test.
Franz Sirl [Mon, 21 Jan 2002 22:16:04 +0000 (22:16 +0000)]
20020121-1.c: New test.

2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

From-SVN: r49056

22 years agog77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.
John David Anglin [Mon, 21 Jan 2002 21:29:12 +0000 (21:29 +0000)]
g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.

* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
ld_library_path.

From-SVN: r49055

22 years agopa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
John David Anglin [Mon, 21 Jan 2002 21:22:19 +0000 (21:22 +0000)]
pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".

* pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
(MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
(MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
(EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
(ENDFILE_SPEC): Undefine.
(STARTFILE_SPEC): Redefine for PA.

From-SVN: r49054

22 years agot-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
Franz Sirl [Mon, 21 Jan 2002 18:55:07 +0000 (18:55 +0000)]
t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.

2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.

From-SVN: r49048

22 years agoconfig.gcc: Add entries to supported PowerPC --with-cpu types.
Daniel Jacobowitz [Mon, 21 Jan 2002 16:14:48 +0000 (16:14 +0000)]
config.gcc: Add entries to supported PowerPC --with-cpu types.

2002-01-21  Daniel Jacobowitz  <drow@mvista.com>

        * config.gcc: Add entries to supported PowerPC --with-cpu
        types.

From-SVN: r49047

22 years agoi386.c (ix86_function_arg_regno_p): Never return true for 64-bit mode only SSE regist...
Jakub Jelinek [Mon, 21 Jan 2002 15:53:31 +0000 (16:53 +0100)]
i386.c (ix86_function_arg_regno_p): Never return true for 64-bit mode only SSE registers in 32-bit mode.

* config/i386/i386.c (ix86_function_arg_regno_p): Never return
true for 64-bit mode only SSE registers in 32-bit mode.

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

From-SVN: r49046

22 years agounwind-dw2.c: Fix formatting.
Kazu Hirata [Mon, 21 Jan 2002 13:08:33 +0000 (13:08 +0000)]
unwind-dw2.c: Fix formatting.

* unwind-dw2.c: Fix formatting.
* unwind-dw2-fde.c: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind-pe.h: Likewise.
* varasm.c: Likewise.
* varray.h: Likewise.

From-SVN: r49045

22 years agoprune.exp (prune_gcc_output): Prune "At global scope" messages
David Billinghurst [Mon, 21 Jan 2002 12:48:38 +0000 (12:48 +0000)]
prune.exp (prune_gcc_output): Prune "At global scope" messages

2002-01-21  David.Billinghurst <David.Billinghurst@riotinto.com>

* lib/prune.exp (prune_gcc_output): Prune "At global scope"
messages
* g++.dg/other/deprecated.C: Remove dg-bogus comment for
"At global scope" warning
* g++.dg/ext/align1.C: Change cygwin test for alignment
from db-bogus to dg-warning

From-SVN: r49044

22 years agoProperly indent two lines.
Richard Kenner [Mon, 21 Jan 2002 12:35:58 +0000 (07:35 -0500)]
Properly indent two lines.

From-SVN: r49043

22 years ago* g77.f-torture/compile/cpp2.F: New test.
Zack Weinberg [Mon, 21 Jan 2002 08:37:49 +0000 (08:37 +0000)]
* g77.f-torture/compile/cpp2.F: New test.

From-SVN: r49038

22 years agoDaily bump.
GCC Administrator [Mon, 21 Jan 2002 08:16:19 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49036

22 years agoRemove workaround for register stack overwrite bug in mmix.
Hans-Peter Nilsson [Mon, 21 Jan 2002 07:25:48 +0000 (07:25 +0000)]
Remove workaround for register stack overwrite bug in mmix.

* config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
support for TARGET_REG_STACK_FILL_BUG.
* config/mmix/mmix.h: Remove member has_call_without_parameters.
(TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
Delete.
(TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
(TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
-mno-reg-stack-fill-bug-workaround.
* config/mmix/mmix.md ("call", "call_value"): Don't set struct
machine member has_call_without_parameters.
* doc/invoke.texi (Option Summary) <MMIX Options>: Remove
-mreg-stack-fill-bug-workaround and
-mno-reg-stack-fill-bug-workaround.
(MMIX Options): Ditto.

From-SVN: r49035

22 years agoh8300.c (function_arg): Replace 0 with NULL_RTX as appropriate.
Kazu Hirata [Mon, 21 Jan 2002 07:06:37 +0000 (07:06 +0000)]
h8300.c (function_arg): Replace 0 with NULL_RTX as appropriate.

* config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
as appropriate.
Remove redundant code.

From-SVN: r49034

22 years agoalpha.h, [...]: Remove commented out target macro definitions and non-target-specific...
Joseph Myers [Mon, 21 Jan 2002 06:22:28 +0000 (06:22 +0000)]
alpha.h, [...]: Remove commented out target macro definitions and non-target-specific comments...

* config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
out target macro definitions and non-target-specific comments
mostly taken from old versions of the manual.

From-SVN: r49033

22 years ago[multiple changes]
Benjamin Kosnik [Mon, 21 Jan 2002 04:08:54 +0000 (04:08 +0000)]
[multiple changes]

2002-01-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (ctype<char>::classic_table):
Remove definition.
(ctype<char>::_S_ctable): Remove.
* config/os/gnu-linux/bits/ctype_noninline.h
(ctype<char>::_S_table): Remove definition.
(ctype<char>::classic_table): Define.
(ctype<char>::ctype): Replace _S_ctable with classic_table().
* config/os/aix/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/generic/bits/ctype_noninline.h: Same.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/mingw32/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.

2002-01-20  Danny Smith  <dannysmith@users.sourceforge.net>

* config/os/mingw32/bits/ctype_noninline.h: Declare _ctype instead
of _pctype. Use to define _S_ctable.  Add definition for alternate
ctor.  Initialise _M_ctable to _S_ctable in ctors.
(do_toupper, do_tolower): Use inline code appropriate for C-locale
rather than ::toupper, ::tolower.

From-SVN: r49032

22 years agoh8300.h: Fix comment formatting.
Kazu Hirata [Mon, 21 Jan 2002 02:24:02 +0000 (02:24 +0000)]
h8300.h: Fix comment formatting.

* config/h8300/h8300.h: Fix comment formatting.
* config/ia64/aix.h: Likewise.
* config/ia64/ia64-protos.h: Likewise.
* config/ia64/ia64.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ia64/ia64intrin.h: Likewise.
* config/ia64/linux.h: Likewise.
* config/ia64/unwind-aix.c: Likewise.
* config/ia64/unwind-ia64.c: Likewise.

From-SVN: r49031

22 years ago* config/h8300/h8300.c: Revise comments about shift code.
Kazu Hirata [Mon, 21 Jan 2002 02:04:46 +0000 (02:04 +0000)]
* config/h8300/h8300.c: Revise comments about shift code.

From-SVN: r49030

22 years ago* config/h8300/h8300.c (function_arg): Update a comment.
Kazu Hirata [Mon, 21 Jan 2002 01:12:35 +0000 (01:12 +0000)]
* config/h8300/h8300.c (function_arg): Update a comment.

From-SVN: r49026

22 years agoh8300.md: Update the comments at the beginning of the file.
Kazu Hirata [Mon, 21 Jan 2002 00:34:29 +0000 (00:34 +0000)]
h8300.md: Update the comments at the beginning of the file.

* config/h8300/h8300.md: Update the comments at the beginning
of the file.

From-SVN: r49025

22 years ago* reg-stack.c (subst_stack_regs): Properly check for deleted insn.
Richard Kenner [Sun, 20 Jan 2002 23:50:07 +0000 (23:50 +0000)]
* reg-stack.c (subst_stack_regs): Properly check for deleted insn.

From-SVN: r49024

22 years agoi370.c: Fix comment formatting.
Kazu Hirata [Sun, 20 Jan 2002 23:48:11 +0000 (23:48 +0000)]
i370.c: Fix comment formatting.

* config/i370/i370.c: Fix comment formatting.
* config/i370/i370.h: Likewise.
* config/i370/i370.md: Likewise.
* config/i370/linux.h: Likewise.

From-SVN: r49023

22 years agodwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
Richard Kenner [Sun, 20 Jan 2002 23:46:30 +0000 (23:46 +0000)]
dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.

* dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
(gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
in incomplete case.

From-SVN: r49022

22 years agoMakefile.in: $(MULTISUBDIR) has an implied leading `/'; remove duplicates.
Toon Moene [Sun, 20 Jan 2002 19:58:42 +0000 (20:58 +0100)]
Makefile.in: $(MULTISUBDIR) has an implied leading `/'; remove duplicates.

2002-01-20  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: $(MULTISUBDIR) has an implied leading `/';
remove duplicates.
Use libtool for removing libg2c{a|la|so} for the `uninstall' target.

From-SVN: r49021

22 years agonatPlainSocketImpl.cc (_Jv_recv): Change return type of function and of parameter...
Andreas Schwab [Sun, 20 Jan 2002 16:34:07 +0000 (16:34 +0000)]
natPlainSocketImpl.cc (_Jv_recv): Change return type of function and of parameter recv_func to ssize_t...

* java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
function and of parameter recv_func to ssize_t, as specified by
POSIX.

From-SVN: r49020

22 years ago* cfgloop.c (flow_loop_preheader_scan): Fix typo.
Graham Stott [Sun, 20 Jan 2002 09:32:27 +0000 (09:32 +0000)]
* cfgloop.c (flow_loop_preheader_scan): Fix typo.

From-SVN: r49019

22 years agoDaily bump.
GCC Administrator [Sun, 20 Jan 2002 08:16:10 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49017

22 years agoFix regression introduced with patch for c++/775
Nathan Sidwell [Sat, 19 Jan 2002 20:55:35 +0000 (20:55 +0000)]
Fix regression introduced with patch for c++/775

cp:
Fix regression introduced with patch for c++/775
* parse.y (class_head_defn): Check for template specializations
with a different class-key.
testsuite:
* g++.dg/template/access1.C: New test.

From-SVN: r49016

22 years agoZipOutputStream.java (putNextEntry): Clear uncompressed_size in readiness for next...
Per Bothner [Sat, 19 Jan 2002 20:51:48 +0000 (12:51 -0800)]
ZipOutputStream.java (putNextEntry): Clear uncompressed_size in readiness for next entry.

* java/util/zip/ZipOutputStream.java (putNextEntry):  Clear
uncompressed_size in readiness for next entry.

From-SVN: r49014

22 years ago* config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
John David Anglin [Sat, 19 Jan 2002 20:42:33 +0000 (20:42 +0000)]
* config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.

From-SVN: r49013

22 years agoFix for DF split
Tom Rix [Sat, 19 Jan 2002 15:40:35 +0000 (15:40 +0000)]
Fix for DF split

From-SVN: r49011

22 years agoDaily bump.
GCC Administrator [Sat, 19 Jan 2002 08:17:41 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r49010

22 years ago20020118-1.c: New.
Aldy Hernandez [Sat, 19 Jan 2002 03:08:40 +0000 (03:08 +0000)]
20020118-1.c: New.

2002-01-18  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/20020118-1.c: New.

From-SVN: r49007

22 years ago20020118-1.c: New.
Aldy Hernandez [Sat, 19 Jan 2002 03:06:55 +0000 (03:06 +0000)]
20020118-1.c: New.

2002-01-18  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/20020118-1.c: New.

        * tm.texi (STARTING_FRAME_PHASE): Document.

        * function.c (assign_stack_local_1): Adjust x_frame_offset with
        STARTING_FRAME_PHASE.
        (STARTING_FRAME_PHASE): New.
        (instantiate_virtual_regs): Check saneness of
        STARTING_FRAME_PHASE.

        * rs6000.h (STARTING_FRAME_PHASE): New.

From-SVN: r49006

22 years ago* config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
Alexandre Oliva [Sat, 19 Jan 2002 02:54:14 +0000 (02:54 +0000)]
* config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.

From-SVN: r49005

22 years agoinstall.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot be used for bootstrapp...
Craig Rodrigues [Sat, 19 Jan 2002 00:06:49 +0000 (00:06 +0000)]
install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot be used for bootstrapping GCC 3.0.

2002-01-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
        be used for bootstrapping GCC 3.0.

From-SVN: r49001

22 years agonumeric_limits.cc (test_extrema<long double>): Add specialization for FreeBSD systems...
Loren J. Rittle [Fri, 18 Jan 2002 22:07:27 +0000 (22:07 +0000)]
numeric_limits.cc (test_extrema<long double>): Add specialization for FreeBSD systems only to avoid losing test only due to...

* testsuite/18_support/numeric_limits.cc (test_extrema<long double>):
Add specialization for FreeBSD systems only to avoid losing test
only due to extra precision unmentioned in system headers.

From-SVN: r48997

22 years agoMakefile.in: Add missing `/' separator in last change.
Toon Moene [Fri, 18 Jan 2002 20:07:36 +0000 (21:07 +0100)]
Makefile.in: Add missing `/' separator in last change.

2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Add missing `/' separator in last change.

From-SVN: r48995

22 years agoMakefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR) instead of...
Toon Moene [Fri, 18 Jan 2002 19:58:48 +0000 (20:58 +0100)]
Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR) instead of...

2002-01-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Install libg2c.{a|la|so} in $(libdir)$(MULTISUBDIR)
instead of $(libsubdir)$(MULTISUBDIR).

From-SVN: r48994

22 years ago- Symmetrically define ffi_call_DARWIN for AIX.
David Edelsohn [Fri, 18 Jan 2002 18:41:11 +0000 (18:41 +0000)]
- Symmetrically define ffi_call_DARWIN for AIX.

From-SVN: r48993

22 years agonatPlainSocketImpl.cc: Include IllegalArgumentException.h.
Tom Tromey [Fri, 18 Jan 2002 17:23:23 +0000 (17:23 +0000)]
natPlainSocketImpl.cc: Include IllegalArgumentException.h.

* java/net/natPlainSocketImpl.cc: Include
IllegalArgumentException.h.
(_Jv_recv): New template function.
(BooleanClass): Removed.
(read): Use _Jv_recv.
(setOption): Use Boolean::class$.  Throw exception if object is
not Boolean or Integer.

From-SVN: r48992

22 years ago* testsuite/gcc.c-torture/execute/20020118-1.c: New test.
Kazu Hirata [Fri, 18 Jan 2002 17:21:40 +0000 (17:21 +0000)]
* testsuite/gcc.c-torture/execute/20020118-1.c: New test.

From-SVN: r48991

22 years ago* config/h8300/h8300.md: Fix an insn length.
Kazu Hirata [Fri, 18 Jan 2002 17:19:59 +0000 (17:19 +0000)]
* config/h8300/h8300.md: Fix an insn length.

From-SVN: r48990

22 years ago- Provide a null definition of _ffi_call_AIX so that Darwin link won't fail.
David Edelsohn [Fri, 18 Jan 2002 16:22:34 +0000 (16:22 +0000)]
- Provide a null definition of _ffi_call_AIX so that Darwin link won't fail.

From-SVN: r48989

22 years agobitmap.h: Fix comment formatting.
Kazu Hirata [Fri, 18 Jan 2002 13:40:36 +0000 (13:40 +0000)]
bitmap.h: Fix comment formatting.

* bitmap.h: Fix comment formatting.
* combine.c: Likewise.
* cppfiles.c: Likewise.
* c-pragma.h: Likewise.
* c-typeck.c: Likewise.
* df.c: Likewise.
* dwarf2out.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* genattrtab.c: Likewise.
* gthr-win32.h: Likewise.
* haifa-sched.c: Likewise.
* predict.c: Likewise.
* rtlanal.c: Likewise.
* rtl.h: Likewise.
* unwind-dw2-fde.h: Likewise.
* unwind-pe.h: Likewise.
* vmsdbgout.c: Likewise.

From-SVN: r48987

22 years agotweak so adjustment is necessary in v3 abi
Jason Merrill [Fri, 18 Jan 2002 13:30:17 +0000 (08:30 -0500)]
tweak so adjustment is necessary in v3 abi

From-SVN: r48986

22 years agosemantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER if we're in a template.
Jason Merrill [Fri, 18 Jan 2002 13:25:27 +0000 (08:25 -0500)]
semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER if we're in a template.

        * semantics.c (setup_vtbl_ptr): Always build a CTOR_INITIALIZER
        if we're in a template.

From-SVN: r48985

22 years agoalso test with inlining
Jason Merrill [Fri, 18 Jan 2002 13:24:04 +0000 (08:24 -0500)]
also test with inlining

From-SVN: r48984

22 years agoC++ ABI change: destroy value arguments in caller.
Jason Merrill [Fri, 18 Jan 2002 13:23:23 +0000 (08:23 -0500)]
C++ ABI change: destroy value arguments in caller.

        * calls.c (initialize_argument_information): Pass the address of
        the TARGET_EXPR temporary rather than storing it into another.

From-SVN: r48983

22 years agore PR c++/3242 (Forwarding using 'using' of base members broken?)
Jason Merrill [Fri, 18 Jan 2002 13:21:35 +0000 (08:21 -0500)]
re PR c++/3242 (Forwarding using 'using' of base members broken?)

        PR c++/3242
        * class.c (add_method): Do compare 'this' quals when trying to match a
        used function.  Don't defer to another used function.

From-SVN: r48982

22 years agoDaily bump.
GCC Administrator [Fri, 18 Jan 2002 08:16:20 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48980

22 years agoctype_noninline.h: Fix typo
David Billinghurst [Fri, 18 Jan 2002 04:29:28 +0000 (04:29 +0000)]
ctype_noninline.h: Fix typo

2002-01-18  David Billinghurst <David.Billinghurst@riotinto.com>

* config/os/irix/irix6.5/bits/ctype_noninline.h: Fix typo

From-SVN: r48979

22 years agoMakefile.in (all-fastjar): Also depend on all-libiberty.
H.J. Lu [Fri, 18 Jan 2002 01:15:47 +0000 (01:15 +0000)]
Makefile.in (all-fastjar): Also depend on all-libiberty.

2002-01-17  H.J. Lu <hjl@gnu.org>

* Makefile.in (all-fastjar): Also depend on all-libiberty.
(all-target-fastjar): Also depend on all-target-libiberty.

From-SVN: r48976

22 years agoMenuComponent.java: Merged with Classpath.
Tom Tromey [Fri, 18 Jan 2002 01:01:58 +0000 (01:01 +0000)]
MenuComponent.java: Merged with Classpath.

* java/awt/MenuComponent.java: Merged with Classpath.
* java/awt/MenuItem.java: Merged with Classpath.
* java/awt/Button.java: Merged with Classpath.

From-SVN: r48975

22 years agooops - incorrect changelog for previous delta
Nick Clifton [Thu, 17 Jan 2002 23:40:23 +0000 (23:40 +0000)]
oops - incorrect changelog for previous delta

From-SVN: r48974

22 years agofix typo in comment
Nick Clifton [Thu, 17 Jan 2002 23:37:43 +0000 (23:37 +0000)]
fix typo in comment

From-SVN: r48973

22 years ago* java/awt/ActiveEvent.java: Updated copyright.
Tom Tromey [Thu, 17 Jan 2002 23:23:29 +0000 (23:23 +0000)]
* java/awt/ActiveEvent.java: Updated copyright.

From-SVN: r48972

22 years agodeprecated.C: Fix FAIL from "At global scope" message
David Billinghurst [Thu, 17 Jan 2002 22:48:08 +0000 (22:48 +0000)]
deprecated.C: Fix FAIL from "At global scope" message

2001-01-17  David Billinghurst <David.Billinghurst@riotinto.com>

* g++.dg/other/deprecated.C: Fix FAIL from
"At global scope" message
* g++.dg/ext/align1.C: Fix fail on cygwin from maximum
alignment warnings

From-SVN: r48971

22 years ago- Add more information about interposing functions using runtime-linking.
David Edelsohn [Thu, 17 Jan 2002 22:45:21 +0000 (17:45 -0500)]
- Add more information about interposing functions using runtime-linking.

From-SVN: r48970

22 years agoi386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops
David Billinghurst [Thu, 17 Jan 2002 22:37:04 +0000 (22:37 +0000)]
i386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops

2001-01-18  David Billinghurst <David.Billinghurst@riotinto.com>

* gcc.misc-tests/i386-prefetch.exp: Save and restore
torture_with_loops and torture_without_loops

From-SVN: r48968

22 years agoctor_copy_dtor.cc: Remove check.
Peter Schmid [Thu, 17 Jan 2002 22:29:44 +0000 (22:29 +0000)]
ctor_copy_dtor.cc: Remove check.

2002-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/22_locale/ctor_copy_dtor.cc: Remove check.

From-SVN: r48967

22 years agoAdded my name (Ira Ruben) to write-after-approval list.
Ira Ruben [Thu, 17 Jan 2002 22:03:36 +0000 (22:03 +0000)]
Added my name (Ira Ruben) to write-after-approval list.

From-SVN: r48966

22 years agoattribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE if type_required and passe...
Richard Kenner [Thu, 17 Jan 2002 20:34:40 +0000 (20:34 +0000)]
attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE if type_required and passed decl.

* attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
if type_required and passed decl.

From-SVN: r48964

22 years agoconfig.gcc (cpu_type): Include altivec.h in powerpc extra_headers.
Aldy Hernandez [Thu, 17 Jan 2002 20:07:06 +0000 (20:07 +0000)]
config.gcc (cpu_type): Include altivec.h in powerpc extra_headers.

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

        * config.gcc (cpu_type): Include altivec.h in powerpc
        extra_headers.
        Same for darwin.

        * config/rs6000/altivec.h: New.

From-SVN: r48963

22 years agoinstall.texi (*-ibm-aix*): Update assembler and exception handling information.
David Edelsohn [Thu, 17 Jan 2002 20:01:49 +0000 (20:01 +0000)]
install.texi (*-ibm-aix*): Update assembler and exception handling information.

        * doc/install.texi (*-ibm-aix*): Update assembler and exception
        handling information.
        * doc/trouble.texi (Interoperation): Add libstdc++ information
        for AIX.
        (Misunderstandings): Add template instantiation and static template
        member information for AIX.

From-SVN: r48962

22 years agoAWTError.java: Replaced with Classpath version.
Tom Tromey [Thu, 17 Jan 2002 17:35:28 +0000 (17:35 +0000)]
AWTError.java: Replaced with Classpath version.

* java/awt/AWTError.java: Replaced with Classpath version.
* java/awt/AWTException.java: Replaced with Classpath version.
* java/awt/IllegalComponentStateException.java: Replaced with
Classpath version.

From-SVN: r48961

22 years ago* configure.target: Define OPT_LDFLAGS for AIX case.
David Edelsohn [Thu, 17 Jan 2002 16:14:08 +0000 (16:14 +0000)]
* configure.target: Define OPT_LDFLAGS for AIX case.

From-SVN: r48958

22 years ago- acsectionLDflags fix omitted from previous commit.
David Edelsohn [Thu, 17 Jan 2002 16:11:26 +0000 (11:11 -0500)]
- acsectionLDflags fix omitted from previous commit.

From-SVN: r48957

22 years agoMakefile.am (EXTRA_DIST): Add Darwin and AIX files.
David Edelsohn [Thu, 17 Jan 2002 16:04:21 +0000 (16:04 +0000)]
Makefile.am (EXTRA_DIST): Add Darwin and AIX files.

        * Makefile.am (EXTRA_DIST): Add Darwin and AIX files.
        (TARGET_SRC_POWERPC_AIX): New.
        (POWERPC_AIX): New stanza.
        * Makefile.in: Regenerate.
        * configure.in: Add AIX case.
        * configure: Regenerate.
        * include/ffi.h.in (ffi_abi): Add FFI_AIX.
        * src/powerpc/ffi_darwin.c (ffi_status): Use "long" to scale frame
        size.  Fix "long double" support.
        (ffi_call): Add FFI_AIX case.
        * src/powerpc/aix.S: New.

From-SVN: r48956

22 years agostd_limits.h (__glibcpp_float_has_quiet_NaN, [...]): Correct mispelling.
Gabriel Dos Reis [Thu, 17 Jan 2002 15:46:48 +0000 (15:46 +0000)]
std_limits.h (__glibcpp_float_has_quiet_NaN, [...]): Correct mispelling.

       * include/std/std_limits.h (__glibcpp_float_has_quiet_NaN,
       __glibcpp_double_has_quiet_NaN): Correct mispelling.

From-SVN: r48955

22 years ago* dbxout.c (dbxout_type): Support const and volatile.
Jason Merrill [Thu, 17 Jan 2002 15:35:28 +0000 (10:35 -0500)]
* dbxout.c (dbxout_type): Support const and volatile.

From-SVN: r48954

22 years agoexcept.c (add_partial_entry): Remove backwards compatibility code.
Jason Merrill [Thu, 17 Jan 2002 14:21:54 +0000 (09:21 -0500)]
except.c (add_partial_entry): Remove backwards compatibility code.

        * except.c (add_partial_entry): Remove backwards compatibility code.
        (end_protect_partials): Likewise.

From-SVN: r48951

22 years agodecl.c (begin_constructor_body, [...]): New fns.
Jason Merrill [Thu, 17 Jan 2002 13:07:27 +0000 (08:07 -0500)]
decl.c (begin_constructor_body, [...]): New fns.

        * decl.c (begin_constructor_body, begin_destructor_body): New fns.
        (begin_function_body): Call them and keep_next_level.
        * init.c (emit_base_init): Call keep_next_level.
        * semantics.c (setup_vtbl_ptr): Lose.
        * cp-tree.h (struct cp_language_function): Remove vtbls_set_up_p.
        (vtbls_set_up_p): Lose.
        * pt.c (tsubst_expr, CTOR_INITIALIZER): Call emit_base_init.
        * method.c (do_build_copy_constructor): Likewise.
        (synthesize_method): Call finish_mem_initializers.
        * parse.y (nodecls): Likewise.

From-SVN: r48948

22 years agoerror.c (dump_type_suffix): Print the exception specs before recursing.
Jason Merrill [Thu, 17 Jan 2002 12:54:36 +0000 (07:54 -0500)]
error.c (dump_type_suffix): Print the exception specs before recursing.

        * error.c (dump_type_suffix): Print the exception specs before
        recursing.
        (dump_function_decl): Here, too.

        * cp-tree.h (TMPL_PARMS_DEPTH): Cast to signed HOST_WIDE_INT.

From-SVN: r48947

22 years agoia64.md (prologue_use): New.
Jakub Jelinek [Thu, 17 Jan 2002 12:07:58 +0000 (13:07 +0100)]
ia64.md (prologue_use): New.

* config/ia64/ia64.md (prologue_use): New.
* config/ia64/ia64.c (ia64_expand_prologue): Use
gen_prologue_use instead of gen_rtx_USE.
(group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
as CODE_FOR_pred_rel_mutex.
(ia64_sched_reorder2): Likewise.

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

From-SVN: r48946

22 years agoctype_noninline.h: Fix.
Andreas Tobler [Thu, 17 Jan 2002 09:56:42 +0000 (10:56 +0100)]
ctype_noninline.h: Fix.

2002-01-17  Andreas Tobler  <toa@pop.agri.ch>

* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Fix.

From-SVN: r48945

22 years agoDaily bump.
GCC Administrator [Thu, 17 Jan 2002 08:16:32 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48943

22 years agor3900.h: Reformat.
Eric Christopher [Thu, 17 Jan 2002 07:53:56 +0000 (07:53 +0000)]
r3900.h: Reformat.

2002-01-16  Eric Christopher  <echristo@redhat.com>

* config/mips/r3900.h: Reformat.
(SUBTARGET_CPP_SIZE_SPEC): Remove.
* config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
* config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
(SUBTARGET_CPP_SIZE_SPEC): Rewrite.
* config/mips/t-elf: Remove mips3 multilib.

From-SVN: r48942

22 years agoacinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LD...
David Edelsohn [Thu, 17 Jan 2002 07:33:29 +0000 (07:33 +0000)]
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LDFLAGS.

2002-01-16  David Edelsohn  <dje@watson.ibm.com>

* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
SECTION_LDFLAGS and OPT_LDFLAGS.  Fix ac_sectionLDflags type.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r48941

22 years agoMakefile.am (c_base_headers_rename): New.
Benjamin Kosnik [Thu, 17 Jan 2002 07:18:33 +0000 (07:18 +0000)]
Makefile.am (c_base_headers_rename): New.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am (c_base_headers_rename): New.
(c_base_headers_extra): New.
(stamp-c_base): Modify.
(install-data-local): Use both.
* include/Makefile.in: Regenerate.
* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c/std_*: Here.
* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c_std/std_*: Here.

Alexandre Oliva  <aoliva@redhat.com>
* include/Makefile.am (.PRECIOUS): Add rule.
* include/Makefile.in: Regenerate.

From-SVN: r48940

22 years agostl_iterator.h (reverse_iterator::_M_current): Deuglify, should be current.
Benjamin Kosnik [Thu, 17 Jan 2002 03:59:42 +0000 (03:59 +0000)]
stl_iterator.h (reverse_iterator::_M_current): Deuglify, should be current.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/bits/stl_iterator.h (reverse_iterator::_M_current):
Deuglify, should be current.
(back_insert_iterator::_M_container): Deuglify, should be container.
(front_insert_iterator::_M_container): Same.
(insert_iterator::_M_container): Same.
* testsuite/24_iterators/reverse_iterator.cc: Add check.
* testsuite/24_iterators/back_insert_iterator.cc: Add check.
* testsuite/24_iterators/front_insert_iterator.cc: Same.
* testsuite/24_iterators/insert_iterator.cc: Same.

2002-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h (ctype<char>::classic_table): Make
static.
(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/aix/bits/ctype_noninline.h: Same.

Testcase by Dietmar K�hl via Peter Schmid
* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
classic_table().

Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
From-SVN: r48938