summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/execute
Commit message (Collapse)AuthorAgeFilesLines
...
* PR tree-optimization/49073jakub2011-05-201-0/+26
| | | | | | | | | | | | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL if PHI argument is SSA_NAME, whose def_stmt is dominated by the PHI. * tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators. * gcc.c-torture/execute/pr49073.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173948 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/960321-1.x: Remove.ro2011-05-191-15/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173890 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/49039jakub2011-05-181-0/+26
| | | | | | | | | | | | | * tree-vrp.c (extract_range_from_binary_expr): For MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]> return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>]. * gcc.c-torture/execute/pr49039.c: New test. * gcc.dg/tree-ssa/pr49039.c: New test. * g++.dg/torture/pr49039.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173876 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/48809jakub2011-04-301-0/+60
| | | | | | | | | | | | | * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned type. (gen_inbound_check): Don't compute index_expr - range_min in utype again, instead reuse SSA_NAME initialized in build_arrays. Remove two useless gsi_for_stmt calls. * gcc.c-torture/execute/pr48809.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173207 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/48717jakub2011-04-221-0/+26
| | | | | | | | | | * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and ~A + A optimizations use build_int_cst_type instead of build_int_cst. * gcc.c-torture/execute/pr48717.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172868 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr42629.c: Add dg-require-effective-target int32plusgjl2011-04-202-0/+3
| | | | | | | | | | | | | | * gcc.c-torture/execute/cmpsi-2.c: Ditto * gcc.c-torture/execute/pr45262.c: Ditto * gcc.dg/torture/pr43165.c: Ditto. * gcc.dg/torture/pr47228.c: Ditto. * gcc.dg/tree-ssa/pr45144.c: Ditto. * gcc.dg/ipa/pr45644.c: Ditto. * gcc.c-torture/compile/pr43191.c: Ditto. Remove dg-skip-if for PDP11. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172757 138bc75d-0d04-0410-961f-82ee72b054a4
* Cleanup double words.mrs2011-04-102-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172245 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-03-24 Steve Ellcey <sje@cup.hp.com>sje2011-03-241-32/+0
| | | | | | | | | PR target/48209 * gcc.c-torture/execute/pr47917.c: Move this... * gcc.dg/torture/pr47917.c: to here and add xfails. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171404 138bc75d-0d04-0410-961f-82ee72b054a4
* * MAINTAINERS (crx port, m68hc11 port): Remove. Move maintainersjsm282011-03-225-25/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to Write After Approval. * config-ml.in: Don't handle arc-*-elf*. * configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe, m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't handle GCC libraries. * configure: Regenerate. contrib: * compare-all-tests (all_targets): Remove crx and m68hc11. fixincludes: * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe. gcc: * config/alpha/gnu.h: Remove. * config/arc: Remove directory. * config/arm/netbsd.h: Remove. * config/arm/t-pe: Remove. * config/crx: Remove directory. * config/i386/netbsd.h: Remove. * config/m68hc11: Remove directory. * config/m68k/uclinux-oldabi.h: Remove. * config/mcore/mcore-pe.h: Remove. * config/mcore/t-mcore-pe: Remove. * config/netbsd-aout.h: Remove. * config/rs6000/gnu.h: Remove. * config/sh/sh-symbian.h: Remove. * config/sh/symbian-base.c: Remove. * config/sh/symbian-c.c: Remove. * config/sh/symbian-cxx.c: Remove. * config/sh/symbian-post.h: Remove. * config/sh/symbian-pre.h: Remove. * config/sh/t-symbian: Remove. * config/svr3.h: Remove. * config/vax/netbsd.h: Remove. * config.build: Don't handle i[34567]86-*-pe. * config.gcc: Remove handling of deprecations for most deprecated targets. (m68k-*-uclinuxoldabi*): Add to second deprecated list. (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): Remove cases. * config.host: Don't handle i[34567]86-*-pe. * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. (ASM_SPEC32): Don't handle -mcall-gnu. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle -mcall-gnu. (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. * config/sh/sh-protos.h, config/sh/sh.c: Remove all code conditional on SYMBIAN. * configure.ac: Don't handle powerpc*-*-gnu*. * configure: Regenerate. * doc/extend.texi (interrupt attribute): Don't mention CRX. * doc/install-old.texi (m6811, m6812): Don't mention. * doc/install.texi (arc-*-elf*): Don't document multilib option. (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. (m68k-uclinuxoldabi): Don't mention. * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): Remove. (-mcall-gnu): Remove. * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 families): Remove constraint documentation. gcc/testsuite: * gcc.c-torture/execute/920501-8.x: Remove. * gcc.c-torture/execute/930513-1.x: Remove. * gcc.c-torture/execute/960312-1.x: Remove. * gcc.c-torture/compile/20000804-1.c, gcc.c-torture/compile/20001205-1.c, gcc.c-torture/compile/20001226-1.c, gcc.c-torture/compile/20010518-2.c, gcc.c-torture/compile/20020312-1.c, gcc.c-torture/compile/20020604-1.c, gcc.c-torture/compile/920501-12.c, gcc.c-torture/compile/920501-4.c, gcc.c-torture/compile/920520-1.c, gcc.c-torture/compile/980506-1.c, gcc.c-torture/execute/980709-1.x, gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special options for m68hc11. * gcc.dg/cpp/assert4.c: Don't handle ARC. * gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or m68hc11. libgcc: * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*, powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): Remove cases. libstdc++-v3: * configure.ac: Don't handle powerpc*-*-gnu*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171302 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/42544jakub2011-03-212-0/+39
| | | | | | | | | | | | PR c/48197 * c-common.c (shorten_compare): If primopN is first sign-extended to opN and then zero-extended to result type, set primopN to opN. * gcc.c-torture/execute/pr42544.c: New test. * gcc.c-torture/execute/pr48197.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171252 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/47917jakub2011-03-141-0/+32
| | | | | | | | | | | | * builtins.c (fold_builtin_snprintf): New function. (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. (fold_builtin_4): Likewise. * gcc.c-torture/execute/pr47917.c: New test. * gcc.dg/pr47917.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170959 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/rsandifo2011-03-141-0/+62
| | | | | | | | PR rtl-optimization/47166 * gcc.c-torture/execute/postmod-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170939 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2011-03-021-0/+24
| | | | | | | | | | | | | PR rtl-optimization/47925 * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions with side effects. Remove the more-specific check for volatile asms. gcc/testsuite/ PR rtl-optimization/47925 * gcc.c-torture/execute/pr47925.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170613 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/47538jakub2011-01-311-0/+73
| | | | | | | | | | | | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use type instead of r1type, except for comparisons. For right shifts and comparisons punt if there are mismatches in sizetype vs. non-sizetype types. * gcc.c-torture/execute/pr47538.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169441 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47237hubicka2011-01-261-0/+22
| | | | | | | | | | | | | | | | | | | | | | | * cgraph.h (cgraph_local_info): New field can_change_signature. * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee signature can change. (ipcp_estimate_growth): Call sequence simplify only if calle signature can change. (ipcp_insert_stage): Only compute args_to_skip if signature can change. (cgraph_function_versioning): We can not change signature of functions that don't allow that. * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. (lto_input_node): Likewise. * ipa-inline.c (compute_inline_parameters): Compute local.can_change_signature. * ipa-split.c (visit_bb): Never split away APPLY_ARGS. * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions that can not change signature. * i386.c (ix86_function_regparm, ix86_function_sseregparm, init_cumulative_args): Do not use local calling conventions for functions that can not change signature. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169290 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/47337jakub2011-01-191-0/+86
| | | | | | | | | | * dce.c (check_argument_store): New function. (find_call_stack_args): Ignore debug insns. Use check_argument_store. * gcc.c-torture/execute/pr47337.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168997 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/47299jakub2011-01-181-0/+17
| | | | | | | | | | | | | | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use subtarget. Use normal multiplication if both operands are constants. * expmed.c (expand_widening_mult): Don't try to optimize constant multiplication if op0 has VOIDmode. Convert op1 constant to mode before using it. * gcc.c-torture/execute/pr47299.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168944 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/rsandifo2011-01-161-0/+4
| | | | | | | | * gcc.c-torture/execute/20101011-1.c: Skip test for MIPS16 Linux-based targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168875 138bc75d-0d04-0410-961f-82ee72b054a4
* Get builtins tests ready for linker plugin.hubicka2011-01-075-12/+24
| | | | | | | | | | | | * gcc.c-torture/execute/builtins/memcpy-chk.c (s2,s3,l1): Mark volatile. * gcc.c-torture/execute/builtins/memops-asm-lib.c (my_memcpy, my_bcopy, my_memset, my_bzero): Mark used. * gcc.c-torture/execute/builtins/memset-chk.c (l1, l3): Mark volatile. * gcc.c-torture/execute/builtins/memmove-chk.c (s1,s2,s3,l1): Mark volatile. * gcc.c-torture/execute/builtins/mempcpy-chk.c (s2,s3,l1): Mark volatile git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168588 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/47148jakub2011-01-031-0/+32
| | | | | | | | | | * ipa-split.c (split_function): Convert arguments to DECL_ARG_TYPE if possible. * gcc.c-torture/execute/pr47148.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168441 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/47155jakub2011-01-031-0/+14
| | | | | | | | | | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type when computing uns. * gcc.c-torture/execute/pr47155.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168440 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.pkoning2010-12-311-2/+2
| | | | | | | | | | * gcc.c-torture/compile/20000804-1.c: Skip if pdp11 -O0. * gcc.c-torture/compile/20020312-1.c: Ditto. * gcc.c-torture/compile/20040101-1.c: Skip if pdp11 -O1, -O2, or -Os. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168370 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/46909jakub2010-12-142-0/+44
| | | | | | | | | | | | | | | | | | | * gimple-fold.c (and_var_with_comparison_1): Save partial result even in the is_and case, if both partial results are the same, return it. (or_var_with_comparison_1): Use is_or predicate instead of innercode == TRUTH_OR_EXPR test. Save partial result even in the is_or case, if both partial results are the same, return it. In the !is_or case when both partial results are the same, return the partial result instead of boolean_true_node. * gcc.c-torture/execute/pr46909-1.c: New test. * gcc.c-torture/execute/pr46909-2.c: New test. * gcc.dg/pr46909.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167800 138bc75d-0d04-0410-961f-82ee72b054a4
* * snprintf-chk.c (ptr): Declare volatile.hubicka2010-12-055-7/+7
| | | | | | | | | | * strcpy-chk.c (s2, s3, l1): Declare volatile. * snprintf-chk.c (ptr): Declare volatile. * vsprintf-chk.c (ptr): Declare volatile. * vsnprintf-chk.c (ptr): Declare volatile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167466 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/bcp-1.c: Make ready for -fuse-linker-pluginhubicka2010-12-011-6/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167353 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/45830jakub2010-11-191-0/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | * stmt.c (expand_switch_using_bit_tests_p): New function. (expand_case): Use it. * tree.h (expand_switch_using_bit_tests_p): New prototype. * tree-switch-conversion.c (struct switch_conv_info): Add bit_test_uniq, bit_test_count and bit_test_bb fields. (check_range): Fix a comment. (check_process_case): Compute bit_test_uniq and bit_test_count. (create_temp_arrays): Use XCNEWVEC, merge 3 arrays into one allocation. (free_temp_arrays): Use XDELETEVEC, adjust for the 3 arrays merging. (constructor_contains_same_values_p): Use FOR_EACH_VEC_ELT. (array_value_type): New function. (build_one_array): Use it, if it returned different type, fold_convert all constructor fields and convert back to the wider type in the generated code. (process_switch): Initialize bit_test_uniq, bit_test_count and bit_test_bb fields. Don't optimize if expand_switch_using_bit_tests_p returned true. * gcc.target/i386/pr45830.c: New test. * gcc.c-torture/execute/pr45830.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166966 138bc75d-0d04-0410-961f-82ee72b054a4
* fix changelog error davidxl2010-11-091-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166472 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ro2010-11-083-119/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/i386/i386.c (ix86_function_arg_boundary): Fix warning message. gcc/testsuite: * gcc.dg/pr35442.c: Adapt warning. PR target/46280 * g++.dg/eh/simd-2.C: Add -msse to dg-options, add dg-require-effective-target sse_runtime for for i?86-*-*, x86_64-*-*. * g++.dg/torture/pr36444.C: Add dg-options -msse for i?86-*-* x86_64-*-*. * g++.dg/torture/pr36445.C: Likewise. * gcc.c-torture/compile/pr34856.c: Likewise. * gcc.c-torture/compile/pr39928-1.c: Likewise. * gcc.c-torture/compile/vector-1.c: Likewise. * gcc.c-torture/compile/vector-2.c: Likewise. * gcc.dg/pr32912-1.c: Likewise. * gcc.c-torture/execute/va-arg-25.c: Move ... * gcc.dg/torture/va-arg-25.c: ... here. Add dg-do run. Add dg-options -msse, dg-require-effective-target sse_runtime for for i?86-*-*, x86_64-*-*. * gcc.c-torture/execute/vector-1.c: Likewise. * gcc.c-torture/execute/vector-2.c: Likewise. * gcc.dg/tree-ssa/forwprop-5.c: Add -msse to dg-options for i?86-*-*, x86_64-*-*. * gcc.dg/tree-ssa/fre-vce-1.c: Likewise. * gcc.dg/tree-ssa/sra-4.c: Likewise. * gcc.dg/tree-ssa/vector-1.c: Likewise. * gcc.dg/tree-ssa/vector-2.c: Likewise. * gcc.target/i386/vect-args.c: Add -Wno-psabi to dg-options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166444 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-11-05 Steve Ellcey <sje@cup.hp.com>sje2010-11-051-75/+0
| | | | | | | | | | * lib/target-supports.exp (check_function_available): Use -fno-builtin. * (check_effective_target_mempcpy): New. * gcc.c-torture/execute/pr45636.c: Move this... * gcc.dg/torture/pr45636.c: to here. Add add dg- directives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166378 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/rsandifo2010-10-311-0/+6
| | | | | | | | * gcc.c-torture/execute/20101011-1.c: Skip for MIPS unless running the Linux kernel. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166107 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-29 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>rguenth2010-10-293-0/+124
| | | | | | | | | | | | | | | | | | | | | | Andrew Pinski <pinskia@gmail.com> * tree.h (build_vector_from_val): Declare. * tree.c (build_vector_from_val): New function. * c-typeck.c (build_binary_op): Handle vector shifting. * doc/extend.texi: Description of the vector shifting operation. testsuite/ * gcc.c-torture/execute/vector-shift.c: New testcase. * gcc.c-torture/execute/vector-shift1.c: Likewise. * gcc.c-torture/execute/vector-shift2.c: Likewise. * gcc.dg/vector-shift.c: Likewise. * gcc.dg/vector-shift1.c: Likewise. * gcc.dg/torture/vector-shift2.c: Likewise. * gcc.dg/vector-shift3.c: Likewise. * gcc.dg/simd-1b.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166061 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/20101011-1.c: Skip on SH.kkojima2010-10-291-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166056 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/20101011-1.c: Fix #ifdef.pthaugen2010-10-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166049 138bc75d-0d04-0410-961f-82ee72b054a4
* Properly align parameters on stack for x86.hjl2010-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ 2010-10-26 H.J. Lu <hongjiu.lu@intel.com> PR target/44948 * config/i386/i386.c (ix86_old_function_arg_boundary): New. (ix86_function_arg_boundary): Always align parameters on stack in 64bit and align parameters with alignment >= 16byte on stack in 32bit. Warn alignment change. gcc/testsuite/ 2010-10-26 H.J. Lu <hongjiu.lu@intel.com> PR target/44948 * g++.dg/abi/param2.C: Add -Wno-psabi for ilp32 x86. * g++.dg/vect/pr33860a.cc: Likewise. * gcc.c-torture/compile/20070522-1.c: Likewise. * gcc.dg/compat/struct-align-1_x.c: Likewise. * gcc.dg/compat/struct-align-1_y.c: Likewise. * gcc.dg/compat/struct-align-2_x.c: Likewise. * gcc.dg/compat/struct-align-2_y.c: Likewise. * gcc.dg/pr44136.c: Likewise. * gcc.c-torture/compile/pr33617.c: Add -Wno-psabi for x86. * gcc.dg/compat/vector-1_x.c: Likewise. * gcc.dg/compat/vector-1_y.c: Likewise. * gcc.dg/compat/vector-2_x.c: Likewise. * gcc.dg/compat/vector-2_y.c: Likewise. * gcc.dg/pr43300.c: Likewise. * gcc.dg/compat/vector-1a_x.c: Add -Wno-psabi. * gcc.dg/compat/vector-1a_y.c: Likewise. * gcc.dg/compat/vector-1b_x.c: Likewise. * gcc.dg/compat/vector-1b_y.c: Likewise. * gcc.dg/compat/vector-2a_x.c: Likewise. * gcc.dg/compat/vector-2a_y.c: Likewise. * gcc.dg/compat/vector-2b_x.c: Likewise. * gcc.dg/compat/vector-2b_y.c: Likewise. * gcc.target/i386/pr39162.c: Likewise. * gcc.target/i386/pr40906-2.c: Likewise. * gcc.target/i386/sse-5.c: Likewise. * gcc.dg/pr35442.c: Prune ABI change warnings. * gcc.c-torture/execute/pr38151.x: New. * gcc.target/i386/pr44948-1a.c: Likewise. * gcc.target/i386/pr44948-1b.c: Likewise. * gcc.target/i386/pr44948-2a.c: Likewise. * gcc.target/i386/pr44948-2b.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165965 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/:ian2010-10-261-0/+30
| | | | | | | | | | | PR middle-end/45687 * ipa-prop.c (ipa_modify_call_arguments): Correct type of MEM_REF offset. gcc/testsuite: * gcc.c-torture/execute/20101025-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165964 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/:ian2010-10-232-0/+47
| | | | | | | | | | | | * tree-vrp.c (extract_range_from_binary_expr): If flag_non_call_exceptions don't eliminate division by zero. * simplify-rtx.c (simplify_binary_operation_1): Likewise. gcc/testsuite/: * gcc.c-torture/execute/20101011-1.c: New test. * gcc.c-torture/execute/20101011-1.x: New test driver. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165884 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>rguenth2010-10-223-0/+153
| | | | | | | | | | | | | | | | | | | | | | | Andrew Pinski <pinskia@gmail.com> * c-typeck.c (build_array_ref): Handle subscripting of vectors. * doc/extend.texi: New paragraph c-family/ * c-common.h (c_common_mark_addressable_vec): Declare. * c-common.c (c_common_mark_addressable_vec): New function. testsuite/ * gcc.c-torture/execute/vector-subscript-1.c: Likewise. * gcc.c-torture/execute/vector-subscript-2.c: Likewise. * gcc.c-torture/execute/vector-subscript-3.c: New testcase. * gcc.dg/vector-subscript-1.c: Likewise. * gcc.dg/vector-subscript-2.c: Likewise. * gcc.dg/vector-subscript-3.c: New testcase. * gcc.dg/array-8.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165861 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/46019jakub2010-10-181-0/+14
| | | | | | | | | | * fold-const.c (fold_binary_loc): If integer_pow2p has TREE_INT_CST_LOW zero, look at TREE_INT_CST_HIGH. * gcc.c-torture/execute/pr46019.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165610 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/45912ebotcazou2010-10-131-0/+36
| | | | | | | | * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Test the regno of registers instead of their index to compute the alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165437 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 45856eager2010-10-132-79/+79
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165410 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/45636jakub2010-10-121-0/+75
| | | | | | | | | | | | | * tree-ssa-forwprop.c: Include expr.h. (constant_pointer_difference, simplify_builtin_call): New functions. (tree_ssa_forward_propagate_single_use_vars): Call simplify_builtin_call on builtin calls. * gcc.c-torture/execute/pr45636.c: New test. * gfortran.dg/pr45636.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165401 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc.c-torture/execute/cmpsi-2.c : Unsigned comparisons should use hariharans2010-10-061-4/+4
| | | | | | | | | unsigned values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165016 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace FLOAT_MIN, FLOAT_MAX to __FLT_MIN__, __FLT_MAX__.eager2010-09-301-10/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164816 138bc75d-0d04-0410-961f-82ee72b054a4
* Check in support for Xilinx MicroBlaze processor. eager2010-09-302-0/+368
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164756 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/45695jakub2010-09-201-0/+32
| | | | | | | | | | | * combine.c (try_combine): When splitting a two set pattern, make sure the pattern which will be put into i2 doesn't use REGs or MEMs set by insns in between i2 and i3. * gcc.c-torture/execute/pr45695.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164431 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-09-09 Vladimir Makarov <vmakarov@redhat.com>vmakarov2010-09-092-0/+101
| | | | | | | | | | | | | | | | PR middle-end/40386 * ira.c (pseudo_for_reload_consideration_p): Don't use flag_ira_share_spill_slots. 2010-09-09 Vladimir Makarov <vmakarov@redhat.com> PR middle-end/40386 * gcc.c-torture/execute/{pr40386.c,pr40386.x}: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164100 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-09-01 Richard Guenther <rguenther@suse.de>rguenth2010-09-011-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | * tree-vrp.c (adjust_range_with_scev): Use number of iteration estimate. (vrp_visit_phi_node): Delay using SCEV till we balloon the range. (execute_vrp): Compute number of iteration estimates. * cfgloop.h (estimate_numbers_of_iterations_loop): Adjust prototype. * tree-flow.h (estimate_numbers_of_iterations): Likewise. * tree-data-ref.c (estimated_loop_iterations): Adjust. * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Infer loop bounds from undefined behavior based on a new parameter. (estimate_numbers_of_iterations): Likewise. (scev_probably_wraps_p): Adjust. * tree-ssa-loop.c (tree_ssa_loop_bounds): Likewise. * gcc.dg/vect/vect-outer-fir.c: Adjust. * gcc.dg/tree-ssa/vrp54.c: New testcase. * gcc.c-torture/execute/20100827-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163724 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/44858jakub2010-08-251-0/+28
| | | | | | | | | | * combine.c (try_combine): If recog_for_combine added CLOBBERs to newi2pat, make sure they don't affect newpat. * gcc.c-torture/execute/pr44858.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163552 138bc75d-0d04-0410-961f-82ee72b054a4
* For Ian Bolton <ian.bolton@arm.com>ramana2010-08-191-0/+52
| | | | | | | | | | | | 2010-08-19 Ian Bolton <ian.bolton@arm.com> PR target/45070 * gcc.c-torture/execute/pr45070.c: New. * config/arm/arm.c (arm_output_epilogue): Ensure that return value of size 1-3 is handled correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163367 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/45262jakub2010-08-121-0/+33
| | | | | | | | | | * fold-const.c (make_range) <case NEGATE_EXPR>: Punt if -a overflows. Normalize the range. * gcc.c-torture/execute/pr45262.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163193 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud