- 24 Jun, 2015 19 commits
-
-
2015-06-24 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: Likewise. From-SVN: r224897
Paolo Carlini committed -
gcc/cp/ChangeLog: Revert: 2015-06-23 Patrick Palka <ppalka@gcc.gnu.org> PR c++/30044 * parser.c (cp_parser_template_parameter_list): Update current_template_parms right after processing a paramater. * pt.c (template_parms_to_args): Remove obsolete hack for giving template template arguments the proper level. (check_default_tmpl_args): Account for tested template parameter_lists. (splite_late_return_type): Remove obsolete hack for giving template template arguments the proper level. gcc/testsuite/ChangeLog: Revert: 2015-06-23 Patrick Palka <ppalka@gcc.gnu.org> PR c++/30044 * g++.dg/cpp0x/auto45.C: New test. * g++.dg/template/pr30044.C: New test. * g++.dg/template/crash83.C: Accept any error string. * g++.dg/cpp0x/variadic18.C: Adjust to not shadow template parameters. * g++.dg/cpp0x/variadic18.C: Likewise * g++.dg/template/canon-type-13.C: Likewise. * g++.old-deja/g++.pt/ttp42.C: Likewise. From-SVN: r224896
Patrick Palka committed -
2015-06-24 Richard Biener <rguenther@suse.de> * genmatch.c (enum tree_code): Add VIEW_CONVERT[012]. (main): Likewise. (lower_opt_convert): Support lowering of conditional view_convert. (parser::parse_operation): Likewise. (parser::parse_for): Likewise. From-SVN: r224893
Richard Biener committed -
/cp 2015-06-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/65811 * decl.c (duplicate_decls): Adjust DECL_COMDAT of newdecl. /testsuite 2015-06-24 Paolo Carlini <paolo.carlini@oracle.com> PR c++/65811 * g++.dg/other/linkage2.C: New. From-SVN: r224888
Paolo Carlini committed -
gcc/ 2015-06-24 Renlin Li <renlin.li@arm.com> * varasm.c (emit_local): Use unsigned int for align variable. From-SVN: r224880
Renlin Li committed -
Fix PR target/63408 The attached patch fixes PR target/63408 and adds a regression test for the same. The problem is essentially that vfp3_const_double_for_fract_bits() needs to be aware that negative values cannot be used in this context. Tested with a bootstrap and regression test run on armhf. Applied. 2015-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/63408 * config/arm/arm.c (vfp3_const_double_for_fract_bits): Disable for negative numbers. 2015-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/63408 * gcc.target/arm/pr63408.c: New test. From-SVN: r224879
Ramana Radhakrishnan committed -
gcc/testsuite/ * lib/c-torture.exp: Don't call check_effective_target_lto before setting up environment correctly. * lib/gcc-dg.exp: Likewise, and protect gcc_force_conventional_output. From-SVN: r224878
James Greenhalgh committed -
2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> PR rtl-optimization/66306 * reload.c (find_reloads): Swap the match_dup info for commutative operands. 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> PR rtl-optimization/66306 * gcc.target/s390/pr66306.c: New test. From-SVN: r224875
Andreas Krebbel committed -
gcc/ChangeLog: 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/vx-builtins.md ("vec_scatter_element<mode>_<non_vec_int>") ("vec_scatter_element<V_HW_64:mode>_SI"): Replace gf mode attribute with bhfgq. From-SVN: r224874
Andreas Krebbel committed -
gcc/ChangeLog: 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390-builtins.def: Fix vpopct instruction comments. From-SVN: r224873
Andreas Krebbel committed -
gcc/ChangeLog: 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390-builtin-types.def: Add flag to indicate the options under which the function type is needed. * config/s390/s390-builtins.def: Add flag to indicate the options under which the builtin is enabled. * config/s390/s390-builtins.h: Add flags parameter to macro definitions. (bflags_for_builtin): New function. (flags_for_builtin): Renamed to ... (opflags_for_builtin): ... this. * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Rename flags_for_builtin to bflags_for_builtin and flags_overloaded_builtin_var to opflags_overloaded_builtin_var. * config/s390/s390.c: Add initialization of bflags_builtin and opflags_builtin arrays. Remove code for flags_builtin. (s390_init_builtins): Only create builtin function types if one of their flags is active. Only create builtins if all of their flags are active. (s390_expand_builtin): Rename flags_for_builtin to opflags_for_builtin. From-SVN: r224872
Andreas Krebbel committed -
gcc/ChangeLog: 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/vecintrin.h: Remove internal builtins. From-SVN: r224871
Andreas Krebbel committed -
gcc/ChangeLog: 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390.c (s390_secondary_reload): Fix check for GENERAL_REGS register class. From-SVN: r224870
Andreas Krebbel committed -
gcc/ChangeLog: 2015-06-24 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390.c (s390_support_vector_misalignment): Call default implementation for !TARGET_VX. From-SVN: r224869
Andreas Krebbel committed -
gcc/ChangeLog: 2015-06-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com> * config/s390/s390.c (s390_legitimate_constant_p): Add TARGET_VX check. From-SVN: r224868
Andreas Krebbel committed -
gcc/ * config/s390/s390.c (s390_vector_abi): New variable definition. (s390_check_type_for_vector_abi): New function. (TARGET_ASM_FILE_END): New macro definition. (s390_asm_file_end): New function. (s390_function_arg): Call s390_check_type_for_vector_abi. (s390_gimplify_va_arg): Likewise. * configure: Regenerate. * configure.ac: Check for .gnu_attribute Binutils feature. gcc/testsuite/ * gcc.target/s390/vector/vec-abi-1.c: Add gnu attribute check. * gcc.target/s390/vector/vec-abi-attr-1.c: New test. * gcc.target/s390/vector/vec-abi-attr-2.c: New test. * gcc.target/s390/vector/vec-abi-attr-3.c: New test. * gcc.target/s390/vector/vec-abi-attr-4.c: New test. * gcc.target/s390/vector/vec-abi-attr-5.c: New test. * gcc.target/s390/vector/vec-abi-attr-6.c: New test. From-SVN: r224867
Andreas Krebbel committed -
PR target/65803 * config/bfin/bfin.c (hwloop_optimize): Initialize JUMP_LABEL for newly created jump. PR target/65803 * gcc.c-torture/pr65803.c: New test. From-SVN: r224866
Chen Gang committed -
From-SVN: r224865
Patrick Palka committed -
From-SVN: r224862
GCC Administrator committed
-
- 23 Jun, 2015 21 commits
-
-
gcc/cp/ChangeLog: * parser.c (cp_parser_template_parameter_list): Update current_template_parms right after processing a paramater. * pt.c (template_parms_to_args): Remove obsolete hack for giving template template arguments the proper level. (check_default_tmpl_args): Account for tested template parameter_lists. (splite_late_return_type): Remove obsolete hack for giving template template arguments the proper level. gcc/testsuite/ChangeLog * g++.dg/cpp0x/auto45.C: New test. * g++.dg/template/pr30044.C: New test. * g++.dg/template/crash83.C: Accept any error string. * g++.dg/cpp0x/variadic18.C: Adjust to not shadow template parameters. * g++.dg/cpp0x/variadic18.C: Likewise * g++.dg/template/canon-type-13.C: Likewise. * g++.old-deja/g++.pt/ttp42.C: Likewise. From-SVN: r224859
Patrick Palka committed -
* collect-utils.c (collect_wait): Unlink the response file here instead of... (do_wait): ...here. (utils_cleanup): ...and here. From-SVN: r224858
Tristan Gingold committed -
2015-06-23 François Dumont <fdumont@gcc.gnu.org> * include/debug/array: Include <array>. Add version namespace when specializing tuple interface to array. Add specialization for __is_tuple_like_impl. * include/profile/array: Likewise. * include/std/array: Include <utility>. Add specialization for __is_tuple_like_impl. * include/std/tuple (__is_tuple_like_impl<>, __is_tuple_like_impl<pair>): Move... * include/std/utility: ... here. Include <type_traits>. * testsuite/23_containers/array/tuple_interface/get_debug_neg.cc: Adjust dg-error line number. * testsuite/23_containers/array/tuple_interface/ tuple_element_debug_neg.cc: Likewise. From-SVN: r224857
François Dumont committed -
gcc/c-family/ * c-common.c: Don't include target-def.h. gcc/ * df-scan.c: Don't include target-def.h. * targhooks.c: Likewise. * config/arm/arm-c.c: Likewise. * config/i386/i386-c.c: Likewise. * config/nds32/nds32-cost.c: Likewise. * config/nds32/nds32-fp-as-gp.c: Likewise. * config/nds32/nds32-intrinsic.c: Likewise. * config/nds32/nds32-isr.c: Likewise. * config/nds32/nds32-md-auxiliary.c: Likewise. * config/nds32/nds32-memory-manipulation.c: Likewise. * config/nds32/nds32-pipelines-auxiliary.c: Likewise. * config/nds32/nds32-predicates.c: Likewise. From-SVN: r224856
Richard Sandiford committed -
2015-06-23 Andreas Tobler <andreast@gcc.gnu.org> * configure.ac: Fix check for header <sys/sysctl.h>. * configure: Regenerate. * config.h.in: Likewise. From-SVN: r224855
Andreas Tobler committed -
2015-06-23 James Lemke <jwlemke@codesourcery.com> libgcc/config/arm/ * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries. From-SVN: r224854
James Lemke committed -
* c-common.c (warn_logical_operator): Use tree_int_cst_equal when comparing INTEGER_CSTs. * c-c++-common/Wlogical-op-3.c: New test. From-SVN: r224853
Marek Polacek committed -
2015-06-23 Paolo Carlini <paolo.carlini@oracle.com> PR c++/66254 * g++.dg/cpp0x/scoped_enum5.C: New. From-SVN: r224851
Paolo Carlini committed -
2015-06-23 Tom de Vries <tom@codesourcery.com> * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Use abort. * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c (main): Same. From-SVN: r224849
Tom de Vries committed -
PR c++/65879 * decl.c (grokfndecl): Check the linkage of ctype, not just TYPE_ANONYMOUS_P. * tree.c (no_linkage_check): Skip the 'this' pointer. From-SVN: r224844
Jason Merrill committed -
PR c++/66501 * class.c (type_has_nontrivial_assignment): New. * init.c (build_vec_init): Use it. * cp-tree.h: Declare it. * method.c (trivial_fn_p): Templates aren't trivial. From-SVN: r224843
Jason Merrill committed -
PR c++/66542 * decl.c (expand_static_init): Make sure the destructor is callable here even if we have an initializer. From-SVN: r224842
Jason Merrill committed -
2015-06-23 Richard Biener <rguenther@suse.de> PR tree-optimization/66636 * tree-vect-stmts.c (vectorizable_store): Properly compute the def type for further defs for strided stores. * gcc.dg/vect/pr66636.c: New testcase. From-SVN: r224841
Richard Biener committed -
* config/nvptx/nvptx.md (sel_true<mode>, sel_false<mode>): New conditional selects. (setcc_int<mode>, setcc_float<mode>): Reformat. From-SVN: r224839
Nathan Sidwell committed -
* match.pd ((x + y) - (x | y) -> x & y, (x + y) - (x & y) -> x | y): New patterns. * gcc.dg/fold-minus-4.c: New test. * gcc.dg/fold-minus-5.c: New test. * c-c++-common/ubsan/overflow-add-5.c: New test. From-SVN: r224834
Marek Polacek committed -
Add missing testcase from r224672. 2015-06-19 James Greenhalgh <james.greenhalgh@arm.com> * gcc.target/vax/bswapdi-1.c: New. From-SVN: r224832
James Greenhalgh committed -
gcc/fortran/ChangeLog: 2015-06-23 Andre Vehreschild <vehre@gmx.de> PR fortran/64674 * parse.c (parse_associate): Figure the rank and as of a class array in an associate early. * primary.c (gfc_match_varspec): Prevent setting the dimension attribute on the sym for classes. * resolve.c (resolve_variable): Correct the component ref's type for associated variables. Add a full array ref when class array's are associated. (resolve_assoc_var): Correct the type of the symbol, when in the associate the expression's rank becomes scalar. * trans-expr.c (gfc_conv_variable): Indirect ref needed for allocatable associated objects. gcc/testsuite/ChangeLog: 2015-06-23 Andre Vehreschild <vehre@gmx.de> PR fortran/64674 * gfortran.dg/associate_18.f08: New test. From-SVN: r224827
Andre Vehreschild committed -
PR 65711 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move '-dynamic-linker' within %{!shared: ...}. From-SVN: r224826
Ludovic Courtès committed -
From-SVN: r224825
Ludovic Courtès committed -
PR target/66560 * config/i386/predicates.md (addsub_vm_operator): New predicate. (addsub_vs_operator): Ditto. (addsub_vs_parallel): Ditto. * config/i386/sse.md (ssedoublemode): Add V4SF and V2DF modes. (avx_addsubv4df3, avx_addsubv8sf3, sse3_addsubv2df3, sse3_addsubv4sf3): Put minus RTX before plus and adjust vec_merge selector. (*avx_addsubv4df3_1, *avx_addsubv4df3_1s, *sse3_addsubv2df3_1) (*sse_addsubv2df3_1s, *avx_addsubv8sf3_1, *avx_addsubv8sf3_1s) (*sse3_addsubv4sf3_1, *sse_addsubv4sf3_1s): Remove insn patterns. (addsub vec_merge splitters): New combiner splitters. (addsub vec_select/vec_concat splitters): Ditto. testsuite/ChangeLog: PR target/66560 * gcc.target/i386/pr66560-1.c: New test. * gcc.target/i386/pr66560-2.c: Ditto. * gcc.target/i386/pr66560-3.c: Ditto. * gcc.target/i386/pr66560-4.c: Ditto. From-SVN: r224824
Uros Bizjak committed -
We don't claim to support "K&R C" for nvptx, but needed this corresponding functionality ("incomplete prototypes") to support the Fortran libgomp/openacc_lib.h file. gcc/testsuite/ * gcc.target/nvptx/nvptx.exp: New file. * gcc.target/nvptx/proto-1.c: Likewise. From-SVN: r224822
Thomas Schwinge committed
-