Danny Smith [Wed, 20 Feb 2002 17:18:00 +0000 (17:18 +0000)]
2002-02-20 Danny Smith <dannysmith@users.sourceforge.net>
* config/os/mingw32/bits/ctype_noninline.h
(ctype<char>::ctype): Remove default args from parm list.
* config/os/djgpp/bits/ctype_noninline.h: Same.
From-SVN: r49900
Diego Novillo [Wed, 20 Feb 2002 13:53:13 +0000 (13:53 +0000)]
expmed.c (store_bit_field): Do not store bit fields using SUBREG operations if...
* expmed.c (store_bit_field): Do not store bit fields using SUBREG
operations if the field does not start at a mode boundary.
From-SVN: r49899
Joel Sherrill [Wed, 20 Feb 2002 12:15:06 +0000 (12:15 +0000)]
rtems.h, [...]: Use new style of -Asystem= rather than -Asystem().
2001-02-20 Joel Sherrill <joel@OARcorp.com>
* config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
Also done for -Acpu and -Amachine.
From-SVN: r49898
Bryce McKinlay [Wed, 20 Feb 2002 08:46:41 +0000 (08:46 +0000)]
Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
* Makefile.am: Re-add SUBDIRS parameter which was lost in merge.
* Makefile.in: Rebuilt.
From-SVN: r49895
GCC Administrator [Wed, 20 Feb 2002 08:16:22 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49893
Neil Booth [Wed, 20 Feb 2002 07:24:10 +0000 (07:24 +0000)]
cppinit.c (init_dependency_output): Take deps output file from -o if none given with -MF.
* cppinit.c (init_dependency_output): Take deps output file
from -o if none given with -MF. Suppress normal output.
* gcc.c (cpp_unique_options): Have -M and -MM imply -E.
* doc/cpp.texi, doc/invoke.texi: Update.
From-SVN: r49892
Zack Weinberg [Wed, 20 Feb 2002 05:04:39 +0000 (05:04 +0000)]
toplev.c (output_quoted_string): Write unprintable characters with octal escapes.
* toplev.c (output_quoted_string): Write unprintable
characters with octal escapes.
From-SVN: r49891
David Edelsohn [Wed, 20 Feb 2002 04:56:34 +0000 (23:56 -0500)]
[multiple changes]
2002-02-19 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
really_call_used[VRSAVE_REGNO] if not Altivec.
2002-02-19 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
MODE_MASK.
(constant_pool_expr_1): Fix formatting.
(rs6000_legitimize_reload_address): Likewise.
From-SVN: r49890
Bryce McKinlay [Wed, 20 Feb 2002 04:18:54 +0000 (04:18 +0000)]
* libjava.lang/stringconst.xfail: xfail-output -> xfail-source-output.
From-SVN: r49889
Bryce McKinlay [Wed, 20 Feb 2002 04:14:15 +0000 (04:14 +0000)]
libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
* lib/libjava.exp: Add "xfail-byte-output" and "xfail-source-output".
Don't display expected and actual output for a failed output test.
* libjava.lang/ArrayStore.java: New file.
* libjava.lang/ArrayStore.out: New file.
* libjava.lang/ArrayStore.xfail: New file. xfail-byte-output.
* libjava.lang/ArrayStore2.java: New file.
* libjava.lang/ArrayStore2.out: New file.
* libjava.lang/ArrayStore2.xfail: New file. xfail-source-output.
From-SVN: r49888
Jason Merrill [Wed, 20 Feb 2002 04:09:05 +0000 (23:09 -0500)]
ABI change: Mangle `void (A::*)() const' as M1AKFvvE, not MK1AFvvE.
ABI change: Mangle `void (A::*)() const' as
M1AKFvvE, not MK1AFvvE.
* mangle.c (write_function_type): Write cv-quals for member
function type here.
(write_pointer_to_member_type): Not here.
From-SVN: r49887
Tom Tromey [Wed, 20 Feb 2002 03:16:30 +0000 (03:16 +0000)]
re PR libgcj/5696 (natClass.cc run through superclasses of target if they exist while comparing variable types.)
Fix for PR libgcj/5696:
* verify.cc (is_assignable_from_slow): Never call
_Jv_IsAssignableFrom.
(verify_instructions_0): Added new debug statement.
(state::print): Print information about whether local has
changed.
(state::merge): Don't call note_variable when merging locals.
(state::set_exception): Removed old FIXME comment.
From-SVN: r49886
Richard Kenner [Wed, 20 Feb 2002 01:21:06 +0000 (01:21 +0000)]
sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx now that we have one.
* config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
now that we have one.
From-SVN: r49885
Benjamin Kosnik [Wed, 20 Feb 2002 00:58:17 +0000 (00:58 +0000)]
std_iomanip.h: Inline, tweaks.
2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_iomanip.h: Inline, tweaks.
* config/linker-map.gnu: Remove hacks.
* testsuite/21_strings/capacity.cc: Add explicit instantiations.
* testsuite/27_io/ios_init.cc: Same.
* testsuite/22_locale/money_get_members_char.cc (test07): Fix.
* testsuite/22_locale/money_get_members_wchar_t.cc (test07): Same.
From-SVN: r49884
Zack Weinberg [Wed, 20 Feb 2002 00:19:33 +0000 (00:19 +0000)]
tree.h (struct tree_common): Remove aux.
* tree.h (struct tree_common): Remove aux. Add unused_0 at
end of first block of bitfields (which was only seven bits);
rename dummy to unused_1; remove comment which is no longer true.
From-SVN: r49883
Gaute B Strokkenes [Tue, 19 Feb 2002 22:51:17 +0000 (22:51 +0000)]
* doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
From-SVN: r49881
Phil Blundell [Tue, 19 Feb 2002 22:26:38 +0000 (22:26 +0000)]
Duh, fix PR number in last commit.
From-SVN: r49880
Philip Blundell [Tue, 19 Feb 2002 22:23:56 +0000 (22:23 +0000)]
re PR target/5185 ([ARM] Segmentation fault in final.c)
2002-02-19 Philip Blundell <pb@nexus.co.uk>
PR 5185
* config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
if generating PIC.
PR 5054
* config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
arm_is_longcall_p rather than inspecting call-type cookie
directly.
(call_value_insn) [TARGET_THUMB]: Likewise.
From-SVN: r49879
Benjamin Kosnik [Tue, 19 Feb 2002 21:47:05 +0000 (21:47 +0000)]
linker-map.gnu: Export global vtable, typeinfo, guard variable, and thunk info as per CXXABI docs.
2002-02-19 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Export global vtable, typeinfo, guard
variable, and thunk info as per CXXABI docs.
From-SVN: r49878
Loren J. Rittle [Tue, 19 Feb 2002 21:37:37 +0000 (21:37 +0000)]
Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
2002-02-19 Loren Rittle <ljrittle@acm.org>
* include/Makefile.am: Use CONFIG_HEADER instead of ad hoc names.
* include/Makefile.in: Rebuilt.
From-SVN: r49877
Graham Stott [Tue, 19 Feb 2002 20:05:28 +0000 (20:05 +0000)]
* config/i386/i386.c (ix86_expand_builtin): Fix typo.
From-SVN: r49876
Scott Snyder [Tue, 19 Feb 2002 20:02:16 +0000 (20:02 +0000)]
demangle-expected: Add test case for infinite loop in demangler.
* testsuite/demangle-expected: Add test case for infinite loop in
demangler.
* cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
if do_type() doesn't make any progress --- prevents an infinite
loop.
From-SVN: r49875
David Edelsohn [Tue, 19 Feb 2002 19:46:51 +0000 (14:46 -0500)]
Add (FP_SAVE_INLINE): Delete. to previous entry.
From-SVN: r49874
David Edelsohn [Tue, 19 Feb 2002 19:40:41 +0000 (19:40 +0000)]
linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
* config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
* config/rs6000/eabi.asm: Remove ABI save restore routines.
* config/rs6000/t-ppccomm: Build crtsavres.o.
* config/rs6000/crtsavres.asm: New file.
From-SVN: r49873
Philip Blundell [Tue, 19 Feb 2002 18:08:10 +0000 (18:08 +0000)]
arm.c (use_return_insn): Don't reject interrupt functions.
2002-02-19 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (use_return_insn): Don't reject interrupt
functions.
(arm_compute_save_reg_mask): Save LR for interrupt functions too.
(output_return_instruction): Allow interrupt functions to return with
ldmfd sp!, {... pc}^. Use LDR to restore any single register.
(arm_expand_prologue): Subtract 4 before stacking LR in an
interrupt function.
From-SVN: r49872
Philip Blundell [Tue, 19 Feb 2002 18:04:05 +0000 (18:04 +0000)]
arm.c (arm_encode_call_attribute): Operate on any decl, not just FUNCTION_DECL.
2002-02-19 Philip Blundell <pb@nexus.co.uk>
* config/arm/arm.c (arm_encode_call_attribute): Operate on any
decl, not just FUNCTION_DECL.
(legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
(arm_assemble_integer): Likewise.
* config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
marked local.
From-SVN: r49871
Matthew Green [Tue, 19 Feb 2002 17:43:25 +0000 (17:43 +0000)]
config.gcc (sparc-*-netbsdelf*): Enable target.
2002-02-19 matthew green <mrg@eterna.com.au>
* config.gcc (sparc-*-netbsdelf*): Enable target.
(sparc64-*-netbsd*): New target.
* config/sparc/netbsd-elf.h: New file.
* config/sparc/t-netbsd64: New file.
From-SVN: r49870
Gaute B Strokkenes [Tue, 19 Feb 2002 17:27:12 +0000 (17:27 +0000)]
* doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
From-SVN: r49867
Ryan T. Sammartino [Tue, 19 Feb 2002 14:05:53 +0000 (09:05 -0500)]
invoke.texi: explicitly list the style guidelines that -Weffc++ checks for.
* doc/invoke.texi: explicitly list the style guidelines that
-Weffc++ checks for.
From-SVN: r49866
Jan Hubicka [Tue, 19 Feb 2002 11:39:01 +0000 (12:39 +0100)]
* regmove.c (regmove_optimize): Avoid increasing of register pressure.
From-SVN: r49864
GCC Administrator [Tue, 19 Feb 2002 08:16:52 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49861
Neil Booth [Tue, 19 Feb 2002 07:44:38 +0000 (07:44 +0000)]
gcc.c (cpp_unique_options): Treat -o as indicating object file only if not -E.
* gcc.c (cpp_unique_options): Treat -o as indicating object file
only if not -E. If -E, pass -o through to the preprocessor.
From-SVN: r49860
Kazu Hirata [Tue, 19 Feb 2002 07:36:55 +0000 (07:36 +0000)]
h8300.h (REGNO_REG_CLASS): Replace a literal register number with an appropriate macro.
* config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
register number with an appropriate macro.
From-SVN: r49859
Peter Schmid [Tue, 19 Feb 2002 05:59:09 +0000 (05:59 +0000)]
collate_byname.cc (test01): Replace size4 with size3 for the string collations of str5.
2002-02-18 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* testsuite/22_locale/collate_byname.cc (test01): Replace size4
with size3 for the string collations of str5.
From-SVN: r49857
Bryce McKinlay [Tue, 19 Feb 2002 05:01:24 +0000 (05:01 +0000)]
* doc/rtl.texi (Constants): Close @code tag.
From-SVN: r49855
Aldy Hernandez [Tue, 19 Feb 2002 03:26:19 +0000 (03:26 +0000)]
forgot cl entries
From-SVN: r49854
Aldy Hernandez [Tue, 19 Feb 2002 02:53:41 +0000 (02:53 +0000)]
i386.md ("mmx_uavgv8qi3"): Use const_vector.
2002-02-19 Aldy Hernandez <aldyh@redhat.com>
* config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
("mmx_uavgv4hi3"): Same.
("pmulhrwv4hi3"): Same.
* tree-inline.c (walk_tree): Handle vectors.
* c-common.c (constant_expression_warning): Handle vectors.
(overflow_warning): Same.
* sched-deps.c (sched_analyze_2): Handle vectors.
* rtlanal.c (rtx_unstable_p): Handle vectors.
(rtx_varies_p): Same.
(count_occurrences): Same.
(regs_set_between_p): Same.
(modified_between_p): Same.
(modified_in_p): Same.
(volatile_insn_p): Same.
(volatile_refs_p): Same.
(side_effects_p): Same.
(may_trap_p): Same.
(inequality_comparisons_p): Same.
(replace_regs): Same.
(computed_jump_p_1): Same.
* rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
argument.
(inner_mode_array): New.
(copy_rtx): Handle vectors.
(copy_most_rtx): Same.
(rtx_equal_p): Same.
(get_mode_alignment): Adjust for vectors.
* resource.c (mark_referenced_resources): Handle vectors.
(mark_set_resources): Same.
* reload1.c (eliminate_regs): Handle vectors.
(elimination_effects): Same.
(scan_paradoxical_subregs): Same.
* reload.c (subst_reg_equivs): Handle vectors.
* regrename.c (scan_rtx): Handle vectors.
* regclass.c (reg_scan_mark_refs): Handle vectors.
* recog.c (find_single_use_1): Handle vectors.
* local-alloc.c (equiv_init_varies_p): Handle vectors.
(contains_replace_regs): Same.
(memref_referenced_p): Same.
* integrate.c (copy_rtx_and_substitute): Handle vectors.
(subst_constants): Same.
* genattrtab.c (attr_copy_rtx): Handle vectors.
(encode_units_mask): Same.
(clear_struct_flag): Same.
(count_sub_rtxs): Same.
* gcse.c (want_to_gcse_p): Handle vectors.
(oprs_unchanged_p): Same.
(hash_expr_1): Same.
(oprs_not_set_p): Same.
(expr_killed_p): Same.
(compute_transp): Same.
(store_ops_ok): Same.
* function.c (purge_addressof_1): Do not allow paradoxical subregs
of vectors.
(fixup_var_refs_1): Same.
(instantiate_virtual_regs_1): Same.
* fold-const.c (operand_equal_p): Handle vectors.
(fold): Same.
(rtl_expr_nonnegative_p): Same.
* flow.c (mark_used_regs): Handle vectors.
* df.c (df_uses_record): Handle vectors.
* cselib.c (cselib_subst_to_values): Handle vectors.
(cselib_mem_conflict_p): Same.
(hash_rtx): Same.
* cse.c (canon_reg): Handle vectors.
(fold_rt): Same.
(cse_process_notes): Same.
(count_reg_usage): Same.
(canon_hash): Same.
* alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
* combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
* emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
(gen_rtx): Handle CONST_VECTOR.
(gen_const_vector_0): New.
(copy_rtx_if_shared): CONST_VECTORs can be shared.
(reset_used_flags): Same.
(copy_insn_1): Same.
(initializer_constant_valid_p): Handle VECTOR_CST.
* doc/c-tree.texi (Expression trees): Document VECTOR_CST.
* doc/rtl.texi (Constants): Document const_vector.
(CONST0_RTX): Update for vectors.
(RTL sharing): Same.
* print-tree.c (print_node): Add case for VECTOR_CST.
* tree.h (TREE_VECTOR_CST_ELTS): New.
(struct tree_vector): New.
(union tree_node): Add vector node.
(build_vector): Add prototype.
* tree.def (VECTOR_CST): New.
* tree.c (build_vector): New.
* expmed.c (make_tree): Handle CONST_VECTOR.
* rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
(CONST_VECTOR_ELT): New.
(CONST_VECTOR_NUNITS): New.
* machmode.h (GET_MODE_INNER): New.
(DEF_MACHMODE): Accept 8th arg.
* machmode.def: Add 8th argument for vector inner mode.
Add inner vector modes for vectors.
* rtl.def (VEC_CONST): Remove.
(CONST_VECTOR): New.
* expr.c (clear_storage): Allow vectors.
(is_zeros_p): Handle VECTOR_CST.
* varasm.c (output_constant_pool): Handle vectors.
(rtx_const): Add veclo and vechi fields.
(kind): Add RTX_VECTOR.
(decode_rtx_const): Add case for vector.
* config/rs6000/rs6000-protos.h: Add zero_constant.
* config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
constants. Force easy vector constants into memory.
(easy_vector_constant): New.
(emit_easy_vector_constant): New.
(rs6000_legitimize_reload_address): Do not generate bad reloads on
darwin.
* config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
instruction does.
("altivec_lvxl"): Same.
(altivec_lvebx): Same.
(altivec_lvehx): Same.
(altivec_lvewx): Same.
("*movv4si_const0"): New.
("*movv4sf_const0"): New.
("*movv8hi_const0"): New.
("*movv16qi_const0"): New.
From-SVN: r49853
Carlo Wood [Mon, 18 Feb 2002 22:41:45 +0000 (22:41 +0000)]
re PR other/5390 ([3.3 only?] Libiberty fails to demangle multi-digit template parameters.)
2002-02-18 Carlo Wood <carlo@gnu.org>
PR c++/5390
* cplus-dem.c (demangle_integral_value): Accept multi-digit
numbers that do not start with an underscore; This is needed
for integer template parameters. This doesn't break anything
because multi-digit numbers are never followed by a digit.
* testsuite/demangle-expected: Corrected all mangled test
cases with multi-digit template parameters: g++ 2.95.x does
not generate underscores around these parameters.
From-SVN: r49851
Kazu Hirata [Mon, 18 Feb 2002 22:37:04 +0000 (22:37 +0000)]
h8300.c (notice_update_cc): Use cc_status.value2.
* config/h8300/h8300.c (notice_update_cc): Use
cc_status.value2.
From-SVN: r49850
Kazu Hirata [Mon, 18 Feb 2002 22:20:58 +0000 (22:20 +0000)]
h8300.md (divmod patterns): Change the constraints for operands[1] to register_operand.
* config/h8300/h8300.md (divmod patterns): Change the
constraints for operands[1] to register_operand.
From-SVN: r49849
Kazu Hirata [Mon, 18 Feb 2002 22:07:42 +0000 (22:07 +0000)]
h8300-protos.h: Remove the prototype for p_operand.
* config/h8300/h8300-protos.h: Remove the prototype for
p_operand.
* config/h8300/h8300.c (p_operand): Remove.
* config/h8300/h8300.md: Replace p_operand with
const_int_operand.
From-SVN: r49848
Paolo Carlini [Mon, 18 Feb 2002 21:23:26 +0000 (22:23 +0100)]
locale_facets.tcc (money_put::do_put): For the space field use __fill instead of ' ', uniformly.
2002-02-18 Paolo Carlini <pcarlini@unitus.it>
libstdc++/5708
* include/bits/locale_facets.tcc (money_put::do_put):
For the space field use __fill instead of ' ', uniformly.
* testsuite/22_locale/money_put_members_char.cc:
Add test05 distilled from PR.
(test01-02-03): Trim some '*' to ' '.
* testsuite/22_locale/money_put_members_wchar_t.cc: Ditto.
From-SVN: r49847
Loren J. Rittle [Mon, 18 Feb 2002 20:23:56 +0000 (20:23 +0000)]
Makefile.am (thread_builddir): Remove (map all existing uses to target_builddir).
libstdc++/5697
* include/Makefile.am (thread_builddir): Remove (map all
existing uses to target_builddir).
(thread_headers): Rename to...
(thread_target_headers): ...this.
(stamp-thread): Remove.
(stamp-target): Correctly state the position as built.
Update all dependencies to match the new reality. Remove all
dependency calculations on directories.
* include/Makefile.in: Rebuilt.
From-SVN: r49846
Philip Blundell [Mon, 18 Feb 2002 19:37:33 +0000 (19:37 +0000)]
arm.c (arm_compute_save_reg_mask): Fix typo in comment.
2002-02-18 Philip Blundell <pb@nexus.co.uk>
* config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
comment.
(output_return_instruction): Allow use of LDR to unstack
return addresss even for interrupt handlers or when
interworking. If compiling for ARMv5, use interworking-safe
return instructions by default. Remove duplicated code and
lengthy "strcat" sequences.
From-SVN: r49845
Franz Sirl [Mon, 18 Feb 2002 18:46:19 +0000 (18:46 +0000)]
sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
(LINK_EH_SPEC): Define.
* config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
From-SVN: r49844
Ulrich Weigand [Mon, 18 Feb 2002 18:17:52 +0000 (18:17 +0000)]
s390.c (s390_emit_prologue): Do not set the frame_related flag for call-clobbered registers.
* config/s390/s390.c (s390_emit_prologue): Do not set the
frame_related flag for call-clobbered registers.
From-SVN: r49843
Jan Hubicka [Mon, 18 Feb 2002 14:09:39 +0000 (15:09 +0100)]
i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
* i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
(construct_container): Fix handling of SSE operands.
(ix86_expand_builtin): Fix handling of 64bit pointers.
(mmx_maskmovq_rex): New pattern.
From-SVN: r49840
Philipp Thomas [Mon, 18 Feb 2002 11:20:09 +0000 (11:20 +0000)]
es.po, fr.po: Updated to newest version.
2002-02-18 Philipp Thomas <pthomas@suse.de>
* es.po, fr.po: Updated to newest version.
* nl.po: New files.
From-SVN: r49839
Jan Hubicka [Mon, 18 Feb 2002 10:57:30 +0000 (11:57 +0100)]
* regrename.c (kill_set_value): Handle subregs properly.
From-SVN: r49838
GCC Administrator [Mon, 18 Feb 2002 08:16:15 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49836
Bryce McKinlay [Mon, 18 Feb 2002 07:32:34 +0000 (07:32 +0000)]
natPlainDatagramSocketImpl.cc (bind): Call setsockopt to enable SO_BROADCAST.
2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
enable SO_BROADCAST.
From-SVN: r49835
Tom Tromey [Mon, 18 Feb 2002 04:55:07 +0000 (04:55 +0000)]
java-tree.h (TYPE_STRICTFP): New macro.
* java-tree.h (TYPE_STRICTFP): New macro.
(struct lang_type) [strictfp]: New field.
(CLASS_STRICTFP): New macro.
(METHOD_STRICTFP): New macro.
(struct lang_decl) [strictfp]: New field.
* parse.y (method_header): Disallow strictfp constructor or
abstract method.
(STRICT_TK): Move before MODIFIER_TK.
* parse.h (CLASS_MODIFIERS): Added ACC_STRICT.
(METHOD_MODIFIERS): Likewise.
(INTERFACE_MODIFIERS): Likewise.
* jcf-write.c (get_access_flags): Likewise.
* class.c (set_class_decl_access_flags): Recognize ACC_STRICT.
(add_method_1): Likewise.
(get_access_flags_from_decl): Likewise.
* jcf-dump.c (print_access_flags): Print in standard order. Also,
recognize strictfp flag.
* jcf.h (ACC_STRICT): New define.
From-SVN: r49834
David Billinghurst [Mon, 18 Feb 2002 03:54:30 +0000 (03:54 +0000)]
objc-act.c (handle_impent): Remove leading '*' from objc_class_name.
2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
* objc/objc-act.c (handle_impent): Remove leading '*'
from objc_class_name.
From-SVN: r49833
Jason Merrill [Mon, 18 Feb 2002 03:15:44 +0000 (22:15 -0500)]
pt.c (do_type_instantiation): Don't pedwarn if in_system_header.
* pt.c (do_type_instantiation): Don't pedwarn if in_system_header.
(do_decl_instantiation): Likewise.
From-SVN: r49832
Bryce McKinlay [Mon, 18 Feb 2002 03:05:55 +0000 (03:05 +0000)]
err7.xfail: Removed.
* libjava.lang/err7.xfail: Removed.
* libjava.lang/err8.xfail: Removed.
From-SVN: r49831
Craig Rodrigues [Mon, 18 Feb 2002 03:00:38 +0000 (03:00 +0000)]
re PR c++/5685 (g++ 3.0.2 allows multiple identical declaration of default argument)
2002-02-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR c++/5685
* decl.c (duplicate_decls): Make warning unconditional
if duplicate default argument declarations are present.
From-SVN: r49830
Jason Merrill [Mon, 18 Feb 2002 02:52:44 +0000 (21:52 -0500)]
name-finder.cc (toHex): Use word mode, not long long.
* name-finder.cc (toHex): Use word mode, not long long.
* gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
From-SVN: r49829
Richard Henderson [Mon, 18 Feb 2002 01:07:52 +0000 (17:07 -0800)]
alpha.c (some_small_symbolic_operand, [...]): Rename from *symbolic_mem_op*.
* config/alpha/alpha.c (some_small_symbolic_operand,
some_small_symbolic_operand_1, split_small_symbolic_operand,
split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
Handle small SYMBOL_REFs anywhere, not just inside memories.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (PREDICATE_CODES): Update.
* config/alpha/alpha.md (small symbolic operand splitter): Update.
From-SVN: r49827
Roland McGrath [Sun, 17 Feb 2002 23:06:55 +0000 (23:06 +0000)]
config.gcc (powerpc-*-gnu-gnualtivec*, [...]): New configurations.
2002-01-21 Roland McGrath <roland@frob.com>
* config.gcc (powerpc-*-gnu-gnualtivec*,
powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
* config/rs6000/gnu.h: New file.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
Grok "gnu" in rs6000_abi_name.
(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
Grok -mcall-gnu analogous to -mcall-linux et al.
(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
(SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
From-SVN: r49826
Jakub Jelinek [Sun, 17 Feb 2002 20:47:52 +0000 (21:47 +0100)]
re PR c/3444 (Test fails (cast))
PR c/3444:
* c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
shortening.
* typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
shortening.
* gcc.c-torture/execute/
20020216-1.c: New test.
From-SVN: r49825
Philipp Thomas [Sun, 17 Feb 2002 18:14:50 +0000 (18:14 +0000)]
cris.h: Undefine STARTFILE_SPEC and ENDFILE_SPEC before (re)defining them.
2002-02-17 Philipp Thomas <pthomas@suse.de>
* config/cris/cris.h: Undefine STARTFILE_SPEC and
ENDFILE_SPEC before (re)defining them.
From-SVN: r49823
Kazu Hirata [Sun, 17 Feb 2002 15:39:25 +0000 (15:39 +0000)]
h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.
From-SVN: r49822
Philipp Thomas [Sun, 17 Feb 2002 14:55:10 +0000 (14:55 +0000)]
Explain why empty strings should not be marked for translation.
From-SVN: r49821
Philipp Thomas [Sun, 17 Feb 2002 14:23:53 +0000 (14:23 +0000)]
final.c (output_operand_lossage): Changed to accept printf style arguments.
2002-02-17 Philipp Thomas <pthomas@suse.de>
* final.c (output_operand_lossage): Changed to accept
printf style arguments. Change calls where necessary.
* output.h (output_operand_lossage): Change declaration
accordingly. Update copyright.
* config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
Update copyright date where necessary.
* config/i386/i386.c (print_operand): Likewise. Remove use of
sprintf.
* config/cris/cris.c (cris_operand_lossage): Likewise.
Rename parameter so that exgettext recognizes it as
translatable message.
(LOSE_AND_RETURN): Rename parameter to msgid.
* po/gcc.pot: Regenerate.
From-SVN: r49820
Kazu Hirata [Sun, 17 Feb 2002 12:41:46 +0000 (12:41 +0000)]
h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a hard coded register number with an appropriate macro.
* config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
hard coded register number with an appropriate macro.
(HARD_REGNO_MODE_OK): Likewise.
(ARG_POINTER_REGNUM): Likewise.
(STATIC_CHAIN_REGNUM): Likewise.
(RETURN_ADDRESS_POINTER_REGNUM): Likewise.
* config/h8300/h8300.md (define_constants): Define more
register numbers.
From-SVN: r49819
GCC Administrator [Sun, 17 Feb 2002 08:16:12 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49817
Philipp Thomas [Sun, 17 Feb 2002 07:52:12 +0000 (07:52 +0000)]
Don't mark empty strings for translation.
From-SVN: r49816
H.J. Lu [Sun, 17 Feb 2002 05:36:47 +0000 (05:36 +0000)]
linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
2002-02-16 H.J. Lu <hjl@gnu.org>
* config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
From-SVN: r49815
Zack Weinberg [Sun, 17 Feb 2002 02:54:20 +0000 (02:54 +0000)]
cppinit.c (merge_include_chains): Check for brack being NULL before attempting to merge it with qtail.
* cppinit.c (merge_include_chains): Check for brack being
NULL before attempting to merge it with qtail.
From-SVN: r49814
Andrew Cagney [Sun, 17 Feb 2002 01:20:31 +0000 (01:20 +0000)]
netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to DBX_DEBUG.
* config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
DBX_DEBUG.
From-SVN: r49813
John David Anglin [Sat, 16 Feb 2002 22:30:35 +0000 (22:30 +0000)]
* pa/t-pa, pa/t-pro, pa/som.h: Revert last patch.
From-SVN: r49811
John David Anglin [Sat, 16 Feb 2002 22:13:59 +0000 (22:13 +0000)]
t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
* som.h (DO_GLOBAL_DTORS_BODY): Delete define.
From-SVN: r49810
Benjamin Kosnik [Sat, 16 Feb 2002 19:33:43 +0000 (19:33 +0000)]
locale_facets.tcc: Add pragma GCC system_header.
2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Add pragma GCC system_header.
* include/bits/fstream.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/istream.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/basic_string.tcc: Same.
From-SVN: r49809
Richard Kenner [Sat, 16 Feb 2002 18:55:21 +0000 (13:55 -0500)]
Fix typo.
From-SVN: r49808
Richard Kenner [Sat, 16 Feb 2002 18:54:33 +0000 (18:54 +0000)]
alpha.md (*movsi_nt_vms_nofix): Was *movesi_nt_vms; now only if !TARGET_FIX.
* config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movesi_nt_vms;
now only if !TARGET_FIX.
(*movsi_nt_vms_fix): New pattern.
From-SVN: r49807
Douglas B Rupp [Sat, 16 Feb 2002 18:50:17 +0000 (13:50 -0500)]
alpha.c: Implement null frame procedure types on VMS.
* config/alpha/alpha.c: Implement null frame procedure types on VMS.
(alpha_procedure_type): Replaces alpha_is_stack_procedure.
(alpha_sa_mask, alpha_sa_size): Reflect above change.
(alpha_pv_save_size, alpha_expand_prologue): Likewise.
(alpha_start_function, alpha_expand_epilogue): Likewise.
(unicosmk_gen_dsib): Likewise.
From-SVN: r49806
Richard Kenner [Sat, 16 Feb 2002 18:44:14 +0000 (18:44 +0000)]
* expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
From-SVN: r49805
Neil Booth [Sat, 16 Feb 2002 17:31:16 +0000 (17:31 +0000)]
* gcc.dg/decl-1.c: Update, new test.
From-SVN: r49804
Nathan Sidwell [Sat, 16 Feb 2002 12:13:41 +0000 (12:13 +0000)]
decl.c (grokdeclarator): Set typedef_decl for all TYPE_DECLs, remove incorrect comment.
cp:
* decl.c (grokdeclarator): Set typedef_decl for all TYPE_DECLs,
remove incorrect comment. Move #if 0'd code to common path. Use
IMPLICIT_TYPENAME_P. Simplify & reformat ARRAY_TYPE duplication.
testsuite:
* g++.dg/abi/bitfield1.C: New test.
* g++.dg/abi/bitfield2.C: New test.
From-SVN: r49803
GCC Administrator [Sat, 16 Feb 2002 08:16:41 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49802
Benjamin Kosnik [Sat, 16 Feb 2002 02:41:10 +0000 (02:41 +0000)]
std_iosfwd.h: Don't guard typedefs with _GLIBCPP_USE_WCHAR_T
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_iosfwd.h: Don't guard typedefs with
_GLIBCPP_USE_WCHAR_T
* include/bits/stringfwd.h: Same.
From-SVN: r49800
Benjamin Kosnik [Sat, 16 Feb 2002 00:50:58 +0000 (00:50 +0000)]
locale.cc (moneypunct_byname): Remove definitions.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
* src/locale.cc (moneypunct_byname): Remove definitions.
* include/std/std_streambuf.h (streambuf::operator=): Return.
From-SVN: r49799
Benjamin Kosnik [Sat, 16 Feb 2002 00:19:13 +0000 (00:19 +0000)]
Tune for size.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
Tune for size.
* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
explicit instantiation.
(string::_Rep::_S_max_size): Same.
* include/bits/basic_string.tcc: Add extern explicit
instantiations for string, wstring.
* include/bits/basic_ios.tcc: Add extern explicit instantiations
for ios, wios.
* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
* include/bits/istream.tcc: Same, for istream, wistream.
* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
wiostream.
* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
istringstream, wistringstream, ostringstream, wostringstream,
stringstream, wstringstream.
* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
wifstream, ofstream, wofstream, fstream, wfstream.
* src/misc-inst.cc: Correct comments.
Add iomanip instantiations for wide streams.
* include/std/std_iomanip.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/std/std_streambuf.h: Correct
_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_streambuf.h: Add definitions for private copy
ctor and assignment operator.
* include/std/std_istream.h: Remove declared but undefined copy
ctor and assignment operator. This is taken care of in ios_base,
so adding it in the derived class as well is superfluous.
* include/std/std_ostream.h: Same.
* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
From-SVN: r49798
Ulrich Weigand [Fri, 15 Feb 2002 23:30:03 +0000 (23:30 +0000)]
s390.c (pool_stop_uid, [...]): Delete.
* config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
check_and_change_labels, s390_final_chunkify): Delete.
(s390_split_branches, s390_chunkify_pool): New functions.
(s390_function_prologue): Call them.
* config/s390/s390.h (S390_REL_MAX): Delete.
(S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
* config/s390/s390.md (cjump, icjump, jump): Fix length
attribute calculation.
From-SVN: r49797
David Edelsohn [Fri, 15 Feb 2002 21:04:53 +0000 (21:04 +0000)]
linux64.h (STRIP_NAME_ENCODING): Delete.
* config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
* config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
From-SVN: r49796
John David Anglin [Fri, 15 Feb 2002 19:11:01 +0000 (19:11 +0000)]
gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
* gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
* config/pa/pa-linux.h (LIB_SPEC): Likewise.
* config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
From-SVN: r49794
Richard Sandiford [Fri, 15 Feb 2002 16:11:10 +0000 (16:11 +0000)]
* gcc.dg/attr-nest.c: New test.
From-SVN: r49792
Richard Sandiford [Fri, 15 Feb 2002 16:08:21 +0000 (16:08 +0000)]
* c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
From-SVN: r49791
Richard Sandiford [Fri, 15 Feb 2002 12:21:00 +0000 (12:21 +0000)]
* gcc.c-torture/execute/
20020215-1.c: New test.
From-SVN: r49788
Richard Sandiford [Fri, 15 Feb 2002 12:18:49 +0000 (12:18 +0000)]
reload.c (find_dummy_reload): Check that an output register is valid for its mode.
* reload.c (find_dummy_reload): Check that an output register
is valid for its mode.
From-SVN: r49787
GCC Administrator [Fri, 15 Feb 2002 08:16:13 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49785
Tom Tromey [Fri, 15 Feb 2002 06:55:42 +0000 (06:55 +0000)]
re PR libgcj/5695 (verify.cc test that target is an object before running down interfaces)
Fix for PR libgcj/5695:
* verify.cc (is_assignable_from_slow): Check to see if target is
an Object before checking to see if source is an interface.
(verify_instructions_0) [op_invokeinterface]: Handle case where
we're making an interface call on Object.
From-SVN: r49783
Bryce McKinlay [Fri, 15 Feb 2002 05:53:29 +0000 (05:53 +0000)]
Makefile.in: Rebuilt with Eric's change below.
* Makefile.in: Rebuilt with Eric's change below.
* java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
Removed functions which are now implemented in Math.java.
From-SVN: r49782
Eric Blake [Fri, 15 Feb 2002 03:21:47 +0000 (03:21 +0000)]
javaprims.h (java::lang): Add java::lang::StrictMath.
2002-02-14 Eric Blake <ebb9@email.byu.edu>
* gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
* Makefile.am (core_java_source_files): Add
java/lang/StrictMath.java.
* java/lang/Math.java: Merge with Classpath.
* java/lang/StrictMath.java: New file - merge with Classpath.
From-SVN: r49781
Benjamin Kosnik [Fri, 15 Feb 2002 02:21:33 +0000 (02:21 +0000)]
linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
Add typeinfo bits. Smooth.
* aclocal.m4: Regenerate.
* configure: Same.
* src/Makefile.in: Same.
From-SVN: r49780
Mike Stump [Fri, 15 Feb 2002 00:09:29 +0000 (00:09 +0000)]
Import bugfix.
From-SVN: r49779
Mark Wielaard [Thu, 14 Feb 2002 23:16:11 +0000 (23:16 +0000)]
[multiple changes]
2002-02-14 Mark Wielaard <mark@klomp.org>
* java/math/BigInteger.java: import gnu.java.math.MPN not the whole
package as a workaround for gcj 3.0.x
2002-02-14 Mark Wielaard <mark@klomp.org>
* java/security/BasicPermission.java: extends with fully qualified
classname as workaround for gcj 3.0.4.
2002-02-14 Eric Blake <ebb9@email.byu.edu>
* java/net/DatagramSocketImpl.java (setOption, getOption): Work
around gcj bug of wrong emitted qualifier for inherited method.
* java/net/SocketImpl.java (setOption, getOption): Ditto.
* java/util/WeakHashMap.java (WeakEntrySet): Add non-private
constructor to reduce amount of emitted bytecode. While this
happens to work around a jikes 1.15 bug, it is still a useful
patch even for correct compilers.
* java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
* gnu/java/rmi/server/UnicastRemoteCall.java
(DummyObjectOutputStream, DummyObjectInputStream): Ditto.
2002-02-14 Eric Blake <ebb9@email.byu.edu>
* java/net/DatagramSocketImpl.java: Reformat (no code changes).
* java/net/SocketImpl.java: Ditto.
* java/rmi/server/RMIClassLoader.java: Ditto.
* gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
2002-02-14 Mark Wielaard <mark@klomp.org>
Thanks to Takashi Okamoto
* java/util/Arrays.java (ArrayList.indexOf()): this.equals().
* java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
* java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
From-SVN: r49778
Alexandre Oliva [Thu, 14 Feb 2002 19:30:42 +0000 (19:30 +0000)]
combine.c (known_cond): After replacing the REG of a SUBREG, try to simplify it.
* combine.c (known_cond): After replacing the REG of a SUBREG, try
to simplify it.
From-SVN: r49775
Alexandre Oliva [Thu, 14 Feb 2002 19:27:21 +0000 (19:27 +0000)]
function.c (assign_parms): Demote promoted argument passed by transparent reference.
* function.c (assign_parms): Demote promoted argument passed by
transparent reference.
From-SVN: r49774
Joel Sherrill [Thu, 14 Feb 2002 18:57:38 +0000 (18:57 +0000)]
atomicity.h: Corrected for RTEMS targets which do not have a CAS instruction.
2001-02-14 Joel Sherrill <joel@OARcorp.com>
* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets which
do not have a CAS instruction.
From-SVN: r49772