- 28 Feb, 2016 6 commits
-
-
2016-02-28 Harald Anlauf <anlauf@gmx.de> Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/56007 * match.c (gfc_match_iterator): Add diagnostic for array variable as do loop index. * gfortran.dg/coarray_8.f90: Adjust error message. * gfortran.dg/pr56007.f90: New test. * gfortran.dg/pr56007.f: New test. Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org> From-SVN: r233795
Harald Anlauf committed -
PR tree-optimization/69989 * gcc.dg/torture/pr69989.c: New test. From-SVN: r233792
H.J. Lu committed -
From-SVN: r233791
Eric Botcazou committed -
2016-02-28 Harald Anlauf <anlauf@gmx.de> PR fortran/60126 * gfortran.dg/pr60126.f90: New test. From-SVN: r233790
Harald Anlauf committed -
2016-02-26 Richard Biener <rguenther@suse.de> Jeff Law <law@redhat.com> PR tree-optimization/69740 * cfghooks.c (remove_edge): Request loop fixups if we delete an edge that might turn an irreducible loop into a natural loop. Revert 2016-02-26 Richard Biener <rguenther@suse.de> Jeff Law <law@redhat.com> PR tree-optimization/69740 * gcc.c-torture/compile/pr69740-1.c: New test. * gcc.c-torture/compile/pr69740-2.c: New test. From-SVN: r233787
Jeff Law committed -
From-SVN: r233786
GCC Administrator committed
-
- 27 Feb, 2016 6 commits
-
-
Fix ChangeLogs From-SVN: r233783
Jerry DeLisle committed -
2016-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> Steven G. Kargl <kargl@gcc.gnu.org> PR fortran/69110 * io.c (gfc_match_open): Check that open status is an expression constant before comparing string to 'scratch' with NEWUNIT. * gfortran.dg/newunit_4.f90: New test. Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org> From-SVN: r233782
Jerry DeLisle committed -
PR target/69613 PR rtl-optimization/69886 * gcc.dg/torture/pr69886.c: Add -w -Wno-psabi to dg-options. * gcc.dg/torture/pr69613.c: Likewise. Guard -mavx with avx_runtime target. From-SVN: r233781
Jakub Jelinek committed -
From-SVN: r233779
Alessandro Fanfarillo committed -
PR rtl-optimization/69896 * tree-vect-generic.c (get_compute_type): Avoid single element vector types. From-SVN: r233777
Jakub Jelinek committed -
From-SVN: r233775
GCC Administrator committed
-
- 26 Feb, 2016 28 commits
-
-
Rename the tuning option and related functions to enable the Newton series for the reciprocal square root to reflect its approximative characteristic. gcc/ * config/aarch64/aarch64-protos.h (aarch64_emit_swrsqrt): Rename function to "aarch64_emit_approx_rsqrt". * config/aarch64/aarch64-tuning-flags.def: Rename tuning flag to AARCH64_EXTRA_TUNE_APPROX_RSQRT. * config/aarch64/aarch64.c (exynosm1_tunigs): Use new flag name. (xgene1_tunings): Likewise. (use_rsqrt_p): Likewise. (aarch64_emit_swrsqrt): Use new function name. * config/aarch64/aarch64-simd.md (aarch64_rsqrts_*): Likewise. * config/aarch64/aarch64.opt (mlow-precision-recip-sqrt): Reword the text explaining this option. * doc/invoke.texi (-mlow-precision-recip-sqrt): Likewise. From-SVN: r233772
Evandro Menezes committed -
PR tree-optimization/15826 - don't use "if" to extract a single bit bit-field 2016-02-26 Martin Sebor <msebor@redhat.com> PR tree-optimization/15826 * gcc.dg/tree-ssa/pr15826.c: New test. From-SVN: r233771
Martin Sebor committed -
PR target/69969 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't complain about -mallow-movmisalign without -mvsx if TARGET_ALLOW_MOVMISALIGN was not set explicitly. * gcc.target/powerpc/pr69969.c: New test. From-SVN: r233767
Jakub Jelinek committed -
gcc/testsuite/ChangeLog: 2016-02-26 Martin Sebor <msebor@redhat.com> PR c++/15766 * g++.old-deja/g++.other/decl5.C: Add a test case. From-SVN: r233765
Martin Sebor committed -
2016-02-26 Joel Sherrill <joel@rtems.org> * config-list.mk: Add aarch64-rtems and x86_64-rtems From-SVN: r233763
Joel Sherrill committed -
2016-02-26 Joel Sherrill <joel@rtems.org> * config.host: Add x86_64-*-rtems*. From-SVN: r233762
Joel Sherrill committed -
2016-02-26 Joel Sherrill <joel@rtems.org> * config.gcc: Add x86_64-*-rtems*. * gcc/config/i386/rtems-64.h: New file. From-SVN: r233761
Joel Sherrill committed -
2016-02-26 Joel Sherrill <joel@rtems.org> * config.gcc: Add aarch64-*-rtems*. * gcc/config/aarch64/rtems.h: New file. From-SVN: r233760
Joel Sherrill committed -
2016-02-26 Joel Sherrill <joel@rtems.org> * libgcc/config.host: Add aarch64-*-rtems*. From-SVN: r233759
Joel Sherrill committed -
PR c++/69958 * pt.c (make_argument_pack): New. (tsubst_copy) [SIZEOF_EXPR]: Handle partial expansion. (tsubst_copy_and_build): Likewise. From-SVN: r233758
Jason Merrill committed -
2016-02-26 Keith McDaniel <k.allen.mcdaniel@gmail.com> Martin Jambor <mjambor@suse.cz> * testsuite/lib/libgomp.exp (check_effective_target_offload_device_shared_as): New proc. * testsuite/libgomp.c++/declare_target-1.C: New test. Co-Authored-By: Martin Jambor <mjambor@suse.cz> From-SVN: r233757
Keith McDaniel committed -
2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com> Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a union of u64 and double. (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions. (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery value. (FP_ROUNDMODE): Update the usage of _fpscr. Co-Authored-By: Bill Schmidt <wschmidt@linux.vnet.ibm.com> From-SVN: r233756
Paul E. Murphy committed -
Some DImode rotate-right-and-mask can be implemented best with a rlwinm instruction: those that could be a lshiftrt instead of a rotatert, while the mask is not right-aligned. Why the rotate in the testcase is not optimised to a plain shift is another question, but we need to handle it here anyway. We compute the shift amount for a 64-bit rotate. This is 32 too high in this case; if we print using %h that is masked out (and this doesn't silently let through invalid instructions, everything is checked by rs6000_is_valid_shift_mask which is much more thorough). PR target/69946 * config/rs6000/rs6000.c (rs6000_insn_for_shift_mask): Print rlwinm shift amount using %h. Add comment. gcc/testsuite/ * gcc.target/powerpc/pr69946.c: New file. From-SVN: r233755
Segher Boessenkool committed -
re PR tree-optimization/69740 (gcc ICE at -O2 and above on valid code on x86_64-linux-gnu in "verify_loop_structure") PR tree-optimization/69740 * cfghooks.c (remove_edge): Request loop fixups if we delete an edge that might turn an irreducible loop into a natural loop. PR tree-optimization/69740 * gcc.c-torture/compile/pr69740-1.c: New test. * gcc.c-torture/compile/pr69740-2.c: New test. Co-Authored-By: Jeff Law <law@redhat.com> From-SVN: r233754
Richard Biener committed -
2016-02-26 Martin Jambor <mjambor@suse.cz> PR middle-end/69920 * tree-sra.c (sra_modify_assign): Do not remove loads of uninitialized aggregates to SSA_NAMEs. testsuite/ * gcc.dg/torture/pr69932.c: New test. * gcc.dg/torture/pr69936.c: Likewise. From-SVN: r233753
Martin Jambor committed -
This fixes a wrong code generation problem with the splitters introduced with that patch: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01840.html The target operand is used as temporary. This fails if it matches the source of the left shift which is read after writing the temporary. Thanks to Dominik for debugging it and thanks to Richard for the fix! Bootstrapped and regtested on s390x with-arch=z13. Bye, -Andreas- gcc/ChangeLog: 2016-02-26 Richard Henderson <rth@redhat.com> PR target/69709 * config/s390/s390.md (risbg and risbgn splitters): Allocate new pseudo in case the target rtx matches the source of the left shift. gcc/testsuite/ChangeLog: 2016-02-26 Andreas Krebbel <krebbel@linux.vnet.ibm.com> PR target/69709 * gcc.target/s390/pr69709.c: New test. From-SVN: r233752
Andreas Krebbel committed -
2016-02-26 Martin Jambor <mjambor@suse.cz> PR hsa/69568 * hsa.h (hsa_type_packed_p): Declare. * hsa.c (hsa_type_packed_p): New function. * hsa-gen.c (mem_type_for_type): Use unsigned type for packed loads. (gen_hsa_insns_for_store): Use hsa_type_packed_p. * hsa-brig.c (emit_basic_insn): Likewise. From-SVN: r233751
Martin Jambor committed -
2016-02-26 Martin Jambor <mjambor@suse.cz> pr hsa/69674 * hsa-gen.c (gen_hsa_phi_from_gimple_phi): Use proper hsa type for pointers. (gen_hsa_addr): Allow integer constants in TMR_INDEX2. From-SVN: r233750
Martin Jambor committed -
2016-02-26 Martin Jambor <mjambor@suse.cz> * hsa.h (is_a_helper): New overload for hsa_op_immed for hsa_op_with_type operands. (hsa_unsigned_type_for_type): Declare. * hsa.c (hsa_unsigned_type_for_type): New function. * hsa-gen.c (gen_hsa_binary_operation): Use hsa_unsigned_type_for_type. (gen_hsa_insns_for_operation_assignment): Satisfy constrains of the finalizer. Do not emit extra move. From-SVN: r233749
Martin Jambor committed -
2016-02-26 Martin Jambor <mjambor@suse.cz> * hsa-gen.c (gen_hsa_ternary_atomic_for_builtin): Fail in presence of atomic operations in private segment. From-SVN: r233748
Martin Jambor committed -
PR go/69966 syscall: Add new Getsockopt functions. Add GetsockoptICMPv6Filter, GetsockoptIPv6MTUInfo, GetsockoptUcred as appropriate. These functions exist in the master library. For GCC PR 69966. Reviewed-on: https://go-review.googlesource.com/19960 From-SVN: r233747
Ian Lance Taylor committed -
2016-02-26 Martin Jambor <mjambor@suse.cz> * omp-low.c (grid_find_ungridifiable_statement): Store problematic statements to wi->info. Also disallow omp simd constructs. (grid_target_follows_gridifiable_pattern): Use wi.info to dump reason for not gridifying. Dump special string for omp_for. From-SVN: r233746
Martin Jambor committed -
[AArch64] Set TREE_TARGET_GLOBALS in aarch64_set_current_function when new tree is the default node to recalculate optab availability PR target/69245 * config/aarch64/aarch64.c (aarch64_set_current_function): Save/restore target globals when switching to target_option_default_node. * gcc.target/aarch64/pr69245_1.c: New test. From-SVN: r233745
Kyrylo Tkachov committed -
[AArch64] PR target/69613: Return zero TARGET_SHIFT_TRUNCATION_MASK when SHIFT_COUNT_TRUNCATED is false PR target/69613 * config/aarch64/aarch64.c (aarch64_shift_truncation_mask): Return 0 if !SHIFT_COUNT_TRUNCATED. * gcc.dg/torture/pr69613.c: New test. From-SVN: r233744
Kyrylo Tkachov committed -
PR rtl-optimization/69891 * dse.c (scan_insn): If we can't figure out memset arguments or they are non-constant, call clear_rhs_from_active_local_stores. * gcc.target/i386/pr69891.c: New test. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r233743
Jakub Jelinek committed -
From-SVN: r233742
William Schmidt committed -
From-SVN: r233740
William Schmidt committed -
2016-02-26 Michael Meissner <meissner@linux.vnet.ibm.com> Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/p8vector-ldst.c: Adjust to test desired functionality for both 32-bit and 64-bit. Co-Authored-By: Bill Schmidt <wschmidt@linux.vnet.ibm.com> From-SVN: r233739
Michael Meissner committed
-