aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-04-19re PR tree-optimization/21096 (copy-prop leaks memory)Kazu Hirata2-0/+6
PR tree-optimization/21096 * tree-ssa-copy.c (fini_copy_prop): Free cached_last_copy_of. From-SVN: r98405
2005-04-19java-except.h (struct eh_range.handler): Remove unused field.Andrew Haley5-147/+207
2005-04-18 Andrew Haley <aph@redhat.com> * java-except.h (struct eh_range.handler): Remove unused field. (handle_nested_ranges): Remove function declaration. (sanity_check_exception_range): Add function declaration. * verify.c (verify_jvm_instructions): Remove call to handle_nested_ranges. * verify-glue.c (verify_jvm_instructions_new): Call sanity_check_exception_range. * except.c (link_handler, eh_range_freelist, link_handler, handle_nested_ranges): Remove. (add_handler): Rewrite. (sanity_check_exception_range): New function. (print_ranges): New function. From-SVN: r98395
2005-04-19re PR fortran/16861 ([4.0 only] segfault with doubly used module)Francois-Xavier Coudert4-0/+46
PR fortran/16861 * resolve.c (resolve_variable): If e->symtree is not set, this ought to be a FAILURE, and not a segfault. * gfortran.dg/pr16861.f90: New test. From-SVN: r98391
2005-04-19re PR target/21098 (.note.GNU-stack emitted)Alan Modra3-2/+16
PR target/21098 * config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): New. * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the above. From-SVN: r98390
2005-04-19tree-cfg.c (dump_function_to_file): Use cfun info only if it refers to the ↵Alexandre Oliva2-2/+7
function being dumped. * tree-cfg.c (dump_function_to_file): Use cfun info only if it refers to the function being dumped. From-SVN: r98367
2005-04-19* varasm.c (assemble_start_function): Remove reset of in_section.Daniel Jacobowitz2-1/+4
From-SVN: r98366
2005-04-19re PR middle-end/21085 (Virtual memory exhausted with g++)James A. Morrison4-0/+20
2005-04-18 James A. Morrison <phython@gcc.gnu.org> PR tree-optimization/21085 * fold-const (fold_binary): Don't change X % -C to X % C if C has overflowed. From-SVN: r98365
2005-04-19Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r98362.2
2005-04-19invoke.texi (Optimize Options): Refer to the correct optimisation flag ↵Ben Elliston2-2/+7
-ftree-dominator-opts, not -ftree-dom. * doc/invoke.texi (Optimize Options): Refer to the correct optimisation flag -ftree-dominator-opts, not -ftree-dom. From-SVN: r98355
2005-04-18Rewrap ChangeLog. I'm listing the affected PRs so that they receive anot ↵Tobias Schlüter1-7/+9
about this, even though the commit message for the original patch was empty. PR fortran/17472 PR fortran/18209 PR fortran/18396 PR fortran/19467 PR fortran/19657 From-SVN: r98350
2005-04-18rs6000.c (machopic_output_stub): Increase alloca argument to be big enough.Christopher Jaillet2-1/+6
2005-04-18 Christopher Jaillet <christophe.jaillet@wanadoo.fr> * config/rs6000/rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. From-SVN: r98348
2005-04-18mips.exp: Minor formatting.Richard Sandiford39-181/+283
* gcc.target/mips/mips.exp: Minor formatting. Call setup_mips_tests. (setup_mips_tests, dg-mips-options): New procedures. * gcc.target/mips/asm-1.c, gcc.target/mips/fix-vr4130-1.c, * gcc.target/mips/fix-vr4130-2.c, gcc.target/mips/fix-vr4130-3.c * gcc.target/mips/fix-vr4130-4.c, gcc.target/mips/mips-3d-1.c, * gcc.target/mips/mips-3d-2.c, gcc.target/mips/mips-3d-3.c, * gcc.target/mips/mips-3d-4.c, gcc.target/mips/mips-3d-5.c, * gcc.target/mips/mips-3d-6.c, gcc.target/mips/mips-3d-7.c, * gcc.target/mips/mips-3d-8.c, gcc.target/mips/mips-3d-9.c, * gcc.target/mips/mips-3d-2.c, gcc.target/mips/mips-3d-3.c, * gcc.target/mips/mips-ps-1.c, gcc.target/mips/mips-ps-2.c, * gcc.target/mips/mips-ps-3.c, gcc.target/mips/mips-ps-4.c, * gcc.target/mips/mips-ps-type.c, gcc.target/mips/sb1-1.c: Use dg-mips-options instead of dg-options. Remove now-redundant preprocessor guards. * gcc.dg/mips-args-1.c, gcc.dg/mips-args-2.c, gcc.dg/mips-args-3.c, * gcc.dg/mips-movcc-1.c, gcc.dg/mips-movcc-2.c, gcc.dg/mips-movcc-3.c, * gcc.dg/mips-nmadd-1.c, gcc.dg/mips-nmadd-2.c, gcc.dg/mips-rsqrt-1.c, * gcc.dg/mips-rsqrt-2.c, gcc.dg/mips-rsqrt-3.c, gcc.dg/vr-mult-1.c, * gcc.dg/vr-mult-2.c: Delete. * gcc.target/mips/args-1.c, gcc.target/mips/args-2.c, * gcc.target/mips/args-3.c, gcc.target/mips/movcc-1.c, * gcc.target/mips/movcc-2.c, gcc.target/mips/movcc-3.c, * gcc.target/mips/nmadd-1.c, gcc.target/mips/nmadd-2.c, * gcc.target/mips/rsqrt-1.c, gcc.target/mips/rsqrt-2.c, * gcc.target/mips/rsqrt-3.c, gcc.target/mips/vr-mult-1.c, * gcc.target/mips/vr-mult-2.c: New tests, based on the old gcc.dg ones. From-SVN: r98345
2005-04-18run_all.sh: Use sync when executable not present.Laurent GUERBY2-0/+7
2005-04-18 Laurent GUERBY <laurent@guerby.net> * ada/acats/run_all.sh: Use sync when executable not present. From-SVN: r98335
2005-04-18Add PR markers to:Andrew Pinski1-0/+1
2005-04-18 Alexandre Oliva <aoliva@redhat.com> PR middle-end/21049 * tree-cfg.c (dump_function_to_file): Do not crash if cfun or cfun->cfg are NULL. From-SVN: r98334
2005-04-18tree-cfg.c (dump_function_to_file): Do not crash if cfun or cfun->cfg are NULL.Alexandre Oliva2-1/+6
* tree-cfg.c (dump_function_to_file): Do not crash if cfun or cfun->cfg are NULL. From-SVN: r98331
2005-04-18cgraphunit.c (cgraph_finalize_compilation_unit): Fix a comment typo.Tom Tromey2-1/+6
* cgraphunit.c (cgraph_finalize_compilation_unit): Fix a comment typo. From-SVN: r98330
2005-04-18alpha.c (alpha_split_atomic_op): New.Richard Henderson8-11/+513
* config/alpha/alpha.c (alpha_split_atomic_op): New. (alphaev5_insn_pipe): Add LD_L, ST_C, MB types. (alphaev4_insn_pipe): Likewise. Correct IST and LDSYM pipes. * config/alpha/alpha-protos.h: Update. * config/alpha/alpha.md (UNSPECV_MB, UNSPECV_LL, UNSPECV_SC): New. (UNSPECV_ATOMIC, UNSPECV_CMPXCHG, UNSPECV_XCHG): New. (attr type): Add ld_l, st_c, mb. (andsi_internal, andnotsi3, iorsi_internal, one_cmplsi_internal, iornotsi3, xorsi_internal, xornotsi3): New. * config/alpha/ev4.md (ev4_ld): Add ld_l. (ev4_ist_c, ev4_mb): New. * config/alpha/ev5.md (ev5_st): Add st_c, mb. (ev5_ld_l): New. * config/alpha/ev6.md (ev6_ild): Add ld_l. (ev6_ist): Add st_c. (ev6_mb): New. * config/alpha/sync.md: New file. From-SVN: r98328
2005-04-18* optabs.c (expand_sync_operation): Fix typo expanding nand to and.Richard Henderson2-1/+3
From-SVN: r98327
2005-04-18builtins.c (expand_builtin_sync_operation): Fold nand to and for constants.Richard Henderson2-1/+13
* builtins.c (expand_builtin_sync_operation): Fold nand to and for constants. From-SVN: r98324
2005-04-18atlivec.md (mulv4si3): New pattern.Devang Patel7-3/+148
* config/rs6000/atlivec.md (mulv4si3): New pattern. * gcc.dg/vect/vect-11.c: Require effective target vect_int_mult. * gcc.dg/vect/vect-11a.c: New. * gcc.dg/vect/vect-none.c: Update. * lib/target-supports.exp (check_effective_target_vect_int_mult): New. From-SVN: r98323
2005-04-18re PR tree-optimization/20922 (missed always false conditional)James A. Morrison9-0/+270
2005-04-18 James A. Morrison <phython@gcc.gnu.org> PR tree-optimization/20922 * fold-const.c (fold_binary): Fold X - c > X and X + c < X to false. Fold X + c >= X and fold X - c <= X to true. From-SVN: r98321
2005-04-18unwind-ia64.c (emergency_reg_state_free): Make an unsigned int.James A. Morrison2-2/+8
2005-04-18 James A. Morrison <phython@gcc.gnu.org> * config/ia64/unwind-ia64.c (emergency_reg_state_free): Make an unsigned int. (emergency_labeled_state_free): Likewise. From-SVN: r98320
2005-04-18* cp-tree.h (VPTR_NAME, VPTR_NAME_P): Remove.Kazu Hirata2-8/+2
From-SVN: r98319
2005-04-18decl.c (expand_static_init): Call build2 and build3 instead of build.Kazu Hirata2-4/+9
* decl.c (expand_static_init): Call build2 and build3 instead of build. From-SVN: r98318
2005-04-18(jump): Remove prescan parameter from calls to final_scan_insn.Nick Clifton2-2/+5
From-SVN: r98316
2005-04-18(arc_output_function_epilogue): Remove prescan parameter from calls toNick Clifton2-4/+6
final_scan_insn. From-SVN: r98315
2005-04-18config.gcc (m68hc12): Use the m68hc11.opt file for target specific options.Nick Clifton2-0/+10
* config.gcc (m68hc12): Use the m68hc11.opt file for target specific options. (v850e, v850e1): Use the v850.opt file for target specific options. From-SVN: r98313
2005-04-18re PR libfortran/20950 ([4.0 only] segfault in INQUIRE asking for SEQUENTIAL ↵Francois-Xavier Coudert2-0/+12
status) PR libfortran/20950 * io/inquire.c (inquire_via_unit): Check for the gfc_unit being NULL when setting ioparm.sequential. * gfortran.dg/pr20950.f: New test. From-SVN: r98312
2005-04-18pr19216.f: Last commit forgot to 'cvs add' the added test.François-Xavier Coudert1-0/+18
* gfortran.dg/pr19216.f: Last commit forgot to 'cvs add' the added test. Here it is. From-SVN: r98311
2005-04-18re PR libfortran/19216 (list directed read with leading slash (NIST FM923))François-Xavier Coudert1-0/+5
PR libfortran/19216 * gfortran.dg/pr19216.f: New test. From-SVN: r98310
2005-04-18re PR tree-optimization/21001 (VRP is weak when the tested variable in a ↵Kazu Hirata4-1/+32
COND_EXPR is used only in the COND_EXPR.) gcc/ PR tree-optimization/21001 * tree-optimize.c (init_tree_optimization_passes): Move the first pass_forwprop immediately before pass_vrp. testsuite/ PR tree-optimization/21001 * gcc.dg/tree-ssa/pr21001.c: New. From-SVN: r98309
2005-04-18Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r98307.2
2005-04-17c-common.def (SIZEOF_EXPR, [...]): Remove.Ian Lance Taylor9-31/+71
./ * c-common.def (SIZEOF_EXPR, ARROW_EXPR, ALIGNOF_EXPR): Remove. * c-common.c (c_sizeof_or_alignof_type): Change second parameter from enum tree_code op to bool is_sizeof. * c-common.h (c_sizeof_or_alignof_type): Update declaration. (c_sizeof, c_alignof): Update calls to c_sizeof_or_alignof_type. * c-pretty-print.c (pp_c_postfix_expression): Remove ARROW_EXPR case. (pp_c_unary_expression): Remove SIZEOF_EXPR and ALIGNOF_EXPR cases. (pp_c_expression): Remove ARROW_EXPR, SIZEOF_EXPR, and ALIGNOF_EXPR cases. cp/ * cp-tree.def: Add SIZEOF_EXPR, ARROW_EXPR and ALIGNOF_EXPR. * cxx-pretty-print.c (pp_cxx_postfix_expression): Handle ARROW_EXPR. (pp_cxx_unary_expression): Handle SIZEOF_EXPR and ALIGNOF_EXPR. (pp_cxx_expression): Handle ARROW_EXPR, SIZEOF_EXPR, and ALIGNOF_EXPR. * typeck.c (cxx_sizeof_or_alignof_type): Update call to c_sizeof_or_alignof_type for change in parameter type. From-SVN: r98297
2005-04-17* system.h: Poison DONT_ACCESS_GBLS_AFTER_EPILOGUE.Ian Lance Taylor2-1/+5
From-SVN: r98295
2005-04-17005-04-17 Thomas Koenig <Thomas.Koenig@online.de>Thomas Koenig2-0/+32
PR libfortran/21075 * m4/reshape.m4 (reshape_`'rtype_kind): Change dimension of auxiliary arrays from GFC_MAX_DIMENSIONS - 1 to GFC_MAX_DIMENSIONS. * intrinsics/reshape_generic.c (reshape_generic): Likewise. * generated/reshape_i4.c: Regenerated. * generated/reshape_i8.c: Regenerated. 2005-04-17 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/21075 * gfortran.dg/reshape_rank7.f90: New test. From-SVN: r98288
2005-04-17re PR fortran/17472 ([4.0 only] namelist does not handle arrays)Paul Thomas24-141/+1036
------------------------------------------------------------------- From-SVN: r98287
2005-04-17alpha.c (va_list_skip_additions): Only define if TARGET_ABI_OSF.Richard Henderson2-23/+56
* config/alpha/alpha.c (va_list_skip_additions): Only define if TARGET_ABI_OSF. (TARGET_STDARG_OPTIMIZE_HOOK): Likewise. (alpha_stdarg_optimize_hook): Likewise. Allow for one more round of indirection through ssa names while looking for the gpr counter field. (alpha_setup_incoming_varargs) <TARGET_ABI_OSF>: Make use of the saved va_list_gpr_size and va_list_fpr_size. From-SVN: r98286
2005-04-17* tree-into-ssa.c: Fix a comment typo.Kazu Hirata2-1/+3
From-SVN: r98285
2005-04-17* de.po: Update.Joseph Myers2-151/+109
From-SVN: r98283
2005-04-17tree-vrp.c (maybe_add_assert_expr): Don't assert ASSERT_EXPRs for single-use ↵Kazu Hirata2-0/+11
variable. * tree-vrp.c (maybe_add_assert_expr): Don't assert ASSERT_EXPRs for single-use variable. From-SVN: r98278
2005-04-17tree-vrp.c (compare_values): Check that VAL1 and VAL2 are both pointers or ↵Kazu Hirata2-14/+12
both integers. * tree-vrp.c (compare_values): Check that VAL1 and VAL2 are both pointers or both integers. From-SVN: r98273
2005-04-17scanner.c (gfc_next_char_literal): Reset truncation flag for lines ending in ↵Richard Guenther5-2/+40
a comment for both fixed and free form. 2005-04-17 Richard Guenther <rguenth@gcc.gnu.org> * scanner.c (gfc_next_char_literal): Reset truncation flag for lines ending in a comment for both fixed and free form. (load_line): Do not set truncated flag if only truncating the EOL marker. * gfortran.dg/wtruncate.f: New testcase. * gfortran.dg/wtruncate.f90: New testcase. From-SVN: r98269
2005-04-17iris6.h (DRIVER_SELF_SPECS): Check -march as well as -mipsN before forcing a ↵Richard Sandiford2-1/+6
default of -mips2. * config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as -mipsN before forcing a default of -mips2. From-SVN: r98265
2005-04-17tree-flow-inline.h (get_stmt_operands): Remove.Kazu Hirata25-94/+21
* tree-flow-inline.h (get_stmt_operands): Remove. * lambda-code.c, tree-ssa-loop-unswitch.c, tree-ssa-operands.c, tree-ssa-pre.c, tree-ssa-propagate.c, tree-ssa-sink.c, tree-ssa.c, tree-tailcall.c, tree-vect-transform.c, tree-vectorizer.c, tree-vrp.c): Remove calls to get_stmt_operands. * doc/tree-ssa.texi: Don't mention get_stmt_operands. From-SVN: r98262
2005-04-17* c-parser.c (N_C_TTYPES): Remove.Kazu Hirata2-3/+2
From-SVN: r98260
2005-04-17* modulo-sched.c (CFG_HOOKS): Remove.Kazu Hirata2-2/+2
From-SVN: r98259
2005-04-17predict.h (IS_TAKEN): Remove.Kazu Hirata3-4/+5
* predict.h (IS_TAKEN): Remove. * rtl.h (NOTE_PREDICTION): Likewise. From-SVN: r98258
2005-04-16re PR target/20375 (C++ ICE in assign_parm_find_entry_rtl)Richard Henderson2-18/+25
PR target/20375 * config/alpha/alpha.c (alpha_setup_incoming_varargs): Advance a copy of CUMULATIVE_ARGS past the last named argument. (alpha_va_start): Expect pretend_args_size only if strictly less than 6 named arguments. From-SVN: r98257
2005-04-17re PR c++/21025 (ICE on template)Mark Mitchell4-1/+21
PR c++/21025 * typeck.c (cxx_sizeof_or_alignof_type): Check whether the type to which sizeof/alignof is dependent, rather than just whether we are processing_template_decl. PR c++/21025 * g++.dg/template/sizeof9.C: New test. From-SVN: r98252
2005-04-17cp-tree.h (LOOKUP_GLOBAL): Remove.Kazu Hirata2-11/+16
* cp-tree.h (LOOKUP_GLOBAL): Remove. (LOOKUP_ONLYCONVERTING, DIRECT_BIND, LOOKUP_NO_CONVERSION, LOOKUP_DESTRUCTOR, LOOKUP_NO_TEMP_BIND, LOOKUP_PREFER_TYPES, LOOKUP_PREFER_NAMESPACES, LOOKUP_CONSTRUCTOR_CALLABLE): Adjust their values. From-SVN: r98247