summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/compile
Commit message (Collapse)AuthorAgeFilesLines
* PR inline-asm/63282jakub2014-09-301-0/+13
| | | | | | | | | | * ifcvt.c (dead_or_predicable): Don't call redirect_jump_1 or invert_jump_1 if jump isn't any_condjump_p. * gcc.c-torture/compile/pr63282.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215713 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/olegendo2014-09-011-0/+23
| | | | | | | | | | | | | | | | | | Backport from mainline 2014-09-01 Oleg Endo <olegendo@gcc.gnu.org> PR target/62312 * config/sh/sh.md (*cmp_div0s_0): Add missing constraints. gcc/testsuite/ Backport from mainline 2014-09-01 Oleg Endo <olegendo@gcc.gnu.org> PR target/62312 * gcc.c-torture/compile/pr62312.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@214805 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/pr60655-1.c: Don't add -fdata-sections optiondanglin2014-08-071-1/+1
| | | | | | | | on 32-bit hppa-hpux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213721 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/61684jakub2014-07-041-0/+15
| | | | | | | | | | * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it. * gcc.c-torture/compile/pr61684.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@212291 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/60556jakub2014-04-111-0/+8
| | | | | | | | | | | * expr.c (convert_move): Use emit_store_flag_force instead of emit_store_flag. Pass lowpart_mode instead of VOIDmode as 5th argument to it. * gcc.c-torture/compile/pr60556.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209300 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR debug/60655 part 2.ramana2014-04-101-0/+30
| | | | | | | | | | | | | | | | | | | 2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR debug/60655 * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's ameliorating the cases where it can be. 2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR debug/60655 * gcc.c-torture/compile/pr60655-2.c: Copy from pr60655-1.c without -fdata-sections. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209269 138bc75d-0d04-0410-961f-82ee72b054a4
* XFAIL gcc.c-torture/compile/pr28865.c on Solaris 9/SPARC (PR target/60602)ro2014-04-081-0/+2
| | | | | | | | PR target/60602 * gcc.c-torture/compile/pr28865.c: XFAIL on sparc*-*-solaris2.9* with as at -O0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209213 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/pr60655-1.c: Use __SIZE_TYPE__ for size_t.schwab2014-04-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209167 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR debug/60655 - part 1ramana2014-04-041-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a partial fix for PR60655 where dwarf2out.c rejects NOT of a value in const_ok_for_output_1. There is still a problem with the testcase on armhf where we get operations of the form, const (minus (const_int) (symref)) without the -fdata-sections option which is just weird. I'm not yet sure where this is produced from and will not have the time to dig further today. As Jakub said on IRC, const_ok_for_output_1 is called only with partial rtx's and therefore disabling minus (const_int) (symref) might not be the best thing to do especially if this were part of plus (symref) (minus (const int) (symref)) and both symrefs were in the same section. Bootstrapped and regtested on armhf Bootstrap and regression test running on x86_64. Ok to commit ? regards Ramana gcc/ <DATE> Jakub Jelinek <jakub@redhat.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * dwarf2out.c (const_ok_for_output_1): Reject expressions containing a NOT. gcc/testsuite <DATE> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * gcc.c-torture/compile/pr60655-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209121 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/compile/20010327-1.c: Disable test for LLP64 targets.ktietz2014-03-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208613 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60502jakub2014-03-121-0/+18
| | | | | | | | | | * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst instead of build_low_bits_mask. * gcc.c-torture/compile/pr60502.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208507 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/60071olegendo2014-03-011-0/+8
| | | | | | | | | | | | * config/sh/sh.md (*mov_t_msb_neg): Split into ... (*mov_t_msb_neg_negc): ... this new insn. PR target/60071 * gcc.c-torture/compile/pr60071.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208242 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/52714law2014-02-271-0/+25
| | | | | | | | | | | * combine.c (try_combine): When splitting an unrecognized PARALLEL into two independent simple sets, if I3 is a jump, ensure the pattern we place into I3 is a (set (pc) ...) PR rtl-optimization/52714 * gcc.c-torture/compile/pr52714.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208204 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/abel2014-02-241-0/+6
| | | | | | | | | | | | | | | | | | | | 2014-02-24 Andrey Belevantsev <abel@ispras.ru> PR rtl-optimization/60268 * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable initialization to ... (sched_rgn_init): ... here. (schedule_region): Check for SCHED_PRESSURE_NONE earlier. testsuite/ 2014-02-24 Andrey Belevantsev <abel@ispras.ru> PR rtl-optimization/60268 * gcc.c-torture/compile/pr60268.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208066 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-vect-loop.c (vect_is_slp_reduction): Don't setjakub2014-02-141-0/+21
| | | | | | | | | | | | use_stmt twice. (get_initial_def_for_induction, vectorizable_induction): Ignore debug stmts when looking for exit_phi. (vectorizable_live_operation): Fix up condition. * gcc.c-torture/compile/20140213.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207778 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/52306law2014-02-101-0/+84
| | | | | | | | | | | * reload1.c (emit_input_reload_insns): Do not create invalid RTL when changing the SET_DEST of a prior insn to avoid an input reload. PR middle-end-52306 * gcc.c-torture/compile/pr52306.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207662 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59919law2014-01-241-0/+18
| | | | | | | | | | * tree-vrp.c (find_assert_locations_1): Do not register asserts for non-returning calls. PR tree-optimization/59919 * gcc.c-torture/compile/pr59919.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207061 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/58344jakub2014-01-161-0/+12
| | | | | | | | | * expr.c (expand_expr_real_1): Handle init == NULL_TREE. * gcc.c-torture/compile/pr58344.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206685 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/28865nickc2014-01-161-0/+16
| | | | | | | | | | | | | | | | | | * varasm.c (output_constant): Return the number of bytes actually emitted. (output_constructor_array_range): Update the field size with the number of bytes emitted by output_constant. (output_constructor_regular_field): Likewise. Also do not complain if the total number of bytes emitted is now greater than the expected fieldpos. * output.h (output_constant): Update prototype and descriptive comment. * gcc.c-torture/compile/pr28865.c: New. * gcc.c-torture/execute/pr28865.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206661 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>krebbel2014-01-151-0/+27
| | | | | | | | | | | | | | * config/s390/s390.c (s390_preferred_reload_class): Don't return ADDR_REGS for invalid symrefs in non-PIC code. 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.c-torture/compile/pr59803.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206623 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/59743law2014-01-101-0/+23
| | | | | | | | | | | * ree.c (combine_reaching_defs): Ensure the defining statement occurs before the extension when optimizing extensions with different source and destination hard registers. PR middle-end/59743 * gcc.c-torture/compile/pr59743.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206545 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in gcc/rsandifo2014-01-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206289 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-23 Bingfeng Mei <bmei@broadcom.com>meibf2013-12-232-0/+15
| | | | | | | | | | | | PR middle-end/59569 * tree-vect-stmts.c (vectorizable_store): Skip permutation for consant operand, and add a few missing \n. * gcc.c-torture/compile/pr59569-1.c: New test. * gcc.c-torture/compile/pr59569-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206179 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-11 Bernd Edlinger <bernd.edlinger@hotmail.de>edlinger2013-12-111-0/+16
| | | | | | | | | | | | | | | | | | PR middle-end/59134 * expmed.c (store_bit_field): Use narrow_bit_field_mem and store_fixed_bit_field_1 for -fstrict-volatile-bitfields. (store_fixed_bit_field): Split up. Call store_fixed_bit_field_1 to do the real work. (store_fixed_bit_field_1): New function. (store_split_bit_field): Limit the unit size to the memory mode size, to prevent recursion. testsuite: * gcc.c-torture/compile/pr59134.c: New test. * gnat.dg/misaligned_volatile.adb: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205898 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59417jakub2013-12-111-0/+39
| | | | | | | | | | | | | | * tree-ssa-copy.c (fini_copy_prop): If copy_of[i].value is defined in a different bb rhan var, only duplicate points-to info and not alignment info and don't duplicate range info. * tree-ssa-loop-niter.c (determine_value_range): Instead of assertion failure handle inconsistencies in range info by only using var's range info and not PHI result range infos. * gcc.c-torture/compile/pr59417.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205884 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59386jakub2013-12-111-0/+24
| | | | | | | | | | * tree-inline.c (remap_gimple_stmt): If not id->do_not_unshare, unshare_expr (id->retval) before passing it to gimple_build_assign. * gcc.c-torture/compile/pr59386.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205883 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-09 Martin Jambor <mjambor@suse.cz>jamborm2013-12-095-50/+3
| | | | | | | | | | | | | * gcc.c-torture/compile/pr39834.c: Remove optimization level option. * gcc.c-torture/compile/pr48929.c: Likewise. * gcc.c-torture/compile/pr55569.c: Likewise. * gcc.c-torture/compile/sra-1.c: Likewise. * gcc.c-torture/compile/pr45085.c: Moved to... * gcc.dg/tree-ssa/pr45085.c: ...here, added compile dg-do. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205806 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59362jakub2013-12-031-0/+21
| | | | | | | | | | | | | | | | | | * tree-object-size.c (object_sizes): Change into array of vec<unsigned HOST_WIDE_INT>. (compute_builtin_object_size): Check computed bitmap for non-NULL instead of object_sizes. Call safe_grow on object_sizes vector if new SSA_NAMEs appeared. (init_object_sizes): Check computed bitmap for non-NULL. Call safe_grow on object_sizes elements instead of initializing it with XNEWVEC. (fini_object_sizes): Call release on object_sizes elements, don't set it to NULL. * gcc.c-torture/compile/pr59362.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205623 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59322law2013-12-031-0/+16
| | | | | | | | | | * tree-ssa-threadedge.c (create_edge_and_update_destination_phis): Remove code which copied jump threading paths. PR tree-optimization/59322 * gcc.c-torture/compile/pr59322.c: New test git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205617 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59102law2013-11-141-0/+28
| | | | | | | | | | | * gimple-ssa-isolate-paths.c (insert_trap_and_remove_trailing_statments): Ensure STMT is a gimple assignment before looking at gimple_assign_lhs. PR tree-optimization/59102 * gcc.c-torture/compile/pr59102.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204773 138bc75d-0d04-0410-961f-82ee72b054a4
* * PR middle-end/59119law2013-11-131-0/+23
| | | | | | | | | | | | | * gimple-ssa-isolate-paths.c (find_implicit_erroneous_behaviour): New function, extracted from gimple_ssa_isolate_erroneous_paths. (find_explicit_erroneous_behaviour): Similarly. (insert_trap_and_remove_trailing_statements): Remove statements in reverse order. * PR middle-end/59119 * gcc.c-torture/compile/pr59119.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204760 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/58970jakub2013-11-062-0/+22
| | | | | | | | | | | * expr.c (get_bit_range): Handle *offset == NULL_TREE. (expand_assignment): If *bitpos is negative, set *offset and adjust *bitpos, so that it is not negative. * gcc.c-torture/compile/pr58970.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204444 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/58997jakub2013-11-051-0/+19
| | | | | | | | | | | | | | * loop-iv.c (iv_subreg): For IV_UNKNOWN_EXTEND, expect get_iv_value to be in iv->mode rather than iv->extend_mode. (iv_extend): Likewise. Otherwise, if iv->extend != extend, use lowpart_subreg on get_iv_value before calling simplify_gen_unary. * loop-unswitch.c (may_unswitch_on): Make sure op[i] is in the right mode. * gcc.c-torture/compile/pr58997.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204413 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58978jakub2013-11-041-0/+16
| | | | | | | | | | | * tree-vrp.c (all_imm_uses_in_stmt_or_feed_cond): Don't modify use_stmt by single_imm_use directly. Only call single_imm_use on SSA_NAMEs. * gcc.c-torture/compile/pr58978.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204357 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58946jakub2013-11-041-0/+20
| | | | | | | | | | | * tree-ssa-reassoc.c (maybe_optimize_range_tests): Update all bbs with bbinfo[idx].op != NULL before all blocks with bbinfo[idx].op == NULL. * gcc.c-torture/compile/pr58946.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204348 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58775jakub2013-10-231-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/58791 * tree-ssa-reassoc.c (reassoc_stmt_dominates_stmt_p): New function. (insert_stmt_after): Rewritten, don't move the stmt, but really insert it. (get_stmt_uid_with_default): Remove. (build_and_add_sum): Use insert_stmt_after and reassoc_stmt_dominates_stmt_p. Fix up uid if bb contains only labels. (update_range_test): Set uid on stmts added by force_gimple_operand_gsi. Don't immediately modify statements in inter-bb optimization, just update oe->op values. (optimize_range_tests): Return bool whether any changed have been made. (update_ops): New function. (struct inter_bb_range_test_entry): New type. (maybe_optimize_range_tests): Perform statement changes here. (not_dominated_by, appears_later_in_bb, get_def_stmt, ensure_ops_are_available): Remove. (find_insert_point): Rewritten. (rewrite_expr_tree): Remove MOVED argument, add CHANGED argument, return LHS of the (new resp. old) stmt. Don't call ensure_ops_are_available, don't reuse SSA_NAMEs, recurse first instead of last, move new stmt at the right place. (linearize_expr, repropagate_negates): Don't reuse SSA_NAMEs. (negate_value): Likewise. Set uids. (break_up_subtract_bb): Initialize uids. (reassociate_bb): Adjust rewrite_expr_tree caller. (do_reassoc): Don't call renumber_gimple_stmt_uids. * gcc.dg/guality/pr58791-1.c: New test. * gcc.dg/guality/pr58791-2.c: New test. * gcc.dg/guality/pr58791-3.c: New test. * gcc.dg/guality/pr58791-4.c: New test. * gcc.dg/guality/pr58791-5.c: New test. * gcc.c-torture/compile/pr58775.c: New test. * gcc.dg/tree-ssa/reassoc-28.c: Don't scan reassoc1 dump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203979 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/target-supports.exp (check_effective_target_ptr32plus): Failnickc2013-10-018-11/+10
| | | | | | | | | | | | | | | for MSP430. * gcc.c-torture/compile/20010327-1.c: Only run the test for ptr32plus targets. * gcc.c-torture/compile/pr41181.c: Likewise. * gcc.c-torture/compile/calls.c: Likewise. * gcc.c-torture/compile/990617-1.c: Likewise. * gcc.c-torture/compile/pr55955.c: Only run the test for int32plus targets. * gcc.c-torture/compile/limits-externdecl.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203055 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/58332hubicka2013-09-171-0/+2
| | | | | | | | | | | | | | | * gcc.c-torture/compile/pr58332.c: New testcase. * cif-code.def (FUNCTION_NOT_OPTIMIZED): New CIF code. * ipa-inline.c (can_inline_edge_p): Do not downgrade FUNCTION_NOT_OPTIMIZED. * ipa-inline-analysis.c (compute_inline_parameters): Function not optimized is not inlinable unless it is alwaysinline. (inline_analyze_function): Force calls in not optimized function not inlinable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202661 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc/]ktkachov2013-09-171-0/+5
| | | | | | | | | | | | | | | | | | | 2013-09-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR tree-optimization/58088 * fold-const.c (mask_with_trailing_zeros): New function. (fold_binary_loc): Make sure we don't recurse infinitely when the X in (X & C1) | C2 is a tree of the form (Y * K1) & K2. Use mask_with_trailing_zeros where appropriate. [gcc/testsuite] 2013-09-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR tree-optimization/58088 * gcc.c-torture/compile/pr58088.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202652 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58343law2013-09-101-0/+15
| | | | | | | | | | | | | * tree-ssa-threadupdate.c (thread_block): Identify and disable jump threading requests through loop headers buried in the middle of a jump threading path. * tree-ssa-threadedge.c (thread_around_empty_blocks): Fix thinko in return value/type. * gcc.c-torture/compile/pr58343.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202441 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-threadedge.c (thread_across_edge): Fix initializationlaw2013-09-091-0/+16
| | | | | | | | of 'found'. * gcc.c-torture/compile/pr58340.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202379 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58164jakub2013-08-161-0/+8
| | | | | | | | | | * gimple.c (walk_stmt_load_store_addr_ops): For visit_addr walk gimple_goto_dest of GIMPLE_GOTO. * gcc.c-torture/compile/pr58164.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201782 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-07-21 Ondřej Bílka <neleai@seznam.cz>mrs2013-07-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-c++-common/pr41779.c: Fix typos. * gcc.c-torture/compile/20031125-2.c: Likewise. * gcc.c-torture/compile/20040621-1.c: Likewise. * gcc.c-torture/execute/20020418-1.c: Likewise. * gcc.dg/20020108-1.c: Likewise. * gcc.dg/atomic-generic-aux.c: Likewise. * gcc.dg/builtin-complex-err-2.c: Likewise. * gcc.dg/decl-1.c: Likewise. * gcc.dg/di-sync-multithread.c: Likewise. * gcc.dg/format/c90-printf-1.c: Likewise. * gcc.dg/format/ms_c90-printf-1.c: Likewise. * gcc.dg/long-long-compare-1.c: Likewise. * gcc.dg/plugin/start_unit_plugin.c: Likewise. * gcc.dg/pr17055-1.c: Likewise. * gcc.dg/pr27095.c: Likewise. * gcc.dg/torture/fp-int-convert.h: Likewise. * gcc.dg/tree-prof/inliner-1.c: Likewise. * gcc.dg/tree-ssa/20030731-1.c: Likewise. * gcc.dg/tree-ssa/forwprop-6.c: Likewise. * gcc.dg/tree-ssa/ipa-cp-1.c: Likewise. * gcc.dg/tree-ssa/loop-19.c: Likewise. * gcc.dg/tree-ssa/loop-1.c: Likewise. * gcc.dg/tree-ssa/pr21001.c: Likewise. * gcc.dg/tree-ssa/pr42585.c: Likewise. * gcc.dg/tree-ssa/ssa-dse-5.c: Likewise. * gcc.dg/vect/vect-cond-5.c: Likewise. * gcc.dg/weak/typeof-2.c: Likewise. * gcc.target/aarch64/aapcs64/abitest-common.h: Likewise. * gcc.target/arm/naked-1.c: Likewise. * gcc.target/i386/pr9771-1.c: Likewise. * gcc.target/sparc/sparc-constant-1.c: Likewise. * gcc.target/sparc/struct-ret-check.c: Likewise. * gcc.target/x86_64/abi/test_struct_returning.c: Likewise. * gfortran.dg/c_ptr_tests_8_funcs.c: Likewise. * objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201098 138bc75d-0d04-0410-961f-82ee72b054a4
* PR57698, only report errors from early inlining when optimization is turnedtmsriram2013-07-183-4/+19
| | | | | | | | | | | | | | | | | | off. PR middle-end/57698 * tree-inline.c (expand_call_inline): Emit errors during early_inlining only if optimization is not turned on. PR middle-end/57698 * gcc.c-torture/compile/pr57698.c: New test. * gcc.c-torture/compile/pr43791.c: Remove prune output directive. * gcc.c-torture/compile/pr44043.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201039 138bc75d-0d04-0410-961f-82ee72b054a4
* Emit errors when always_inline functions cannot be inlined in -O0 mode.tmsriram2013-06-182-0/+3
| | | | | | | | | | | | | * tree-inline.c (expand_call_inline): Allow the error to be flagged in early inline pass. * ipa-inline.c (inline_always_inline_functions): Pretend always_inline functions are inlined during failures to flag an error. * gcc.target/i386/inline_error.c: New test. * gcc.c-torture/compile/pr44043.c: Fix test to expect an error. * gcc.c-torture/compile/pr43791.c: Fix test to expect an error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200179 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-05-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>wschmidt2013-05-291-0/+26
| | | | | | | | | | | | | | | PR tree-optimization/57441 * gimple-ssa-strength-reduction.c (analyze_candidates_and_replace): Don't limit size of incr_vec to number of candidates. 2013-05-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/57441 * gcc.c-torture/compile/pr57441.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199414 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/57331jakub2013-05-211-0/+11
| | | | | | | | | | | * tree-vrp.c (simplify_cond_using_ranges): Don't optimize comparison of conversion from pointer type to integral type with integer. * gcc.c-torture/compile/pr57331.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199148 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:denisc2013-05-141-1/+1
| | | | | | | | | | | * config/avr/avr.c (avr_encode_section_info): Bail out if the type is error_mark_node. gcc/testsuite: * testsuite/gcc.c-torture/compile/limits-externdecl.c [target avr-*-*]: Expect "size of array is too large" error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198876 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/57108olegendo2013-05-121-0/+17
| | | | | | | | | * gcc.target/sh/pr57108.c: Move this test case to ... * gcc.c-torture/compile/pr57108.c: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198803 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56984jakub2013-04-181-0/+9
| | | | | | | | | | | * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N and (x >> M) >= N don't register any assertion if N << M is the minimum value. * gcc.c-torture/compile/pr56984.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198051 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud