summaryrefslogtreecommitdiffstats
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* [gcc]meissner2014-04-3020-16/+1532
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-04-30 Michael Meissner <meissner@linux.vnet.ibm.com> Back port from mainline 2014-04-24 Michael Meissner <meissner@linux.vnet.ibm.com> * doc/extend.texi (PowerPC Built-in Functions): Document new powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions. (PowerPC AltiVec/VSX Built-in Functions): Likewise. * config/rs6000/predicates.md (const_0_to_3_operand): New predicate to match 0..3 integer constants. * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros to support adding miscellaneous builtin functions. (BU_DFP_MISC_2): Likewise. (BU_P7_MISC_1): Likewise. (BU_P7_MISC_2): Likewise. (BU_P8V_MISC_3): Likewise. (BU_MISC_1): Likewise. (BU_MISC_2): Likewise. (DIVWE): Add extended divide builtin functions. (DIVWEO): Likewise. (DIVWEU): Likewise. (DIVWEUO): Likewise. (DIVDE): Likewise. (DIVDEO): Likewise. (DIVDEU): Likewise. (DIVDEUO): Likewise. (DXEX): Add decimal floating-point builtin functions. (DXEXQ): Likewise. (DDEDPD): Likewise. (DDEDPDQ): Likewise. (DENBCD): Likewise. (DENBCDQ): Likewise. (DIEX): Likewise. (DIEXQ): Likewise. (DSCLI): Likewise. (DSCLIQ): Likewise. (DSCRI): Likewise. (DSCRIQ): Likewise. (CDTBCD): Add new BCD builtin functions. (CBCDTD): Likewise. (ADDG6S): Likewise. (BCDADD): Likewise. (BCDADD_LT): Likewise. (BCDADD_EQ): Likewise. (BCDADD_GT): Likewise. (BCDADD_OV): Likewise. (BCDSUB): Likewise. (BCDSUB_LT): Likewise. (BCDSUB_EQ): Likewise. (BCDSUB_GT): Likewise. (BCDSUB_OV): Likewise. (PACK_TD): Add new pack/unpack 128-bit type builtin functions. (UNPACK_TD): Likewise. (PACK_TF): Likewise. (UNPACK_TF): Likewise. (UNPACK_TF_0): Likewise. (UNPACK_TF_1): Likewise. (PACK_V1TI): Likewise. (UNPACK_V1TI): Likewise. * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add support for decimal floating point builtin functions. (rs6000_expand_ternop_builtin): Add checks for the new builtin functions that take constant arguments. (rs6000_invalid_builtin): Add decimal floating point builtin support. (rs6000_init_builtins): Setup long double, _Decimal64, and _Decimal128 types for new builtin functions. (builtin_function_type): Set the unsigned flags appropriately for the new builtin functions. (rs6000_opt_masks): Add support for decimal floating point builtin functions. * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal floating point builtin functions. (RS6000_BTM_COMMON): Likewise. (RS6000_BTI_long_double): Likewise. (RS6000_BTI_dfloat64): Likewise. (RS6000_BTI_dfloat128): Likewise. (long_double_type_internal_node): Likewise. (dfloat64_type_internal_node): Likewise. (dfloat128_type_internal_node): Likewise. * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA 2.07 bcd arithmetic instructions. (UNSPEC_BCDSUB): Likewise. (UNSPEC_BCD_OVERFLOW): Likewise. (UNSPEC_BCD_ADD_SUB): Likewise. (bcd_add_sub): Likewise. (BCD_TEST): Likewise. (bcd<bcd_add_sub>): Likewise. (bcd<bcd_add_sub>_test): Likewise. (bcd<bcd_add_sub>_test2): Likewise. (bcd<bcd_add_sub>_<code>): Likewise. (peephole2 for combined bcd ops): Likewise. * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new decimal floating point builtin functions. (UNSPEC_DENBCD): Likewise. (UNSPEC_DXEX): Likewise. (UNSPEC_DIEX): Likewise. (UNSPEC_DSCLI): Likewise. (UNSPEC_DSCRI): Likewise. (D64_D128): Likewise. (dfp_suffix): Likewise. (dfp_ddedpd_<mode>): Likewise. (dfp_denbcd_<mode>): Likewise. (dfp_dxex_<mode>): Likewise. (dfp_diex_<mode>): Likewise. (dfp_dscli_<mode>): Likewise. (dfp_dscri_<mode>): Likewise. * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD builtin functions. (UNSPEC_CDTBCD): Likewise. (UNSPEC_CBCDTD): Likewise. (UNSPEC_DIVE): Add support for new extended divide builtin functions. (UNSPEC_DIVEO): Likewise. (UNSPEC_DIVEU): Likewise. (UNSPEC_DIVEUO): Likewise. (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to pack/unpack 128-bit types. (UNSPEC_PACK_128BIT): Likewise. (idiv_ldiv): New mode attribute to set the 32/64-bit divide type. (udiv<mode>3): Use idiv_ldiv mode attribute. (div<mode>3): Likewise. (addg6s): Add new BCD builtin functions. (cdtbcd): Likewise. (cbcdtd): Likewise. (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions. (div_extend): Likewise. (div<div_extend>_<mode>"): Likewise. (FP128_64): Add support for new builtin functions to pack/unpack 128-bit types. (unpack<mode>): Likewise. (unpacktf_0): Likewise. (unpacktf_1): Likewise. (unpack<mode>_dm): Likewise. (unpack<mode>_nodm): Likewise. (pack<mode>): Likewise. (unpackv1ti): Likewise. (packv1ti): Likewise. [gcc/testsuite] 2014-04-30 Michael Meissner <meissner@linux.vnet.ibm.com> Back port from mainline 2014-04-24 Michael Meissner <meissner@linux.vnet.ibm.com> * gcc.target/powerpc/pack01.c: New test to test the new pack and unpack builtin functionss for 128-bit types. * gcc.target/powerpc/pack02.c: Likewise. * gcc.target/powerpc/pack03.c: Likewise. * gcc.target/powerpc/extend-divide-1.c: New test to test extended divide builtin functionss. * gcc.target/powerpc/extend-divide-2.c: Likewise. * gcc.target/powerpc/bcd-1.c: New test for the new BCD builtin functions. * gcc.target/powerpc/bcd-2.c: Likewise. * gcc.target/powerpc/bcd-3.c: Likewise. * gcc.target/powerpc/dfp-builtin-1.c: New test for the new DFP builtin functionss. * gcc.target/powerpc/dfp-builtin-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209954 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60980jason2014-04-303-1/+20
| | | | | | * init.c (build_value_init): Don't try to call an array constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209936 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60951jason2014-04-303-1/+23
| | | | | | * typeck2.c (massage_init_elt): Use maybe_constant_init. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209935 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Don't overwrite memory if an archive has a bad file name.ian2014-04-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209923 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-301-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209921 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (addti3, subti3): New.pthaugen2014-04-295-0/+151
| | | | | | | | | * gcc.target/powerpc/ti_math1.c: New. * gcc.target/powerpc/ti_math2.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209912 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60971jakub2014-04-294-3/+58
| | | | | | | | | | * tree-tailcall.c (process_assignment): Reject conversions which reduce precision. * c-c++-common/turtore/pr60971.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209901 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/msp430/msp430.md (umulsidi): Fix typo.nickc2014-04-293-3/+10
| | | | | | | | | (mulhisi3): Enable even inside interrupt handlers. * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the bigger return address pushed in large mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209899 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209886 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/sync.md (AINT mode_iterator): Move definition.pthaugen2014-04-284-17/+101
| | | | | | | | | | | (loadsync_<mode>): Change mode. (load_quadpti, store_quadpti): New. (atomic_load<mode>, atomic_store<mode>): Add support for TI mode. * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209876 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Tweak GAS check for LEON instructions on SPARC.ebotcazou2014-04-286-3/+43
| | | | | | | | | | | | * configure: Regenerate. * config/sparc/sparc.opt (muser-mode): New option. * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable for LEON3. (atomic_compare_and_swap_leon3_1): New instruction for LEON3. * doc/invoke.texi (SPARC options): Document -muser-mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209851 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209847 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209834 138bc75d-0d04-0410-961f-82ee72b054a4
* Parallel profiledbootstrap is now supportedtrippels2014-04-262-2/+6
| | | | | | | | Parallel profiledbootstrap is supported on all maintained releases. So just remove a misleading outdated sentence, that states the opposite, from doc/install.texi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209827 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix out-of-bounds array accesses in ldexpxf3.vries2014-04-262-5/+11
| | | | | | | | | 2014-04-26 Tom de Vries <tom@codesourcery.com> * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds array accesses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209825 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/tree-ssa/alias-30.c (dg-options): Dump only fre1 details.uros2014-04-264-4/+12
| | | | | | | | | * gcc.dg/vect/pr60505.c: Cleanup vect tree dump. * g++.dg/ipa/devirt-27.C (dg-options): Remove -fdump-ipa-devirt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209822 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209817 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-c++-common/gomp/pr60823-2.c: Require effective targeturos2014-04-252-4/+8
| | | | | | | | vect_simd_clones. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209809 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60960jakub2014-04-254-1/+51
| | | | | | | | | | * 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-254-13/+32
| | | | | | | * 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
* 2014-04-25 Richard Biener <rguenther@suse.de>rguenth2014-04-254-25/+46
| | | | | | | | | | | | PR ipa/60912 * tree-ssa-structalias.c (ipa_pta_execute): Compute direct call stmt use/clobber sets during stmt walk instead of walking the possibly incomplete set of caller edges. * g++.dg/opt/pr60912.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209782 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-25 Richard Biener <rguenther@suse.de>rguenth2014-04-254-15/+52
| | | | | | | | | | | | PR ipa/60911 * passes.c (apply_ipa_transforms): Inline into only caller ... (execute_one_pass): ... here. Properly bring in function bodies for nodes we want to apply IPA transforms to. * gcc.dg/lto/pr60911_0.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209781 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209771 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/c/jakub2014-04-246-32/+89
| | | | | | | | | | | | | | | | | | | | | * c-parser.c (c_parser_omp_atomic): Allow seq_cst before atomic-clause, allow comma in between atomic-clause and seq_cst. gcc/cp/ * parser.c (cp_parser_omp_atomic): Allow seq_cst before atomic-clause, allow comma in between atomic-clause and seq_cst. gcc/testsuite/ * c-c++-common/gomp/atomic-16.c: Remove all dg-error directives. Replace load with read and store with write. libgomp/ * testsuite/libgomp.c++/atomic-14.C: Allow seq_cst and atomic type clauses in any order and optional comma in between. * testsuite/libgomp.c++/atomic-15.C: Likewise. * testsuite/libgomp.c/atomic-17.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209763 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define.jakub2014-04-245-14/+105
| | | | | | | | | | | | | | | | | | | | | | | | * gimplify.c (omp_is_private): Change last argument's type to int. Only diagnose lastprivate if the simd argument is 1, only diagnose linear if the simd argument is 2. (gimplify_omp_for): Adjust omp_is_private callers. When adding lastprivate or private, add the clause to OMP_FOR_CLAUSES. Pass GOVD_EXPLICIT to omp_add_variable. For simd with collapse == 1 create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var. If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ. * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle OMP_CLAUSE_LINEAR_GIMPLE_SEQ. * tree-nested.c (convert_nonlocal_omp_clauses, convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR. * testsuite/libgomp.c/simd-7.c: New test. * testsuite/libgomp.c/simd-8.c: New test. * testsuite/libgomp.c/simd-9.c: New test. * testsuite/libgomp.c/loop-16.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209761 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209730 138bc75d-0d04-0410-961f-82ee72b054a4
* Backport from mainlineuros2014-04-235-68/+87
| | | | | | | | | | | | | | | | | | | | | | | 2014-04-21 Uros Bizjak <ubizjak@gmail.com> PR target/60909 * config/i386/i386.c (ix86_expand_builtin) <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary register for target RTX. <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto. testsuite/ChangeLog: Backport from mainline 2014-04-21 Uros Bizjak <ubizjak@gmail.com> PR target/60909 * gcc.target/i386/pr60909-1.c: New test. * gcc.target/i386/pr60909-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209709 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-23 Richard Biener <rguenther@suse.de>rguenth2014-04-234-14/+45
| | | | | | | | | | | | | PR tree-optimization/60903 * tree-ssa-loop-im.c (analyze_memory_references): Remove commented code block. (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP loop flags to newly created BBs and edges. * gcc.dg/torture/pr60903.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209695 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/msp430/msp430.c (msp430_handle_option): Move functionnickc2014-04-239-95/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to msp430-common.c (msp430_option_override): Simplify mcu and mcpu option handling. (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult. Add support for -mhwmult command line option. (has_32bit_hwmult): Rename to use_32bit_hwmult. Add support for -mhwmult command line option. (msp430_hwmult_enabled): Delete. (msp43o_output_labelref): Add support for -mhwmult command line option. * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3) (umulsidi3): Likewise. * config/msp430/msp430.opt (mmcu): Add Report attribute. (mcpu, mlarge, msmall): Likewise. (mhwmult): New option. * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove prototype. (msp430_is_f5_mcu): Remove prototype. (msp430_use_f5_series_hwmult): Add prototype. * config/msp430/msp430-opts.h: New file. * common/config/msp430: New directory. * common/config/msp430/msp430-common.c: New file. * config.gcc (msp430): Remove target_has_targetm_common. * doc/invoke.texi: Document -mhwmult command line option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209686 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/cygwin.h (ENDFILE_SPEC): Includenickc2014-04-233-1/+9
| | | | | | | | default-manifest.o if it can be found in the search path. * config/i386/mingw32.h (ENDFILE_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209682 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-23 Richard Biener <rguenther@suse.de>rguenth2014-04-235-15/+82
| | | | | | | | | | | | | | | | Backport from mainline 2014-04-14 Richard Biener <rguenther@suse.de> PR lto/60720 * lto-streamer-out.c (wrap_refs): New function. (lto_output): Wrap symbol references in global initializes in type-preserving MEM_REFs. * gcc.dg/lto/pr60720_0.c: New testcase. * gcc.dg/lto/pr60720_1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209677 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-23 Richard Biener <rguenther@suse.de>rguenth2014-04-234-1/+44
| | | | | | | | | | PR middle-end/60895 * tree-inline.c (declare_return_variable): Use mark_addressable. * g++.dg/torture/pr60895.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209676 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-23 Richard Biener <rguenther@suse.de>rguenth2014-04-234-7/+44
| | | | | | | | | | | PR middle-end/60891 * loop-init.c (loop_optimizer_init): Make sure to apply LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops. * gcc.dg/torture/pr60891.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209674 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209668 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc]meissner2014-04-225-1/+52
| | | | | | | | | | | | | | | | | | | | | | 2014-04-21 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/60735 * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case): If mode is DDmode and TARGET_E500_DOUBLE allow move. * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some more debug information for E500 if -mdebug=reg. [gcc/testsuite] 2014-04-21 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/60735 * gcc.target/powerpc/pr60735.c: New test. Insure _Decimal64 does not cause errors if -mspe. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209664 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-22 Tobias Burnus <burnus@net-b.de>burnus2014-04-224-6/+110
| | | | | | | | | | | | | | | | | | | | | | | Backport from mainline 2014-04-11 Tobias Burnus <burnus@net-b.de> PR fortran/58880 PR fortran/60495 * resolve.c (gfc_resolve_finalizers): Ensure that vtables and finalization wrappers are generated. 2014-04-22 Tobias Burnus <burnus@net-b.de> Backport from mainline 2014-04-11 Tobias Burnus <burnus@net-b.de> PR fortran/58880 PR fortran/60495 * gfortran.dg/finalize_25.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209662 138bc75d-0d04-0410-961f-82ee72b054a4
* Use counter_mode on count_exp to get modehjl2014-04-224-1/+28
| | | | | | | | | | | | | | | | | | gcc/ Backport from mainline PR target/60868 * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode on count_exp to get mode. gcc/testsuite/ Backport from mainline PR target/60868 * gcc.target/i386/pr60868.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209651 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c/59073jakub2014-04-226-2/+35
| | | | | | | | | | | | | | c/ * c-parser.c (c_parser_omp_parallel): If c_parser_omp_for fails, don't set OM_PARALLEL_COMBINED and return NULL. cp/ * parser.c (cp_parser_omp_parallel): If cp_parser_omp_for fails, don't set OM_PARALLEL_COMBINED and return NULL. testsuite/ * c-c++-common/gomp/pr59073.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209647 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc]wschmidt2014-04-225-2/+83
| | | | | | | | | | | | | | | | | | | 2014-04-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian. (vsx_xxmrglw_<mode>): Likewise. [gcc/testsuite] 2014-04-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/merge-vsx.c: Add V4SI and V4SF tests. * gcc.dg/vmx/merge-vsx-be-order.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209638 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-22 Richard Biener <rguenther@suse.de>rguenth2014-04-224-4/+45
| | | | | | | | | | | | | | | Backport from mainline 2014-04-14 Richard Biener <rguenther@suse.de> PR middle-end/55022 * fold-const.c (negate_expr_p): Don't negate directional rounding division. (fold_negate_expr): Likewise. * gcc.dg/graphite/pr55022.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209633 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-22 Richard Biener <rguenther@suse.de>rguenth2014-04-224-1/+41
| | | | | | | | | | | | | | Backport from mainline 2014-04-17 Richard Biener <rguenther@suse.de> PR middle-end/60849 * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective boolean results for comparisons. * g++.dg/opt/pr60849.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209632 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-22 Richard Biener <rguenther@suse.de>rguenth2014-04-227-17/+250
| | | | | | | | | | | | | | | | | | | | | Backport from mainline 2014-04-17 Richard Biener <rguenther@suse.de> PR tree-optimization/60841 * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts. * tree-vect-loop.c (vect_analyze_loop_2): Pass down number of stmts to SLP build. * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise. (vect_analyze_slp): Likewise. (vect_analyze_slp_instance): Likewise. (vect_build_slp_tree): Limit overall SLP tree growth. * tree-vectorizer.h (vect_analyze_data_refs, vect_analyze_slp): Adjust prototypes. * gcc.dg/vect/pr60841.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209631 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-22 Richard Biener <rguenther@suse.de>rguenth2014-04-224-2/+62
| | | | | | | | | | | | | | Backport from mainline 2014-04-17 Richard Biener <rguenther@suse.de> PR tree-optimization/60836 * tree-vect-loop.c (vect_create_epilog_for_reduction): Force initial PHI args to be gimple values. * g++.dg/vect/pr60836.cc: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209630 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-22 Richard Biener <rguenther@suse.de>rguenth2014-04-224-1/+58
| | | | | | | | | | | | | | | Backport from mainline 2014-04-14 Richard Biener <rguenther@suse.de> Marc Glisse <marc.glisse@inria.fr> PR c/60819 * c-common.c (convert_vector_to_pointer_for_subscript): Properly apply may-alias the scalar pointer type when applicable. * gcc.target/i386/vec-may_alias.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209629 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-22 Richard Biener <rguenther@suse.de>rguenth2014-04-226-1/+77
| | | | | | | | | | | | | | | | | | Backport from mainline 2014-04-14 Richard Biener <rguenther@suse.de> PR tree-optimization/59817 PR tree-optimization/60453 * graphite-scop-detection.c (graphite_can_represent_scev): Complete recursion to catch all CHRECs in the scalar evolution and restrict the predicate for the remains appropriately. * gfortran.dg/graphite/pr59817.f: New testcase. * gcc.dg/graphite/pr59817-1.c: Likewise. * gcc.dg/graphite/pr59817-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209628 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60823jakub2014-04-227-33/+190
| | | | | | | | | | | | | | | | | | * omp-low.c (ipa_simd_modify_function_body): Go through all SSA_NAMEs and for those refering to vector arguments which are going to be replaced adjust SSA_NAME_VAR and, if it is a default definition, change it into a non-default definition assigned at the beginning of function from new_decl. (ipa_simd_modify_stmt_ops): Rewritten. * tree-dfa.c (set_ssa_default_def): When removing default def, check for NULL loc instead of NULL *loc. * c-c++-common/gomp/pr60823-1.c: New test. * c-c++-common/gomp/pr60823-2.c: New test. * c-c++-common/gomp/pr60823-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209626 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/60281jakub2014-04-223-2/+42
| | | | | | | | | | | | | * asan.c (asan_emit_stack_protection): Force the base to align to appropriate bits if STRICT_ALIGNMENT. Set shadow_mem align to appropriate bits if STRICT_ALIGNMENT. * cfgexpand.c (expand_stack_vars): Set base_align appropriately when asan is on. (expand_used_vars): Leave a space in the stack frame for alignment if STRICT_ALIGNMENT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209625 138bc75d-0d04-0410-961f-82ee72b054a4
* Backported from mainlinejakub2014-04-224-5/+69
| | | | | | | | | | | | | | | 2014-04-16 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/60844 * tree-ssa-reassoc.c (reassoc_remove_stmt): New function. (propagate_op_to_single_use, remove_visited_stmt_chain, linearize_expr, repropagate_negates, reassociate_bb): Use it instead of gsi_remove. * gcc.dg/pr60844.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209624 138bc75d-0d04-0410-961f-82ee72b054a4
* * BASE-VER: Set to 4.9.1.jakub2014-04-223-1/+7
| | | | | | | * DEV-PHASE: Set to prerelease. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209619 138bc75d-0d04-0410-961f-82ee72b054a4
* Mark as releasegccadmin2014-04-221-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209611 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud