aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2002-08-21alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.Kaveh R. Ghazi53-163/+265
* 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
2002-08-21* dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.Kaveh R. Ghazi2-1/+4
From-SVN: r56477
2002-08-20tree.c (get_qualified_type): Add TYPE_CONTEXT check.Devang Patel4-1/+57
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
2002-08-20arc.c (output_shift): Use stdio instead of asm_fprintf.Kaveh R. Ghazi19-130/+161
* 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
2002-08-20config.sub: Import from master repository.Eric Christopher11-71/+1413
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
2002-08-20* where.c (ffewhere_track): Remove impossible if-then clause.Kaveh R. Ghazi2-16/+9
From-SVN: r56469
2002-08-20cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal at head.John David Anglin6-63/+160
* 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
2002-08-20expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.Richard Henderson2-391/+439
* 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
2002-08-20Daily bump.GCC Administrator3-3/+3
From-SVN: r56461
2002-08-20objc-act.c (building_objc_message_expr): Rename to ↵Ziemowit Laski2-4/+9
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
2002-08-20objc-act.c (build_ivar_chain): Remove.Ziemowit Laski6-59/+176
[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
2002-08-20genautomata.c (output_translate_vect, [...]): Mark variable with ↵Kaveh R. Ghazi2-5/+13
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
2002-08-19Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.Alexandre Oliva2-4/+9
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER. (stage2_build, stage3_build, stage4_build): Likewise, to CC. From-SVN: r56447
2002-08-19machmode.h (SCALAR_INT_MODE_P): New macro to test for scaler integer mode ↵Geoffrey Keating5-4/+47
(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
2002-08-19- Fix typo in argument ordering.David Edelsohn1-2/+2
From-SVN: r56440
2002-08-19rs6000.c (rs6000_emit_set_const): Inline multi-instruction SImode constant.David Edelsohn3-14/+48
* 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
2002-08-19tree-inline.c (initialize_inlined_parameters): Wrap variable in the macro ↵Kaveh R. Ghazi2-1/+6
test controlling its use. * tree-inline.c (initialize_inlined_parameters): Wrap variable in the macro test controlling its use. From-SVN: r56438
2002-08-19add loop and switch variantsJason Merrill1-0/+16
From-SVN: r56437
2002-08-19Daily bump.GCC Administrator3-3/+3
From-SVN: r56436
2002-08-18config.gcc (*-*-linux*): Set extra_parts="crtbegin.o crtbeginS.o crtbeginT.o ↵H.J. Lu2-30/+14
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
2002-08-18Daily bump.GCC Administrator3-3/+3
From-SVN: r56423
2002-08-18re PR preprocessor/7602 (C++ header files found in CPLUS_INCLUDE_PATH ↵Neil Booth2-1/+7
treated as C headers) PR preprocessor/7602 * cppinit.c (path_include): Treat the system environment variables as being cxx_aware. From-SVN: r56416
2002-08-17treelang fixes to accommodate chaqnges elsewhere.Tim Josling2-61/+15
From-SVN: r56412
2002-08-17c-decl.c (flexible_array_type_p): New function.Joseph Myers7-0/+140
* 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
2002-08-17t-coff, [...] (MULTILIB_MATCHES): Define.Richard Sandiford6-1/+11
* 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
2002-08-17Fix PR/7621Gabriel Dos Reis3-2/+29
Fix PR/7621 * typeck.c (finish_class_member_access_expr): Diagnose cases where name lookup finds nothing. From-SVN: r56409
2002-08-17Daily bump.GCC Administrator3-3/+3
From-SVN: r56408
2002-08-16semantics.c (finish_then_clause): Remove redundant assignment.Jason Merrill2-21/+51
* 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
2002-08-16c-common.c (cb_register_builds): Define __NEXT_RUNTIME__ for ObjC with ↵Stan Shebs5-4/+26
-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
2002-08-16gcj.texi (Class Initialization): Mention class initialization of arrays.Tom Tromey2-10/+16
* gcj.texi (Class Initialization): Mention class initialization of arrays. From-SVN: r56386
2002-08-16install.texi (Final installation): Replace links to individual build status ↵Janis Johnson2-4/+7
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
2002-08-16invoke.texi: Fix typo.Sylvain Pion2-1/+5
2002-08-16 Sylvain Pion <pion@cs.nyu.edu> * doc/invoke.texi: Fix typo. From-SVN: r56384
2002-08-16* doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.David Edelsohn2-1/+34
From-SVN: r56380
2002-08-16Make-lang.in (java-tree-inline.o): New.Andrew Haley7-13/+198
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
2002-08-16tree-inline.c: Add includes for Java inliner.Andrew Haley2-5/+328
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
2002-08-16Daily bump.GCC Administrator3-3/+3
From-SVN: r56375
2002-08-15Makefile.in (LOOSE_WARN): Remove -fno-common.Richard Henderson4-309/+328
* 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
2002-08-15typeof-1.c: New test.Jakub Jelinek3-0/+61
* gcc.dg/typeof-1.c: New test. * g++.dg/ext/typeof2.C: New test. From-SVN: r56360
2002-08-15parse.y (sizeof, [...]): New non-terminals to increment skip_evaluation.Alexandre Oliva3-13/+40
* 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
2002-08-15c-tree.h (skip_evaluation): Move declaration...Alexandre Oliva5-10/+25
* 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
2002-08-15dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.Douglas B Rupp11-93/+152
* 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
2002-08-15unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.Steve Ellcey3-8/+22
* 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
2002-08-15loop.c (scan_loop, [...]): Cast to avoid signed/unsigned warnings.Kaveh R. Ghazi4-22/+33
* 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
2002-08-15rs6000.c (output_mi_thunk): Return to function section on TARGET_ELF.David Edelsohn3-1/+16
* 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
2002-08-15*** empty log message ***Gabriel Dos Reis3-1/+25
From-SVN: r56347
2002-08-15re PR c++/7598 (offsetof broken)Nathan Sidwell4-0/+42
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
2002-08-15s390.c (legitimize_address): Optimize loading of large displacements.Ulrich Weigand2-0/+30
* config/s390/s390.c (legitimize_address): Optimize loading of large displacements. From-SVN: r56345
2002-08-15Daily bump.GCC Administrator3-3/+3
From-SVN: r56344
2002-08-15alpha-protos.h: Update.Douglas B Rupp5-81/+335
* 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
2002-08-14ggc-page.c (RTL_SIZE): New.Richard Henderson3-10/+23
* 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