aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-10-28run_all.sh: Change output to be more compliant with dejagnu framework.Arnaud Charlet1-0/+6
* ada/acats/run_all.sh: Change output to be more compliant with dejagnu framework. Create acats.sum and acats.log files under testsuite/ada/acats From-SVN: r73007
2003-10-28Change output to be more cpliant with dejagnu framework.Arnaud Charlet1-40/+47
Create acats.sum and acats.log files under testsuite/ada/acats From-SVN: r73005
2003-10-28arm.c (arm_output_epilogue): When using a frame pointer...Richard Earnshaw2-18/+30
* arm.c (arm_output_epilogue): When using a frame pointer, don't emit an extra stack adjustment insn if the stack pointer is already pointing at the right place. (use_return_insn): Allow a return insn to be used when we have a frame pointer if the stack pointer is in the right place. (output_return_instruction): Handle it. From-SVN: r73003
2003-10-28ggc-zone.c (check_cookies): Add missing variable.Andreas Jaeger2-6/+13
* ggc-zone.c (check_cookies): Add missing variable. Add void to prototypes. From-SVN: r73000
2003-10-28irix6-libc-compat.c (inet_makeaddr): Prototype.Kaveh R. Ghazi5-3/+17
* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype. * crtstuff.c (__do_global_ctors_1): Move prototype. * unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when appropriate. * unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction): Mark parameter with __attribute__((unused)). From-SVN: r72999
2003-10-28* c-decl.c (pushdecl): Clarify comment.Zack Weinberg2-8/+12
From-SVN: r72998
2003-10-28Daily bump.GCC Administrator1-1/+1
From-SVN: r72996
2003-10-27* doc/install.texi: Update instructions for Ada cross buildsArnaud Charlet2-1/+5
From-SVN: r72986
2003-10-27* README.ada: Removed, integrated in ../doc/sourcebuild.texiArnaud Charlet2-24/+4
From-SVN: r72985
2003-10-27re PR ada/5909 (Ada has no test suite.)Arnaud Charlet2-0/+39
PR ada/5909: * doc/sourcebuild.texi: Document Ada test suite. From-SVN: r72984
2003-10-27re PR ada/5909 (Ada has no test suite.)Arnaud Charlet13-1439/+2552
* Makefile.generic: Add missing substitution on object_deps handling. PR ada/5909: * Make-lang.in (check-ada): Enable ACATS test suite. * exp_ch3.adb: (Freeze_Array_Type): We do not need an initialization routine for types derived from String or Wide_String. They should be treated the same as String and Wide_String themselves. This caused problems with the use of Initialize_Scalars. * exp_ch5.adb: (Expand_Assign_Record): Do component-wise assignment of non-byte aligned composites. This allows use of component clauses that are not byte aligned. * sem_prag.adb: (Analyze_Pragma, case Pack): Generate warning and ignore pack if there is an attempt to pack an array of atomic objects. * make.adb, prj-env.adb, prj-env.ads: Minor reformatting * g-dirope.adb: (Basename): Check for drive letters in a pathname only on DOS based OS. * make.adb: (Gnatmake): When unable to change dir to the object dir, display the content of the parent dir of the obj dir, to try to understand why this happens. * Make-lang.in: Makefile automatically updated * sem_ch12.adb: (Inline_Instance_Body): Indicate that the save/restore of use_clauses should not be done in Save/Restore_Scope_Stack, because it is performed locally. * sem_ch8.adb: (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate whether use clauses should be removed/restored. * sem_ch8.ads: (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate whether use clauses should be removed/restored. From-SVN: r72983
2003-10-27m68hc11.c: Convert to ISO C90.Stephane Carrez3-388/+245
* config/m68hc11/m68hc11.c: Convert to ISO C90. * config/m68hc11/m68hc11-protos.h: Likewise. From-SVN: r72981
2003-10-27Added my e-mail address.Eric Botcazou1-2/+2
From-SVN: r72980
2003-10-27toplev.c (enum dump_file_index, dump_file): Fix ordering of webizer pass dump.Jan Hubicka2-2/+8
* toplev.c (enum dump_file_index, dump_file): Fix ordering of webizer pass dump. From-SVN: r72979
2003-10-27re PR ada/5909 (Ada has no test suite.)Arnaud Charlet2-0/+29
PR ada/5909: * README.ada, ada/acats: Import ACATS 2.5 for GCC Ada test suite. From-SVN: r72978
2003-10-27re PR ada/5909 (Ada has no test suite.)Arnaud Charlet2596-0/+438836
PR ada/5909: Import ACATS 2.5 for GCC Ada test suite. From-SVN: r72977
2003-10-27reload1.c (struct elim_table): Change offset, initial_offset and ↵Jakub Jelinek9-50/+194
previous_offset fields to HOST_WIDE_INT. * reload1.c (struct elim_table): Change offset, initial_offset and previous_offset fields to HOST_WIDE_INT. (offsets_at): Change from int to HOST_WIDE_INT. (reload): Adjust offsets_at initialization. (eliminate_regs_in_insn): Change type of offset to HOST_WIDE_INT. (verify_initial_elim_offsets): Change type of t to HOST_WIDE_INT. * config/i386/i386.c (ix86_compute_frame_layout): Change offset type to HOST_WIDE_INT. Don't save regs using mov for huge frame sizes if TARGET_64BIT. (pro_epilogue_adjust_stack): New function. (ix86_expand_prologue, ix86_expand_epilogue): Use it. * config/i386/i386.md (pro_epilogue_adjust_stack): Remove. (pro_epilogue_adjust_stack_1): Remove * in front of name. (pro_epilogue_adjust_stack_rex64): Handle -2147483648 properly. (pro_epilogue_adjust_stack_rex64_2): New insn. * config/i386/i386.c (ix86_expand_epilogue): Fix comment typo. * config/i386/i386.c (ix86_expand_call): Replace 40 with FIRST_REX_INT_REG + 3 /* R11 */. * gcc.c-torture/compile/20031023-1.c: New test. * gcc.c-torture/compile/20031023-2.c: New test. * gcc.c-torture/compile/20031023-3.c: New test. * gcc.c-torture/compile/20031023-4.c: New test. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r72975
2003-10-26alpha.md (attr cannot_copy): New.Richard Henderson3-33/+38
* config/alpha/alpha.md (attr cannot_copy): New. (call_osf_2_er, call_value_osf_2_er, ldgp_er_1, ldgp_er_2, prologue_ldgp_er_2, prologue_ldgp_1): Set it. * config/alpha/alpha.c (alpha_cannot_copy_insn_p): Test it. From-SVN: r72974
2003-10-27Remove incorrect entryMark Mitchell1-1/+0
From-SVN: r72973
2003-10-27ggc-zone.c: New file, zone allocating collector.Daniel Berlin9-21/+1795
2003-10-26 Daniel Berlin <dberlin@dberlin.org> * ggc-zone.c: New file, zone allocating collector. * configure: Accept zone option for --with-gc * configure.in: Ditto. * ggc.h (ggc_pch_count_object): Pass bool indicating stringiness. Update all callers. (ggc_pch_alloc_object): Ditto. (ggc_pch_write_object): Ditto. (ggc_alloc_rtx): Use typed allocation, since all RTX's are of a single type. (ggc_alloc_rtvec): Ditto. (ggc_alloc_tree): Use zone allocation, since some things using this macro aren't a single typecode. * ggc-none.c (ggc_alloc_typed): New function. (ggc_alloc_zone): Ditto. * ggc-page.c: Ditto on both functions. From-SVN: r72971
2003-10-27Daily bump.GCC Administrator1-1/+1
From-SVN: r72969
2003-10-26m68k.c (m68k_compute_frame_layout): Ensure FPU related frame information is ↵Gunther Nikl2-24/+27
always valid. * config/m68k/m68k.c (m68k_compute_frame_layout): Ensure FPU related frame information is always valid. (m68k_output_function_prologue): Remove superfluous TARGET_68881 test; fix formatting. From-SVN: r72965
2003-10-26m68k.c (m68k_compute_frame_layout): Swap reg_mask and reg_rev_mask computation.Gunther Nikl2-7/+16
* config/m68k/m68k.c (m68k_compute_frame_layout): Swap reg_mask and reg_rev_mask computation. (m68k_output_function_prologue): Fix usage of current_frame (one typo and one missing); use reg_rev_mask not reg_mask. (m68k_output_function_epilogue): Fix usage of current_frame; use fpu_rev_mask not fpu_mask. From-SVN: r72964
2003-10-26m68k.c (m68k_output_function_prologue): Eliminate num_saved_regs, use ↵Bernardo Innocenti2-6/+8
current_frame.reg_no instead. * config/m68k/m68k.c (m68k_output_function_prologue): Eliminate num_saved_regs, use current_frame.reg_no instead. From-SVN: r72963
2003-10-26extend.texi (interrupt_handler): Add m68k to the list of processors ↵Bernardo Innocenti3-7/+43
implementing it. * doc/extend.texi (interrupt_handler): Add m68k to the list of processors implementing it. * doc/invoke.texi (-msep-data): Document new m68k option. (-mno-sep-data): Likewise. (-mid-shared-library): Likewise. (-mno-id-shared-library): Likewise. (-mshared-library-id): Likewise. Co-Authored-By: Paul Dale <pauli@snapgear.com> From-SVN: r72962
2003-10-26unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned comparison.Andreas Jaeger2-2/+8
* unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned comparison. (_Unwind_SetGR): Likewise. From-SVN: r72960
2003-10-26Add ChangeLog mark.Andreas Jaeger1-0/+1
From-SVN: r72957
2003-10-26mmintrin.h (_mm_set1_pi8): Fix comment.Andreas Jaeger2-2/+6
2003-10-26 Ottavio Campana <ottavio@campana.vi.it> * config/i386/mmintrin.h (_mm_set1_pi8): Fix comment. From-SVN: r72956
2003-10-26m68k.c (m68k_output_function_prologue): Move front comment from here to...Gunther Nikl2-17/+23
* config/m68k/m68k.c (m68k_output_function_prologue): Move front comment from here to... (m68k_save_reg): ...here. Fix comment formatting. (m68k_output_function_prologue): Fix comment formatting. (m68k_output_function_epilogue): Likewise. (const_method): Likewise. From-SVN: r72954
2003-10-26toplev.c (default_get_pch_validity): Guard the use of target_options with ↵Kazu Hirata2-0/+12
#ifdef TARGET_OPTIONS. * toplev.c (default_get_pch_validity): Guard the use of target_options with #ifdef TARGET_OPTIONS. (default_pch_valid_p): Likewise. From-SVN: r72953
2003-10-26* Makefile.in: Remove duplicated lines.Andreas Jaeger2-20/+17
From-SVN: r72952
2003-10-26* nl.po: Update.Joseph Myers2-1768/+164
From-SVN: r72951
2003-10-26re PR c++/10371 (misleading error message for illegal member access)Kriang Lerdsuwanakij4-1/+35
PR c++/10371 * semantics.c (finish_non_static_data_member): Handle when both processing_template_decl and qualifying_scope are true. * g++.dg/lookup/scoped8.C: New test. From-SVN: r72950
2003-10-26dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT.Andreas Jaeger2-4/+13
2003-10-26 Andreas Jaeger <aj@suse.de> Zack Weinberg <zack@codesourcery.com> Andreas Tobler <toa@pop.agri.ch> * dwarf2out.c (output_cfi): Use HOST_WIDE_INT_PRINT. (output_die): Likewise. (print_die): Likewise. Co-Authored-By: Andreas Tobler <toa@pop.agri.ch> Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r72948
2003-10-26tree.h (dwarf2out_def_cfa, [...]): Update prototypes for recent dwarf2out.c ↵Andreas Jaeger2-4/+8
change. * tree.h (dwarf2out_def_cfa, dwarf2out_args_size, dwarf2out_reg_save, new_loc_descr): Update prototypes for recent dwarf2out.c change. From-SVN: r72946
2003-10-26* toplev.c (default_pch_valid_p): Fix warning.Andreas Jaeger2-1/+5
From-SVN: r72945
2003-10-26simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate RTL nodes.Roger Sayle2-47/+56
* simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate RTL nodes. If an operator's operands are unchanged, return the original argument unchanged. From-SVN: r72941
2003-10-26Daily bump.GCC Administrator1-1/+1
From-SVN: r72939
2003-10-25Fix bootstrap failure.Graham Stott2-0/+10
* expmed.c (store_bit_field): Don't compare bitsize against modes with zero bit-size. (extract_bit_field): Likewise From-SVN: r72937
2003-10-25be.po, [...]: Update.Joseph Myers12-38862/+41500
* be.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po, tr.po: Update. * gcc.pot: Regenerate. From-SVN: r72936
2003-10-25dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.Jan Hubicka2-50/+58
* dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT. (cfa_loc): Likewise. (reg_save, stack_adjust_offset, queue_reg_save): Replace long by HOST_WIDE_INT. (args_size, old_args_size): change type to HOST_WIDE_INT. (dwarf2out_def_cfa, dwarf2out_args_size, dwarf2out_reg_save, new_loc_descr): offset is HOST_WIDE_INT. (dw_val_struct): integers, unsigneds and offsets are HOST_WIDE_INT. (add_AT_int, add_AT_unsigned, att_AT_offset, AT_int, AT_unsigned, AT_offset): Use HOST_WIDE_INT. (based_loc_descr): offset is HOST_WIDE_INT. (add_data_member): Likewise. (add_const_value_attribute): Simplify. From-SVN: r72935
2003-10-25i386.c (ix86_eax_live_at_start_p): New.Richard Henderson2-5/+39
* config/i386/i386.c (ix86_eax_live_at_start_p): New. (ix86_expand_prologue): Save and restore eax around stack probe if it's live. From-SVN: r72933
2003-10-25Results are re-alphabetized, tooBruce Korb1-5/+5
From-SVN: r72932
2003-10-25snprintf alphabetically precedes uintBruce Korb2-62/+62
From-SVN: r72928
2003-10-25* cppcharset.c (one_utf8_to_utf32): Initialize 's' to silence warning.Jan Hubicka2-1/+5
From-SVN: r72927
2003-10-25re PR target/12712 (ICE on short legit C++ code fragment with gcc 3.3.2)Eric Botcazou4-19/+64
PR target/12712 * reg-stack.c (convert_regs_1): Create an arbitrary input stack if the block has no predecessors. (convert_regs_2): Document the problem with successors whose only predecessor is the block to be processed. (convert_regs): Don't create the arbitrary input stack here. From-SVN: r72923
2003-10-25genmodes.c (struct mode_data): Add contained and next_cont fields.Zack Weinberg13-584/+769
* genmodes.c (struct mode_data): Add contained and next_cont fields. (complete_mode): Maintain linked list of modes that have a given component. (emit_mode_unit_size): Delete. (emit_mode_nunits): New. (emit_insn_modes_c): Update to match. (emit_mode_adjustments): Propagate size and alignment adjustments from component modes to their containers. * machmode.h (mode_unit_size): Delete. (mode_nunits): New. (GET_MODE_NUNITS): Just return the value in the table. (GET_MODE_UNIT_SIZE): Compute using GET_MODE_INNER and GET_MODE_SIZE. * expmed.c (store_bit_field, extract_bit_field): Can use a plain move instruction if bitsize >= GET_MODE_BITSIZE of destination/source mode, respectively. * varasm.c (assemble_real): Write out the full size of the constant, not just its bitsize. (output_constant): Honor TYPE_MODE of TREE_REAL_CSTs. * config/ia64/ia64-modes.def: Define XFmode as well as TFmode. Use ADJUST_BYTESIZE and ADJUST_ALIGNMENT to set size and alignment of XF and TF modes in compliance with ia64 ABIs. Can now hardwire the format of both modes. * config/ia64/ia64.c: Change TFmode to XFmode wherever appropriate. (general_tfmode_operand, destination_tfmode_operand) (tfreg_or_fp01_operand, spill_tfmode_operand): Rename to general_xfmode_operand, destination_xfmode_operand, xfreg_or_fp01_operand, spill_xfmode_operand respectively. (ia64_init_builtins): Make TYPE_PRECISION of fpreg_type and float80_type be 96 so they get XFmode. Use !TARGET_HPUX, not INTEL_EXTENDED_IEEE_FORMAT, to decide how to define __float128. * config/ia64/ia64.h: Default TARGET_HPUX to 0. Change TFmode to XFmode wherever appropriate. Remove all references to INTEL_EXTENDED_IEEE_FORMAT. (LONG_DOUBLE_TYPE_SIZE): Varies with TARGET_HPUX. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define (always 96). (PREDICATE_CODES): Update to match function renames. * config/ia64/ia64.md: Change TF to XF throughout; rename all patterns to match. Remove all references to INTEL_EXTENDED_IEEE_FORMAT. Update predicate calls to match function renames. * config/ia64/ia64-protos.c: Update all prototypes to match renamed functions. * config/ia64/hpux.h: Redefine TARGET_HPUX to 1. Remove all references to INTEL_EXTENDED_IEEE_FORMAT. * config/ia64/lib1funcs.asm: Add __divxf3 as new name for __divtf3; keep old name for backward compatibility. (L__compat): New section providing forwarding stubs for __fixtfti, __fixunstfti, __floattitf. * config/ia64/t-ia64: Add __compat to LIB1ASMFUNCS. From-SVN: r72916
2003-10-25Daily bump.GCC Administrator1-1/+1
From-SVN: r72914
2003-10-24re PR pch/10757 (Adding -fpic/-fPIC causes crash with PCH created without ↵Geoffrey Keating8-10/+214
-fpic/-fPIC) PR 10757 * c-pch.c: Include target.h. Improve comments. (struct c_pch_validity): Add target_data_length. (pch_init): Add target's validity data. (c_common_valid_pch): Check target's validity data. * target-def.h (TARGET_GET_PCH_VALIDITY): New. (TARGET_PCH_VALID_P): New. (TARGET_INITIALIZER): Add new fields. * target.h: Include tm.h. (struct gcc_target): Add get_pch_validity, pch_valid_p. * toplev.h (default_get_pch_validity): New prototype. (default_pch_valid_p): New prototype. * toplev.c (default_get_pch_validity): New routine. (default_pch_valid_p): New routine. * Makefile.in (TARGET_H): Add TM_H. Replace all users of target.h with $(TARGET_H). (c-pch.o): Add TARGET_H. * doc/tm.texi (PCH Target): New node. (TARGET_GET_PCH_VALIDITY): Document. (TARGET_PCH_VALID_P): Document. From-SVN: r72909
2003-10-24Makefile.in: Define a vpath for %.texi.Kelley Cook2-57/+77
2003-10-24 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in: Define a vpath for %.texi. Remove explicit $(docdir) and $(docdir)/include from any *.texi dependencies. ($(docobjdir)/%.dvi): Depend on stmp-docobjdir. ($(docobjdir)/%.1): Depend on .pod instead of .texi. ($(docobjdir)/%.7): Likewise. (%.pod): New implicit rule. (cpp.pod): New dependency only rule. (gcc.pod): New intermediate rule with dependencies and commands. (gfdl.pod): Likewise. (fsf-funding.pod): Likewise. From-SVN: r72905