Kaveh R. Ghazi [Wed, 21 Aug 2002 02:41:51 +0000 (02:41 +0000)]
alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
* alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
* alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
* alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
* arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
(GLOBAL_ASM_OP): Define.
* arm.c (aof_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
* arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* c4x.c (c4x_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
* c4x.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
* darwin-protos.h (darwin_globalize_label): Declare.
* darwin.c (darwin_globalize_label): New function.
* darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
(ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
* dsp16xx.c (asm_output_common): Use target hook.
* elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
* frv.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* i370.c (i370_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
* i370.h (ASM_GLOBALIZE_LABEL): Delete.
* i386.c (ix86_asm_file_end): Use target hook.
* i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
* ia64.c (ia64_asm_output_external): Likewise.
* ia64/sysv4.h: Update comment.
* m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
* mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
* mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
* mmix-protos.h (mmix_asm_globalize_label): Delete.
* mmix.c (mmix_asm_globalize_label): Likewise.
* mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
(GLOBAL_ASM_OP): Define.
* ns32k.c (ns32k_globalize_label): New function.
* ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
(ASM_GLOBALIZE_LABEL): Delete.
* pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
(TARGET_ASM_GLOBALIZE_LABEL): Undefine.
* pa.c (pa_globalize_label): New function.
* pa.h (ASM_GLOBALIZE_LABEL): Delete.
(TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
* rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
(TARGET_ASM_GLOBALIZE_LABEL): Undef.
* rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
* rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* v850.c (v850_output_aligned_bss): Use target hook.
* vax.c (vms_globalize_label): New function.
(TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
* vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.
* defaults.h (ASM_GLOBALIZE_LABEL): Delete.
* doc/tm.texi: Update docs.
* dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
target hook.
* final.c (output_alternate_entry_point): Likewise.
* hooks.c (hook_FILEptr_constcharptr_void): New function.
* hooks.h (hook_FILEptr_constcharptr_void): Declare.
* output.h (assemble_global): Delete.
(default_globalize_label): Declare.
* system.h (ASM_GLOBALIZE_LABEL): Poison.
* target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
(TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
* target.h (gcc_target): Add globalize_label member.
* varasm.c (asm_output_bss, asm_output_aligned_bss,
globalize_decl): Use target hook.
(assemble_global): Delete.
(default_globalize_label): New function.
From-SVN: r56478
Kaveh R. Ghazi [Wed, 21 Aug 2002 02:34:28 +0000 (02:34 +0000)]
* dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
From-SVN: r56477
Devang Patel [Wed, 21 Aug 2002 01:01:14 +0000 (18:01 -0700)]
tree.c (get_qualified_type): Add TYPE_CONTEXT check.
2002-08-20 Devang Patel <dpatel@apple.com>
* tree.c (get_qualified_type): Add TYPE_CONTEXT check.
testsuite:
* objc.dg/proto-hier-2.m: New test.
From-SVN: r56475
Loren J. Rittle [Wed, 21 Aug 2002 01:00:21 +0000 (01:00 +0000)]
MAINTAINERS (Write After Approval): Remove myself.
* MAINTAINERS (Write After Approval): Remove myself.
(Various Maintainers: c++ runtime libs): Add myself.
From-SVN: r56474
Kaveh R. Ghazi [Tue, 20 Aug 2002 23:27:03 +0000 (23:27 +0000)]
arc.c (output_shift): Use stdio instead of asm_fprintf.
* arc.c (output_shift): Use stdio instead of asm_fprintf.
* arm.c (thumb_output_function_prologue): Likewise.
* avr.c (print_operand): Likewise.
* c4x.c (c4x_print_operand): Likewise.
* c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
* cris.c (cris_target_asm_function_prologue,
cris_asm_output_mi_thunk): Likewise.
* h8300.c (print_operand): Likewise.
* h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* ip2k.c (print_operand): Likewise. Fix format specifier.
* m68hc11.c (asm_print_register, print_operand,
print_operand_address): Use stdio instead of asm_fprintf.
(print_operand_address): Fix format specifier.
* m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
asm_fprintf.
* m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
* m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
* m68k.c (m68k_output_function_prologue,
m68k_output_function_epilogue, print_operand): Likewise.
* mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
Likewise. Fix format specifier.
* mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
From-SVN: r56472
Eric Christopher [Tue, 20 Aug 2002 21:53:28 +0000 (21:53 +0000)]
config.sub: Import from master repository.
2002-08-15 Eric Christopher <echristo@redhat.com>
* config.sub: Import from master repository.
* config.guess: Ditto.
2002-08-15 Eric Christopher <echristo@redhat.com>
Jeff Knaggs <jknaggs@redhat.com>
* config.gcc (mipsisa64sr71k-elf): New target.
* config/mips/sr71k.md: New file.
* config/mips/mips.md: Use it.
(rot*): Add sr71k specifics.
* config/mips/t-sr71k: New file.
* config/mips/mips.h (sr71k): New cpu.
(TARGET_SR71K): Use it.
(TUNE_SR71K): Ditto.
(GENERATE_BRANCHLIKELY): Ditto.
(ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
* config/mips/mips.c (sr71k): New cpu.
(mips_use_dfa_pipeline_interface): Use.
2002-08-15 Eric Christopher <echristo@redhat.com>
Richard Sandiford <rsandifo@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
Graham Stott <grahams@redhat.com>
Michael Meissner <meissner@redhat.com>
Gavin Romig-Koch <gavin@redhat.com>
Ken Raeburn <raeburn@cygnus.com>
Alexandre Oliva <aoliva@redhat.com>
* config.gcc (mips64vr-elf): New target.
* config/mips/5400.md: New file.
* config/mips/5500.md: Ditto.
* config/mips/mips.md: Use them.
(frsqrt): New.
* config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
cpus.
(mips_issue_rate): Use them.
(mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
(TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
* config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
cpus.
(TARGET_MIPSx): Use them.
(TUNE_MIPSx): Ditto.
(GETNATE_MULT3_SI): Ditto.
(ISA_HAS_BRANCHLIKELY): Ditto.
(ISA_HAS_CONDMOVE): Ditto.
(ISA_HAS_NMADD_NMSUB): Ditto.
(ISA_HAS_MULHI): New. Ditto.
(ISA_HAS_MULS): Ditto.
(ISA_HAS_MSAC): Ditto.
(ISA_HAS_MACC): Ditto.
(ISA_HAS_ROTR_SI): Ditto.
(ISA_HAS_ROTR_DI): Ditto.
(RTX_COSTS): Use.
From-SVN: r56471
Kaveh R. Ghazi [Tue, 20 Aug 2002 20:50:57 +0000 (20:50 +0000)]
* where.c (ffewhere_track): Remove impossible if-then clause.
From-SVN: r56469
John David Anglin [Tue, 20 Aug 2002 19:56:30 +0000 (19:56 +0000)]
cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal at head.
* cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
at head.
(remove_dup_nonsys_dirs): New function.
(remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
(merge_include_chains): Remove non-system include directories from
quote and bracket include chains when they duplicate equivalent system
directories.
* doc/cpp.texi (-I): Update.
* doc/cppopts.texi (-I): Update.
* doc/install.texi (--with-local-prefix): Further document usage of
this option.
* doc/invoke.texi (-I): Update.
From-SVN: r56468
Richard Henderson [Tue, 20 Aug 2002 09:47:18 +0000 (02:47 -0700)]
expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
* expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
(emit_block_move): Split out subroutines.
(emit_block_move_via_movstr): New.
(emit_block_move_via_libcall): New. Emit bcopy via normal call also.
(emit_block_move_libcall_fn): New. Construct function prototype for
bcopy as well.
(clear_storage): Split out subroutines.
(clear_storage_via_clrstr): New.
(clear_storage_via_libcall): New. Emit bzero as a normal call also.
(clear_storage_libcall_fn): New. Construct function prototype for
bzero as well.
(emit_push_insn): Use emit_block_move.
(expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
(store_constructor): Likewise.
From-SVN: r56464
Benjamin Kosnik [Tue, 20 Aug 2002 07:32:10 +0000 (07:32 +0000)]
configure.in (libtool_VERSION): Update to 5:1:0.
2002-08-19 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): Update to 5:1:0.
* configure: Regenerate.
From-SVN: r56462
GCC Administrator [Tue, 20 Aug 2002 07:17:52 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56461
Ziemowit Laski [Tue, 20 Aug 2002 01:51:13 +0000 (01:51 +0000)]
objc-act.c (building_objc_message_expr): Rename to current_objc_message_selector.
2002-08-19 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (building_objc_message_expr): Rename to
current_objc_message_selector.
From-SVN: r56453
Michael Koch [Tue, 20 Aug 2002 01:33:15 +0000 (01:33 +0000)]
URISyntaxException.java: New file.
2002-08-20 Michael Koch <konqueror@gmx.de>
* java/net/URISyntaxException.java: New file.
* java/net/SocketTimeoutException.java: New file.
* java/net/PortUnreachableException.java: New file.
* Makefile.am: Updated.
* Makefile.in: Rebuilt.
From-SVN: r56452
Ziemowit Laski [Tue, 20 Aug 2002 01:27:39 +0000 (01:27 +0000)]
objc-act.c (build_ivar_chain): Remove.
[gcc]
2002-08-19 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (build_ivar_chain): Remove.
(objc_copy_list): Likewise.
(get_class_ivars): Inline call to removed build_ivar_chain
function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
slot; use that slot (rather than CLASS_IVARS) when accessing
ivars for base classes. Call copy_list and chainon instead of
objc_copy_list.
(build_private_template): Call get_class_ivars instead of
build_ivar_chain.
(start_class): Allocate room for the CLASS_OWN_IVARS slot.
(continue_class): Call get_class_ivars instead of
build_ivar_chain.
(encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
of DECL_BIT_FIELD (which may have been cleared).
* objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
[gcc/testsuite]
2002-08-19 Ziemowit Laski <zlaski@apple.com>
* objc.dg/bitfield-1.m: New test.
* objc.dg/bitfield-2.m: New test.
From-SVN: r56451
Kaveh R. Ghazi [Tue, 20 Aug 2002 00:55:22 +0000 (00:55 +0000)]
genautomata.c (output_translate_vect, [...]): Mark variable with ATTRIBUTE_UNUSED in output file.
* genautomata.c (output_translate_vect, output_state_ainsn_table,
output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
in output file.
(output_internal_min_issue_delay_func): Initialize variable in
output file.
From-SVN: r56450
Jonathan Wakely [Tue, 20 Aug 2002 00:44:19 +0000 (00:44 +0000)]
configopts.html, [...]: Conform to HTML 4.01 standard.
2002-08-19 Jonathan Wakely <jw@kayari.org>
* docs/html/configopts.html, docs/html/documentation.html,
docs/html/install.html, docs/html/22_locale/codecvt.html,
docs/html/22_locale/ctype.html, docs/html/22_locale/howto.html,
docs/html/22_locale/locale.html,
docs/html/22_locale/messages.html: Conform to HTML 4.01 standard.
From-SVN: r56449
Alexandre Oliva [Mon, 19 Aug 2002 20:39:32 +0000 (20:39 +0000)]
Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
(stage2_build, stage3_build, stage4_build): Likewise, to CC.
From-SVN: r56447
Alexandre Oliva [Mon, 19 Aug 2002 20:38:15 +0000 (20:38 +0000)]
Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET,
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.
From-SVN: r56446
Geoffrey Keating [Mon, 19 Aug 2002 18:18:12 +0000 (18:18 +0000)]
machmode.h (SCALAR_INT_MODE_P): New macro to test for scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
* machmode.h (SCALAR_INT_MODE_P): New macro to test for
scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
* explow.c (trunc_int_for_mode): Abort when the mode is not
a scaler integer mode.
* combine.c (expand_compound_operation): Don't expand Vector
or Complex modes into shifts.
(expand_field_assignment): Don't do bitwise arithmatic and
shifts on Vector or Complex modes.
(simplify_comparison): Don't call trunc_int_for_mode
for VOIDmode.
* recog.c (general_operand): Likewise.
(immediate_operand): Likewise.
(nonmemory_operand): Likewise.
Co-Authored-By: Steve Ellcey <sje@cup.hp.com>
From-SVN: r56443
David Edelsohn [Mon, 19 Aug 2002 16:59:04 +0000 (12:59 -0400)]
- Fix typo in argument ordering.
From-SVN: r56440
David Edelsohn [Mon, 19 Aug 2002 16:32:54 +0000 (16:32 +0000)]
rs6000.c (rs6000_emit_set_const): Inline multi-instruction SImode constant.
* config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
multi-instruction SImode constant. Add REG_EQUAL note.
* config/rs6000/rs6000.md (movsi splitter): Use
rs6000_emit_set_const.
From-SVN: r56439
Kaveh R. Ghazi [Mon, 19 Aug 2002 15:26:35 +0000 (15:26 +0000)]
tree-inline.c (initialize_inlined_parameters): Wrap variable in the macro test controlling its use.
* tree-inline.c (initialize_inlined_parameters): Wrap variable in
the macro test controlling its use.
From-SVN: r56438
Jason Merrill [Mon, 19 Aug 2002 10:48:15 +0000 (06:48 -0400)]
add loop and switch variants
From-SVN: r56437
GCC Administrator [Mon, 19 Aug 2002 07:17:42 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56436
H.J. Lu [Sun, 18 Aug 2002 22:20:28 +0000 (22:20 +0000)]
config.gcc (*-*-linux*): Set extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"...
2002-08-18 H.J. Lu (hjl@gnu.org)
* config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
gnu_ld=yes.
(alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
here.
(cris-*-linux*): Remove setting thread_file here.
From-SVN: r56428
Mark Wielaard [Sun, 18 Aug 2002 18:30:09 +0000 (18:30 +0000)]
Thanks to Vladimir Puskas <vpuskas@eunet.yu>
Thanks to Vladimir Puskas <vpuskas@eunet.yu>
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not
MessageDigestSpi (fixes Classpath bug #783).
From-SVN: r56425
GCC Administrator [Sun, 18 Aug 2002 07:17:22 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56423
Neil Booth [Sun, 18 Aug 2002 06:26:11 +0000 (06:26 +0000)]
re PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH treated as C headers)
PR preprocessor/7602
* cppinit.c (path_include): Treat the system environment
variables as being cxx_aware.
From-SVN: r56416
Tim Josling [Sat, 17 Aug 2002 23:13:12 +0000 (23:13 +0000)]
treelang fixes to accommodate chaqnges elsewhere.
From-SVN: r56412
Joseph Myers [Sat, 17 Aug 2002 14:48:28 +0000 (15:48 +0100)]
c-decl.c (flexible_array_type_p): New function.
* c-decl.c (flexible_array_type_p): New function.
(grokdeclarator, finish_struct): Use it.
* doc/extend.texi: Document constraints on use of structures with
flexible array members.
testsuite:
* gcc.dg/c90-flex-array-1.c, gcc.dg/c99-flex-array-3.c,
gcc.dg/c99-flex-array-4.c: New tests.
From-SVN: r56411
Richard Sandiford [Sat, 17 Aug 2002 13:04:39 +0000 (13:04 +0000)]
t-coff, [...] (MULTILIB_MATCHES): Define.
* config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
config/mips/t-r3900 (MULTILIB_MATCHES): Define.
* config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
From-SVN: r56410
Gabriel Dos Reis [Sat, 17 Aug 2002 12:26:01 +0000 (12:26 +0000)]
Fix PR/7621
Fix PR/7621
* typeck.c (finish_class_member_access_expr): Diagnose cases where
name lookup finds nothing.
From-SVN: r56409
GCC Administrator [Sat, 17 Aug 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56408
Jason Merrill [Sat, 17 Aug 2002 01:17:24 +0000 (21:17 -0400)]
semantics.c (finish_then_clause): Remove redundant assignment.
* semantics.c (finish_then_clause): Remove redundant assignment.
(finish_if_stmt, begin_switch_stmt, finish_switch_stmt): Move the
extra binding level outside the if/switch statement.
(finish_while_cond, finish_for_cond): Rewrite complex condition
into the loop body.
From-SVN: r56402
Stan Shebs [Fri, 16 Aug 2002 23:31:06 +0000 (23:31 +0000)]
c-common.c (cb_register_builds): Define __NEXT_RUNTIME__ for ObjC with -fnext-runtime.
* c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
for ObjC with -fnext-runtime.
* doc/cpp.texi: Document it.
* objc/execute/selector-1.m: Add __NEXT_RUNTIME__ case.
From-SVN: r56390
Tom Tromey [Fri, 16 Aug 2002 21:49:33 +0000 (21:49 +0000)]
gcj.texi (Class Initialization): Mention class initialization of arrays.
* gcj.texi (Class Initialization): Mention class initialization of
arrays.
From-SVN: r56386
Janis Johnson [Fri, 16 Aug 2002 21:27:31 +0000 (21:27 +0000)]
install.texi (Final installation): Replace links to individual build status pages with a link to a common page...
2002-08-16 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi (Final installation): Replace links to individual
build status pages with a link to a common page that lists them all.
From-SVN: r56385
Sylvain Pion [Fri, 16 Aug 2002 21:18:14 +0000 (21:18 +0000)]
invoke.texi: Fix typo.
2002-08-16 Sylvain Pion <pion@cs.nyu.edu>
* doc/invoke.texi: Fix typo.
From-SVN: r56384
H.J. Lu [Fri, 16 Aug 2002 18:19:00 +0000 (18:19 +0000)]
libjava.exp (gcc_version): Removed.
2002-08-16 H.J. Lu <hjl@gnu.org>
* lib/libjava.exp (gcc_version): Removed.
(libgcj_jar): New.
(libjava_init): Set libgcj_jar with tcl glob.
(libjava_arguments): Use libgcj_jar.
From-SVN: r56382
David Edelsohn [Fri, 16 Aug 2002 17:24:33 +0000 (13:24 -0400)]
* doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
From-SVN: r56380
Aldy Hernandez [Fri, 16 Aug 2002 17:10:21 +0000 (17:10 +0000)]
MAINTAINERS: Add self to rs6000 vector extensions.
2002-08-16 Aldy Hernandez <aldyh@redhat.com>
* MAINTAINERS: Add self to rs6000 vector extensions.
From-SVN: r56379
Andrew Haley [Fri, 16 Aug 2002 10:32:30 +0000 (10:32 +0000)]
Make-lang.in (java-tree-inline.o): New.
2002-07-30 Andrew Haley <aph@cambridge.redhat.com>
* Make-lang.in (java-tree-inline.o): New.
(JAVA_OBJS): Add java-tree-inline.o.
* parse.y (source_end_java_method): Call java_optimize_inline.
(java_expand_method_bodies): Save method's tree in
DECL_SAVED_TREE.
(add_stmt_to_compound): Keep track of the number of statments.
* lang.c (java_init): Enable flag_inline_trees.
(java_post_options): If flag_inline_functions is on, enable
flag_inline_trees instread.
(decl_constant_value): New.
(java_tree_inlining_walk_subtrees): New.
* java-tree.h (DECL_NUM_STMTS): New macro.
(java_optimize_inline): Declare.
* expr.c (java_expand_expr): Allow a BLOCK to return a value.
Handle a LABEL_EXPR.
* decl.c (build_result_decl): If we already have a DECL_RESULT
don't make another.
(dump_function): New.
(java_optimize_inline): New.
(dump_function): New.
From-SVN: r56377
Andrew Haley [Fri, 16 Aug 2002 10:29:45 +0000 (10:29 +0000)]
tree-inline.c: Add includes for Java inliner.
2002-07-30 Andrew Haley <aph@redhat.com>
* tree-inline.c: Add includes for Java inliner.
(remap_decl): Don't handle anonymous types for Java.
(remap_block): Add handling for Java trees.
(copy_scope_stmt): Conditionalize for non-Java use only.
(copy_body_r): Handle Java trees. Add handling for
LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
(initialize_inlined_parameters): Handle Java trees.
(declare_return_variable): Likewise.
(expand_call_inline): Handle Java trees.
(walk_tree): Likewise.
(copy_tree_r): Don't handle SCOPE_STMTs for Java.
(add_stmt_to_compound): New function.
From-SVN: r56376
GCC Administrator [Fri, 16 Aug 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56375
Benjamin Kosnik [Thu, 15 Aug 2002 22:25:39 +0000 (22:25 +0000)]
re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)
2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
_M_buf_size_opt to zero when unbuffering.
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
Consistency checks for _M_buf_size_opt.
Revert PR libstdc++/7445
* src/locale.cc (locale::classic): Revert.
* docs/html/17_intro/TODO: Add.
From-SVN: r56365
Richard Henderson [Thu, 15 Aug 2002 21:45:47 +0000 (14:45 -0700)]
Makefile.in (LOOSE_WARN): Remove -fno-common.
* Makefile.in (LOOSE_WARN): Remove -fno-common.
(NOCOMMON_FLAG): New substitution point.
(GCC_WARN_CFLAGS): Include it.
* configure.in (ac_checking): Set nocommon_flag.
(nocommon_flag): New substitution point.
From-SVN: r56362
Alexandre Oliva [Thu, 15 Aug 2002 21:24:00 +0000 (21:24 +0000)]
* libiberty/configure: Reverted unintended yesterday's check in.
From-SVN: r56361
Jakub Jelinek [Thu, 15 Aug 2002 21:17:16 +0000 (23:17 +0200)]
typeof-1.c: New test.
* gcc.dg/typeof-1.c: New test.
* g++.dg/ext/typeof2.C: New test.
From-SVN: r56360
Alexandre Oliva [Thu, 15 Aug 2002 21:16:52 +0000 (21:16 +0000)]
parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.
* parse.y (sizeof, alignof, typeof): New non-terminals to
increment skip_evaluation. Replace terminals with them and
decrement skip_evaluation at the end of rules using them.
* decl2.c (mark_used): Don't assemble_external if
skipping evaluation.
From-SVN: r56359
Alexandre Oliva [Thu, 15 Aug 2002 21:16:23 +0000 (21:16 +0000)]
c-tree.h (skip_evaluation): Move declaration...
* c-tree.h (skip_evaluation): Move declaration...
* c-common.h: ... here.
* c-typeck.c (build_external_ref): Don't assemble_external nor
mark a tree as used if skip_evaluation is set.
* c-parse.in (typeof): New non-terminal to set skip_evaluation
around TYPEOF.
(typespec_nonreserved_nonattr): Use it.
From-SVN: r56358
Phil Edwards [Thu, 15 Aug 2002 20:19:11 +0000 (20:19 +0000)]
documentation.html: Update doxygen links for 3.2.
2002-08-15 Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Update doxygen links for 3.2.
From-SVN: r56357
Douglas B Rupp [Thu, 15 Aug 2002 19:59:29 +0000 (19:59 +0000)]
dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
* dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
(xcoff_debug_hooks): Update end_prologue.
* debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
* debug.h (end_prologue): Add file arg.
(end_epilogue): Add line and file args.
(dwarf2out_end_epilogue): Add line and file args.
(vmsdbgout_after_prologue): Remove.
* dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
(dwarf2_debug_hooks): Update end_prologue.
* dwarfout.c (dwarfout_end_epilogue): Add line and file args.
(dwarfout_end_prologue): Add file arg.
* final.c (vmsdbgout_after_prologue): Remove
(final_end_function): Update end_epilogue call.
(final_scan_insn): Update end_prologue call.
* sdbout.c (sdbout_end_epilogue): Add line and file args.
(sdbout_end_prologue): Add file arg.
(sdb_debug_hooks): Update end_prologue.
(sdb_begin_prologue): Update sdbout_end_prologue call.
* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
vmsdbgout_end_function.
(vmsdbgout_end_prologue): New function renamed from
vmsdbgout_after_prologue. Call vmsdbgout_source_line.
(vmsdbgout_end_function): New function.
(vmsdbgout_end_epilogue): Add line and file args. Call
vmsdbgout_source_line.
(write_pclines): Write only valid line numbers.
(write_srccorr): Don't write source correlation records if 0 lines.
* xcoffout.c (xcoffout_end_epilogue): Add line and file args.
From-SVN: r56356
Steve Ellcey [Thu, 15 Aug 2002 18:05:41 +0000 (18:05 +0000)]
unwind-cxx.h (__cxa_exception): Change catchTemp type from void* to _Unwind_Ptr.
* libstdc++-v3/libsupc++/unwind-cxx.h (__cxa_exception):
Change catchTemp type from void* to _Unwind_Ptr.
* libstdc++-v3/libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
Do not cast landing_pad or base_of_encoded_value to (void *).
* libstdc++-v3/libsupc++/eh_throw.cc (__gxx_exception_cleanup):
Accept _URC_NO_REASON as a valid reason code.
From-SVN: r56352
Steve Ellcey [Thu, 15 Aug 2002 18:01:30 +0000 (18:01 +0000)]
unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
* gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
(_Unwind_Internal_Ptr): 32 bit version for use in
read_encoded_value_with_base.
* gcc/unwind-pe.h (read_encoded_value_with_base): Use
_Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
right size.
From-SVN: r56351
Kaveh R. Ghazi [Thu, 15 Aug 2002 17:44:10 +0000 (17:44 +0000)]
loop.c (scan_loop, [...]): Cast to avoid signed/unsigned warnings.
* loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
signed/unsigned warnings.
* regclass.c (init_reg_sets_1, choose_hard_reg_mode,
record_reg_classes): Likewise.
* reload.c (reload_inner_reg_of_subreg, push_reload,
find_reloads_address_1): Likewise.
From-SVN: r56350
David Edelsohn [Thu, 15 Aug 2002 14:51:00 +0000 (14:51 +0000)]
rs6000.c (output_mi_thunk): Return to function section on TARGET_ELF.
* rs6000.c (output_mi_thunk): Return to function section on
TARGET_ELF.
* rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
From-SVN: r56348
Gabriel Dos Reis [Thu, 15 Aug 2002 11:42:51 +0000 (11:42 +0000)]
*** empty log message ***
From-SVN: r56347
Nathan Sidwell [Thu, 15 Aug 2002 10:34:05 +0000 (10:34 +0000)]
re PR c++/7598 (offsetof broken)
cp:
PR c++/7598
* typeck.c (build_unary_op): Fold offsetof idiom. Fixes
regression caused by my 2002-08-08 patch.
testsuite:
* g++.dg/other/offsetof1.C: New test
From-SVN: r56346
Ulrich Weigand [Thu, 15 Aug 2002 09:55:31 +0000 (09:55 +0000)]
s390.c (legitimize_address): Optimize loading of large displacements.
* config/s390/s390.c (legitimize_address): Optimize loading
of large displacements.
From-SVN: r56345
GCC Administrator [Thu, 15 Aug 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56344
Douglas B Rupp [Thu, 15 Aug 2002 05:04:27 +0000 (05:04 +0000)]
alpha-protos.h: Update.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
(alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
(alpha_linkage_symbol_p): New static function.
(print_operand_address): Print linkage operand.
(alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
variables.
(reloc_kind): New enum.
(struct alpha_funcs): New struct.
(struct alpha_links): Add reloc_kind field. Rename links_kind field.
(alpha_need_linkage): Rewrite.
(alpha_use_linkage): New global function.
(alpha_write_linkage): Rewrite and make static.
(alpha_write_one_linkage): Rewrite
(alpha_start_function): Remove procedure descriptor output.
(alpha_end_function): Write linkages at end of each function.
* config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
(call_vms_1, call_value_vms_1): Rewrite.
* config/alpha/vms.h (ASM_FILE_END): Remove.
From-SVN: r56338
Richard Henderson [Thu, 15 Aug 2002 01:03:43 +0000 (18:03 -0700)]
ggc-page.c (RTL_SIZE): New.
* ggc-page.c (RTL_SIZE): New.
(extra_order_size_table): Add specializations for 2 and 10 rtl slots.
* rtl.def (BARRIER, NOTE): Pad to 9 slots.
From-SVN: r56337
Richard Henderson [Thu, 15 Aug 2002 00:16:11 +0000 (17:16 -0700)]
* gcc.dg/tls/diag-3.c: Fix expected message strings.
From-SVN: r56336
Richard Henderson [Thu, 15 Aug 2002 00:07:55 +0000 (17:07 -0700)]
calls.c: Include target.h.
* calls.c: Include target.h.
* Makefile.in (calls.o): Update.
* config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
* config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
From-SVN: r56335
Richard Henderson [Thu, 15 Aug 2002 00:00:56 +0000 (17:00 -0700)]
Makefile.in (LOOSE_WARN): Add -fno-common.
* Makefile.in (LOOSE_WARN): Add -fno-common.
* c-common.h (constant_string_class_name): Add missing extern.
From-SVN: r56334
Neil Booth [Wed, 14 Aug 2002 22:34:50 +0000 (22:34 +0000)]
re PR preprocessor/7358 (Changes to Sun's make Dependencies)
PR preprocessor/7358
* c-opts.c (check_deps_environment_vars): Ignore main file
for SUNPRO_DEPENDENCIES.
* cppfiles.c (stack_include_file): Ignore main file if
appropriate.
* cpplib.h (struct cpp_options): New member in deps.
* doc/cppenv.texi: Update.
From-SVN: r56333
Neil Booth [Wed, 14 Aug 2002 20:17:55 +0000 (20:17 +0000)]
re PR preprocessor/7526 (cpp0 core dump when _Pragma implies #pragma dependency)
PR preprocessor/7526
* cpplib.c (run_directive): Kludge so _Pragma dependency works.
testsuite:
* gcc.dg/cpp/_Pragma3.c: New test.
From-SVN: r56332
Nathan Sidwell [Wed, 14 Aug 2002 20:06:12 +0000 (20:06 +0000)]
invoke.texi (-a): Remove documentation.
* doc/invoke.texi (-a): Remove documentation.
(-fprofile-arcs): Remove reference to -a, -ax options.
* doc/gcov.texi (Gcov Data Files): Data might be merged.
From-SVN: r56331
Jesse Rosenstock [Wed, 14 Aug 2002 19:53:54 +0000 (19:53 +0000)]
natPosixProcess.cc (cleanup): Added `path' argument.
2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
* java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
(startProcess): Allocate path for chdir in async-signal-safe way.
From-SVN: r56330
Gabriel Dos Reis [Wed, 14 Aug 2002 17:50:48 +0000 (17:50 +0000)]
Fix PR/7566
Fix PR/7566
* c-semantics.c (genrtl_case_label): Don't (mis)use
warning_with_decl.
From-SVN: r56329
Dale Johannesen [Wed, 14 Aug 2002 17:41:52 +0000 (17:41 +0000)]
Insert memory clobbers before the code that pops variable arrays.
This prevents the scheduler from moving references to the arrays
below the stack pop.
From-SVN: r56328
Jonathan Wakely [Wed, 14 Aug 2002 17:29:19 +0000 (17:29 +0000)]
messages.html: Use HTML entities for punctuation.
2002-08-14 Jonathan Wakely <jw@kayari.org>
* docs/html/22_locale/messages.html: Use HTML entities for
punctuation.
From-SVN: r56300
Neil Booth [Wed, 14 Aug 2002 17:19:28 +0000 (17:19 +0000)]
* c-opts.c (c_common_post_options): Correct test.
From-SVN: r56299
Kaveh R. Ghazi [Wed, 14 Aug 2002 16:25:36 +0000 (16:25 +0000)]
m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument order in call to fprintf.
* m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
order in call to fprintf.
From-SVN: r56298
Rainer Orth [Wed, 14 Aug 2002 16:12:33 +0000 (16:12 +0000)]
* config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
From-SVN: r56297
Ulrich Weigand [Wed, 14 Aug 2002 10:04:51 +0000 (10:04 +0000)]
reload.c (find_reloads): Handle constraint letters marked by EXTRA_ADDRESS_CONSTRAINT and...
* reload.c (find_reloads): Handle constraint letters marked by
EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
(alternative_allows_memconst): Likewise.
* reload1.c (maybe_fix_stack_asms): Likewise.
* recog.c (asm_operand_ok, preprocess_constraints,
constrain_operands): Likewise.
* regclass.c (record_operand_costs, record_reg_classes): Likewise.
* local-alloc.c (block_alloc, requires_inout): Likewise.
* stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
* defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
(EXTRA_ADDRESS_CONSTRAINT): Likewise.
* doc/tm.texi: Document these two new target macros.
* config/s390/s390.c (s390_expand_plus_operand): Accept already
valid operands.
(q_constraint): New function.
config/s390/s390-protos.h (q_constraint): Declare it.
config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
(EXTRA_MEMORY_CONSTRAINT): New macro.
* config/s390/s390.md: Throughout the machine description,
replace all instances of the constraint combinations 'Qo'
or 'oQ' with simply 'Q'.
From-SVN: r56291
Mark Mitchell [Wed, 14 Aug 2002 08:35:37 +0000 (08:35 +0000)]
* gennews (files): Add GCC 3.2 files.
From-SVN: r56287
Stephane Carrez [Wed, 14 Aug 2002 08:01:26 +0000 (10:01 +0200)]
m68hc11.h (LINK_SPEC): Support -mrelax.
* config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
* config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
(LIBGCC2_CFLAGS): Compile with -mrelax.
From-SVN: r56285
Stephane Carrez [Wed, 14 Aug 2002 07:53:55 +0000 (09:53 +0200)]
invoke.texi: Document -minmax for 68HC12.
* doc/invoke.texi: Document -minmax for 68HC12.
* config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
("uminqi3"): Likewise.
("uminhi3", "umaxhi3"): Likewise.
* config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
(TARGET_MIN_MAX): Define.
(TARGET_SWITCHES): New option -minmax/-mnominmax.
From-SVN: r56284
Stephane Carrez [Wed, 14 Aug 2002 07:52:02 +0000 (09:52 +0200)]
ChangeLog for Update libgcc to use -mlong-calls (HC12)
From-SVN: r56283
Stephane Carrez [Wed, 14 Aug 2002 07:32:52 +0000 (09:32 +0200)]
t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
(MULTILIB_OPTIONS): Must also generate for -mlong-calls.
* config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
(ret, declare, farsym): New gas macros.
(__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
and declare the symbol far when compiled with -mlong-calls.
(__far_trampoline): New for 68HC12 trampoline code to invoke a
far handler using jsr/bsr.
* config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
(jsr): New macro to transform a 'jsr' into a 'call'.
From-SVN: r56282
GCC Administrator [Wed, 14 Aug 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r56281
Stephane Carrez [Wed, 14 Aug 2002 07:14:03 +0000 (09:14 +0200)]
invoke.texi: Document -mlong-calls for 68HC12.
* doc/invoke.texi: Document -mlong-calls for 68HC12.
* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
-mlong-calls is specified.
(ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
assembler directives.
(TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
(TARGET_SWITCHES): Add -mlong-calls options.
(current_function_far): Declare.
* config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
into account the page register saved on the stack.
(m68hc11_override_options): Take into account -mlong-calls option.
(m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
* config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
if the function is going to be in 68HC12 banked memory (-mlong-calls).
("*return_16bit"): Likewise.
("*return_void"): Likewise.
("call", "call_value"): Use call for a far function call.
From-SVN: r56275
Neil Booth [Wed, 14 Aug 2002 06:36:51 +0000 (06:36 +0000)]
toplev.c (parse_options_and_default_flags): Don't call post_options here.
* toplev.c (parse_options_and_default_flags): Don't call
post_options here.
(general_init): Initialize GC, pools and tree hash here,
instead of lang_independent_init.
(lang_independent_init): Rename backend_init.
(do_compile): Call post_options hook; exit early if there
have been errors after switch processing.
(toplev_main): Update.
From-SVN: r56274
Gabriel Dos Reis [Wed, 14 Aug 2002 03:22:18 +0000 (03:22 +0000)]
c-pretty-print.h: Guard against multiple inclusion.
* c-pretty-print.h: Guard against multiple inclusion.
Robustify macros.
(pp_c_attributes): Declare.
* c-pretty-print.c (pp_c_attributes): New function.
From-SVN: r56273
Kaveh R. Ghazi [Wed, 14 Aug 2002 03:16:05 +0000 (03:16 +0000)]
m68k.c (m68k_output_function_prologue, [...]): Delete versions for DPX2/MOTOROLA and NEWS/MOTOROLA.
* m68k.c (m68k_output_function_prologue,
m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
and NEWS/MOTOROLA.
* genattrtab.c: Remove dpx2 comment.
* libgcc2.c (__enable_execute_stack): Delete versions for
NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
sony_news/SYSTYPE_BSD.
* longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
__gmicro__, __i860__, __NeXT__ and __pyr__.
* rtl.h: Remove convex comment.
* varasm.c: Likewise.
From-SVN: r56272
Kaveh R. Ghazi [Wed, 14 Aug 2002 03:09:14 +0000 (03:09 +0000)]
c-opts.c (lang_flags): Const-ify.
* c-opts.c (lang_flags): Const-ify.
* ra-build.c (undef_table): Likewise.
* ra.c (eliminables): Likewise.
From-SVN: r56271
Alexandre Oliva [Wed, 14 Aug 2002 02:40:00 +0000 (02:40 +0000)]
configure, configure: Rebuilt.
* boehm-gc/configure, libf2c/configure: Rebuilt.
* libffi/configure, libiberty/configure: Ditto.
* libjava/configure, libobjc/configure: Ditto.
* libstdc++-v3/configure, zlib/configure: Ditto.
Merged from binutils:
2002-01-27 Daniel Jacobowitz <drow@mvista.com>
From Steve Ellcey <sje@cup.hp.com>:
* libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI.
(lt_cv_deplibs_check_method, lt_cv_file_magic_cmd,
lt_cv_file_magic_test_file): Set to appropriate values for HP-UX
IA64.
* ltcf-c.sh (archive_cmds, hardcode_*): Ditto.
* ltconfig (shlibpath_*, dynamic_linker, library_names_spec,
soname_spec, sys_lib_search_path_spec): Ditto.
From-SVN: r56270
Gabriel Dos Reis [Wed, 14 Aug 2002 02:15:40 +0000 (02:15 +0000)]
* tree.h: Guard against multiple inclusion.
From-SVN: r56269
Jesse Rosenstock [Wed, 14 Aug 2002 01:07:59 +0000 (01:07 +0000)]
Fix for PR libgcj/7570 and PR libgcj/7578:
2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
Fix for PR libgcj/7570 and PR libgcj/7578:
* java/lang/natPosixProcess.cc: Include java/io/File.h.
(startProcess): Handle new `dir' argument.
* java/lang/Win32Process.java (ConcreteProcess): Added `dir'
argument.
* java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
argument.
(startProcess): Likewise.
* java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
argument.
* java/lang/Runtime.java (execInternal): Added `dir' argument.
(exec): Don't create new environment if ENV==null. Pass DIR to
execInternal.
* java/lang/natRuntime.cc: Include java/io/File.h.
(execInternal): Added `dir' argument.
From-SVN: r56268
Hans-Peter Nilsson [Wed, 14 Aug 2002 00:49:08 +0000 (00:49 +0000)]
reload1.c (reload_cse_simplify): Before checking REG_FUNCTION_VALUE_P, check REG_P.
* reload1.c (reload_cse_simplify): Before checking
REG_FUNCTION_VALUE_P, check REG_P.
From-SVN: r56267
Geoffrey Keating [Tue, 13 Aug 2002 23:11:37 +0000 (23:11 +0000)]
* Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
From-SVN: r56266
Jesse Rosenstock [Tue, 13 Aug 2002 23:10:11 +0000 (23:10 +0000)]
RandomAccessFile.java (skipBytes): Return number of bytes skipped.
2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
* java/io/RandomAccessFile.java (skipBytes): Return number of
bytes skipped.
From-SVN: r56265
Jesse Rosenstock [Tue, 13 Aug 2002 22:29:23 +0000 (22:29 +0000)]
For PR java/7483:
2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
For PR java/7483:
* parse.y (build_assertion): Invert return from
desiredAssertionStatus.
From-SVN: r56264
Neil Booth [Tue, 13 Aug 2002 19:30:33 +0000 (19:30 +0000)]
opts.c (c_common_init_options): Extra braces needed.
From-SVN: r56262
J"orn Rennecke [Tue, 13 Aug 2002 16:52:27 +0000 (16:52 +0000)]
sh.c (sh_init_builtins): Add PARAMS to declaration.
* sh.c (sh_init_builtins): Add PARAMS to declaration.
(sh_media_init_builtins, sh_expand_builtin): Likewise.
(sh_expand_unop_v2sf): Use PARAMS for variable declaration.
(sh_expand_binop_v2sf): Likewise.
* sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
(sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
(sh_initialize_trampoline): Likewise.
From-SVN: r56259
Mark Mitchell [Tue, 13 Aug 2002 16:36:26 +0000 (16:36 +0000)]
decl.c (pushdecl_class_level): Honor requests to bind names to OVERLOADs.
* decl.c (pushdecl_class_level): Honor requests to bind names to
OVERLOADs.
From-SVN: r56258
Jonathan Wakely [Tue, 13 Aug 2002 16:26:13 +0000 (16:26 +0000)]
documentation.html: Use HTML entities for punctuation.
2002-08-13 Jonathan Wakely <jw@kayari.org>
Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Use HTML entities for punctuation.
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r56257
Ulrich Weigand [Tue, 13 Aug 2002 16:02:52 +0000 (16:02 +0000)]
s390-modes.def [...]: Declare new condition code modes.
* s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
new condition code modes.
s390.c (s390_match_ccmode_set): Handle those new CC modes.
(s390_select_ccmode): Likewise.
(s390_branch_condition_mask): Likewise.
* s390-protos.h (s390_tm_ccmode): Declare.
s390.c (s390_tm_ccmode): New function.
(s390_match_ccmode): Allow VOIDmode as REQ_MODE.
* s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
("*cmpsi_tm2"): Rename to "*tmsi_ext".
("*cmpqi_tm2"): Rename to "*tmqi_ext".
("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
"*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
"*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
"*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
"*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
"*cmpqi_ccs_0"): Remove, replace by ...
("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
"*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
"*tstqi", "*tstqi_cconly"): ... these new patterns.
("*cmpsidi_ccs"): Remove, replace by ...
("*cmpsi_ccs_sign"): ... this new pattern.
("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
("*cli"): ... this new pattern.
("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
"*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
New patterns.
("adddi3_64"): Rename to "*adddi3_64".
("adddi3_31"): Replace by insn and splitter "*adddi3_31".
("adddi3"): Adapt expander.
("*addsi3_cc"): Allow "general_operand" for operand 2.
("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
"*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
("addhi3", "addqi3"): Remove, replace by ...
("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
"*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
("subdi3"): Replace by insn and splitter "*subdi3_31".
("subdi3"): New expander.
("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
("subhi3", "subqi3"): Remove, replace by ...
("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
("*muldi3_sign"): New pattern.
("muldi3"): Do not clobber CC.
("mulsi3"): Likewise.
("mulsi_6432"): Likewise.
From-SVN: r56256
Denis Chertykov [Tue, 13 Aug 2002 14:06:56 +0000 (14:06 +0000)]
avr.md: Call CC_STATUS_INIT in all peepnoles which can change CC0.
* config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
which can change CC0.
From-SVN: r56253