- 16 Apr, 2006 3 commits
-
-
sayle authored
* tree.c (integer_zerop): Ignore TREE_CONSTANT_OVERFLOW. (integer_onep): Likewise. (integer_all_onesp): Likewise. (integer_pow2p): Likewise. (integer_nonzerop): Likewise. (real_zerop): Likewise. (real_onep): Likewise. (real_twop): Likewise. (real_minus_onep): Likewise. (int_size_in_bytes): Likewise. (host_integerp): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112980 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112979 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112977 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 15 Apr, 2006 8 commits
-
-
kazu authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112972 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
jump.c, mips-tfile.c, omp-low.c, sched-int.h, tree-ssa-loop-prefetch.c, tree-vrp.c: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112971 138bc75d-0d04-0410-961f-82ee72b054a4
-
danglin authored
(output_bvb patterns): Likewise. * pa.c (output_bb): Use 'bb' insn for long branch case. (output_bvb): Likewise use '{bvb|bb}' for long branch case. (output_dbra): Use '{comb|cmpb}' for long branch case for alternative 1. Correct length operand for alternatives 1 and 2. (output_movb): Use '{comb|cmpb}' for long branch case for alternatives 1, 2 and 3. Correct length operand for alternatives 1, 2 and 3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112970 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
* pt.c: Include vecprim.h. (inline_parm_levels): Change the type to VEC(int,heap) *. (inline_parm_levels_used): Remove. (maybe_begin_member_template_processing, maybe_end_member_template_processing): Use VEC instead of VARRAY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112969 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* trans-io.c (set_string): Use fold_build2 and build_int_cst instead of build2 and convert to construct "x < 0" rather than "x <= -1". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112968 138bc75d-0d04-0410-961f-82ee72b054a4
-
jvdelisle authored
PR fortran/25336 * gfortran/dg/g77/20030115-1.f: Delete duplicate test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112967 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* tree-cfg.c (make_edges, make_omp_sections_edges, move_stmt_r, is_ctrl_altering_stmt): Reinstate RTH's changes from r112935 that were accidentally reverted by r112959. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112966 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112964 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 14 Apr, 2006 8 commits
-
-
jakub authored
* except.h (eh_region_outermost): New prototype. * except.c (eh_region_outermost): New function. * tree-cfg.c (find_outermost_region_in_block): Use it. * g++.dg/gomp/pr26823-1.C: New test. * g++.dg/gomp/pr26823-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112959 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
of VARRAY. * reload1.c (reg_equiv_memory_loc_varray): Rename to reg_equiv_memory_loc_vec. Change the type to VEC(rtx,gc) *. (init_reload, reload): Use VEC instead of VARRAY. * reload.h: Update the prototype for reg_equiv_memory_loc_varray. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112955 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
register save area. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112950 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
* builtins.c (expand_builtin_int_roundingfn): Use expand_normal() to expand fallback builtin function call. testsuite/ChangeLog: PR middle-end/27134 * gcc.dg/pr27314.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112949 138bc75d-0d04-0410-961f-82ee72b054a4
-
amodra authored
* builtins.c: (expand_builtin_memset): Stabilize args before expansion and emit libcall here in case the builtin fails. (expand_builtin_strcmp): Always emit the libcall here on failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112948 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
* flow.c (reg_n_info): Change the type to VEC(reg_info_p,heap) *. * regclass.c (allocate_reg_info, free_reg_info): Use VEC instead of VARRAY. * regs.h (reg_info_p): New. (REG_N_REFS, REG_FREQ, REG_N_SETS, REG_N_DEATHS, REG_N_CALLS_CROSSED, REG_N_THROWING_CALLS_CROSSED, REG_LIVE_LENGTH, REGNO_FIRST_UID, REGNO_LAST_UID): Use VEC instead of VARRAY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112942 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112940 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
defaulting to 100. * params.h (MAX_SCHED_READY_INSNS): New macro. * haifa-sched.c: (queue_to_ready): Re-queue insns for the next cycle past MAX_SCHED_READY_INSNS during the first scheduling pass. (schedule_block): Delay insns past MAX_SCHED_READY_INSNS in the ready list for 1 cycle during the first scheduling pass. * doc/invoke.texi (--param): New parameter max-sched-ready-insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112936 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 13 Apr, 2006 8 commits
-
-
rth authored
* gimple-low.c (lower_omp_directive): Remove dead code. (lower_stmt): Do nothing except for openmp, except for OMP_PARALLEL. * gimplify.c (gimplify_expr): Update for OMP_RETURN, OMP_CONTINUE. * omp-low.c (struct omp_region): Move to tree-flow.h. (root_omp_region): Export. (omp_regions, lookup_omp_region): Remove. (determine_parallel_type): Update for struct omp_region changes. (dump_omp_region): Dump regions with block numbers. (new_omp_region): Take type and block instead of stmt; malloc instead of ggc. (free_omp_region_1, free_omp_regions): New. (expand_parallel_call): Take entry_stmt as argument; update for changes to omp_region. (remove_exit_barrier): Rewrite to update OMP_RETURN_NOWAIT. (remove_exit_barriers): New. (expand_omp_parallel): Update for struct omp_region changes. (expand_omp_synch): Likewise. (expand_omp): Likewise. (expand_omp_for_static_nochunk): Likewise; update for OMP_CONTINUE. (expand_omp_for_static_chunk): Likewise. (expand_omp_for): Likewise. (expand_omp_for_generic): Likewise; emit the proper GOMP_loop_end call. (expand_omp_sections): Similarly, with GOMP_sections_end. (expand_omp_single): New. (build_omp_regions_1): Update for OMP_CONTINUE. (execute_expand_omp): Call remove_exit_barriers, free_omp_regions. (lower_omp_sections): Expand with OMP_CONTINUE, do not collect OMP_SECTIONS_SECTIONS. (lower_omp_single_simple): Don't emit barrier here. (lower_omp_single_copy): Likewise. (lower_omp_single): Fix bindings, and lower to straightline now. (lower_omp_master, lower_omp_ordered): Likewise. (lower_omp_critical): Likewise. (lower_omp_for): Likewise. Emit OMP_CONTINUE. * tree-cfg.c (make_edges): Collect an omp_region tree, use it for omp edges, free it afterward. (make_omp_sections_edges): Remove. (is_ctrl_altering_stmt): Don't bother checking flag_openmp. (move_stmt_r): Handle OMP_CONTINUE. * tree-flow.h (struct omp_region): Move from omp-low.c. Switch statement pointers to basic blocks. Add type member. (root_omp_region, new_omp_region, free_omp_regions): Declare. * tree-gimple.c (is_gimple_stmt): Handle OMP_RETURN, OMP_CONTINUE. * tree-inline.c (estimate_num_insns_1): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. * tree-ssa-operands.c (get_expr_operands): Likewise. * tree.def (OMP_SECTIONS): Remove OMP_SECTIONS_SECTIONS operand. (OMP_RETURN): Rename from OMP_RETURN_EXPR. (OMP_CONTINUE): New. * tree.h (OMP_DIRECTIVE_P): Add OMP_CONTINUE. (OMP_SECTIONS_SECTIONS): Remove. (OMP_SECTION_LAST): New. (OMP_RETURN_NOWAIT): New. fortran/ * trans-openmp.c (gfc_trans_omp_sections): Adjust for changed number of operands to OMP_SECTIONS. testsuite/ * g++.dg/gomp/block-0.C: Update expected matches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112935 138bc75d-0d04-0410-961f-82ee72b054a4
-
dj authored
(check_effective_target_ptr32plus): New. (check_effective_target_size32plus): New. (check_effective_target_int16): New. (check_profiling_available): Add m32c to the list of unsupported targets. * gcc.c-torture/compile/20000804-1.c: Skip m32c also. * gcc.c-torture/compile/20001226-1.c: Skip m32c due to small memory size. * gcc.c-torture/compile/20010327-1.c: Skip m32c due to non-SI pointers. * gcc.c-torture/compile/20020604-1.c: Skip m32c due to small size_t. * gcc.c-torture/compile/20050303-1.c: Require >=32 bit integers and size_t. * gcc.c-torture/compile/980506-1.c: Require >=32 bit size_t. * gcc.c-torture/execute/20020404-1.x: Check for any 16 bit target, not just xstormy16. Skip m32c due to weird pointer size. * gcc.c-torture/execute/20021024-1.x: Check for any 16 bit target, not just xstormy16. * gcc.c-torture/execute/shiftdi.x: Check for any 16 bit target, not just xstormy16. * gcc.dg/20020312-2.c: Add m32c support. * gcc.dg/20040622-2.c: Require >=32 bit pointers. * gcc.dg/20050321-1.c: XFail m32c due to incorrect malloc prototype in test. * gcc.dg/20050321-2.c: Require >=32 bit integers. * gcc.dg/asm-1.c: Skip if int and short are the same size. * gcc.dg/fold-mod-1.c: Require >=32 bit integers. * gcc.dg/fold-overflow-1.c: Skip m32c due to small const types in asm. * gcc.dg/format/bitfld-1.c: Require >=32 bit integers due to printf formats * gcc.dg/init-string-2.c: Require >=32 bit integers. * gcc.dg/max-1.c: Skip m32c in r8c or m16c mode due to small pointers. * gcc.dg/noncompile/920923-1.c: Skip small-int message for int16 hosts. * gcc.dg/pch/struct-1.c: Require >= 32 bit integers. * gcc.dg/pr14796-2.c: Require >=32 bit integers. * gcc.dg/pr17112-1.c: Require >=32 bit integers. * gcc.dg/pr18241-1.c: XFail m32c due to incorrect memset prototype in test. * gcc.dg/pr18241-2.c: XFail m32c due to incorrect memset prototype in test. * gcc.dg/pr19340.c: Skip m32c due to lack of scheduling. * gcc.dg/pr23049.c: Require >=32 bit integers. * gcc.dg/torture/pr26565.c: Skip m32c as everything is already packed. * gcc.dg/torture/pr26587.c: Require >=32 bit integers. * gcc.dg/torture/pr26630.c: Require >=32 bit integers. * gcc.dg/tree-ssa/loop-10.c: Require >=32 bit integers. * gcc.dg/tree-ssa/loop-2.c: Require >=32 bit size_t. * gcc.dg/tree-ssa/loop-4.c: Require >=32 bit size_t. * gcc.dg/tree-ssa/ltrans-1.c: Require >=32 bit size_t. * gcc.dg/tree-ssa/ltrans-2.c: Require >=32 bit size_t. * gcc.dg/tree-ssa/ltrans-3.c: Require >=32 bit size_t. * gcc.dg/tree-ssa/ltrans-4.c: Require >=32 bit size_t. * gcc.dg/tree-ssa/pr14341.c: Require >=32 bit integers. * gcc.dg/tree-ssa/pr23382.c: XFail m32c due to incorrect malloc prototype in test. * gcc.dg/tree-ssa/pr24627.c: Require >=32 bit integers. * gcc.dg/tree-ssa/pr26180.c: Require >=32 bit integers. * gcc.dg/tree-ssa/vrp14.c: Require >=32 bit integers. * gcc.dg/tree-ssa/vrp21.c: Require >=32 bit integers. * gcc.dg/tree-ssa/vrp22.c: Require >=32 bit integers. * gcc.c-torture/execute/20040629-1.x: New. Require >16 bit integers. * gcc.c-torture/execute/20040703-1.x: Likewise. * gcc.c-torture/execute/20040705-1.x: Likewise. * gcc.c-torture/execute/20040705-2.x: Likewise. * gcc.c-torture/execute/20040709-1.x: Likewise. * gcc.c-torture/execute/20040709-2.x: Likewise. * gcc.c-torture/execute/20040811-1.x: Likewise. * gcc.c-torture/execute/20050316-1.x: Likewise. * gcc.c-torture/execute/bitfld-4.x: Likewise. * gcc.c-torture/execute/pr19689.x: Likewise. * gcc.c-torture/execute/pr7284-1.x: Likewise. * gcc.c-torture/execute/usmul.x: Likewise. * gcc.c-torture/execute/vrp-5.x: Likewise. * gcc.c-torture/execute/vrp-6.x: Likewise. * gcc.dg/debug/20041023-1.s: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112934 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* fold-const.c (native_encode_vector, native_interpret_real): Correct obvious mistakes in the previous check-in. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112930 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* fold-const.c (native_encode_expr): New function to encode the target representation of an INTEGER_CST, REAL_CST, COMPLEX_CST or VECTOR_CST into a specified buffer. (native_encode_int): New function. (native_encode_real): New function. (native_encode_complex): New function. (native_encode_vector): New function. (native_interpret_expr): Inverse of native_encode_expr to convert a target representation into an INTEGER_CST, REAL_CST etc... (native_interpret_int): New function. (native_interpret_real): New function. (native_interpret_complex): New function. (native_interpret_vector): New function. (fold_view_convert_expr): New function to constant fold/evaluate a VIEW_CONVERT_EXPR of a suitable constant expression. (fold_unary) <VIEW_CONVERT_EXPR>: Call fold_view_convert_expr. Change call of build1 to fold_build1 when constructing a VIEW_CONVERT_EXPR. * gcc.target/i386/20050113-1.c: Tweak testcase to reflect that casts of integers to a vector types are now constant expressions in C. * gcc.dg/vect/vect-fold-1.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112927 138bc75d-0d04-0410-961f-82ee72b054a4
-
uweigand authored
Ulrich Weigand <uweigand@de.ibm.com> PR target/27006 * config/rs6000/rs6000.h (EASY_VECTOR_15_ADD_SELF): Require n to be even. PR target/27006 * gcc.dg/vmx/pr27006.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112923 138bc75d-0d04-0410-961f-82ee72b054a4
-
jvdelisle authored
PR libgfortran/26766 * gfortran.dg/write_recursive.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112915 138bc75d-0d04-0410-961f-82ee72b054a4
-
amodra authored
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't optimize to lo_sum for DFmode if !TARGET_FPRS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112912 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112909 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 12 Apr, 2006 10 commits
-
-
kazu authored
delete_alias_info, compute_flow_sensitive_aliasing, group_aliases): Use VEC instead of VARRAY. * tree-ssa-structalias.c (update_alias_info): Likewise. * tree-ssa-structalias.h (alias_info): Change the type of processed_ptrs to VEC(tree,heap) *. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112903 138bc75d-0d04-0410-961f-82ee72b054a4
-
amylaar authored
PR target/27060 * config/sh/lib1funcs.h: New file, broken out of: * config/sh/lib1funcs.asm. * config/sh/lib1funcs.h (DR00, DR01, DR20, DR21, DR40, DR41): New macros. * config/sh/lib1funcs.asm (udivsi3_i4): Use them. * config/sh/lib1funcs-Os-4-200.asm: New file. * config/sh/embed-elf.h (LIBGCC_SPEC): Use -lgcc-Os-4-200. * config/sh/t-sh (OPT_EXTRA_PARTS): New variable. (EXTRA_MULTILIB_PARTS): Include it. ($(T)sdivsi3_i4i-Os-4-200.o): New rule. ($(T)udivsi3_i4i-Os-4-200.o, $(T)libgcc-Os-4-200.a): Likewise. * config/sh/t-superh (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS. * config/sh/sh.h (OVERRIDE_OPTIONS): Recognize -mdiv=call-table for TARGET_SH2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112898 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
* function.c (reset_block_changes, record_block_change, check_block_change, free_block_changes): Use VEC instead of VARRAY. * function.h (function): Change the type of ib_boundaries_block to VEC(tree,gc) *. * tree-inline.c (copy_cfg_body): Initialize ib_boundaries_block to NULL instead of (varray_type) 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112894 138bc75d-0d04-0410-961f-82ee72b054a4
-
kazu authored
* tree-ssa-live.c (tpa_init, tpa_remove_partition, tpa_delete, tpa_compact, root_var_init, type_var_init): Use VEC instead of VARRAY. * tree-ssa-live.h: Include vecprim.h. (tree_partition_associator_d): Change the type of first_partition to VEC(int,heap) *. (tpa_first_partition): Use VEC instead of VARRAY. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112893 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
aggressively. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112891 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* parser.c (cp_parser_init_declarator): Initialise is_parenthesized_init to false to avoid compiler warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112889 138bc75d-0d04-0410-961f-82ee72b054a4
-
sayle authored
* expr.c (emit_group_store): Correct operand order in call to subreg_lowpart_offset. Always create paradoxical SUBREGs with a SUBREG_BYTE of zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112887 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
* profile.c (compute_branch_probabilities): Remove code encapsulated in !ir_type (), which are remanents of the removed RTL profiling code. * rtl-profile.c: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112884 138bc75d-0d04-0410-961f-82ee72b054a4
-
amodra authored
magic NULL_RTX comment. (function_arg): Store entire fp arg to mem if any part should go on stack. (rs6000_arg_partial_bytes): Adjust for above change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112880 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112876 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 11 Apr, 2006 3 commits
-
-
sayle authored
* dwarf2out.c (output_call_frame_info): Create debug_frame_section if it hasn't been initialized by dwarf2out_init. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112871 138bc75d-0d04-0410-961f-82ee72b054a4
-
mmitchel authored
* g++.dg/parse/new1.C: Add error marker. * g++.dg/template/new3.C: New test. PR c++/26122 * g++.dg/template/pure1.C: New test. PR c++/26295 * g++.dg/parse/ptrmem4.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112869 138bc75d-0d04-0410-961f-82ee72b054a4
-
danglin authored
symbolic constants in branch patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112864 138bc75d-0d04-0410-961f-82ee72b054a4
-