summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/execute
Commit message (Collapse)AuthorAgeFilesLines
* PR tree-optimization/63302jakub2014-10-171-0/+60
| | | | | | | | | | | * tree-ssa-reassoc.c (optimize_range_tests_xor, optimize_range_tests_diff): Use !integer_pow2p () instead of tree_log2 () < 0. * gcc.c-torture/execute/pr63302.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@216392 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport r215136 from trunkdavidxl2014-09-101-0/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@215137 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-14 Thomas Preud'homme <thomas.preudhomme@arm.com>thopre012014-08-141-0/+23
| | | | | | | | | | | | | | | | | Backport from mainline 2014-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR middle-end/62103 * gimple-fold.c (fold_ctor_reference): Don't fold in presence of bitfields, that is when size doesn't match the size of type or the size of the constructor. gcc/testsuite/ PR middle-end/62103 * gcc.c-torture/execute/bitfld-6.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213941 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-08-01 Thomas Preud'homme <thomas.preudhomme@arm.com>thopre012014-08-011-0/+35
| | | | | | | | | | | | | | | | | Backport from mainline 2014-06-13 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR tree-optimization/61375 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Cancel optimization if symbolic number cannot be represented in an unsigned HOST_WIDE_INT. (execute_optimize_bswap): Cancel optimization if CHAR_BIT != 8. gcc/testsuite/ PR tree-optimization/61375 * gcc.c-torture/execute/pr61375-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213436 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/uweigand2014-07-244-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * config/rs6000/rs6000-protos.h (rs6000_special_adjust_field_align_p): Add prototype. * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p): New function. Issue -Wpsabi warning if future GCC releases will use different field alignment rules for this type. * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Call it. * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise. * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise. gcc/testsuite/ * gcc.target/powerpc/ppc64-abi-warn-3.c: New test. * gcc.c-torture/execute/20050316-1.x: Add -Wno-psabi. * gcc.c-torture/execute/20050604-1.x: Add -Wno-psabi. * gcc.c-torture/execute/20050316-3.x: New file. Add -Wno-psabi. * gcc.c-torture/execute/pr23135.x: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213021 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/61673jakub2014-07-081-0/+50
| | | | | | | | | | * combine.c (simplify_comparison): Test just mode's sign bit in tmode rather than the sign bit and any bits above it. * gcc.c-torture/execute/pr61673.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@212365 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/61725jakub2014-07-081-0/+14
| | | | | | | | | | | | * tree-vrp.c (extract_range_basic): Don't assume vr0 is unsigned range, use range_includes_zerop_p instead of integer_zerop on vr0->min, only use log2 of max if min is not negative. * gcc.dg/tree-ssa/vrp93.c: New test. * gcc.c-torture/execute/pr61725.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@212354 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-06-30 Thomas Preud'homme <thomas.preudhomme@arm.com>thopre012014-06-303-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | Backport from mainline 2014-06-20 Jakub Jelinek <jakub@redhat.com> 2014-06-11 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR tree-optimization/61306 * tree-ssa-math-opts.c (struct symbolic_number): Store type of expression instead of its size. (do_shift_rotate): Adapt to change in struct symbolic_number. Return false to prevent optimization when the result is unpredictable due to arithmetic right shift of signed type with highest byte is set. (verify_symbolic_number_p): Adapt to change in struct symbolic_number. (find_bswap_1): Likewise. Return NULL to prevent optimization when the result is unpredictable due to sign extension. (find_bswap): Adapt to change in struct symbolic_number. gcc/testsuite/ * gcc.c-torture/execute/pr61306-1.c: New test. * gcc.c-torture/execute/pr61306-2.c: Likewise. * gcc.c-torture/execute/pr61306-3.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@212133 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60960jakub2014-04-251-0/+38
| | | | | | | | | | * tree-vect-generic.c (expand_vector_operation): Only call expand_vector_divmod if type's mode satisfies VECTOR_MODE_P. * gcc.c-torture/execute/pr60960.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209803 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/60941ebotcazou2014-04-251-0/+23
| | | | | | | * config/sparc/sparc.md (ashlsi3_extend): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209791 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/60452ebotcazou2014-03-261-0/+10
| | | | | | | | * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment. <case REG>: Return 1 for invalid offsets from the frame pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208837 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60454jakub2014-03-121-0/+31
| | | | | | | | | * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection. * gcc.c-torture/execute/pr60454.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208509 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/graphite/pr46966.c: Only run on 32-bit+ targets.nickc2014-02-195-0/+34
| | | | | | | | | | | | | | | | | | | | * gcc.dg/pr23623.c: Likewise. * gcc.dg/pr48784-1.c: Likewise. * gcc.dg/pr48784-2.c: Likewise. * gcc.dg/pr56997-2.c: Likewise. * gcc.dg/sms-6.c: Likewise. * gcc.dg/torture/pr60183.c: Likewise. * gcc.dg/torture/vec-cvt-1.c: Likewise. * gcc.c-torture/execute/20061220-1.x: New. * gcc.c-torture/execute/pr43220.x: New. * gcc.c-torture/execute/pr51581-1.x: New. * gcc.c-torture/execute/pr51581-2.x: New. * gcc.c-torture/execute/pr58570.x: New. * gcc.c-torture/unsorted/DFcmp.x: New. * gcc.c-torture/unsorted/SFset.x: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207909 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/60116ebotcazou2014-02-121-0/+37
| | | | | | | | * combine.c (try_combine): Also remove dangling REG_DEAD notes on the other_insn once the combination has been validated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207713 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/60062jakub2014-02-062-0/+41
| | | | | | | | | | | | | * tree.h (opts_for_fn): New inline function. (opt_for_fn): Define. * config/i386/i386.c (ix86_function_regparm): Use opt_for_fn (decl, optimize) instead of optimize. * gcc.c-torture/execute/pr60062.c: New test. * gcc.c-torture/execute/pr60072.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207549 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/60017uros2014-02-021-0/+33
| | | | | | | | | | | | | | * config/i386/i386.c (classify_argument): Fix handling of bit_offset when calculating size of integer atomic types. testsuite/ChangeLog: PR target/60017 * gcc.c-torture/execute/pr60017.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207399 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60003jakub2014-02-011-0/+48
| | | | | | | | | | | | * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label. * profile.c (branch_prob): Use gimple_call_builtin_p to check for BUILT_IN_SETJMP_RECEIVER. * tree-inline.c (copy_bb): Call notice_special_calls. * gcc.c-torture/execute/pr60003.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207382 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59387jakub2014-01-161-0/+19
| | | | | | | * gcc.c-torture/execute/pr59387.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206678 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/28865nickc2014-01-161-0/+21
| | | | | | | | | | | | | | | | | | * 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
* * gcc.c-torture/execute/pr59747.c (fn1): Return a value.schwab2014-01-161-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206659 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59747law2014-01-151-0/+27
| | | | | | | | | | | | | * ree.c (find_and_remove_re): Properly handle case where a second eliminated extension requires widening a copy created for elimination of a prior extension. (combine_set_extension): Ensure that the number of hard regs needed for a destination register does not change when we widen it. PR tree-optimization/59747 * gcc.c-torture/execute/pr59747.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206638 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/58943jakub2014-01-151-0/+19
| | | | | | | | | | | | | | | | | * c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side effects, preevaluate rhs using SAVE_EXPR first. * c-omp.c (c_finish_omp_atomic): Set in_late_binary_op around build_modify_expr with non-NOP_EXPR opcode. Handle return from it being COMPOUND_EXPR. (c_finish_omp_for): Handle incr being COMPOUND_EXPR with first operand a SAVE_EXPR and second MODIFY_EXPR. * gcc.c-torture/execute/pr58943.c: New test. * gcc.dg/tree-ssa/ssa-fre-33.c (main): Avoid using += in the test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206620 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59643jakub2014-01-071-0/+39
| | | | | | | | | | | | * tree-predcom.c (split_data_refs_to_components): If one dr is read and one write, determine_offset fails and the write isn't in the bad component, just put the read into the bad component. * gcc.dg/pr59643.c: New test. * gcc.c-torture/execute/pr59643.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206384 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in gcc/rsandifo2014-01-023-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206289 138bc75d-0d04-0410-961f-82ee72b054a4
* Commit of nios2 port to trunk:cltang2013-12-313-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contrib/ 2013-12-31 Chung-Lin Tang <cltang@codesourcery.com> * config-list.mk: Add nios2-elf, nios2-linux-gnu. Corrected ordering of some configs. gcc/ 2013-12-31 Chung-Lin Tang <cltang@codesourcery.com> Sandra Loosemore <sandra@codesourcery.com> Based on patches from Altera Corporation * config.gcc (nios2-*-*): Add nios2 config targets. * configure.ac (TLS_SECTION_ASM_FLAG): Add nios2 case. ("$cpu_type"): Add nios2 as new cpu type. * configure: Regenerate. * config/nios2/nios2.c: New file. * config/nios2/nios2.h: New file. * config/nios2/nios2-opts.h: New file. * config/nios2/nios2-protos.h: New file. * config/nios2/elf.h: New file. * config/nios2/elf.opt: New file. * config/nios2/linux.h: New file. * config/nios2/nios2.opt: New file. * config/nios2/nios2.md: New file. * config/nios2/predicates.md: New file. * config/nios2/constraints.md: New file. * config/nios2/t-nios2: New file. * common/config/nios2/nios2-common.c: New file. * doc/invoke.texi (Nios II options): Document Nios II specific options. * doc/md.texi (Nios II family): Document Nios II specific constraints. * doc/extend.texi (Function Specific Option Pragmas): Document Nios II supported target pragma functionality. gcc/testsuite/ 2013-12-31 Sandra Loosemore <sandra@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com> Based on patches from Altera Corporation * gcc.dg/stack-usage-1.c (SIZE): Define case for __nios2__. * gcc.dg/20040813-1.c: Skip for nios2-*-*. * gcc.dg/20020312-2.c: Add __nios2__ case. * g++.dg/other/PR23205.C: Skip for nios2-*-*. * g++.dg/other/pr23205-2.C: Skip for nios2-*-*. * g++.dg/cpp0x/constexpr-rom.C: Skip for nios2-*-*. * g++.dg/cpp0x/alias-decl-debug-0.C: Skip for nios2-*-*. * g++.old-deja/g++.jason/thunk3.C: Skip for nios2-*-*. * lib/target-supports.exp (check_profiling_available): Check for nios2-*-elf. * gcc.c-torture/execute/pr47237.x:: Skip for nios2-*-*. * gcc.c-torture/execute/20101011-1.c: Skip for nios2-*-*. * gcc.c-torture/execute/builtins/lib/chk.c (memset): Place char-based memset loop before inline check, to prevent problems when called to initialize .bss. Update comments. * gcc.target/nios2/nios2.exp: New DejaGNU file. * gcc.target/nios2/nios2-custom-1.c: New test. * gcc.target/nios2/nios2-trap-insn.c: New test. * gcc.target/nios2/nios2-builtin-custom.c: New test. * gcc.target/nios2/nios2-builtin-io.c: New test. * gcc.target/nios2/nios2-stack-check-1.c: New test. * gcc.target/nios2/nios2-stack-check-2.c: New test. * gcc.target/nios2/nios2-rdctl.c: New test. * gcc.target/nios2/nios2-wrctl.c: New test. * gcc.target/nios2/nios2-wrctl-zero.c: New test. * gcc.target/nios2/nios2-wrctl-not-zero.c: New test. * gcc.target/nios2/nios2-rdwrctl-1.c: New test. * gcc.target/nios2/nios2-reg-constraints.c: New test. * gcc.target/nios2/nios2-ashlsi3-one_shift.c: New test. * gcc.target/nios2/nios2-mul-options-1.c: New test. * gcc.target/nios2/nios2-mul-options-2.c: New test. * gcc.target/nios2/nios2-mul-options-3.c: New test. * gcc.target/nios2/nios2-mul-options-4.c: New test. * gcc.target/nios2/nios2-nor.c: New test. * gcc.target/nios2/nios2-stxio.c: New test. * gcc.target/nios2/custom-fp-1.c: New test. * gcc.target/nios2/custom-fp-2.c: New test. * gcc.target/nios2/custom-fp-3.c: New test. * gcc.target/nios2/custom-fp-4.c: New test. * gcc.target/nios2/custom-fp-5.c: New test. * gcc.target/nios2/custom-fp-6.c: New test. * gcc.target/nios2/custom-fp-7.c: New test. * gcc.target/nios2/custom-fp-8.c: New test. * gcc.target/nios2/custom-fp-cmp-1.c: New test. * gcc.target/nios2/custom-fp-conversion.c: New test. * gcc.target/nios2/custom-fp-double.c: New test. * gcc.target/nios2/custom-fp-float.c: New test. * gcc.target/nios2/nios2-int-types.c: New test. * gcc.target/nios2/nios2-cache-1.c: New test. * gcc.target/nios2/nios2-cache-2.c: New test. libgcc/ 2013-12-31 Sandra Loosemore <sandra@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com> Based on patches from Altera Corporation * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases. * config/nios2/lib2-nios2.h: New file. * config/nios2/lib2-divmod-hi.c: New file. * config/nios2/linux-unwind.h: New file. * config/nios2/lib2-divmod.c: New file. * config/nios2/linux-atomic.c: New file. * config/nios2/t-nios2: New file. * config/nios2/crti.asm: New file. * config/nios2/t-linux: New file. * config/nios2/lib2-divtable.c: New file. * config/nios2/lib2-mul.c: New file. * config/nios2/tramp.c: New file. * config/nios2/crtn.asm: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206256 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59413jakub2013-12-201-0/+21
| | | | | | | * gcc.c-torture/execute/pr59413.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206147 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59388jakub2013-12-061-0/+11
| | | | | | | | | | * tree-ssa-reassoc.c (update_range_test): If op == range->exp, gimplify tem after stmt rather than before it. * gcc.c-torture/execute/pr59388.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205761 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/58726jakub2013-12-041-0/+26
| | | | | | | | | | * combine.c (force_to_mode): Fix comment typo. Don't destructively modify x for ROTATE, ROTATERT and IF_THEN_ELSE. * gcc.c-torture/execute/pr58726.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205664 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59358jakub2013-12-021-0/+44
| | | | | | | | | | | * tree-vrp.c (union_ranges): To check for the partially overlapping ranges or adjacent ranges, also compare *vr0max with vr1max. * gcc.c-torture/execute/pr59358.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205607 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59014jakub2013-11-271-0/+23
| | | | | | | * gcc.c-torture/execute/pr59014-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205454 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/59138ebotcazou2013-11-271-0/+34
| | | | | | | | * expr.c (emit_group_store): Don't write past the end of the structure. (store_bit_field): Fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205436 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59014jakub2013-11-261-0/+25
| | | | | | | | | | | * tree-vrp.c (register_edge_assert_for_1): Don't look through conversions from non-integral types or through narrowing conversions. * gcc.c-torture/execute/pr59014.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205417 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/59229jakub2013-11-261-0/+29
| | | | | | | | | | | | | * config/i386/i386.c (device_alg): Fix up formatting. (ix86_expand_set_or_movmem): Handle max_size < epilogue_size_needed similarly to count && count < epilogue_size_needed. Fix up comment typo. * builtins.c (determine_block_size): Fix comment typo. * gcc.c-torture/execute/pr59229.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205416 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/59221law2013-11-211-0/+19
| | | | | | | | | | * tree-ssa-threadedge.c (thread_across_edge): Properly manage temporary equivalences when threading through joiner blocks. PR tree-optimization/59221 * gcc.c-torture/execute/pr59221.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205229 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Fix 20101011-1.cmshawcroft2013-11-191-4/+3
| | | | | | | | | | | 2013-11-19 Cesar Philippidis <cesar@codesourcery.com> * gcc.c-torture/execute/20101011-1.c (__aarch64__): Remove defined(__linux__). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205035 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/59101jakub2013-11-141-0/+15
| | | | | | | | | | * config/i386/i386.md (*anddi_2): Only allow CCZmode if operands[2] satisfies_constraint_Z that might have bit 31 set. * gcc.c-torture/execute/pr59101.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204774 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58984jakub2013-11-051-0/+57
| | | | | | | | | | | | | | * ipa-prop.c (ipa_load_from_parm_agg_1): Add SIZE_P argument, set *SIZE_P if non-NULL on success. (ipa_load_from_parm_agg, ipa_analyze_indirect_call_uses): Adjust callers. (ipcp_transform_function): Likewise. Punt if size of access is different from TYPE_SIZE on v->value's type. * gcc.c-torture/execute/pr58984.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204385 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-30 Christian Bruel <christian.bruel@st.com>chrbr2013-10-301-1/+1
| | | | | | | | | | | * gcc/config/sh/sh-mem.cc (sh_expand_cmpnstr): New function. (sh_expand_cmpstr): Handle known align and schedule improvements. * gcc/config/sh/sh-protos.h (sh_expand_cmpstrn): Declare. * gcc/config/sh/sh.md (cmpstrnsi): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204206 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/58831ebotcazou2013-10-251-0/+40
| | | | | | | | * alias.c (init_alias_analysis): At the beginning of each iteration, set the reg_seen[N] bit if static_reg_base_value[N] is non-null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204055 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-24 Cong Hou <congh@google.com>congh2013-10-241-2/+2
| | | | | | | | | | | | | | | * convert.c (convert_to_real): Guard those unsafe math function convertions with flag_unsafe_math_optimizations. Handle sqrt() specially. 2013-10-24 Cong Hou <congh@google.com> * gcc.c-torture/execute/20030125-1.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204028 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-14 Richard Biener <rguenther@suse.de>rguenth2013-10-141-0/+35
| | | | | | | | PR tree-optimization/58640 * gcc.c-torture/execute/pr58640-2.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203516 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/58662ebotcazou2013-10-131-0/+22
| | | | | | | | * combine.c (try_combine): Take into account death nodes on I2 when splitting a PARALLEL of two independent SETs. Fix dump message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203498 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58640law2013-10-111-0/+32
| | | | | | | | | * tree-ssa-threadupdate.c (mark_threaded_blocks): Truncate jump threading paths that cross over two loop entry points. * gcc.c-torture/execute/pr58640.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203463 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/58570ebotcazou2013-10-091-0/+22
| | | | | | | | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): Return false if both components are bitfields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203315 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-01 Jakub Jelinek <jakub@redhat.com>krebbel2013-10-011-0/+219
| | | | | | | | | | | | | | | | | | | | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> PR target/58574 * config/s390/s390.c (s390_split_branches): Modify check for table jump insns. (s390_chunkify_start): Rearrange table jump insn check in order to deal with compare and branch insns correctly. 2013-10-01 Jakub Jelinek <jakub@redhat.com> PR target/58574 * gcc.c-torture/execute/pr58574.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203060 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/58564jakub2013-09-301-0/+14
| | | | | | | | | | * fold-const.c (fold_ternary_loc): For A < 0 : <sign bit of A> : 0 optimization, punt if sign_bit_p looked through any zero extension. * gcc.c-torture/execute/pr58564.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203042 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc/testsuite]ktkachov2013-09-181-2/+3
| | | | | | | | | 2013-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.c-torture/execute/pr58419.c (b): Change type to signed char. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202703 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/pr58387.c: New test.law2013-09-171-0/+11
| | | | | | | | | | | | | | | | * tree-ssa-dom.c (cprop_into_successor_phis): Also propagate edge implied equivalences into successor phis. * tree-ssa-threadupdate.c (phi_args_equal_on_edges): Moved into here from tree-ssa-threadedge.c. (mark_threaded_blocks): When threading through a joiner, if both successors of the joiner's clone reach the same block, verify the PHI arguments are equal. If not, cancel the jump threading request. * tree-ssa-threadedge.c (phi_args_equal_on_edges): Moved into tree-ssa-threadupdate.c (thread_across_edge): Don't check PHI argument equality when threading through joiner block here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202660 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/pr58419.c: New test.law2013-09-162-0/+68
| | | | | | * gcc.c-torture/execute/pr58431.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202635 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/58385jakub2013-09-111-0/+21
| | | | | | | | | | * fold-const.c (build_range_check): If both low and high are NULL, use omit_one_operand_loc to preserve exp side-effects. * gcc.c-torture/execute/pr58385.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202494 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud