- 25 Apr, 2005 5 commits
-
-
tree-vect-analyze.c (vect_mark_relevant): Take VEC(tree,heap) instead of varray_type as an argument. * tree-vect-analyze.c (vect_mark_relevant): Take VEC(tree,heap) instead of varray_type as an argument. (vect_mark_stmts_to_be_vectorized): Change the type of worklist to VEC(tree,heap). Adjust uses of worklist. From-SVN: r98695
Kazu Hirata committed -
From-SVN: r98694
Devang Patel committed -
* c-semantics.c (build_stmt): Remove test of specific tree codes for TREE_SIDE_EFFECTS handling. From-SVN: r98693
Ian Lance Taylor committed -
[[Split portion of a mixed commit.]] From-SVN: r98691.2
GCC Administrator committed -
2005-04-25 Paul Brook <paul@codesourcery.com> Steven G. Kargl <kargls@comcast.net> PR fortran/20879 * check.c (gfc_check_ichar_iachar): New function. * instinsic.h (gfc_check_ichar_iachar): Add prototype. * intrinsic.c (add_functions): Use it. * primary.c (match_varspec, gfc_match_rvalue): Clear incorrect character expression lengths. testsuite/ * gfortran.dg/ichar_1.f90: New file. Co-Authored-By: Steven G. Kargl <kargls@comcast.net> From-SVN: r98686
Paul Brook committed
-
- 24 Apr, 2005 22 commits
-
-
* c-opts.c (finish_options): Make the line-number of the <built-in> location 0, as assumed elsewhere, rather than 1. From-SVN: r98685
Per Bothner committed -
* tree-ssa-uncprop.c (equiv_stack): Change the type o VEC(tree,heap). (tree_ssa_uncprop, uncprop_finalize_block, uncprop_initialize_block): Update uses of equiv_stack. From-SVN: r98684
Kazu Hirata committed -
2005-04-24 Paolo Carlini <pcarlini@suse.de> * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35. From-SVN: r98681
Paolo Carlini committed -
* Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H) instead of just expr.h. From-SVN: r98679
Jakub Jelinek committed -
PR rtl-opt/21163 * simplify-rtx.c (simplify_binary_operation) <IOR>: Check for SCALAR_INT_MODE_P instead of not MODE_CC before returning constm1_rtx. <AND, LSHIFTRT, UMIN>: Use CONST0_RTX. <UDIV, UMOD>: Use CONST0_RTX and CONST1_RTX. <DIV, MOD>: Likewise. From-SVN: r98678
Richard Henderson committed -
* collect2.c (main): Unlock the stdio streams. * gcc.c (main): Likewise. * gcov-dump.c (main): Likewise. * gcov.c (main): Likewise. * gen-protos.c (main): Likewise. * gensupport.c (init_md_reader_args_cb): Likewise. * protoize.c (main): Likewise. * toplev.c (general_init): Likewise. java: * gjavah.c (main): Unlock the stdio streams. * jcf-dump.c (main): Likewise. * jv-scan.c (main): Likewise. * jvgenmain.c (main): Likewise. From-SVN: r98676
Kaveh R. Ghazi committed -
PR middle-end/20991 * cgraph.h (cgraph_local_info): Add vtable_method field. * varasm.c (mark_decl_referenced): If cgraph_global_info_ready and node is vtable_method, finalized and not reachable, don't do anything. * class.c: Include cgraph.h. (cp_fold_obj_type_ref): Set node->local.vtable_method. * Make-lang.in (cgraph.o): Depend on $(CGRAPH_H). * g++.dg/opt/pr20991.C: New test. From-SVN: r98674
Jakub Jelinek committed -
* gcc.dg/compat/struct-layout-1_generate.c: In arrays avoid types where sizeof (type) < __alignof__ (type). * gcc.dg/compat/struct-layout-1.h: Likewise. From-SVN: r98673
Jakub Jelinek committed -
PR preprocessor/20907 * gcc.dg/cpp/very-long-comment.c: New test. Co-Authored-By: Devang Patel <dpatel@apple.com> From-SVN: r98669
Per Bothner committed -
* tree-ssa-live.c (build_tree_conflict_graph): Change the type of tpa_to_clear to VEC(int,heap). Update uses of tpa_to_clear. Free tpa_to_clear at the end. From-SVN: r98668
Kazu Hirata committed -
mangle.c (write_builtin_type): Handle integer types which are not one of the shared integer type nodes and... * mangle.c (write_builtin_type): Handle integer types which are not one of the shared integer type nodes and emit a "vendor extended builtin type" with an encoding in the form of "u5int96". From-SVN: r98665
Markus F.X.J. Oberhumer committed -
* tree-ssa-copy.c (copy_prop_visit_cond_stmt): Use COMPARISON_CLASS_P. * tree-ssa-pre.c (create_value_expr_from): Use CONSTANT_CLASS_P and REFERENCE_CLASS_P. * tree-ssa-propagate.c (stmt_makes_single_load, stmt_makes_single_store): Use REFERENCE_CLASS_P. * tree-vect-transform.c (vect_is_simple_cond): Use COMPARISON_CLASS_P. * tree-vrp.c (extract_range_from_assert, build_assert_expr_for, fp_predicate, has_assert_expr): Use COMPARISON_CLASS_P. From-SVN: r98664
Kazu Hirata committed -
2005-04-24 Andrew Pinski <pinskia@physics.uc.edu> * tree.h (TREE_THIS_VOLATILE): Document the effect on a function decl. From-SVN: r98663
Andrew Pinski committed -
fortran/ PR fortran/20059 * trans-common.c (translate_common): Cast offset and common_segment->offset to type int for warning message. testsuite/ PR fortran/20059 * gfortran.dg/common_5.f: New test. From-SVN: r98660
Tobias Schlüter committed -
* cp-tree.def (USING_STMT): Change class to tcc_statement. (TRY_BLOCK, EH_SPEC_BLOCK, HANDLER, CLEANUP_STMT): Likewise. (IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT): Likewise. (BREAK_STMT, CONTINUE_STMT, SWITCH_STMT): Likewise. From-SVN: r98659
Ian Lance Taylor committed -
* config/rs6000/rs6000.c (rs6000_override_options): Use gcc_assert and gcc_unreachable as appropriate. (num_insns_constant, output_vec_const_move, build_mask64_2_operands, rs6000_output_dwarf_dtprel, rs6000_emit_set_const, rs6000_emit_move, spe_build_register_parallel, function_arg, rs6000_move_block_from_reg, altivec_expand_predicate_builtin, spe_expand_predicate_builtin, spe_expand_evsel_builtin, rs6000_expand_builtin, spe_init_builtins, altivec_init_builtins, rs6000_common_init_builtins, expand_block_clear, expand_block_move, validate_condition_mode, ccr_bit, extract_MB, extract_ME, rs6000_get_some_local_dynamic_name, rs6000_output_function_entry, print_operand, print_operand_address, rs6000_generate_compare, rs6000_emit_sCOND, output_cbranch, output_e500_flip_gt_bit, rs6000_emit_vector_compare, rs6000_emit_vector_compare, rs6000_emit_cmove, rs6000_emit_minmax, rs6000_split_multireg_move, compute_save_world_info, rs6000_stack_info, rs6000_emit_load_toc_table, rs6000_frame_related, spe_synthesize_frame_save, rs6000_emit_epilogue, rs6000_output_function_epilogue, rs6000_hash_constant, output_toc, output_function_profiler, rs6000_trampoline_size, rs6000_initialize_trampoline, find_addr_reg, rs6000_machopic_legitimize_pic_address, rs6000_initial_elimination_offset, rs6000_dbx_register_number): Likewise. * config/rs6000/rs6000.md (*fix_truncdfsi2_internal, *movdf_hardfloat32, *movdf_softfloat32, *fix_trunctfsi2_internal, *movti_power, *movti_string, call, call_value, sibcall, sibcall_value): Likewise. * config/rs6000/spe.md (*movdf_e500_double, *movv2si_internal): Likewise. * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): Remove 'abort' from comment. From-SVN: r98658
Nathan Sidwell committed -
From-SVN: r98654
Joseph Myers committed -
PR target/21101 * config/i386/i386.h (CANNOT_CHANGE_MODE_CLASS): Move guts to ... * config/i386/i386.c (ix86_cannot_change_mode_class): ... here. Deny modes smaller than 4 bytes. * config/i386/i386-protos.h: Update. From-SVN: r98650
Richard Henderson committed -
From-SVN: r98649
Ralf Corsepius committed -
2005-04-24 Ralf Corsepius <ralf.corsepius@rtems.org> * config.gcc (h8300-*-rtems*): Add h8300-rtemscoff. Switch h8300-*-rtems* to ELF. From-SVN: r98644
Ralf Corsepius committed -
From-SVN: r98643
Kazu Hirata committed -
[[Split portion of a mixed commit.]] From-SVN: r98640.2
GCC Administrator committed
-
- 23 Apr, 2005 13 commits
-
-
From-SVN: r98637
Kazu Hirata committed -
2005-04-23 Richard Guenther <rguenth@gcc.gnu.org> PR middle-end/21082 * fold-const.c: Fold &a[i]-&a[j] to i-j. * g++.dg/tree-ssa/pr21082.C: New testcase. From-SVN: r98636
Richard Guenther committed -
tree-ssa-loop-niter.c (tree_simplify_using_condition): Expand simple definitions of ssa names in condition. * tree-ssa-loop-niter.c (tree_simplify_using_condition): Expand simple definitions of ssa names in condition. Split recusive part to ... (tree_simplify_using_condition_1): New function. (expand_simple_operations): New function. * gcc.dg/vect/vect-99.c: New test. From-SVN: r98635
Zdenek Dvorak committed -
* tree-ssa-loop-ivopts.c (struct cost_pair): Add value field. (find_interesting_uses_cond): Do not use integer_zerop and integer_nonzerop to check for integer constants. (set_use_iv_cost): Record the value field. (determine_use_iv_cost_generic, determine_use_iv_cost_address, determine_use_iv_cost_outer): Set the value field of the cost pair. (may_eliminate_iv): Do not return the comparison code. (iv_elimination_compare): New function. (determine_use_iv_cost_condition): Set the value field. Record noneliminable invariants correctly. (rewrite_use_compare, rewrite_use_outer): Use the value field. From-SVN: r98634
Zdenek Dvorak committed -
* diagnostic.c (warning): Accept parameter to classify warning option. (warning0): New, for when a pointer to an error() like function is needed. * errors.c (warning): Likewise. * errors.h (warning, warning0): Adjust prototypes. * toplev.h (warning, warning0): Likewise. * attribs.c, builtins.c, c-common.c, c-decl.c, c-format.c, c-gimplify.c, c-lex.c, c-objc-common.c, c-opts.c, c-parser.c, c-pragma.c, c-typeck.c, calls.c, cgraph.c, coverage.c, emit-rtl.c, fold-const.c, fortran/trans-decl.c, function.c, gcse.c, genautomata.c, haifa-sched.c, opts.c, passes.c, regclass.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c, tree-dump.c, tree-inline.c, tree-mudflap.c, tree-optimize.c, tree-ssa.c, tree.c, varasm.c: Adjust warning() callers. * config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c, config/c4x/c4x-c.c, config/c4x/c4x.c, config/cris/cris.c, config/darwin-c.c, config/darwin.c, config/darwin.h, config/h8300/h8300.c, config/i386/cygming.h, config/i386/djgpp.h, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/pa/pa-hpux11.h, config/pa/pa.c, config/rs6000/aix43.h, config/rs6000/aix51.h, config/rs6000/aix52.h, config/rs6000/darwin.h, config/rs6000/rs6000-c.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sh/symbian.c, config/sol2-c.c, config/sol2.c, config/stormy16/stormy16.c, config/v850/v850-c.c, config/v850/v850.c, config/xtensa/xtensa.c: Adjust warning() callers. * ada/misc.c: Adjust warning() callers. * cp/call.c, cp/class.c, cp/cvt.c, cp/decl.c, cp/decl2.c, cp/except.c, cp/friend.c, cp/init.c, cp/lex.c, cp/mangle.c, cp/method.c, cp/name-lookup.c, cp/parser.c, cp/repo.c, cp/rtti.c, cp/tree.c, cp/typeck.c, cp/typeck2.c: Adjust warning() callers. * fortran/trans-decl.c: Adjust warning() callers. * java/class.c, java/decl.c, java/expr.c, java/jcf-io.c, java/jcf-parse.c, java/jv-scan.c, java/parse.y: Adjust warning() callers. * objc/objc-act.c: Adjust warning() callers. * treelang/parse.y: Adjust warning() callers. From-SVN: r98633
DJ Delorie committed -
From-SVN: r98632
Richard Henderson committed -
PR rtl-opt/21102 * simplify-rtx.c (simplify_binary_operation): Fix mode check before performing some integral scalar simplifications. From-SVN: r98631
Richard Henderson committed -
PR target/21099 * config/i386/i386.c (ix86_split_to_parts): Use proper mode when simplifying CONST_VECTOR. From-SVN: r98624
Richard Henderson committed -
From-SVN: r98622
Paul Thomas committed -
From-SVN: r98621
Diego Novillo committed -
From-SVN: r98620
Tobias Schlüter committed -
* trans-const.c (gfc_conv_mpfr_to_tree): Use hexadecimal string as intermediate representation. From-SVN: r98619
Tobias Schlüter committed -
* tree-ssa-dce.c (worklist): Change to VEC(tree,heap). (mark_stmt_necessary, propagate_necessity, mark_really_necessary_kill_operand_phis): Update uses of worklist. (tree_dce_init): Allocate worklist using VEC_alloc. (tree_dce_done): Free worklist using VEC_free. From-SVN: r98618
Kazu Hirata committed
-