Chris Demetriou [Wed, 8 Jan 2003 22:49:26 +0000 (22:49 +0000)]
config.guess: Update to 2003-01-03 version.
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.guess: Update to 2003-01-03 version.
* config.sub: Update to 2003-01-03 version.
From-SVN: r61057
Jason Merrill [Wed, 8 Jan 2003 20:00:17 +0000 (15:00 -0500)]
parser.c (cp_parser_primary_expression): See through explicitly scoped ALIAS_DECLs, too.
* parser.c (cp_parser_primary_expression): See through explicitly
scoped ALIAS_DECLs, too.
From-SVN: r61054
Chris Demetriou [Wed, 8 Jan 2003 19:57:52 +0000 (19:57 +0000)]
config.gcc (mipsisa32r2-*-elf*, [...]): New targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
2003-01-08 Chris Demetriou <cgd@broadcom.com>
* config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
* config/mips/mips.h (enum processor_type): Rename
PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
Add PROCESSOR_M4K.
(TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
(ISA_MIPS32R2): New define.
(GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
(ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
(ISA_HAS_PREFETCH): Add support for MIPS32R2.
(MIPS_ISA_DEFAULT): Likewise. Also, fix indentation.
(TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new
predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
(ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
compiling MIPS16 code.
(ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
comment.
(ISA_HAS_SEB_SEH): New define.
(ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
* config/mips/mips.c (mips_cpu_info_table): Adjust for enum
processor_type value renaming. Add support for MIPS32R2.
Clean up comments, and move "sb1" entry with other MIPS64 CPU
entries.
(override_options): Reimplement -mipsN option handling so that
it will work correctly for -mips32r2. Avoid branch-likely
instructions on MIPS32R2.
* config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
(extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
(extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
(extendhisi2_hw, extendqisi2_hw): New.
* config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32,
MIPS32R2, and MIPS64.
(LINK_SPEC): Pass -mips32r2 to linker.
* config/mips/t-isa3264: Built -mips32r2 multilibs.
* doc/invoke.texi (MIPS Options): Add -mips32r2, add support
for mips32r2 in the -march description. Alphabetically sort
CPU names in the -march description. Add long-missed -mips32
and -mips64 to MIPS option summary.
* config.gcc: Update copyright years to include 2003.
* config/mips/mips.c: Likewise.
* config/mips/mips.h: Likewise.
* config/mips/mips.md: Likewise.
* config/mips/netbsd.h: Likewise.
From-SVN: r61053
Benjamin Kosnik [Wed, 8 Jan 2003 19:43:11 +0000 (19:43 +0000)]
[multiple changes]
2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (stamp-*): Add checks for existing stamps.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
* aclocal.m4: Regenerate.
* configure.in: Don't add new multi-do rules every time the
directory is reconfigured.
* configure: Regenerate.
2003-01-08 Brad Spencer <spencer@infointeractive.com>
Nathan Myers <ncm@cantrip.org>
* src/Makefile.am (stamp-debug): Clean.
* src/Makefile.in: Regenerate.
From-SVN: r61052
Nathanael Nerode [Wed, 8 Jan 2003 17:32:13 +0000 (17:32 +0000)]
* decl.c: ANSIfy function declarations.
From-SVN: r61049
Mark Mitchell [Wed, 8 Jan 2003 16:59:31 +0000 (16:59 +0000)]
parser.c (cp_parser_asm_definition): Correct handling of omitted operands.
* parser.c (cp_parser_asm_definition): Correct handling of omitted
operands.
* g++.dg/ext/asm4.C: New test.
From-SVN: r61048
Andreas Schwab [Wed, 8 Jan 2003 15:03:50 +0000 (15:03 +0000)]
aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache variable.
* aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
variable.
* configure: Regenerated.
From-SVN: r61047
Kriang Lerdsuwanakij [Wed, 8 Jan 2003 14:42:39 +0000 (14:42 +0000)]
re PR c++/9030 (Template friends and access to local classes)
PR c++/9030
* decl.c (make_typename_type): Check access only when tf_error.
(make_unbound_class_template): Likewise.
* pt.c (saved_access_scope): New variable.
(push_access_scope_real): New function.
(push_access_scope): Likewise.
(pop_access_scope): Likewise.
(tsubst_default_argument): Use them.
(instantiate_template): Likewise.
(regenerate_decl_from_template): Likewise.
(instantiate_decl): Likewise.
(get_mostly_instantiated_function_type): Likewise.
* g++.dg/template/friend12.C: New test.
* g++.dg/template/friend13.C: Likewise.
* g++.old-deja/g++.eh/spec6.C: Add missing error message.
From-SVN: r61046
Kazu Hirata [Wed, 8 Jan 2003 14:02:51 +0000 (14:02 +0000)]
h8300.c (output_logical_op): Replace byte/word extraction of det with b0, b1, w0, w2, etc.
* config/h8300/h8300.c (output_logical_op): Replace byte/word
extraction of det with b0, b1, w0, w2, etc.
(compute_logical_op_length): Likewise.
(compute_logical_op_cc): Likewise.
From-SVN: r61045
Kazu Hirata [Wed, 8 Jan 2003 14:00:31 +0000 (14:00 +0000)]
h8300.h (CONSTANT_ADDRESS_P): Allow CONST and HIGH on all variants.
* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
HIGH on all variants.
From-SVN: r61044
Nathanael Nerode [Wed, 8 Jan 2003 13:28:18 +0000 (13:28 +0000)]
* java-tree.h: Protect against multiple inclusion.
From-SVN: r61043
Josef Zlomek [Wed, 8 Jan 2003 13:12:56 +0000 (14:12 +0100)]
Makefile.in (PARTITION_H): New.
* Makefile.in (PARTITION_H): New.
(BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
* basic-block.h: Include hard-reg-set.h.
From-SVN: r61041
Richard Earnshaw [Wed, 8 Jan 2003 11:55:50 +0000 (11:55 +0000)]
arm.h (ENABLE_XF_PATTERNS): Delete.
* arm.h (ENABLE_XF_PATTERNS): Delete.
* arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
(sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
(extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
(cmpxf_trap): Delete.
(movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
From-SVN: r61040
Jan Hubicka [Wed, 8 Jan 2003 11:51:42 +0000 (12:51 +0100)]
i386-cadd.c: New test.
* gcc.dg/i386-cadd.c: New test.
* gcc.dg/i386-cmov4.c: Likewise.
From-SVN: r61039
Jan Hubicka [Wed, 8 Jan 2003 11:20:23 +0000 (12:20 +0100)]
i386.md (adddi3_carry_rex64, [...]): Name pattern.
* i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
(addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
(add??cc): New expanders.
* i386.c (expand_int_addcc): New function.
* i386-protos.h (expand_int_addcc): Declare.
* alias.c (memory_modified_1): New static function.
(memory_modified): New static varaible.
(memory_modified_in_insn_p): New global function.
* rtl.h (memory_modified_in_insn_p): Declare.
* rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
references.
* expr.h (emit_conditional_add): Declare.
From-SVN: r61038
GCC Administrator [Wed, 8 Jan 2003 08:17:32 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r61036
Janis Johnson [Wed, 8 Jan 2003 01:12:29 +0000 (01:12 +0000)]
re PR other/8947 (Please add a Warning about "-malign-double" in docs)
2003-01-07 Janis Johnson <janis187@us.ibm.com>
PR other/8947
* doc/invoke.texi (-malign-double): Explain that the option breaks
binary compatibility.
From-SVN: r61026
Andreas Schwab [Tue, 7 Jan 2003 23:34:24 +0000 (23:34 +0000)]
config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld, should come from the generic *-*-linux* entry.
* config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
should come from the generic *-*-linux* entry.
From-SVN: r61024
Jan Hubicka [Tue, 7 Jan 2003 22:14:43 +0000 (23:14 +0100)]
cselib.c (cselib_current_insn_in_libcall): New static variable.
* cselib.c (cselib_current_insn_in_libcall): New static variable.
(new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
we are inside libcall.
* cselib.h (elt_loc_list): Add in_libcall.
* gcse.c (do_local_cprop): Do not copy propagate using insns
in libcalls.
From-SVN: r61023
Christopher Faylor [Tue, 7 Jan 2003 21:57:34 +0000 (21:57 +0000)]
* configure: Regenerate with proper autoconf 2.13.
From-SVN: r61022
David Edelsohn [Tue, 7 Jan 2003 21:22:18 +0000 (21:22 +0000)]
tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do not normally affect to issue rate.
* doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
not normally affect to issue rate.
From-SVN: r61021
Nathanael Nerode [Tue, 7 Jan 2003 21:19:05 +0000 (21:19 +0000)]
* tree.c: Delete bogus #if 0 code.
From-SVN: r61020
Jan Hubicka [Tue, 7 Jan 2003 21:09:21 +0000 (22:09 +0100)]
re PR target/8322 (SSE2 intrinsics broken?)
* genopinit.c (optabs): Add addc_optab.
* ifcvt.c (noce_try_store_flag): Rename to ...
(noce_try_addcc): ... this one; handle generic conditional increment.
(noce_process_if_block): Update noce_try_addcc call.
* optabs.c (emit_conditional_add): New.
(init_obtabs): Initialize addc_optab.
* optabs.h (optab_index): Add OTI_addcc.
(addcc_optab): New macro.
* md.texi: Document addMcc
PR target/8322
* i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
* xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
* xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
* reload1.c (delete_output_reload): Avoid repeated attempts
to delete insn.
From-SVN: r61019
Andreas Schwab [Tue, 7 Jan 2003 21:03:24 +0000 (21:03 +0000)]
configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
* configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
Move --enable-initfini-array check ...
* aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define
HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN.
* configure: Rebuild.
From-SVN: r61018
Richard Henderson [Tue, 7 Jan 2003 20:59:42 +0000 (12:59 -0800)]
alias.c (find_base_value): Only use new_reg_base_value shortcut if the register is set once.
* alias.c (find_base_value): Only use new_reg_base_value shortcut
if the register is set once.
From-SVN: r61017
Christopher Faylor [Tue, 7 Jan 2003 20:40:40 +0000 (20:40 +0000)]
* configure.in: Add AC_PREREQ for consistency.
From-SVN: r61015
Sylvain Pion [Tue, 7 Jan 2003 20:37:25 +0000 (12:37 -0800)]
i386.c (ix86_init_mmx_sse_builtins): __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
* config/i386/i386.c (ix86_init_mmx_sse_builtins):
__builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
* config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
From-SVN: r61013
Benjamin Kosnik [Tue, 7 Jan 2003 20:20:53 +0000 (20:20 +0000)]
re PR libstdc++/9076 (Call Frame Instructions are not handled correctly during unwind operation..)
2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
Sunil Davasam <sunil.k.davasam@intel.com>
PR libstdc++/9076
* unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
DW_CFA_same_value, read next and ignore.
Co-Authored-By: Sunil Davasam <sunil.k.davasam@intel.com>
From-SVN: r61008
Richard Henderson [Tue, 7 Jan 2003 20:14:51 +0000 (12:14 -0800)]
* cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
From-SVN: r61007
Tom Tromey [Tue, 7 Jan 2003 17:20:50 +0000 (17:20 +0000)]
class.c (add_assume_compiled): Don't adjust parent if we're already at the root of tree.
* class.c (add_assume_compiled): Don't adjust parent if we're
already at the root of tree.
From-SVN: r61003
Daniel Berlin [Tue, 7 Jan 2003 17:05:16 +0000 (17:05 +0000)]
cfg.c: Include alloc-pool.h
2003-01-07 Daniel Berlin <dberlin@dberlin.org>
* cfg.c: Include alloc-pool.h
(edge_pool): New pool.
(bb_pool): New pool.
(first_deleted_edge): Remove.
(first_deleted_block): Remove.
(init_flow): Alloc/free the pools.
(free_edge): Use pools.
(alloc_block): Ditto.
(expunge_block): Ditto.
(cached_make_edge): Ditto.
* Makefile.in (cfg.o): Add alloc-pool.h dependency.
2003-01-07 Daniel Berlin <dberlin@dberlin.org>
* et-forest.c: Include alloc-pool.h.
(struct et_forest): Add node_pool and occur_pool.
(et_forest_create): Create the new pools.
(et_forest_delete): Delete them.
(et_forest_add_node): Allocate and free using pools.
(et_forest_add_edge): Ditto.
(et_forest_remove_node): Ditto.
(et_forest_remove_edge): Ditto.
* Makefile.in (et-forest.o): Add alloc-pool.h dependency.
From-SVN: r61001
Tom Tromey [Tue, 7 Jan 2003 16:50:08 +0000 (16:50 +0000)]
posix.h (_Jv_platform_usleep): Wrap in ifdef JV_HASH_SYNCHRONIZATION.
* include/posix.h (_Jv_platform_usleep): Wrap in ifdef
JV_HASH_SYNCHRONIZATION.
* include/win32.h (_Jv_platform_usleep): Wrap in ifdef
JV_HASH_SYNCHRONIZATION.
From-SVN: r60998
Benjamin Kosnik [Tue, 7 Jan 2003 16:20:25 +0000 (16:20 +0000)]
re PR libstdc++/8707 (make distclean fails)
2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8707
* Makefile.am (distclean-multi): Fix.
* Makefile.in: Regenerate.
From-SVN: r60996
Kazu Hirata [Tue, 7 Jan 2003 16:02:20 +0000 (16:02 +0000)]
h8300.c (output_logical_op): Simplify and optimize the handling of SImode.
* config/h8300/h8300.c (output_logical_op): Simplify and
optimize the handling of SImode.
* config/h8300/h8300.c (compute_logical_op_length): Update
accordingly.
* config/h8300/h8300.c (compute_logical_op_cc): Likewise.
From-SVN: r60995
Andreas Schwab [Tue, 7 Jan 2003 15:41:30 +0000 (15:41 +0000)]
class.c (layout_class_type): Don't use PCC_BITFIELD_TYPE_MATTERS if not defined.
* class.c (layout_class_type): Don't use
PCC_BITFIELD_TYPE_MATTERS if not defined.
From-SVN: r60994
Alexandre Oliva [Tue, 7 Jan 2003 11:56:25 +0000 (11:56 +0000)]
test_summary (configflags): Compute correctly with both autoconfiscated and Cygnus-style top-level.
* test_summary (configflags): Compute correctly with both
autoconfiscated and Cygnus-style top-level.
From-SVN: r60991
Richard Sandiford [Tue, 7 Jan 2003 09:52:15 +0000 (09:52 +0000)]
mips.c (mips_va_arg): In the EABI code, apply the big-endian correction to indirect arguments too.
* config/mips/mips.c (mips_va_arg): In the EABI code, apply the
big-endian correction to indirect arguments too.
From-SVN: r60990
Michael Koch [Tue, 7 Jan 2003 08:26:02 +0000 (08:26 +0000)]
DatagramSocket.java: Added classpath license info.
2003-01-07 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java:
Added classpath license info.
(DatagramSocket): Merged description with classpath.
(close): Merged description with classpath.
(getChannel): Merged description with classpath.
(getInetAddress): Merged description with classpath.
(getPort): Merged description with classpath.
(getLocalAddress): Merged description with classpath.
(getLocalPort): Merged description with classpath.
(getSoTimeout): Merged description with classpath.
(setSoTimeout): Merged description with classpath.
(getSendBufferSize): Merged description with classpath.
(setSendBufferSize): Merged description with classpath.
(getReceiveBufferSize): Merged description with classpath.
(setReceiveBufferSize): Merged description with classpath.
From-SVN: r60989
GCC Administrator [Tue, 7 Jan 2003 08:17:26 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60988
Aldy Hernandez [Tue, 7 Jan 2003 05:14:34 +0000 (05:14 +0000)]
Segher Boessenkool <segher@koffie.nl>
2003-01-06 Aldy Hernandez <aldyh@redhat.com>
Segher Boessenkool <segher@koffie.nl>
* config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
(alt_reg_names): Ditto, fix formatting.
* config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
From-SVN: r60980
Kazu Hirata [Tue, 7 Jan 2003 04:34:30 +0000 (04:34 +0000)]
h8300.c (final_prescan_insn): Constify uid.
* config/h8300/h8300.c (final_prescan_insn): Constify uid.
(output_logical_op): Constify intval and det.
(compute_logical_length): Likewise.
(compute_logical_cc): Likewise.
(output_a_shift): Constify mask.
(h8300_encode_label): Constify len.
From-SVN: r60979
Kazu Hirata [Tue, 7 Jan 2003 04:25:58 +0000 (04:25 +0000)]
h8300.c (h8300_expand_prologue): Remove fsize.
* config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
(h8300_expand_epilogue): Likewise.
From-SVN: r60978
Aldy Hernandez [Tue, 7 Jan 2003 02:54:13 +0000 (02:54 +0000)]
Segher Boessenkool <segher@koffie.nl>
2003-01-06 Aldy Hernandez <aldyh@redhat.com>
Segher Boessenkool <segher@koffie.nl>
* config/rs6000/altivec.md: Remove spaces from assembler
instruction argument lists.
From-SVN: r60973
Mark Mitchell [Tue, 7 Jan 2003 02:38:32 +0000 (02:38 +0000)]
re PR c++/9165 (false "defined but not used" warnings)
PR c++/9165
* decl2.c (build_cleanup): Mark the object as used.
PR c++/9165
* g++.dg/warn/Wunused-3.C: New test.
From-SVN: r60972
Mark Mitchell [Tue, 7 Jan 2003 01:38:24 +0000 (01:38 +0000)]
pt.c (retrieve_local_specialization): Revert 2003-01-05 change.
* pt.c (retrieve_local_specialization): Revert 2003-01-05 change.
(hash_local_specialization): New function.
(register_local_specialization): Revert 2003-01-05 change.
(instantiate_decl): Use hash_local_specialization when creating
the local_specializations table.
From-SVN: r60971
Michael Hayes [Tue, 7 Jan 2003 01:37:15 +0000 (01:37 +0000)]
c4x.c (c4x_naked_function_p): Rename from c4x_assembler_function_p.
* config/c4x/c4x.c (c4x_naked_function_p): Rename from
c4x_assembler_function_p.
(c4x_null_epilogue_p): Complement return value, all uses updated.
(c4x_insert_attributes): Add naked.
* config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
* doc/extend.texi: Update C4x function attributes.
From-SVN: r60968
Mark Mitchell [Tue, 7 Jan 2003 01:34:37 +0000 (01:34 +0000)]
* decl2.c (mark_used): Do not synthesize thunks.
From-SVN: r60967
Mark Mitchell [Tue, 7 Jan 2003 01:33:54 +0000 (01:33 +0000)]
class.c (layout_class_type): Correct handling of unnamed bitfields wider than their types.
* class.c (layout_class_type): Correct handling of unnamed
bitfields wider than their types.
* testsuite/g++.dg/abi/bitfield9.C: New test.
From-SVN: r60966
Richard Henderson [Mon, 6 Jan 2003 22:59:25 +0000 (14:59 -0800)]
alpha.c (alpha_encode_section_info): Adjust symbol_str properly when changing "local-ness".
* config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
properly when changing "local-ness".
* config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
* gcc.dg/tls/alias-1.c: New.
From-SVN: r60961
Dale Johannesen [Mon, 6 Jan 2003 22:23:37 +0000 (22:23 +0000)]
darwin-protos.h: Add prototypes for new section functions.
2003-01-06 Dale Johannesen <dalej@apple.com>
* config/darwin-protos.h: Add prototypes for new section functions.
From-SVN: r60960
Chris Demetriou [Mon, 6 Jan 2003 21:35:22 +0000 (21:35 +0000)]
config.gcc (mipsisa32-*-elf*, [...]): Default ABI to EABI.
2003-01-06 Chris Demetriou <cgd@broadcom.com>
* config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
to EABI.
From-SVN: r60957
Mark Mitchell [Mon, 6 Jan 2003 21:32:17 +0000 (21:32 +0000)]
re PR c++/9189 ([New parser] Order of default argument processing and function body compilation)
PR c++/9189
* parser.c (cp_parser): Remove default_arg_types. Update
documentation for unparsed_functions_queues.
(cp_parser_late_parsing_default_args): Take a FUNCTION_DECL as the
parameter.
(cp_parser_new): Don't set parser->default_arg_types.
(cp_parser_function_definition): Adjust usage of
unparsed_funtions_queues.
(cp_parser_class_specifier): Don't mess with
parser->default_arg_types. Handle default argument processing in
a separate phase from function body processing.
(cp_parser_template_declaration_after_export): Adjust usage of
unparsed_functions_queues.
(cp_parser_late_parsing_for_member): Do not handle default
arguments.
PR c++/9189
* g++.dg/parse/defarg3.C: New test.
From-SVN: r60956
Benjamin Kosnik [Mon, 6 Jan 2003 21:23:00 +0000 (21:23 +0000)]
locale_facets.h (messages): Move ctor, dtor definitions to..
2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (messages): Move ctor, dtor
definitions to..
(__timepunct): Same.
* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/messages_members.h (messages): Add dtor, ctor
definitions.
* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
definitions.
* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
* src/locale.cc: Define.
* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
Use it.
* config/locale/gnu/time_members.h: Use it.
* config/locale/gnu/messages_members.h: Use it.
* config/linker-map.gnu: Add locale::facets details.
* include/Makefile.am (target_headers_extra): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4: Export CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regnerate.
From-SVN: r60952
Zack Weinberg [Mon, 6 Jan 2003 20:31:16 +0000 (20:31 +0000)]
hwint.h: If the current compiler has no 64-bit type at all, make HOST_WIDEST_INT 32 bits.
* hwint.h: If the current compiler has no 64-bit type at all,
make HOST_WIDEST_INT 32 bits.
From-SVN: r60951
Eric Christopher [Mon, 6 Jan 2003 20:12:37 +0000 (20:12 +0000)]
mips.md (movdf_internal2): Fix constraints.
2003-01-06 Eric Christopher <echristo@redhat.com>
* config/mips/mips.md (movdf_internal2): Fix constraints.
From-SVN: r60950
Joern Rennecke [Mon, 6 Jan 2003 20:02:56 +0000 (20:02 +0000)]
Fix comment typo.
From-SVN: r60949
Paolo Carlini [Mon, 6 Jan 2003 18:48:41 +0000 (19:48 +0100)]
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
* src/codecvt.cc
(codecvt<char, char, mbstate_t>::do_in, do_out):
Tweak parameters to avoid unused parameter warnings.
From-SVN: r60946
Nathan Sidwell [Mon, 6 Jan 2003 18:40:22 +0000 (18:40 +0000)]
re PR c++/9109 (parse ambiguity)
cp:
PR c++/9109
* parser.c (cp_parser_declarator_kind): New enum.
(cp_parser_declarator): Adjust.
(cp_parser_direct_declarator): Adjust. Allow for either named or
abstract declarator. Prefer abstract, if possible. Allow
parenthesized function name.
(cp_parser_condition): Adjust cp_parser_declarator call.
(cp_parser_explicit_instantiation): Likewise.
(cp_parser_init_declarator): Likewise.
(cp_parser_type_id): Likewise.
(cp_parser_function_definition): Likewise.
(cp_parser_member_declaration): Likewise.
(cp_parser_parameter_declaration): Use cp_parser_declarator to do
the tentative parsing.
(cp_parser_exception_declaration): Likewise.
testsuite:
* g++.dg/parse/ambig1.C: New test.
* g++.dg/parse/defarg2.C: New test.
From-SVN: r60944
Andrew Cagney [Mon, 6 Jan 2003 17:37:24 +0000 (17:37 +0000)]
configure.in (GDB_TK): Add tcl directories conditional on gdb/gdbtk directory being present.
2003-01-06 Andrew Cagney <
ac131313@redhat.com>
* configure.in (GDB_TK): Add tcl directories conditional on
gdb/gdbtk directory being present.
* configure: Regenerate.
From-SVN: r60943
Paolo Carlini [Mon, 6 Jan 2003 15:32:16 +0000 (16:32 +0100)]
re PR libstdc++/9151 (std::setprecision limited to 16 digits when outputting a double to a stream)
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9151
* include/bits/locale_facets.cc (num_put::_M_convert_float):
Limit __prec to digits10 + 2, not digits10 + 1, taking into
account the possibility of %{g,G} conversion specifiers
inside _S_format_float.
* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
From-SVN: r60939
Kaveh R. Ghazi [Mon, 6 Jan 2003 14:16:00 +0000 (14:16 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-init, [...]): Additionally handle files one level deeper in glob patterns.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
libstdc++-v3-list-sourcefiles): Additionally handle files one
level deeper in glob patterns.
* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
* testsuite/27_io/istream_extractor_arith/01.cc,
testsuite/27_io/istream_extractor_arith/02.cc,
testsuite/27_io/istream_extractor_arith/03.cc,
testsuite/27_io/istream_extractor_arith/06.cc,
testsuite/27_io/istream_extractor_arith/07.cc,
testsuite/27_io/istream_extractor_arith/08.cc,
testsuite/27_io/istream_extractor_arith/09.cc,
testsuite/27_io/istream_extractor_arith/10.cc,
testsuite/27_io/istream_extractor_arith/11.cc,
testsuite/27_io/istream_extractor_arith/12.cc,
testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
sparc*-*-solaris2*.
From-SVN: r60934
Kazu Hirata [Mon, 6 Jan 2003 14:14:33 +0000 (14:14 +0000)]
* config/h8300/h8300.md (*twoshifts_l16_r1): New.
From-SVN: r60933
Richard Sandiford [Mon, 6 Jan 2003 13:34:56 +0000 (13:34 +0000)]
* config/mips/mips.md (leadi): Use dla rather than la.
From-SVN: r60932
GCC Administrator [Mon, 6 Jan 2003 08:19:57 +0000 (08:19 +0000)]
Daily bump.
From-SVN: r60931
Mark Mitchell [Mon, 6 Jan 2003 02:40:31 +0000 (02:40 +0000)]
defarg-1.C: New test.
* g++.dg/template/defarg-1.C: New test.
* g++.dg/template/local2.C: Likewise.
From-SVN: r60924
Svein E. Seldal [Mon, 6 Jan 2003 01:15:46 +0000 (01:15 +0000)]
c4x.h: Updated specs for new gas format.
* config/c4x/c4x.h: Updated specs for new gas format. Fixed bug
in C33_FLAG. Added proper C33 support in ASM_FILE_START macro.
From-SVN: r60923
Herman A.J. ten Brugge [Mon, 6 Jan 2003 00:11:54 +0000 (01:11 +0100)]
c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX redefinition.
* c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
redefinition.
From-SVN: r60921
Kazu Hirata [Sun, 5 Jan 2003 23:04:48 +0000 (23:04 +0000)]
* config/h8300/h8300.md (*extzv_8_23): New.
From-SVN: r60920
John David Anglin [Sun, 5 Jan 2003 18:41:18 +0000 (18:41 +0000)]
pa64-hpux.h (JCR_SECTION_NAME): Define.
* pa64-hpux.h (JCR_SECTION_NAME): Define.
(PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
USE_EH_FRAME_REGISTRY when defining.
From-SVN: r60918
Toon Moene [Sun, 5 Jan 2003 18:18:06 +0000 (19:18 +0100)]
re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown register name line-length-none)
2003-01-05 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Revise history again:
PR Fortran/9038 will be fixed in 3.4.
From-SVN: r60917
Kazu Hirata [Sun, 5 Jan 2003 15:47:36 +0000 (15:47 +0000)]
h8300.c (output_a_shift): Do not output a variable shift.
* config/h8300/h8300.c (output_a_shift): Do not output a
variable shift.
* config/h8300/h8300.md (two splitters): New.
From-SVN: r60915
Toon Moene [Sun, 5 Jan 2003 12:51:42 +0000 (13:51 +0100)]
re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown register name line-length-none)
2003-01-05 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Update news to reflect reality:
PR Fortran/9038 won't be fixed until 3.4.
From-SVN: r60912
Richard Sandiford [Sun, 5 Jan 2003 12:02:24 +0000 (12:02 +0000)]
* config/mips/mips.md: Disable the movstrsi define_split.
From-SVN: r60911
GCC Administrator [Sun, 5 Jan 2003 08:17:19 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60909
Paolo Carlini [Sun, 5 Jan 2003 08:04:18 +0000 (09:04 +0100)]
re PR libstdc++/9168 (codecvt<char, char, mbstate_t> overwrites output buffers)
2003-01-05 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9168
* src/codecvt.cc
(codecvt<char, char, mbstate_t>::do_in, do_out):
Implement the resolution of DR19 (TC).
* testsuite/22_locale/codecvt_members_char_char.cc
(test01): Tweak.
From-SVN: r60901
Kaveh R. Ghazi [Sun, 5 Jan 2003 05:27:45 +0000 (05:27 +0000)]
Warning fixes:
* alloc-pool.c: Don't include "libiberty.h".
* config/sparc/gmon-sol2.c: Include <fcntl.h>.
* convert.c (convert_to_real): Hide unused variable.
java:
* lang.c (dump_compound_expr): Prototype.
From-SVN: r60900
Kaveh R. Ghazi [Sun, 5 Jan 2003 04:38:58 +0000 (04:38 +0000)]
parser.c (cp_parser_binary_expression, [...]): Const-ify.
* parser.c (cp_parser_binary_expression,
cp_parser_multiplicative_expression,
cp_parser_additive_expression, cp_parser_shift_expression,
cp_parser_relational_expression, cp_parser_equality_expression,
cp_parser_and_expression, cp_parser_exclusive_or_expression,
cp_parser_inclusive_or_expression,
cp_parser_logical_and_expression, cp_parser_logical_or_expression,
cp_parser_binary_expression): Const-ify.
From-SVN: r60899
Kaveh R. Ghazi [Sun, 5 Jan 2003 04:37:08 +0000 (04:37 +0000)]
Makefile.in (gtyp-gen.h): Const-ify.
* Makefile.in (gtyp-gen.h): Const-ify.
* gcov-dump.c (tag_table): Likewise.
From-SVN: r60898
Tom Tromey [Sun, 5 Jan 2003 01:18:21 +0000 (01:18 +0000)]
* java/awt/List.java: Merged with Classpath.
From-SVN: r60896
Toon Moene [Sat, 4 Jan 2003 22:13:02 +0000 (23:13 +0100)]
re PR fortran/9038 (-ffixed-line-length-none -x f77-cpp-input gives: Warning: unknown register name line-length-none)
2003-01-04 Toon Moene <toon@moene.indiv.nluug.nl>
PR Fortran/9038
* lang-specs.h: Remove -f options before preprocessing.
* news.texi: Document fixing of PR Fortran/9038.
From-SVN: r60895
Bruce Korb [Sat, 4 Jan 2003 21:17:01 +0000 (21:17 +0000)]
When wrapping files, guard with both the fix name and the file name
From-SVN: r60893
John David Anglin [Sat, 4 Jan 2003 21:13:45 +0000 (21:13 +0000)]
config.gcc (hppa*64*-*-hpux11*): Define extra_parts.
* config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use
collect2.
* pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
(HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
* pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
(CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
elfos.h.
(EH_FRAME_IN_DATA_SECTION): Delete define.
(HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
(STARTFILE_SPEC): Use crtbegin.o.
(ENDFILE_SPEC): Use crtend.o.
(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
DTOR_LIST_BEGIN): Define.
* pa.c (TARGET_ASM_CONSTRUCTOR): Define.
(pa_asm_out_constructor, pa_asm_out_destructor): New functions.
* som.h (SUPPORTS_INIT_PRIORITY): Delete define.
From-SVN: r60892
John David Anglin [Sat, 4 Jan 2003 20:49:49 +0000 (20:49 +0000)]
configure.in (LD): Improve test for gcc.
* configure.in (LD): Improve test for gcc. Try to set LD to the ld used
by gcc if LD is not defined and we are not doing a Canadian Cross.
* configure: Rebuilt.
From-SVN: r60891
Mark Mitchell [Sat, 4 Jan 2003 20:00:44 +0000 (20:00 +0000)]
method.c (use_thunk): Disable access control while building the body of the thunk.
* method.c (use_thunk): Disable access control while building the
body of the thunk.
From-SVN: r60889
Bruce Korb [Sat, 4 Jan 2003 18:44:04 +0000 (18:44 +0000)]
remove obsolete fixes
From-SVN: r60883
Kazu Hirata [Sat, 4 Jan 2003 17:46:24 +0000 (17:46 +0000)]
h8300-protos.h: Add prototypes for the new functions defined below.
* config/h8300/h8300-protos.h: Add prototypes for
the new functions defined below.
* config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
define.
(dosize): Emit RTL instead of assembly code.
(push): Likewise.
(pop): Likewise.
(h8300_output_function_prologue): Remove.
(h8300_expand_prologue): New.
(h8300_expand_epilogue): New.
(h8300_output_function_epilogue): Do only the reset of
pragma_saveall.
* config/h8300/h8300.md (push_h8300): New.
(push_h8300hs): Likewise.
(pop_h8300): Likewise.
(pop_h8300hs): Likewise.
(*stm_h8300s_2): Change the name to stm_h8300s_2.
(*stm_h8300s_3): Change the name to stm_h8300s_3.
(*stm_h8300s_4): Change the name to stm_h8300s_4.
(*ldm_h8300s_2): New.
(*ldm_h8300s_3): Likewise.
(*ldm_h8300s_4): Likewise.
(return): Likewise.
(*return_1): Likewise.
(prologue): Likewise.
(epilogue): Likewise.
(monitor_prologue): Likewise.
From-SVN: r60882
Jason Merrill [Sat, 4 Jan 2003 16:13:13 +0000 (11:13 -0500)]
* call.c (build_conditional_expr): Stabilize lvalues properly.
From-SVN: r60881
Kriang Lerdsuwanakij [Sat, 4 Jan 2003 14:30:59 +0000 (14:30 +0000)]
namespace3.C: Remove extra semicolons.
* g++.dg/parse/namespace3.C: Remove extra semicolons.
* g++.dg/parse/namespace4.C: Likewise.
From-SVN: r60880
GCC Administrator [Sat, 4 Jan 2003 08:17:20 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r60877
Mark Wielaard [Sat, 4 Jan 2003 03:53:00 +0000 (03:53 +0000)]
FileDescriptor.java (position): New private field.
* java/io/FileDescriptor.java (position): New private field.
* java/io/natFileDescriptorPosix.cc (write): Up position.
(setLength): Use and set position.
(seek): Set position.
(getFilePointer): Return position.
(read): Up position.
From-SVN: r60869
Mark Wielaard [Sat, 4 Jan 2003 03:44:07 +0000 (03:44 +0000)]
Merge with Classpath:
* java/io/ObjectStreamClass.java (lookup): Split method and call
lookupForClassObject().
(lookupForClassObject): New method.
(isProxyClass): New field.
(setClass): Set isProxyClass, add object to classLookupTable, set
superClass and calculateOffsets.
(ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
and not a proxy class.
(setFields): Set accessible true for serialPersistentFields.
(getClassUID): Same for suid. And check if suid is of type long.
(hasClassInitializer): Don't throw NoSuchMethodError.
From-SVN: r60867
Mark Wielaard [Sat, 4 Jan 2003 00:08:11 +0000 (00:08 +0000)]
FileInputStream.java (finalize): Don't explicitly finalize FileDescriptor.
* java/io/FileInputStream.java (finalize): Don't explicitly
finalize FileDescriptor.
From-SVN: r60863
Jeff Sturm [Fri, 3 Jan 2003 23:36:42 +0000 (23:36 +0000)]
* configure.host (sparc*-*): Enable bytecode interpreter.
From-SVN: r60862
Nathanael Nerode [Fri, 3 Jan 2003 23:13:09 +0000 (23:13 +0000)]
cvt.c, [...]: This is the C++ front end, not the C front end.
* cvt.c, decl.c, decl2.c: This is the C++ front end, not the C
front end.
From-SVN: r60861
Tom Tromey [Fri, 3 Jan 2003 23:09:33 +0000 (23:09 +0000)]
re PR java/8712 (ICE at fold-const.c:2934)
Fix for PR java/8712:
* expr.c (build_instanceof): Build an NE_EXPR, not a COND_EXPR,
when simply checking against `null'.
From-SVN: r60859
Dale Johannesen [Fri, 3 Jan 2003 23:09:33 +0000 (23:09 +0000)]
darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1, machopic_picsymbol_stub1.
2003-01-03 Dale Johannesen <dalej@apple.com>
* config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1,
machopic_picsymbol_stub1.
(EXTRA_SECTION_FUNCTIONS): Ditto.
* rs6000/rs6000.c: Update copyright.
(machopic_output_stub): Use them. Remove an insn from stub code.
From-SVN: r60858
Jeff Sturm [Fri, 3 Jan 2003 23:08:56 +0000 (23:08 +0000)]
ffi.h.in: Add closure defines for SPARC, SPARC64.
* include/ffi.h.in: Add closure defines for SPARC, SPARC64.
* src/ffitest.c (main): Use static storage for closure.
* src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
* src/sparc/v8.S (ffi_closure_v8): New.
* src/sparc/v9.S (ffi_closure_v9): New.
From-SVN: r60857
Tom Tromey [Fri, 3 Jan 2003 23:07:23 +0000 (23:07 +0000)]
* libjava.compile/pr8712.java: New file, for PR java/8712.
From-SVN: r60856
Dhek Bhun Kho [Fri, 3 Jan 2003 22:57:25 +0000 (23:57 +0100)]
UnicastServerRef.java (unexportObject): Don't throw RemoteException.
2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
* gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
Don't throw RemoteException.
* java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
throw RemoteException.
From-SVN: r60854
Toon Moene [Fri, 3 Jan 2003 22:02:29 +0000 (22:02 +0000)]
stc.c (ffestc_R810): Allow any kind integer in case statements.
2003-01-03 Bud Davis <bdavis11@directvinternet.com>
* stc.c (ffestc_R810): Allow any kind integer in
case statements.
* ste.c (ffeste_R810): Give error message when
case selector exceeds its valid values.
From-SVN: r60852