aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-02-28PR 9638/otherJoel Sherrill2-0/+12
2003-02-28 Joel Sherrill <joel@OARcorp.com> PR 9638/other * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the this constant defaults to 1. From-SVN: r63569
2003-02-28* config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.Bob Wilson2-1/+5
From-SVN: r63568
2003-02-28arm.md (mulhisi3, [...]): Enable for any ARMv5e processor, not just for XScale.Richard Earnshaw2-6/+55
* arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any ARMv5e processor, not just for XScale. Instructions are predicable. (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e. From-SVN: r63562
2003-02-28(note_invalid_constants): Change parameter type from bool to int.Nick Clifton2-2/+7
From-SVN: r63560
2003-02-28* gcc.dg/arm-asm.c: Enable for StrongARM and XScale targets.Richard Earnshaw2-1/+5
From-SVN: r63559
2003-02-28h8300.md (*tst_extzv_bitqi_1_n): Accept the test of bit 7.Kazu Hirata2-4/+30
* config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the test of bit 7. (*tst_extzv_memqi_1_n): Likewise. (a peephole2): New. From-SVN: r63558
2003-02-28mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in #ifndef __mips16.Richard Sandiford2-0/+7
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in #ifndef __mips16. From-SVN: r63553
2003-02-28combine.c (gen_lowpart_for_combine): Update handling of subregs_of_modeJan Hubicka7-35/+46
* combine.c (gen_lowpart_for_combine): Update handling of subregs_of_mode * flow.c (life_analysis, mark_used_regs): Likewise. * regclass.c (subregs_of_mode): Turn into single bitmap. (cannot_change-mode_set_regs, invalid_mode_change_p): Update dealing with subregs_of_mode * regs.h (subregs_of_mode): Update prototype. From-SVN: r63552
2003-02-2820010327-1.c: Use __SIZE_TYPE__ instead of unsigned long.Alexandre Oliva2-1/+8
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead of unsigned long. From-SVN: r63551
2003-02-28simd-3.c: Do nothing if double is not wider than float.Alexandre Oliva2-0/+11
* gcc.c-torture/compile/simd-3.c: Do nothing if double is not wider than float. From-SVN: r63549
2003-02-28emit-rtl.c (set_reg_attrs_for_parm): New function.Josef Zlomek4-2/+36
* emit-rtl.c (set_reg_attrs_for_parm): New function. * rtl.h (set_reg_attrs_for_parm): New exported function. * function.c (assign_parms): Use set_reg_attrs_for_parm instead of set_reg_attrs_from_mem. From-SVN: r63548
2003-02-28gcc.c (do_spec_1): Treat %U like %u for unique associations.Roger Sayle2-2/+7
* gcc.c (do_spec_1): Treat %U like %u for unique associations. Co-Authored-By: Zack Weinberg <zack@codesourcery.com> From-SVN: r63542
2003-02-28reload1.c (sext_for_mode): Remove.Kazu Hirata2-35/+26
* reload1.c (sext_for_mode): Remove. (reload_cse_move2add): Use trunc_int_for_mode instead of sext_for_mode. (move2add_note_store): Likewise. Reset register information if we see a set in non-integer mode. From-SVN: r63540
2003-02-28Daily bump.GCC Administrator1-1/+1
From-SVN: r63539
2003-02-27aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu option.David Edelsohn4-15/+20
* config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu option. (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630. * config/rs6000/aix51.h: Same. * config/rs6000/aix52.h: Same. From-SVN: r63529
2003-02-27* config/avr/t-avr (MULTILIB_MATCHES): Fix at43usb355.Marek Michalkiewicz1-1/+1
From-SVN: r63527
2003-02-27* config/rs6000/power4.md: Additional VMX bypasses.David Edelsohn2-5/+22
From-SVN: r63525
2003-02-27toplev.c (print_version): Add indentation for GGC heuristics and output ↵Geert Bosch2-2/+8
after printing version information. * toplev.c (print_version): Add indentation for GGC heuristics and output after printing version information. From-SVN: r63524
2003-02-27Patch for PR 9255James E Wilson2-0/+8
Patch for PR 9255 * combine.c (simplify_comparison): Require integral mode when permuting SUBREG with AND. From-SVN: r63514
2003-02-27* config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.Steve Ellcey2-6/+4
From-SVN: r63511
2003-02-27(extendsfdf2): Add pattern accidentally deleted when cirrus instructions wereNick Clifton2-0/+12
added. From-SVN: r63510
2003-02-27config.gcc (*-*-netbsd[2-9]*, [...]): Enable POSIX thread support by default.Jason Thorpe2-0/+16
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable POSIX thread support by default. From-SVN: r63509
2003-02-27cygwin.h: Don't include any other files directly.Roger Sayle4-10/+12
* config/i386/cygwin.h: Don't include any other files directly. * config/i386/mingw32.h: Don't include cygwin.h directly. * config.gcc (cygwin, mingw32, uwin): Instead make these files explicit in the tm_files variable. From-SVN: r63508
2003-02-28Part of fix for PR ada/9406Ben Elliston2-1/+6
2003-02-18 Ben Elliston <bje@redhat.com> Part of fix for PR ada/9406 * gnat_ug.texi (Binder output file): Grammar fix. From-SVN: r63506
2003-02-27* config/rs6000/rs6000.md: Add TI constant splitter.Alan Modra2-0/+31
From-SVN: r63498
2003-02-27Daily bump.GCC Administrator1-1/+1
From-SVN: r63497
2003-02-26builtins.c (purge_builtin_constant_p): Handle subreg of constant_p_rtx too.Alexandre Oliva2-2/+8
* builtins.c (purge_builtin_constant_p): Handle subreg of constant_p_rtx too. From-SVN: r63490
2003-02-26function.c (assign_stack_local_1): Truncate constant added to ↵Alexandre Oliva2-3/+11
frame_pointer_rtx or virtual_stack_vars_rtx for Pmode. * function.c (assign_stack_local_1): Truncate constant added to frame_pointer_rtx or virtual_stack_vars_rtx for Pmode. From-SVN: r63488
2003-02-26decl.c (finish_enum): Merge two 'for' loops.Devang Patel3-39/+51
* decl.c (finish_enum): Merge two 'for' loops. Copy value node if required. Postpone enum setting for template decls. (build_enumerator): Delay copying value node until finish_enum (). Remove #if 0'ed code. * pt.c (tsubst_enum): Set TREE_TYPE and copy value node. (tsubst_copy): Add check for enum type. From-SVN: r63487
2003-02-26Update commentary.Richard Henderson1-0/+8
From-SVN: r63484
2003-02-26jcf-write.c (generate_classfile): Check whether class is deprecated before ↵Tom Tromey2-2/+7
writing attribute count. * jcf-write.c (generate_classfile): Check whether class is deprecated before writing attribute count. From-SVN: r63482
2003-02-26* config.gcc: Add power4 to PowerPC with_cpu list.David Edelsohn2-1/+6
From-SVN: r63481
2003-02-26* objc-act.c: (mark_referenced_methods): Fix compilation problem.Jan Hubicka2-2/+6
From-SVN: r63478
2003-02-26gcov-dump.c (print_prefix): Fix signedness warning.Zdenek Dvorak6-239/+745
* gcov-dump.c (print_prefix): Fix signedness warning. * gcov-io.h (struct counter_section, struct counter_section_data): New. (struct function_info): n_arc_counts field removed, n_counter_sections, counter_sections fields added. (struct gcov_info): arc_counts, n_arc_counts fields removed, n_counter_sections, counter_sections fields added. * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple profile sections. * profile.h (MAX_COUNTER_SECTIONS): New. (struct section_info): New. (struct profile_info): count_instrumented_edges, count_edges_instrumented_now fields removed, n_sections, section_info fields added. (find_counters_section): Declare. * profile.c (struct function_list): count_edges field removed, n_counter_sections, counter_sections fields added. (set_purpose, label_for_tag, build_counter_section_fields, build_counter_section_value, build_counter_section_data_fields, build_counter_section_data_value, build_function_info_fields, build_function_info_value, build_gcov_info_fields, build_gcov_info_value): New static functions. (find_counters_section): New function. (instrument_edges, get_exec_counts, compute_branch_probabilities, branch_prob, create_profiler): Modified to support multiple profile sections. From-SVN: r63474
2003-02-26pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY is 8 * ↵John David Anglin3-5/+13
STACK_BOUNDARY. * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY is 8 * STACK_BOUNDARY. * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port. From-SVN: r63473
2003-02-26* loop-unroll.c: New.Zdenek Dvorak1-0/+1195
From-SVN: r63470
2003-02-26* ra-colorize.c (merge_moves): Fix list handling.Michael Matz1-2/+3
From-SVN: r63468
2003-02-26ra-colorize.c (merge_moves): Fix list handling.Michael Matz1-0/+4
* ra-colorize.c (merge_moves): Fix list handling. [[Split portion of a mixed commit.]] From-SVN: r63467.2
2003-02-26arm.c (is_load_address): Rename to...Nick Clifton5-181/+182
* config/arm/arm.c (is_load_address): Rename to... (arm_memory_load_p) ... this and make it check for SUBREGs and constant loads that will be converted into loads from the minipool. (is_cirrus_insn): Rename to ... (arm_cirrus_insn_p): ... this, for consistency. Replace test of CIRRUS_NO with CIRRUS_NOT. (cirrus_reorg): Use renamed functions. (note_invalid_constants): Change from a void function to bool. Add an extra parameter, saying whether the fixups should be pushed. Return true if fixups are needed. (arm_reorg): Use renamed functions. Use INSN_P. Replace test of CIRRUS_NO with CIRRUS_NOT. * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that other floating point co-processors can also affect this. * config/arm/arm.md ("type" attribute): Add mav_farith and mav_dmult. Replace references to "cirrus_type" attribute with "type". * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete. ("cirrus_type" attribute): Delete - use "type" instead. ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with 'normal'. From-SVN: r63466
2003-02-26objc-act.c: Include cgraph.hJan Hubicka11-10/+99
* objc-act.c: Include cgraph.h (mark_referenced_methods): New function. (objc_init): Call it. * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set. * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time mode. * optabs.c (expand_fix): Do not widen the input operand. * expr.c (emit_group_store): Fix crash when converting single register into complex register. * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h * alias.c: Include timevar.h (init_alias_analysis): Set timevar * jump.c: Include timevar.h (rebuild_jump_labels): Set timevar * regcalss.c: Include timevar.h (reg_scan): Set timevar * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New From-SVN: r63464
2003-02-26Remove -funroll-loops -fpeel-loops mistakenly added to BOOT_CFLAGS in myZdenek Dvorak1-1/+1
last commit. From-SVN: r63463
2003-02-26cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.Zdenek Dvorak14-28/+242
* cse.c (count_reg_usage): Fix handling of REG_EQUAL notes. * Makefile.in (loop-unroll.o): New. * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New. (unroll_and_peel_loops): Declare. * alias.c (init_alias_analysis): Flag_unroll_loops renamed to flag_old_unroll_loops. * loop.c (loop_invariant_p): Ditto. * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to flag_old_unroll_all_loops. * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops. (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops. * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed. (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES, PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES, PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES, PARAM_MAX_ONCE_PEELED_INSNS): New. * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New. (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller instead of old one. (flag_peel_loops): New. (lang_independent_options): The new flags added. (rest_of_compilation): Call new unroller. (process_options): Setup flags for coexistence of old and new unroller. * doc/invoke.texi: Document new options. * doc/passes.texi: Document new unroller pass. From-SVN: r63462
2003-02-26fixincl.x: RegenerateDavid Billinghurst2-3/+7
2003-02-26 David Billinghurst <David.Billinghurst@riotinto.com> * fixinc/fixincl.x: Regenerate From-SVN: r63461
2003-02-26function.c (assign_parms): Set reg_attrs for parameters passed in registers.Josef Zlomek2-0/+9
* function.c (assign_parms): Set reg_attrs for parameters passed in registers. From-SVN: r63458
2003-02-26re PR c++/9683 (bug in initialization chains for static const variables from ↵Mark Mitchell5-15/+68
template classes) PR c++/9683 * decl2.c (prune_vars_needing_no_initialization): Do not throw away initializations for DECL_EXTERNAL VAR_DECLs. (finish_file): Adjust accordingly. * pt.c (instantiate_decl): Do not defer VAR_DECLs. PR c++/9683 * g++.dg/template/static3.C: New test. From-SVN: r63455
2003-02-26mention PR numberAlan Modra1-0/+1
From-SVN: r63453
2003-02-26re PR c++/9829 (Missing colon in nested namespace usage causes ICE)Mark Mitchell2-0/+15
PR c++/9829 * g++.dg/parse/namespace6.C: New test. From-SVN: r63452
2003-02-26* tlink.c (scan_linker_output): Drop leading '.' from symbol names.Alan Modra2-3/+13
From-SVN: r63449
2003-02-25xcoff.h (ASM_FILE_START): Do not emit machine pseudo-op.David Edelsohn2-2/+5
* config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine pseudo-op. From-SVN: r63448
2003-02-25Fix return type in new test.Jeff Law1-1/+1
From-SVN: r63447