summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* 2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-10-134-0/+34
| | | | | | | | | | | | | | PR c++/17661 * testsuite/g++.dg/expr/for2.C: New test. 2004-10-13 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17661 * semantics.c (finish_for_expr): Convert expression to void so that we don't create temporaries for a?b:c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88992 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/15578:tromey2004-10-133-5/+17
| | | | | | | | | * lang.opt (--extdirs): Document. * jvspec.c (lang_specific_driver): Recognize -encoding and -extdirs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88991 138bc75d-0d04-0410-961f-82ee72b054a4
* PR java/15578:tromey2004-10-132-0/+7
| | | | | | | * gcc.c (option_map): Added --extdirs and --encoding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88990 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix incomplete commit.ebotcazou2004-10-131-15/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88986 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/14454ebotcazou2004-10-135-23/+105
| | | | | | | | | | | | | | | | | | * config/sparc/sparc.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Set to sparc_can_output_mi_thunk. (sparc_output_mi_thunk): Simplify handling of delta offset. Add handling of vcall offset. (sparc_can_output_mi_thunk): New predicate. * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Document VCALL_OFFSET. (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Delete. (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New target hook. * config/sparc/sparc.c (emit_and_preserve): Preserve stack alignment. * config/sparc/sparc.md (movdi): Remove redundant test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88985 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-13 Paolo Bonzini <bonzini@gnu.org>bonzini2004-10-132-1/+6
| | | | | | | | * tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL, TDF_IPA from -fdump-tree-*-all. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88984 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm-protos.h (arm_load_pic_register): Update prototype.pbrook2004-10-134-13/+22
| | | | | | | | | | * config/arm/arm.c (thumb_find_work_register): Update comments. (arm_load_pic_register): Add argument for scratch register. (arm_expand_prologue, thumb_expand_prologue): Pass extra argument. * config/arm/arm.md (builtin_setjmp_receiver): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88982 138bc75d-0d04-0410-961f-82ee72b054a4
* * search.c: Fix a comment typo.kazu2004-10-132-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88981 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-data-ref.c: Fix comment typos.kazu2004-10-132-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88980 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/17724jakub2004-10-139-0/+178
| | | | | | | | | | | | | | * tree-cfg.c (tree_purge_dead_eh_edges): Free dominance info. * g++.dg/opt/pr17724-1.C: New test. * g++.dg/opt/pr17724-2.C: New test. * g++.dg/opt/pr17724-3.C: New test. * g++.dg/opt/pr17724-4.C: New test. * g++.dg/opt/pr17724-5.C: New test. * g++.dg/opt/pr17724-6.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88979 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-13 Dorit Naishlos <dorit@il.ibm.com>dorit2004-10-132-22/+34
| | | | | | | | | | * rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()). (altivec_builtin_mask_for_store): Likewise. (altivec_init_builtins): Use lang_hooks.builtin_function to create the decls for builtin_altivec_mask_for_load/store. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88978 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove inclusion of loop.hnickc2004-10-132-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88977 138bc75d-0d04-0410-961f-82ee72b054a4
* * basic-block.h (edge_iterator): Keep the address of VEC(edge) *.bje2004-10-133-10/+30
| | | | | | | | | | | | (ei_container): New; renamed. (ei_start, ei_last): New macros. (ei_start_1, ei_last_1): Renamed from ei_start. (ei_last_1, ei_end_p): Use ei_container() where applicable. (ei_one_before_end_p, ei_next, ei_edge): Likewise. * gcse.c (remove_reachable_equiv_notes): Use ei_container(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88966 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-11 Sebastian Pop <pop@cri.ensmp.fr>dberlin2004-10-139-455/+1033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h. * cfgloop.c (initialize_loops_parallel_p): New. (flow_loops_find): Initialize the parallel_p field to true for all the loops. * tree-ssa-loop-niter.c: Include "tree-data-ref.h". (estimate_numbers_of_iterations_loop): Infers the loop bounds from the size of the data accessed in the loop. (struct nb_iter_bound): Moved... * cfgloop.h (struct nb_iter_bound): ... here. (estimated_nb_iterations, parallel_p): New fields in struct loop. (record_estimate): Declare extern here. * tree-chrec.c: Fix comments. (nb_vars_in_chrec): New function. * tree-chrec.h (nb_vars_in_chrec): Declared here. * tree-data-ref.c: Don't include lambda.h, that is already included in tree-data-ref.h. (tree_fold_divides_p): Don't check for integer_onep. (tree_fold_bezout): Removed. (gcd): New static duplicated function. (int_divides_p, dump_subscript): New. (dump_data_dependence_relation): Use dump_subscript. (dump_dist_dir_vectors, dump_ddrs, compute_estimated_nb_iterations, estimate_niter_from_size_of_data): New. (analyze_array_indexes, analyze_array): Call estimate_niter_from_size_of_data during the detection of array references. Pass in a pointer to the statement that contains the array reference. (all_chrecs_equal_p): New. (compute_distance_vector): Renamed compute_subscript_distance. Deal with multivariate conflict functions. (initialize_data_dependence_relation): Initialize DDR_AFFINE_P, DDR_SIZE_VECT, DDR_DIST_VECT, and DDR_DIR_VECT. (non_affine_dependence_relation): New. (analyze_ziv_subscript, analyze_siv_subscript_cst_affine, analyze_siv_subscript, analyze_miv_subscript, analyze_overlapping_iterations, subscript_dependence_tester): Initialize and return last_conflicts function. (initialize_matrix_A, FLOOR, compute_overlap_steps_for_affine_univar, compute_overlap_steps_for_affine_1_2): New. (analyze_siv_subscript_affine_cst): Removed. (analyze_subscript_affine_affine): Disprove dependences based on the iteration domains. Solve the univariate dependence case as before, but use lambda_matrix_right_hermite instead of tree_fold_bezout. Implement the multivariate case of 2 versus 1 variables. (build_classic_dist_vector, build_classic_dir_vector): Implement some unhandled cases. (find_data_references_in_loop): Compute and initialize loop->estimated_nb_iterations and loop->parallel_p. (analyze_all_data_dependences): Modify the debug dump order. * tree-data-ref.h (SUB_LAST_CONFLICT_IN_A, SUB_LAST_CONFLICT_IN_B, subscript->last_conflict_in_a, subscript->last_conflict_in_b): Removed. (SUB_LAST_CONFLICT, subscript->last_conflict, data_dependence_relation->affine_p, data_dependence_relation->size_vect, DDR_AFFINE_P, DDR_SIZE_VECT): New. (find_data_references_in_loop, initialize_data_dependence_relation, dump_subscript, dump_ddrs, dump_dist_dir_vectors): Declared here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88965 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-12 Kelley Cook <kcook@gcc.gnu.org>kcook2004-10-132-1/+5
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88962 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-10-131-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88958 138bc75d-0d04-0410-961f-82ee72b054a4
* Restored acciddental check-in.fjahanian2004-10-121-8/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88951 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 17892.fjahanian2004-10-124-1/+49
| | | | | | | OKed by Roger Sayle. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88950 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/s390.c (s390_va_start): Use build_va_arg_indirect_ref.uweigand2004-10-122-4/+9
| | | | | | | (s390_gimplify_va_arg): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88949 138bc75d-0d04-0410-961f-82ee72b054a4
* * defaults.h (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P)drow2004-10-127-74/+167
| | | | | | | | | | | | | | | | | | | | | | | | (MODE_BASE_REG_REG_CLASS, REGNO_MODE_OK_FOR_REG_BASE_P) (REG_MODE_OK_FOR_REG_BASE_P): Provide default definitions. * regclass.c (record_address_regs): Remove ifdef. Use REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS. * regrename.c (REG_MODE_OK_FOR_BASE_P): Remove unnecessary definition. (scan_rtx_address, replace_oldest_value_addr): Use REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS. * reload.c (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P): Remove unnecessary definitions. (find_reloads_address_1): Support REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS. * config/arm/arm.h (MODE_BASE_REG_CLASS): Don't check reload_completed. (MODE_BASE_REG_REG_CLASS): Define. (REGNO_MODE_OK_FOR_REG_BASE_P): Define. (REG_MODE_OK_FOR_REG_BASE_P): Define. * doc/tm.texi (Register Classes): Document MODE_BASE_REG_REG_CLASS, REG_MODE_OK_FOR_REG_BASE_P, and REGNO_MODE_OK_FOR_REG_BASE_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88948 138bc75d-0d04-0410-961f-82ee72b054a4
* The apostrophe was there to signal that the s was comingdberlin2004-10-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88946 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-12 Daniel Berlin <dberlin@dberlin.org>dberlin2004-10-122-27/+83
| | | | | | | | | * tree-ssa-alias.c (verify_name_tags): New function. (verify_flow_sensitive_alias_info): Remove code that used to check name tags. (verify_alias_info): Call verify_name_tags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88945 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/17931kazu2004-10-122-0/+21
| | | | | | | | * config/i386/i386.c (ix86_rtx_costs): Handle COMPARE with ZERO_EXTRACT in it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88943 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm.c (arm_print_operand): Use output_operand_lossage where possiblerearnsha2004-10-122-17/+83
| | | | | | | rather than aborting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88940 138bc75d-0d04-0410-961f-82ee72b054a4
* * class.c (dfs_modify_vtables): Simplify condition. Returnnathan2004-10-123-33/+57
| | | | | | | | | | | dfs_skip_bases as appropriate. (modify_all_vtables): Walk in pre-order. * search.c (dfs_walk_all, dfs_walk_once_r, dfs_walk_once_accessible_r): Assert post order function never returns dfs_skip_bases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88939 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Add armv6{k,z,zk}pbrook2004-10-127-4/+29
| | | | | | | | | | | | | * config/arm/arm-cores.def: Add arm1176 and mpcore. * config/arm/tune.md: Regenerate. * config/arm/arm.c (FL_FOR_ARCH6K, FL_FOR_ARCH6Z, FL_FOR_ARCH6ZK): Define. (all_architectures): Add armv6k, armv6z, armv6zk. * config/arm/lib1funcs.asm: Recognise new arm arcitectures. * doc/invoke.texi: Document new arch and cpu values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88937 138bc75d-0d04-0410-961f-82ee72b054a4
* * search.c (struct lookup_base_data_s): New.nathan2004-10-122-79/+100
| | | | | | | | | (lookup_base_r): Replace with ... (dfs_lookup_base): ... this. (lookup_base): Use dfs_walk_all. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88934 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Change meabi=3 topbrook2004-10-122-1/+6
| | | | | | | meabi=4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88930 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.pbrook2004-10-121-3/+9
| | | | | | | Handle negative constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88929 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.pbrook2004-10-121-0/+5
| | | | | | | Handle negative constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88928 138bc75d-0d04-0410-961f-82ee72b054a4
* * search.c: Fix comment typos.kazu2004-10-122-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88927 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/17301jsm282004-10-124-2/+31
| | | | | | | | | | | | | * c-typeck.c (convert_arguments): Return error_mark_node if there are too few arguments. (build_function_call): Handle error_mark_node return from convert_arguments. testsuite: * gcc.dg/pr17301-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88921 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-06 Paolo Bonzini <bonzini@gnu.org>bonzini2004-10-124-283/+180
| | | | | | | | | | * configure.ac (symbolic_link): Replace with $LN_S. (Assembler/Linker): Hard link from gas and binutils trees. * aclocal.m4 (gcc_AC_PROG_LN_S): Try "cp -p" before cp. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88920 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/15786mmitchel2004-10-124-18/+59
| | | | | | | | | | | | | | | | | | | * parser.c (cp_parser_declarator): Add member_p parameter. (cp_parser_condition): Adjust calls to cp_parser_declarator. (cp_parser_explicit_instantiation): Likewise. (cp_parser_init_declarator): Likewise. (cp_parser_direct_declarator): Add member_p parameter. Do not parse tentatively when parsing the parameters to a member. (cp_parser_type_id): Adjust calls to cp_parser_declarator. (cp_parser_parameter_declaration): Likewise. (cp_parser_member_declaration): Likewise. (cp_parser_exception_declaration): Likewise. PR c++/15876 * g++.dg/parse/error22.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88914 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2004-10-121-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88910 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Don't look for host assembler when building a canadianpbrook2004-10-113-24/+46
| | | | | | | | cross. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88907 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/17361sayle2004-10-112-14/+21
| | | | | | | | | | | * c-opts.c (permit_fortran_options): Delete/obsolete global variable. (c_common_init_options): Remove #ifdef CL_F77 code. Scan command line options for "-lang-asm" and if found allow any of the C-family front-end options. (c_common_handle_option): Remove last use of permit_fortran_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88906 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/17936mmitchel2004-10-115-0/+32
| | | | | | | | | | | | * cp-tree.h (CLASSTYPE_TEMPLATE_SPECIALIZATION): Add a comment. * pt.c (optimize_specialization_lookup_p): Do not optimize lookups for members of partial or explicit specializations. PR c++/17936 * g++.dg/template/spec18.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88905 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/gcc.dg/ia64-asm-1.c: Add prototype for abortsje2004-10-115-0/+19
| | | | | | | | | | * testsuite/gcc.dg/ia64-sync-1.c: Add prototype for abort and memcpy. * testsuite/gcc.dg/ia64-sync-2.c: Ditto. * testsuite/gcc.dg/ia64-sync-3.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88904 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/s390.c (print_operand): Support 'S' format flag.uweigand2004-10-113-84/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/s390/s390.md ("*tmqi_mem"): Use 'S' format flag. ("*tstsi", "*tstsi_cconly", "*tstsi_cconly2"): Likewise. ("*tsthiCCT", "*tsthiCCT_cconly", "*tsthi", "*tsthi_cconly"): Likewise. ("*tstqiCCT", "*tstqiCCT_cconly", "*tstqi", "*tstqi_cconly"): Likewise. ("*cmphi_ccu", "*cmpqi_ccu", "*clc"): Likewise ("movti", "*movdi_31", "*movqi", "*movdf_31", "*mvc"): Likewise. ("*movstricthi"): Likewise. ("*load_multiple_di", "*load_multiple_si"): Likewise. ("*store_multiple_di", "*store_multiple_si"): Likewise. ("*sethiqisi", "*sethihisi"): Likewise. ("*sethiqidi_64", "*sethiqidi_31"): Likewise. ("*andqi3_zarch", "*andqi3_esa", "*nc"): Likewise. ("*iorqi3_zarch", "*iorqi3_esa", "*oc"): Likewise. ("*xorqi3", "*xc", "*xc_zero"): Likewise. ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): Likewise. ("*tmhi_full"): Fix incorrect op_type attribute. ("*adddi3_alc_cc", "*adddi3_alc"): Remove double backslash. ("*subdi3_slb_cc", "*subdi3_slb"): Likewise. ("*addsi3_alc_cc", "*addsi3_alc"): Likewise. ("*subsi3_slb_cc", "*subsi3_slb"): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88903 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-11 Andrew Pinski <pinskia@physics.uc.edupinskia2004-10-112-1/+6
| | | | | | | | | PR middle-end/16266 * function.c (temp_slots_at_level): Fix typo which creates too many temp stack slots levels. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88896 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/s390.c (s390_trampoline_template): Generate shorteruweigand2004-10-113-15/+22
| | | | | | | | | trampoline code. (s390_trampoline_instantiate): Adapt. * config/s390/s390.h (TRAMPOLINE_SIZE): Adapt to new code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88895 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-11 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-10-112-0/+5
| | | | | | | * g++.dg/eh/cleanup5.C: Add dg-options "". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88888 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/17929mmitchel2004-10-112-2/+13
| | | | | | | * decl2.c (finish_anon_union): Robustify. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88886 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (get_dynamic_cast_base_type): Rename to ...nathan2004-10-114-100/+183
| | | | | | | | | | | | | | | | | | (dcast_base_hint): ... here. * rtti.c (build_dynamic_cast_1): Use dcast_base_hint. * search.c (struct dcast_data_s): New. (dynamic_cast_base_recurse): Remove. Replace with ... (dfs_dcast_hint_pre, dfs_dcast_base_post): ... these. New. (get_dynamic_cast_base_type): Rename to ... (dcast_base_hint): ... here. Use dfs_walk_once_accessible. (accessible_r): Remove. (dfs_accessible_post): New, broken out of accessible_r. (accessible_p): Use dfs_walk_once_accessible. (dfs_walk_once_accessible_r): New. From accessible_r. (dfs_walk_once_accessible): New. From acessible_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88884 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/17657sayle2004-10-114-36/+110
| | | | | | | | | | | | | | | | | * stmt.c (add_case_node): Add additional type argument. Declare as static to match prototype. Convert the upper and lower bounds to the specified index type. Optimize away case ranges/values that are outside the index type's bounds. Truncate case ranges that span the index type's bounds. (expand_case): Avoid unnessary computation and memory allocation when index type is error_mark_node. Pass index_type as required by change to add_case_node API. No need to convert case range bounds to index_type, this is now done by add_case_node. * gcc.dg/switch-4.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88881 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-tree.h (SAME_BINFO_TYPE_P): New.nathan2004-10-116-31/+57
| | | | | | | | | | | | | | | | | | * class.c (build_base_path): Use SAME_BINFO_TYPE_P to compare binfo types. (convert_to_base_statically, determine_primary_bases, update_vtable_entry_for_fn, dfs_modify_vtables, build_vtt_inits, dfs_build_secondary_vptr_vtt_inits, build_ctor_vtbl_group, accumulate_vtbl_inits, dfs_accumulate_vtbl_inits, build_vtbl_initializer, add_vcall_offset_vtbl_entries_1): Likewise. * init.c (expand_member_init): Likewise. * search.c (lookup_base_r, dynamic_cast_base_recurse, binfo_via_virtual, copied_binfo, binfo_for_vbase, original_binfo): Likewise. * tree.c (copy_binfo): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88880 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/s390-protos.h (s390_offset_p): Add prototype.uweigand2004-10-114-63/+370
| | | | | | | | | | | | | | | | | | | | | | | | | | | * config/s390/s390.c (s390_offset_p): New function. * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use splitter to transform Q->Q alternatives to *clc pattern. ("*clc"): Move. ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa", "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf"): Use splitter to transform Q->Q alternatives to *mvc pattern. ("*mvc"): Move. Add peephole to merge adjacent MVCs. ("*anddi3", "*andsi3_zarch", "*andsi3_esa", "*andhi3_zarch", "*andhi3_esa", "*andqi3_zarch", "*andqi3_esa"): Use splitter to transform Q->Q alternatives to *nc pattern. ("*nc"): New insn. New peephole to merge adjacent NCs. ("*iordi3", "*iorsi3_zarch", "*iorsi3_esa", "*iorhi3_zarch", "*iorhi3_esa", "*iorqi3_zarch", "*iorqi3_esa"): Use splitter to transform Q->Q alternatives to *oc pattern. ("*oc"): New insn. New peephole to merge adjacent OCs. ("*xordi3", "*xorsi3", "*xorhi3", "*xorqi3"): Use splitter to transform Q->Q alternatives to *xc pattern. ("*xc"): New insn. New peephole to merge adjacent XCs. ("*xc_zero"): Move. Add peephole to merge adjacent XCs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88878 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-11 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-10-112-0/+9
| | | | | | | | * gimplify.c (gimple_push_condition): Make sure that we don't have any saved condition cleanup if we were at the top level. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88877 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/frv/frv.md (*adddi3_internal): Change name to...rsandifo2004-10-114-63/+110
| | | | | | | | | | | | | | | | (adddi3): ...replacing the exisiting define_expand. Combine alternatives. Fix the range of the constant constraints ('J' instead of 'NOP'). Remove bogus operands[2] check. Use simplify_gen_subreg to extract the lower and upper halves of the DImode operands. Always use addi3_lower and adddi3_upper, not the subdi3 forms. (adddi3_lower): Fix the range of the constant constraints and remove the bogus operands[2] check. (adddi3_upper): Use gpr_or_int10_operand as the predicate for operand 2. Use addxi to handle constant operands. (subdi3_lower, subdi3_upper): Don't handle constant operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88876 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud