summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Minor reformatting.charlet2016-06-221-4/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237686 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-06-22 Arnaud Charlet <charlet@adacore.com>charlet2016-06-222-10/+43
| | | | | | | | | * lib-xref-spark_specific.adb (Generate_Dereference): Assignment to not commented local variables replaced with direct uses of their values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-06-22 Hristian Kirtchev <kirtchev@adacore.com>charlet2016-06-224-39/+53
| | | | | | | | | | | | | | | | | | | | | | | * exp_ch7.adb (Add_Invariant): Replace the current type instance with the _object parameter even in ASIS mode. (Build_Invariant_Procedure_Body): Do not insert the invariant procedure body into the tree for ASIS and GNATprove. (Build_Invariant_Procedure_Declaration): Do not insert the invariant procedure declaration into the tree for ASIS and GNATprove. * lib-xref-spark_specific.adb (Add_SPARK_Scope): Update comment. 2016-06-22 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Set_Actual_Subtypes): If the type of the actual has predicates, the actual subtype must be frozen properly because of the generated tests that may follow. The predicate may be specified by an explicit aspect, or may be inherited in a derivation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237684 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-06-22 Ed Schonberg <schonberg@adacore.com>charlet2016-06-223-23/+65
| | | | | | | | | | | | | | * exp_ch4.adb (In_Range_Chec)): New predicate, subsidiary of Expand_N_In: within an expanded range check that might raise Constraint_Error do not generate a predicate check as well. It is redundant because the context will add an explicit predicate check, and it will raise the wrong exception if it fails. * lib-xref-spark_specific.adb (Add_SPARK_File): Remove useless checks since dependency units always have an associated compilation unit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237683 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-06-22 Arnaud Charlet <charlet@adacore.com>charlet2016-06-224-42/+30
| | | | | | | | | | | * lib.ads: Code cleanup. * inline.adb: Type refinement for a counter variable. * lib-xref-spark_specific.adb (Add_SPARK_File): removal of no-op code. Code cleanup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237682 138bc75d-0d04-0410-961f-82ee72b054a4
* [ARM] Add initial support for Cortex-A73ktkachov2016-06-228-4/+66
| | | | | | | | | | | | | | | | | | | * config/arm/arm.c (arm_cortex_a73_tune): New struct. * config/arm/arm-cores.def (cortex-a73): New entry. (cortex-a73.cortex-a35): Likewise. (cortex-a73.cortex-a53): Likewise. * config/arm/arm-tables.opt: Regenerate. * config/arm/arm-tune.md: Likewise. * config/arm/bpabi.h (BE8_LINK_SPEC): Handle mcpu=cortex-a73, mcpu=cortex-a73.cortex-a35 and mcpu=cortex-a73.cortex-a53. * config/arm/t-aprofile: Handle mcpu=cortex-a73, mcpu=cortex-a73.cortex-a35 and mcpu=cortex-a73.cortex-a53. * doc/invoke.texi (ARM Options): Document cortex-a73, cortex-a73.cortex-a35 and cortex-a73.cortex-a53. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237681 138bc75d-0d04-0410-961f-82ee72b054a4
* Handle gas/gld --compress-debug-sections=typero2016-06-223-26/+55
| | | | | | | | | | | * configure.ac (gcc_cv_as_compress_debug): Remove --compress-debug-sections as extra as switch. Handle gas --compress-debug-sections=type. (gcc_cv_ld_compess_debug): Remove bogus ld_date check. Handle gld --compress-debug-sections=type. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237680 138bc75d-0d04-0410-961f-82ee72b054a4
* [AArch64] Add initial support for Cortex-A73ktkachov2016-06-225-6/+47
| | | | | | | | | | | | | | * config/aarch64/aarch64.c (cortexa73_tunings): New struct. * config/aarch64/aarch64-cores.def (cortex-a73): New entry. (cortex-a73.cortex-a35): Likewise. (cortex-a73.cortex-a53): Likewise. * config/aarch64/aarch64-tune.md: Regenerate. * doc/invoke.texi (AArch64 Options): Document cortex-a73, cortex-a73.cortex-a35 and cortex-a73.cortex-a53 arguments to -mcpu and -mtune. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237679 138bc75d-0d04-0410-961f-82ee72b054a4
* * bb-reorder.c (pass_partition_blocks::gate): Update comment.law2016-06-222-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237677 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-common.c (get_source_date_epoch): Use int64_t instead of long long.danglin2016-06-226-13/+26
| | | | | | | | | | | | | * gcov-tool.c (profile_rewrite): Use int64_t instead of long long. (do_rewrite): likewise. * line-map.c (location_adhoc_data_update): Use int64_t instead of long long. (get_combined_adhoc_loc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237676 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2016-06-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237675 138bc75d-0d04-0410-961f-82ee72b054a4
* remove mep-* supporttbsaunde2016-06-2151-56373/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for mep-*. * config/mep/lib1funcs.S: Remove. * config/mep/lib2funcs.c: Remove. * config/mep/t-mep: Remove. * config/mep/tramp.c: Remove. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * common/config/mep/mep-common.c: Remove. * config.gcc: Remove mep-* support. * config/mep/constraints.md: Remove. * config/mep/default.h: Remove. * config/mep/intrinsics.h: Remove. * config/mep/intrinsics.md: Remove. * config/mep/ivc2-template.h: Remove. * config/mep/mep-c5.cpu: Remove. * config/mep/mep-core.cpu: Remove. * config/mep/mep-default.cpu: Remove. * config/mep/mep-ext-cop.cpu: Remove. * config/mep/mep-intrin.h: Remove. * config/mep/mep-ivc2.cpu: Remove. * config/mep/mep-pragma.c: Remove. * config/mep/mep-protos.h: Remove. * config/mep/mep.c: Remove. * config/mep/mep.cpu: Remove. * config/mep/mep.h: Remove. * config/mep/mep.md: Remove. * config/mep/mep.opt: Remove. * config/mep/predicates.md: Remove. * config/mep/t-mep: Remove. * doc/install.texi: Remove mep-* documentation. * doc/md.texi: Likewise. gcc/testsuite/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * gcc.dg/tree-ssa/forwprop-28.c: Remove mep-* support. * gcc.dg/tree-ssa/reassoc-32.c: Likewise. * gcc.dg/tree-ssa/reassoc-33.c: Likewise. * gcc.dg/tree-ssa/reassoc-34.c: Likewise. * gcc.dg/tree-ssa/reassoc-35.c: Likewise. * gcc.dg/tree-ssa/reassoc-36.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-2.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-3.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-4.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-5.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-6.c: Likewise. * gcc.dg/tree-ssa/ssa-thread-11.c: Likewise. * gcc.dg/tree-ssa/vrp87.c: Likewise. * lib/target-supports.exp: Likewise. contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing mep-elf. libstdc++-v3/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * configure.host: Remove mep-* support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237666 138bc75d-0d04-0410-961f-82ee72b054a4
* remove avr-rtems supporttbsaunde2016-06-2116-64/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing avr-rtems. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for avr-rtems. * config/avr/t-rtems: Remove. ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * configure: Regenerate. * configure.ac: Remove support for avr-rtems. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove support for avr-rtems. * config/avr/gen-avr-mmcu-specs.c: Likewise. * config/avr/rtems.h: Remove. * config/avr/t-rtems: Remove. contrib/header-tools/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * README: Remove references to avr-rtems. * reduce-headers: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237665 138bc75d-0d04-0410-961f-82ee72b054a4
* remove m32-rtems supporttbsaunde2016-06-217-43/+13
| | | | | | | | | | | | | | | | | | | | | | | libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove m32r-rtems support. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove m32r-rtems support. * config/m32r/rtems.h: Remove. contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing m32r-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237664 138bc75d-0d04-0410-961f-82ee72b054a4
* remove h8300-rtems supporttbsaunde2016-06-218-48/+15
| | | | | | | | | | | | | | | | | | | | | | | | contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Remove h8300-rtems support. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove h8300-rtems support. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove h8300-rtems support. * config/h8300/rtems.h: Remove. * config/h8300/t-rtems: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237663 138bc75d-0d04-0410-961f-82ee72b054a4
* remove knetbsd supporttbsaunde2016-06-2115-111/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove support for knetbsd. * configure.ac: Likewise. * config/i386/knetbsd-gnu.h: Remove. * config/i386/knetbsd-gnu64.h: Remove. * config/knetbsd-gnu.h: Remove. * configure: Regenerate. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for knetbsd. libstdc++-v3/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * configure: Regenerate. * configure.host: Remove support for knetbsd. * crossconfig.m4: Likewise. contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: stop testing knetbsd. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237662 138bc75d-0d04-0410-961f-82ee72b054a4
* remove support for targeting openbsd 2 or 3tbsaunde2016-06-217-45/+15
| | | | | | | | | | | | | | | | | | | | | | | contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Stop testing openbsd3.0. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove support for openbsd 2 and 3. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove support for openbsd 2 and 3. * config/openbsd-oldgas.h: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237661 138bc75d-0d04-0410-961f-82ee72b054a4
* remove support for the interix targettbsaunde2016-06-2130-465/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contrib/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config-list.mk: Remove interix target. libgcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.host: Remove interix support. * config/i386/t-interix: Remove. config/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * elf.m4: Remove interix support. * picflag.m4: Likewise. fixincludes/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * mkfixinc.sh: Remove interix support. gcc/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * config.gcc: Remove interix support. * config/i386/i386-interix.h: Remove. * config/i386/interix.opt: Remove. * config/i386/t-interix: Remove. * configure: Regenerate. * configure.ac: Remove interix support. * doc/install.texi: Remove interix documentation. gcc/testsuite/ChangeLog: 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * gcc.dg/attr-ms_struct-1.c: Stop testing interix. * gcc.dg/attr-ms_struct-2.c: Likewise. * gcc.dg/attr-ms_struct-packed1.c: Likewise. * gcc.dg/bf-ms-attrib.c: Likewise. * gcc.dg/bf-ms-layout-2.c: Likewise. * gcc.dg/bf-ms-layout-3.c: Likewise. * gcc.dg/bf-ms-layout.c: Likewise. * gcc.dg/bf-no-ms-layout.c: Likewise. * gcc.target/i386/bitfield1.c: Likewise. * gcc.target/i386/bitfield2.c: Likewise. * gcc.target/i386/bitfield3.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237660 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ChangeLog:kelvin2016-06-2110-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2016-06-21 Kelvin Nilsen <kelvin@gcc.gnu.org> * config/rs6000/rs6000.h: Add conditional preprocessing directives to disable Power9-specific compiler features if HAVE_AS_POWER9 is not defined. gcc/testsuite/ChangeLog: 2016-06-21 Kelvin Nilsen <kelvin@gcc.gnu.org> * gcc.target/powerpc/darn-0.c: Add dejagnu directives to disable test if effective-target is not powerpc_p9vector_ok, or if a -mcpu override other than -mcpu=power9 command-line option is specified, or if the target operating system is aix. * gcc.target/powerpc/darn-1.c: Likewise. * gcc.target/powerpc/darn-2.c: Likewise. * gcc.target/powerpc/vslv-0.c: Add dejagnu directives to disable test if effective-target is not powerpc_p9vector_ok or if the target operating system is not defined. * gcc.target/powerpc/vslv-1.c: Likewise. * gcc.target/powerpc/vsrv-0.c: Likewise. * gcc.target/powerpc/vsrv-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237659 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c (verify_type_variant): Skip TYPE_SIZE and TYPE_SIZE_UNIT ifebotcazou2016-06-215-29/+59
| | | | | | | | | | | | | | | | | they are both PLACEHOLDER_EXPRs. ada/ * gcc-interface/decl.c (set_nonaliased_component_on_array_type): New function. (set_reverse_storage_order_on_array_type): Likewise. (gnat_to_gnu_entity) <E_Array_Type>: Call them to set the flags. <E_Array_Subtype>: Likewise. <E_String_Literal_Subtype>: Likewise. (substitute_in_type) <ARRAY_TYPE>: Likewise. * gcc-interface/utils.c (gnat_pushdecl): Always create a variant for the DECL_ORIGINAL_TYPE of a type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237658 138bc75d-0d04-0410-961f-82ee72b054a4
* [gcc]meissner2016-06-215-8/+14
| | | | | | | | | | | | | | | | | | | 2016-06-21 Michael Meissner <meissner@linux.vnet.ibm.com> * stor-layout.c (layout_type): Move setting complex MODE to layout_type, instead of setting it ahead of time by the caller. * tree.c (build_complex_type): Likewise. [gcc/fortran] 2016-06-21 Michael Meissner <meissner@linux.vnet.ibm.com> * trans-types.c (gfc_build_complex_type): Move setting complex MODE to layout_type, instead of setting it ahead of time by the caller. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237657 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-06-20 Tobias Burnus <burnus@net-b.de>burnus2016-06-214-1/+34
| | | | | | | | | | | | PR fortran/71068 * resolve.c (resolve_function): Don't resolve caf_get/caf_send. (check_data_variable): Strip-off caf_get before checking. PR fortran/71068 * gfortran.dg/coarray/data_1.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237656 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix constraint satisfaction in uninstantiated template.jason2016-06-213-2/+22
| | | | | | | * constraint.cc (constraints_satisfied_p): Keep as many levels of args as our template has levels of parms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237655 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix type_dependent_expression_p of member templates.jason2016-06-212-1/+51
| | | | | | | * pt.c (template_parm_outer_level, uses_outer_template_parms): New. (type_dependent_expression_p): Use uses_outer_template_parms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237654 138bc75d-0d04-0410-961f-82ee72b054a4
* The recently added gcc.target/aarch64/advsimd-intrinsics/vrnd*.c tests causewilco2016-06-218-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | failures due to accidentally running on non-ARMv8 hardware - the target check arm_v8_neon_ok is correct for compilation tests but should be arm_v8_neon_hw for execution tests. Fix this and also change arm_v8_neon_hw to return true for AArch64 so these tests are run on AArch64 too. gcc/testsuite/ * gcc.target/aarch64/advsimd-intrinsics/vrnd.c (dg-require-effective-target): Use arm_v8_neon_hw. * gcc.target/aarch64/advsimd-intrinsics/vrnda.c (dg-require-effective-target): Likewise. * gcc.target/aarch64/advsimd-intrinsics/vrndm.c (dg-require-effective-target): Likewise. * gcc.target/aarch64/advsimd-intrinsics/vrndn.c (dg-require-effective-target): Likewise. * gcc.target/aarch64/advsimd-intrinsics/vrndp.c (dg-require-effective-target): Likewise. * gcc.target/aarch64/advsimd-intrinsics/vrndx.c (dg-require-effective-target): Likewise. * lib/target-supports.exp (check_runtime arm_v8_neon_hw_available): Add AArch64 check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237653 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix tree-ssa/attr-hotcold-2.c failures now that the test runs. wilco2016-06-212-3/+7
| | | | | | | | | | | GCC dumps the blocks 3 times so update count 3 and the test passes. gcc/testsuite/ * gcc.dg/tree-ssa/attr-hotcold-2.c (scan-tree-dump-times): Set to 3 so test passes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237652 138bc75d-0d04-0410-961f-82ee72b054a4
* s/imposisble/impossible in predict.cmarxin2016-06-212-3/+8
| | | | | | | | * predict.c (force_edge_cold): Replace imposisble with impossible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237651 138bc75d-0d04-0410-961f-82ee72b054a4
* Due to recent improvements to the vectorizer, the number of vectorizedwilco2016-06-212-1/+5
| | | | | | | | | | | loops needs to be increased to 21 in gfortran.dg/vect/vect-8.f90. gcc/testsuite/ * gfortran.dg/vect/vect-8.f90 (vectorized loops): Set to 21. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237650 138bc75d-0d04-0410-961f-82ee72b054a4
* [AVX-512ER] vrsqrt28ps auto generationiverbin2016-06-218-0/+149
| | | | | | | | | | | | | | gcc/ * config/i386/i386.c (ix86_emit_swsqrtsf): Emit vrsqrt28ps. * config/i386/sse.md (define_expand "rsqrtv16sf2"): New. gcc/testsuite/ * gcc.target/i386/avx512er-vrsqrt28ps-3.c: New test. * gcc.target/i386/avx512er-vrsqrt28ps-4.c: New test. * gcc.target/i386/avx512er-vrsqrt28ps-5.c: New test. * gcc.target/i386/avx512er-vrsqrt28ps-6.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237649 138bc75d-0d04-0410-961f-82ee72b054a4
* [AVX-512ER] vrcp28ps auto generationiverbin2016-06-215-2/+78
| | | | | | | | | | | gcc/ * config/i386/i386.c (ix86_emit_swdivsf): Emit vrcp28ps. gcc/testsuite/ * gcc.target/i386/avx512er-vrcp28ps-3.c: New test. * gcc.target/i386/avx512er-vrcp28ps-4.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237648 138bc75d-0d04-0410-961f-82ee72b054a4
* Convert V1TImode register to TImode in debug insnhjl2016-06-214-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | TImode register referenced in debug insn can be converted to V1TImode by scalar to vector optimization. After converting a TImode register to V1TImode, we need to check all debug insns on its use chain to convert the V1TImode register to SUBREG TImode. gcc/ 2016-06-21 H.J. Lu <hongjiu.lu@intel.com> Ilya Enkovich <ilya.enkovich@intel.com> PR target/71549 * config/i386/i386.c (timode_scalar_chain::fix_debug_reg_uses): New member function to convert V1TImode register to SUBREG TImode in debug insn. (timode_scalar_chain::convert_insn): Call fix_debug_reg_uses after changing register mode to V1TImode. gcc/testsuite/ 2016-06-21 H.J. Lu <hongjiu.lu@intel.com> PR target/71549 * gcc.target/i386/pr71549.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237647 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/ChangeLog:kelvin2016-06-2113-13/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2016-06-21 Kelvin Nilsen <kelvin@gcc.gnu.org> * gcc.target/powerpc/vadsdu-0.c: Replace dg-require-effective-target directive to allow test to run on more platforms, and add dg-skip-if directive to disable test on aix platforms because of known incompatibilities. * gcc.target/powerpc/vadsdu-1.c: Likewise. * gcc.target/powerpc/vadsdu-2.c: Likewise. * gcc.target/powerpc/vadsdu-3.c: Likewise. * gcc.target/powerpc/vadsdu-4.c: Likewise. * gcc.target/powerpc/vadsdu-5.c: Likewise. * gcc.target/powerpc/vadsdub-1.c: Likewise. * gcc.target/powerpc/vadsdub-2.c: Replace dg-require-effective-target directive to allow test to run on more platforms, and add dg-skip-if directive to disable test on aix platforms because of known incompatibilities. (doAbsoluteDifferenceUnsigned): Replace __builtin_vec_vadub call with vec_absdb call to differentiate this test from vadsdub-1.c. * gcc.target/powerpc/vadsduh-1.c: Replace dg-require-effective-target directive to allow test to run on more platforms, and add dg-skip-if directive to disable test on aix platforms because of known incompatibilities. * gcc.target/powerpc/vadsduh-2.c: Likewise. * gcc.target/powerpc/vadsduw-1.c: Likewise. * gcc.target/powerpc/vadsduw-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237646 138bc75d-0d04-0410-961f-82ee72b054a4
* [PATCH/AARCH64] Accept vulcan as a cpu name for the AArch64 port of GCCjgreenhalgh2016-06-214-3/+13
| | | | | | | | | | | | gcc/ChangeLog * config/aarch64/aarch64-cores.def (vulcan): New core. * config/aarch64/aarch64-tune.md: Regenerate. * doc/invoke.texi: Document vulcan as an available option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237645 138bc75d-0d04-0410-961f-82ee72b054a4
* * config-list.mk: Remove rs6000-ibm-aix4.3, rs6000-ibm-aix5.1,dje2016-06-212-2/+9
| | | | | | | | | rs6000-ibm-aix5.2. Rename rs6000-ibm-aix6.0 as rs6000-ibm-aix6.1. Add rs6000-ibm-aix7.1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237644 138bc75d-0d04-0410-961f-82ee72b054a4
* * cse.c (canon_asm_operands): New function extracted from...ebotcazou2016-06-212-11/+25
| | | | | | | | (canonicalize_insn): ...here. Call it to canonicalize an ASM_OPERANDS either standalone or member of a PARALLEL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237642 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/30417gjl2016-06-212-3/+11
| | | | | | | | | | * config/avr/gen-avr-mmcu-specs.c (print_mcu): [*link_data_start]: Wrap -Tdata into %{!Tdata:...}. [*link_text_start]: Wrap -Ttext into %{!Ttext:...}. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237639 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/71103gjl2016-06-212-2/+9
| | | | | | | | | * config/avr/avr.md (movqi): Only handle loading subreg:qi of constant addresses if can_create_pseudo_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237635 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/71588jakub2016-06-214-3/+92
| | | | | | | | | | | * tree-ssa-strlen.c (valid_builtin_call): New function. (adjust_last_stmt, handle_builtin_memset, strlen_optimize_stmt): Use it. * gcc.dg/pr71558.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237628 138bc75d-0d04-0410-961f-82ee72b054a4
* Mark some more tests as UNSUPPORTED for avrsaaadhu2016-06-219-0/+19
| | | | | | | | | | | | | | * c-c++-common/pr68657-1.c: Require ptr32plus support. * c-c++-common/pr68657-2.c: Likewise. * c-c++-common/pr68657-3.c: Likewise. * gcc.dg/torture/pr69714.c: Require int32plus support. * gcc.dg/torture/pr70025.c: Likewise. * gcc.dg/torture/pr70083.c: Likewise. * gcc.dg/torture/pr70542.c: Likewise. * gcc.dg/torture/pr70935.c: Require ptr32plus support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237627 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2016-06-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237626 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix ICE on conditional expression between DFP and non-DFP float (PR c/71601).jsm282016-06-204-0/+26
| | | | | | | | | | | | | | | | | | | | A conditional expression between DFP and non-DFP floating-point produces an ICE. This patch fixes this by making build_conditional_expr return early when c_common_type produces an error. Bootstrapped with no regressions on x86_64-pc-linux-gnu. PR c/71601 gcc/c: * c-typeck.c (build_conditional_expr): Return error_mark_node if c_common_type returns error_mark_node. gcc/testsuite: * gcc.dg/dfp/usual-arith-conv-bad-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237622 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/71581jakub2016-06-204-0/+57
| | | | | | | | | | | | | * tree-ssa-uninit.c (warn_uninit): If EXPR and VAR are NULL, see if T isn't anonymous SSA_NAME with COMPLEX_EXPR created for conversion of scalar user var to complex type and use the underlying SSA_NAME_VAR in that case. If EXPR is still NULL, punt. * gcc.dg/pr71581.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237621 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/71591jakub2016-06-204-0/+21
| | | | | | | | | | * toplev.c (toplev::run_self_tests): If no_backend, complain and don't run any tests. * gcc.dg/cpp/pr71591.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237620 138bc75d-0d04-0410-961f-82ee72b054a4
* Clear executable property mistakenly added to pr71571.C.hp2016-06-201-0/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237618 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-06-20 François Dumont <fdumont@gcc.gnu.org>fdumont2016-06-208-44/+216
| | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/71181 * include/tr1/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt): Make past-the-end iterator dereferenceable to avoid check on lower_bound result. (_Prime_rehash_policy::_M_bkt_for_elements): Call latter. (_Prime_rehash_policy::_M_need_rehash): Likewise. * src/c++11/hashtable_c++0x.cc (_Prime_rehash_policy::_M_next_bkt): Always return a value greater than input value. Set _M_next_resize to max value when reaching highest prime number. * src/shared/hashtable-aux.cc (__prime_list): Add comment about sentinel being now useless. * testsuite/23_containers/unordered_set/hash_policy/71181.cc: New. * testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc (test02): New. * testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc: New. * testsuite/23_containers/unordered_set/hash_policy/rehash.cc: Fix indentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237617 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/71571hp2016-06-202-0/+48
| | | | | | | * g++.dg/torture/pr71571.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237616 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/71571hp2016-06-202-3/+10
| | | | | | | | | * config/cris/cris.c (cris_asm_output_mi_thunk): Add missing "ba" delay-slot "nop" for PIC with CRIS v32. Also add missing leading space for PIC with non-v32 and the common non-PIC "jump". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237615 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/71559jakub2016-06-206-5/+124
| | | | | | | | | | | | | * config/i386/i386.c (ix86_fp_cmp_code_to_pcmp_immediate): Fix up returned values and add UN*/LTGT/*ORDERED cases with values matching D operand modifier on vcmp for AVX. * gcc.target/i386/sse2-pr71559.c: New test. * gcc.target/i386/avx-pr71559.c: New test. * gcc.target/i386/avx512f-pr71559.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237614 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-06-20 Tobias Burnus <burnus@net-b.de>burnus2016-06-204-5/+62
| | | | | | | | | | | | | | | fortran/71194 * trans-expr.c (gfc_trans_pointer_assignment): Correctly handle RHS pointer functions. 2016-06-20 Tobias Burnus <burnus@net-b.de> PR fortran/71194 * gfortran.dg/pointer_remapping_10.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237612 138bc75d-0d04-0410-961f-82ee72b054a4
* C++ FE: Show both locations in string literal concatenation errordmalcolm2016-06-204-5/+44
| | | | | | | | | | | | | | | gcc/cp/ChangeLog: * parser.c (cp_parser_string_literal): Convert non-standard concatenation error to directly use a rich_location, and use that to add the location of the first literal to the diagnostic. gcc/testsuite/ChangeLog: * g++.dg/diagnostic/string-literal-concat.C: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237608 138bc75d-0d04-0410-961f-82ee72b054a4