summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/compile
Commit message (Collapse)AuthorAgeFilesLines
...
* PR rtl-optimization/56745jakub2013-04-021-0/+15
| | | | | | | | | | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. * gcc.c-torture/compile/pr56745.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197371 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/56571hubicka2013-03-121-0/+8
| | | | | | | | | | | | | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating from pseudos. * emit-rtl.c (verify_rtx_sharing): Likewise. (copy_insn_1): Likewise. * rtl.c (copy_rtx): Likewise. PR middle-end/56571 * gcc.c-torture/compile/pr56571.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196612 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/40797olegendo2013-03-111-0/+16
| | | | | | | | * gcc.c-torture/compile/pr40797.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196590 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56539jakub2013-03-061-0/+7
| | | | | | | | | | | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT instead of GSI_CONTINUE_LINKING as last argument to force_gimple_operand_gsi. * gcc.c-torture/compile/pr56539.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196511 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/56484jakub2013-03-051-0/+17
| | | | | | | | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending lifetimes of hard registers on small register class machines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196478 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56448jakub2013-02-261-0/+14
| | | | | | | | | | | | | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or later operands of the references, or even first operand for INDIRECT_REF, TARGET_MEM_REF or MEM_REF. * gcc.c-torture/compile/pr56448.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196278 138bc75d-0d04-0410-961f-82ee72b054a4
* PR inline-asm/56405jakub2013-02-211-0/+7
| | | | | | | | | | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. * gcc.c-torture/compile/pr56405.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196195 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/52555aldyh2013-02-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * genopinit.c (raw_optab_handler): Use this_fn_optabs. (swap_optab_enable): Same. (init_all_optabs): Use argument instead of global. * tree.h (struct tree_optimization_option): New field target_optabs. * expr.h (init_all_optabs): Add argument to prototype. (TREE_OPTIMIZATION_OPTABS): New. (save_optabs_if_changed): Protoize. * optabs.h: Declare this_fn_optabs. * optabs.c (save_optabs_if_changed): New. Declare this_fn_optabs. (init_optabs): Add argument to init_all_optabs() call. * function.c (invoke_set_current_function_hook): Handle per function optabs. * function.h (struct function): New field optabs. * config/mips/mips.c (mips_set_mips16_mode): Handle when optimization_current_node has changed. * target-globals.h (save_target_globals_default_opts): Protoize. * target-globals.c (save_target_globals_default_opts): New. c-family/ * c-common.c (handle_optimize_attribute): Call save_optabs_if_changed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196129 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/56078jakub2013-01-241-3/+3
| | | | | | | | | | | | | * c-typeck.c (set_nonincremental_init_from_string): If constructor_max_index is NULL, treat it as if tree_int_cst_lt returned false. (process_init_element): Likewise. * gcc.dg/pr56078.c: New test. * gcc.c-torture/compile/20030305-1.c: Add dg-error lines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195432 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimizatoin/55273jakub2013-01-171-0/+0
| | | | | | | | | * gcc.c-torture/compile/pr55273.c: New testcase. * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195275 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimizatoin/51083hubicka2013-01-171-0/+18
| | | | | | | | | * gcc.c-torture/compile/pr51083.c: New testcase. * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195274 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/55920jakub2013-01-151-0/+16
| | | | | | | | | | | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced there is non-useless type conversion needed from debug rhs to lhs, use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. * gcc.c-torture/compile/pr55920.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195209 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/55955jakub2013-01-151-0/+12
| | | | | | | | | | * tree-vect-loop.c (vectorizable_reduction): Give up early on *SHIFT_EXPR and *ROTATE_EXPR codes. * gcc.c-torture/compile/pr55955.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195190 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/pr55921.c: Don't use matching constraints.schwab2013-01-111-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195112 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in gcc/rsandifo2013-01-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195098 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/55921jakub2013-01-101-0/+21
| | | | | | | | | | * tree-complex.c (expand_complex_asm): New function. (expand_complex_operations_1): Call it for GIMPLE_ASM. * gcc.c-torture/compile/pr55921.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195080 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/55569hubicka2013-01-091-0/+11
| | | | | | | | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. * cfgloop.h (scale_loop_profile): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195067 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/55851jakub2013-01-081-0/+12
| | | | | | | | | | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P types instead of just INTEGER_TYPE types. * gcc.c-torture/compile/pr55851.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195006 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/55832jakub2013-01-031-0/+23
| | | | | | | | | | | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and ABS_EXPR<x> < 0 folding use constant_boolean_node instead of integer_{one,zero}_node. * gcc.c-torture/compile/pr55832.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194836 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/pr44707.c: Do not try to assemble on AIX.dje2012-12-211-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194671 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/52640jakub2012-12-121-0/+55
| | | | | | | | | | | | | * varasm.c (pending_assemble_externals_set): New pointer set. (process_pending_assemble_externals): Destroy the pointer set. (assemble_external): See if decl is in pending_assemble_externals_set, and add it to pending_assemble_externals if necessary. (init_varasm_once): Allocate pending_assemble_externals_set. * gcc.c-torture/compile/limits-externdecl.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194441 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/55350aldyh2012-11-201-0/+8
| | | | | | | * gimple-ssa-strength-reduction.c (replace_dependent): Handle POINTER_{PLUS,MINUS}_EXPR correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193672 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/55219ebotcazou2012-11-071-0/+14
| | | | | | | | * fold-const.c (fold_binary_op_with_conditional_arg): Do not fold if the argument is itself a conditional expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193312 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/pr49220.c: New test.kkojima2012-11-071-0/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193290 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/54925olegendo2012-10-151-0/+27
| | | | | | | | * gcc.c-torture/compile/pr54925.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192482 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/54713jakub2012-09-283-0/+86
| | | | | | | | | | | | | | | | * fold-const.c (vec_cst_ctor_to_array): Give up if vector CONSTRUCTOR has vector elements. (fold_ternary_loc) <case BIT_FIELD_REF>: Likewise. * tree-vect-generic.c (vector_element): Don't rely on CONSTRUCTOR elts indexes. Use BIT_FIELD_REF if CONSTRUCTOR has vector elements. (lower_vec_perm): Use NULL_TREE CONSTRUCTOR indexes. * gcc.c-torture/compile/pr54713-1.c: New test. * gcc.c-torture/compile/pr54713-2.c: New test. * gcc.c-torture/compile/pr54713-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191826 138bc75d-0d04-0410-961f-82ee72b054a4
* c:jsm282012-09-141-0/+8
| | | | | | | | | | | | | PR c/54552 * c-typeck.c (c_cast_expr): When casting to a type requiring C_MAYBE_CONST_EXPR to be created, pass the inner expression to c_fully_fold first. testsuite: * gcc.c-torture/compile/pr54552-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191313 138bc75d-0d04-0410-961f-82ee72b054a4
* c:jsm282012-09-146-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PR c/54103 * c-typeck.c (build_unary_op): Pass original argument of TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove any C_MAYBE_CONST_EXPR, if it has integer operands. (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR to c_objc_common_truthvalue_conversion, then remove any C_MAYBE_CONST_EXPR, if they have integer operands. Use c_objc_common_truthvalue_conversion not c_common_truthvalue_conversion. (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and call note_integer_operands for arguments with integer operands that are not integer constants. testsuite: * gcc.c-torture/compile/pr54103-1.c, gcc.c-torture/compile/pr54103-2.c, gcc.c-torture/compile/pr54103-3.c, gcc.c-torture/compile/pr54103-4.c, gcc.c-torture/compile/pr54103-5.c, gcc.c-torture/compile/pr54103-6.c: New tests. * gcc.dg/c90-const-expr-8.c: Update expected column number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191304 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/54559jakub2012-09-131-0/+9
| | | | | | | | | | * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or COMPLEX_TYPE with in_late_binary_op set temporarily to true. * gcc.c-torture/compile/pr54559.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191270 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/49206uros2012-09-021-0/+26
| | | | | | | | * gcc.c-torture/compile/pr49206.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190857 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/pr44687.c: Fix whitespace.uros2012-09-021-32/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190856 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/54428jakub2012-08-311-0/+9
| | | | | | | | | | | | * c-convert.c (convert): Don't call fold_convert_loc if TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from COMPLEX_TYPE -> COMPLEX_TYPE conversion. * gcc.c-torture/compile/pr54428.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190840 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/54321jakub2012-08-201-0/+12
| | | | | | | | | | * tree-ssa-forwprop.c (simplify_builtin_call): Pass 0 instead of 1 as second argument to tree_low_cst call on val2. * gcc.c-torture/compile/pr54321.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190526 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/53411jakub2012-08-142-0/+74
| | | | | | | | | | | | PR rtl-optimization/53495 * ira.c (ira): Move delete_trivially_dead_insns call before find_moveable_pseudos call. * gcc.c-torture/compile/pr53411.c: New test. * gcc.c-torture/compile/pr53495.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190376 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/39423olegendo2012-08-122-0/+79
| | | | | | | | | | | | | * config/sh/predicates.md (mem_index_disp_operand): Check for arith_reg_operand instead of REG_P. PR target/39423 * gcc.c-torture/compile/pr39423-1.c: New. * gcc.c-torture/compile/pr39423-2.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190326 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.h (LIMIT_RELOAD_CLASS): Return preferreduros2012-08-092-1/+16
| | | | | | | | | | | | | | | | | single unit register class for classes that contain registers form multiple units. (REG_CLASS_CONTENTS): Add missing "frame" register to FLOAT_INT_REGS, INT_SSE_REGS and FLOAT_INT_SSE_REGS register classes. testsuite/ChangeLog: * gcc.c-torture/compile/20120727-1.c (dg-options): Add -mfpmath=387 for x86 targets. * gcc.c-torture/compile/20120727-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190261 138bc75d-0d04-0410-961f-82ee72b054a4
* * reload.c (find_valid_class_1): New static function.bernds2012-08-091-0/+11
| | | | | | | | | | | | | | | | (push_reload): Use it when reloading a SYMBOL_REG as the inner of a subreg. Keep better track of needed classes for the secondary memory case. * config/i386/i386.h (LIMIT_RELOAD_CLASS): Limit INT_SSE_REGS to GENERAL_REGS. * reload1.c (replaced_subreg): New static function. (gen_reload): Use it when deciding whether to use secondary memory. * gcc.c-torture/compile/20120727-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190252 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2012-08-021-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR target/51931 * config/mips/mips-protos.h (mips_strip_unspec_address): Declare. * config/mips/mips.c (mips_strip_unspec_address): Make extern. (mips16_rewrite_pool_constant): Make a copy of the pool constant before adding to a PC-relative table. (mips16_lay_out_constants): Add a SPLIT_P parameter. (mips16_load_branch_target, mips16_split_long_branches): New functions. (mips_reorg): Update call to mips16_lay_out_constants. Call mips16_split_long_branches. * config/mips/predicates.md (pc_or_label_operand): Delete. * config/mips/mips.md (length): Add a calculation for MIPS16 branches. Move the extended_mips16 handling further down. (*branch_equality<mode>_mips16): Replace use pc_or_label_operand with explicit label_ref and pc. Follow the usual operand numbering. (*branch_equality<mode>_mips16_inverted): New pattern. (*jump_mips16): Add length attribute. (indirect_jump_and_restore_<mode>): New pattern. (consttable_int): Call mips_strip_unspec_address on the operand. gcc/testsuite/ PR target/51931 * gcc.c-torture/compile/20001226-1.c: Remove nomips16 attribute. * g++.dg/opt/longbranch1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190104 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-26 Andrew Jenner <andrew@codesourcery.com>sandra2012-07-261-3/+13
| | | | | | | | | | | | | Sandra Loosemore <sandra@codesourcery.com> gcc/ * cse.c (find_comparison_args): Check for cycles of any length. gcc/testsuite/ * gcc.c-torture/compile/pr50380.c: Add code to cause cycle of length 2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189896 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/38621olegendo2012-07-181-0/+16
| | | | | | | | * gcc.c-torture/compile/pr38621.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189605 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-16 Andrew Pinski <apinski@cavium.com>pinskia2012-07-163-0/+51
| | | | | | | | | | | * gcc.c-torture/execute/bswap-1.c: New testcase. * gcc.c-torture/compile/unalign-1.c: New testcase. * gcc.c-torture/compile/20120524-1.c: New testcase. * gcc.c-torture/compile/20101216-1.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189543 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/53886olegendo2012-07-101-0/+68
| | | | | | | | * gcc.c-torture/compile/pr53886.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189417 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/steven2012-07-051-7/+6
| | | | | | | | | | | | | | | | * expr.c (try_casesi): Remove bogus ATTRIBUTE_UNUSED markers. * stmt.c (dump_case_nodes): New. (expand_case): Split out code generation parts into new functions. (expand_switch_as_decision_tree_p): Split out from expand_case. (emit_case_decision_tree): Likewise. (emit_case_dispatch_table): Likewise. testsuite/ * gcc.c-torture/compile/20000326-1.c: Fix to not optimize to empty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189285 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/53748jakub2012-06-261-0/+9
| | | | | | | | | | * tree-ssa-phiopt.c (conditional_replacement): Only optimize if arg0/arg1 have integral or pointer types. * gcc.c-torture/compile/pr53748.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188975 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/spe.md (*mov_si<mode>_e500_subreg0): Rename tojsm282012-06-192-0/+14
| | | | | | | | | | | | | mov_si<mode>_e500_subreg0. (*mov_si<mode>_e500_subreg0_elf_low) (*mov_si<mode>_e500_subreg4_elf_low): New patterns. testsuite: * gcc.c-torture/compile/vector-5.c, gcc.c-torture/compile/vector-6.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188795 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/sync-1.c: Add comments to checks for multiplejanis2012-06-121-2/+2
| | | | | | | messages reported for one line of source code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188479 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/53519jakub2012-05-301-0/+26
| | | | | | | | | | * combine.c (simplify_shift_const_1) <case NOT>: Use constm1_rtx instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR. * gcc.c-torture/compile/pr53519.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188001 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/53148jsm282012-05-212-0/+10
| | | | | | | | | | | | | * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR from folded operands before wrapping another around the conditional expression. testsuite: * gcc.c-torture/compile/pr53418-1.c, gcc.c-torture/compile/pr53418-2.c: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187718 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/53409jakub2012-05-211-0/+19
| | | | | | | | | | * tree-vect-loop.c (vect_analyze_loop_operations): Don't check vinfo_for_stmt (op_def_stmt) if op_def_stmt isn't inside loop. * gcc.c-torture/compile/pr53409.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187716 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/53410jakub2012-05-212-0/+74
| | | | | | | | | | | | | * fold-const.c (fold_binary_loc): Use build_zero_cst (type) instead of build_int_cst (type, 0) where vector types might be involved. Instead of build_int_cst (type, 1) convert the original integer_onep argument to the desired type. * gcc.c-torture/compile/pr53410-1.c: New test. * gcc.c-torture/compile/pr53410-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187715 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud