1. 24 Jun, 2015 19 commits
    • get_neg.cc: Adjust dg-error line numbers. · a2055cc9
      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
    • Revert fix for PR c++/30044 · 7af8ef58
      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
    • genmatch.c (enum tree_code): Add VIEW_CONVERT[012]. · 39791822
      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
    • re PR c++/65811 (ice in vague_linkage_p) · 72e839ca
      /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
    • [PATCH]Use "unsigned int" to hold alignment in emit_local function. · 61c580ea
      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
    • re PR target/63408 (GCC emits incorrect fixed->fp conversion instruction on Cortex-M4 target) · ce72a3c9
      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
    • [PATCH][testsuite] Fix TORTURE_OPTIONS overriding · 0bc64a6c
      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
    • PR66306: Fix match_dups on swapped operands. · f303100b
      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
    • S/390: Switch mode attribute to bhfgq for vec scatter · af77d1df
      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
    • S/390: Add proper comments to vpopct builtins for automated testsuite generation. · 70216eba
      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
    • S/390: Make builtin creation conditional. · f4d28290
      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
    • S/390: Remove internal builtins from vecintrin.h. · f1497499
      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
    • S/390: Fix s390_secondary_reload register class check. · 996fcca1
      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
    • S/390: Disable effect of support_vector_misalignment · 920cc696
      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
    • S/390: Limit legitimate_constant_p changes to TARGET_VX. · 0600d22c
      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
    • S/390 Vector ABI GNU Attribute. · 45901378
      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
    • re PR target/65803 (blackfin: internal compiler error: segment fault linux kernel) · 5a5c3deb
      	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
    • Add PR information to ChangeLog entries for previous change · 6c4ed521
      From-SVN: r224865
      Patrick Palka committed
    • Daily bump. · a49eecc0
      From-SVN: r224862
      GCC Administrator committed
  2. 23 Jun, 2015 21 commits