1. 08 Jul, 2014 2 commits
  2. 07 Jul, 2014 15 commits
    • re PR fortran/61459 (segfault when assigning to allocatable function result from matmul result) · 3af52023
      2014-07-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/61459
      	PR fortran/58883
      	* trans-expr.c (fcncall_realloc_result): Use the natural type
      	for the address expression of 'res_desc'.
      
      2014-07-07  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/61459
      	PR fortran/58883
      	* gfortran.dg/allocatable_function_8.f90 : New test
      
      From-SVN: r212339
      Paul Thomas committed
    • symtab.c: Include calls.h · 72732f3e
      
      	* symtab.c: Include calls.h
      	(symtab_nonoverwritable_alias_1): Check sanity of the local
      	alias.
      
      From-SVN: r212337
      Jan Hubicka committed
    • rs6000.c (output_vec_const_move): Handle little-endian code generation. · 3ca588d3
      	gcc/
      	* config/rs6000/rs6000.c (output_vec_const_move): Handle
      	little-endian code generation.
      	* config/rs6000/spe.md (spe_evmergehi): Rename to...
      	(vec_perm00_v2si): ... this.  Handle little-endian code 
      	generation.
      	(spe_evmergehilo): Rename to...
      	(vec_perm01_v2si): ... this.  Handle little-endian code
      	generation.
      	(spe_evmergelo): Rename to...
      	(vec_perm11_v2si): ... this.  Handle little-endian code
      	generation.
      	(spe_evmergelohi): Rename to...
      	(vec_perm10_v2si): ... this.  Handle little-endian code
      	generation.
      	(spe_evmergehi, spe_evmergehilo): New expanders.
      	(spe_evmergelo, spe_evmergelohi): Likewise.
      	(*frob_<SPE64:mode>_<DITI:mode>): Handle little-endian code
      	generation.
      	(*frob_tf_ti): Likewise.
      	(*frob_<mode>_di_2): Likewise.
      	(*frob_tf_di_8_2): Likewise.
      	(*frob_di_<mode>): Likewise.
      	(*frob_ti_tf): Likewise.
      	(*frob_<DITI:mode>_<SPE64:mode>_2): Likewise.
      	(*frob_ti_<mode>_8_2): Likewise.
      	(*frob_ti_tf_2): Likewise.
      	(mov_si<mode>_e500_subreg0): Rename to...
      	(mov_si<mode>_e500_subreg0_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_si<mode>_e500_subreg0_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg0_elf_low): Rename to...
      	(*mov_si<mode>_e500_subreg0_elf_low_be): ... this.  Restrict to 
      	the big endianness only.
      	(*mov_si<mode>_e500_subreg0_elf_low_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg0_2): Rename to...
      	(*mov_si<mode>_e500_subreg0_2_be): ... this.  Restrict to the
      	big big endianness only.
      	(*mov_si<mode>_e500_subreg0_2_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg4): Rename to...
      	(*mov_si<mode>_e500_subreg4_be): ... this.  Restrict to the big
      	endianness only.
      	(mov_si<mode>_e500_subreg4_le): New instruction pattern.
      	(*mov_si<mode>_e500_subreg4_elf_low): Rename to...
      	(*mov_si<mode>_e500_subreg4_elf_low_be): ... this.  Restrict to
      	the big endianness only.
      	(*mov_si<mode>_e500_subreg4_elf_low_le): New instruction/splitter
      	pattern.
      	(*mov_si<mode>_e500_subreg4_2): Rename to...
      	(*mov_si<mode>_e500_subreg4_2_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_si<mode>_e500_subreg4_2_le): New instruction pattern.
      	(*mov_sitf_e500_subreg8): Rename to...
      	(*mov_sitf_e500_subreg8_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg8_le): New instruction pattern.
      	(*mov_sitf_e500_subreg8_2): Rename to...
      	(*mov_sitf_e500_subreg8_2_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg8_2_le): New instruction pattern.
      	(*mov_sitf_e500_subreg12): Rename to...
      	(*mov_sitf_e500_subreg12_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg12_le): New instruction pattern.
      	(*mov_sitf_e500_subreg12_2): Rename to...
      	(*mov_sitf_e500_subreg12_2_be): ... this.  Restrict to the big
      	endianness only.
      	(*mov_sitf_e500_subreg12_2_le): New instruction pattern.
      
      	gcc/testsuite/
      	* gcc.target/powerpc/spe-evmerge.c: New file.
      
      From-SVN: r212335
      Maciej W. Rozycki committed
    • Correct date in last ChangeLog entry. · e7623929
      From-SVN: r212334
      Maciej W. Rozycki committed
    • class.c (check_for_override): Wrap the 'final' and 'override' keywords in %< and %>. · 8895d9a1
      /cp
      2014-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* class.c (check_for_override): Wrap the 'final' and 'override'
      	keywords in %< and %>.
      
      /testsuite
      2014-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/cpp0x/override1.C: Tweak expected error messages.
      
      From-SVN: r212333
      Paolo Carlini committed
    • Do not instrument first byte in strlen if already instrumented. · 0f05a199
      gcc/
      	* asan.c (instrument_strlen_call): Do not instrument first byte in strlen
      	if already instrumented.
      
      gcc/testsuite/
      	* c-c++-common/asan/no-redundant-instrumentation-9.c: New test.
      
      From-SVN: r212332
      Max Ostapenko committed
    • re PR c++/58898 (Adding default template argument to class template with "most… · 625685be
      re PR c++/58898 (Adding default template argument to class template with "most vexing parse" causes compile error)
      
      2014-07-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/58898
      	* g++.dg/parse/pr58898.C: New.
      
      From-SVN: r212331
      Paolo Carlini committed
    • list_read_12.f90: Delete the file. · f254169f
      2014-07-07  Dominique d'Humieres <dominiq@lps.ens.fr>
      
      	* gfortran.dg/list_read_12.f90: Delete the file.
      	* gfortran.dg/vect/vect.exp: Use gfortran-dg-runtest instead
      	of dg-runtest.
      
      From-SVN: r212330
      Dominique d'Humieres committed
    • * libgfortran.h: Assume __GNUC__. · afe31cdb
      From-SVN: r212328
      Francois-Xavier Coudert committed
    • stop.c: Use C11 _Noreturn. · 77777b33
      	* runtime/stop.c: Use C11 _Noreturn.
      	* libgfortran.h: Use C11 _Noreturn in prototypes.
      	Move REALPART, IMAGPART and COMPLEX_ASSIGN macros...
      	* intrinsics/c99_functions.c: ... here.
      
      From-SVN: r212327
      Francois-Xavier Coudert committed
    • [ARM] Remove deprecated mwords-little-endian. · 8adb5dc7
      	* config/arm/arm.opt (mwords-little-endian): Delete.
      	* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Remove handling
      	of TARGET_LITTLE_WORDS.
      	(WORDS_BIG_ENDIAN): Define to BYTES_BIG_ENDIAN.
      	* config/arm/arm.c (arm_option_override): Remove TARGET_LITTLE_WORDS
      	warning.
      	* doc/invoke.texi: Remove references to -mwords-little-endian.
      
      From-SVN: r212326
      Kyrylo Tkachov committed
    • expmed.c (struct init_expmed_rtl): Change all fields but pow2 and cint from struct rtx_def to rtx. · c83cf304
      	* expmed.c (struct init_expmed_rtl): Change all fields but
      	pow2 and cint from struct rtx_def to rtx.
      	(init_expmed_one_conv, init_expmed_one_mode): Adjust for that change.
      	(init_expmed): Likewise.  Allocate all the 18 rtxes and ggc_free them
      	at the end again.
      
      From-SVN: r212325
      Jakub Jelinek committed
    • fpu-387.h, [...]: Use static assertions. · a709346f
      	* config/fpu-387.h, config/fpu-aix.h, config/fpu-sysv.h,
      	config/fpu-glibc.h: Use static assertions.
      
      From-SVN: r212323
      Francois-Xavier Coudert committed
    • re PR libfortran/61640 (KIND=4 Character Array Internal Unit Read Fail) · 1b38fe0e
      2014-07-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/61640
      	* gfortran.dg/arrayio_16.f90: New test.
      
      From-SVN: r212322
      Jerry DeLisle committed
    • Daily bump. · eeeddef3
      From-SVN: r212318
      GCC Administrator committed
  3. 06 Jul, 2014 5 commits
    • * gfortran.texi (Fortran 2003 status): Fix grammar. · 0e29a400
      From-SVN: r212315
      Gerald Pfeifer committed
    • * ChangeLog: Fix whitespace. · 88e03ffe
      From-SVN: r212314
      Uros Bizjak committed
    • imm-devirt-1.C: Fix regexp in dg-final. · e5fe19a3
      	* g++.dg/ipa/imm-devirt-1.C: Fix regexp in dg-final.
      	* g++.dg/ipa/imm-devirt-2.C: Likewise.
      
      From-SVN: r212313
      Marek Polacek committed
    • re PR c/6940 (taking sizeof array parameter should trigger a warning) · 773ec47f
      	PR c/6940
      	* doc/invoke.texi: Document -Wsizeof-array-argument.
      c-family/
      	* c.opt (Wsizeof-array-argument): New option.
      c/
      	* c-decl.c (grokdeclarator): Set C_ARRAY_PARAMETER.
      	* c-tree.h (C_ARRAY_PARAMETER): Define.
      	* c-typeck.c (c_expr_sizeof_expr): Warn when using sizeof on an array
      	function parameter.
      cp/
      	* cp-tree.h (DECL_ARRAY_PARAMETER_P): Define.
      	* decl.c (grokdeclarator): Set DECL_ARRAY_PARAMETER_P.
      	* typeck.c (cxx_sizeof_expr): Warn when using sizeof on an array
      	function parameter.
      testsuite/
      	* c-c++-common/Wsizeof-pointer-memaccess1.c: Use
      	-Wno-sizeof-array-argument.
      	* c-c++-common/Wsizeof-pointer-memaccess2.c: Likewise.
      	* g++.dg/warn/Wsizeof-pointer-memaccess-1.C: Likewise.
      	* gcc.dg/Wsizeof-pointer-memaccess1.c: Likewise.
      	* g++.dg/torture/Wsizeof-pointer-memaccess1.C: Likewise.
      	* g++.dg/torture/Wsizeof-pointer-memaccess2.C: Likewise.
      	* gcc.dg/torture/Wsizeof-pointer-memaccess1.c: Likewise.
      	* c-c++-common/sizeof-array-argument.c: New test.
      	* gcc.dg/vla-5.c: Add dg-warnings.
      ../libgomp/	* testsuite/libgomp.c/appendix-a/a.29.1.c (f): Add dg-warnings.
      
      From-SVN: r212312
      Marek Polacek committed
    • Daily bump. · dc044bfb
      From-SVN: r212311
      GCC Administrator committed
  4. 05 Jul, 2014 6 commits
    • Restore Solaris/SPARC bootstrap · de51fc1b
      	* configure, config.h.in: Regenerate.
      	* config/fpu-sysv.h: Include <assert.h>.
      
      From-SVN: r212307
      Rainer Orth committed
    • Don't accept isl 0.10. · 9a62ed16
      	* configure.ac: Don't accept isl 0.10.
      	* configure: Regenerate.
      
      From-SVN: r212306
      Rainer Orth committed
    • wide-int.h (wide_int_storage): Change declaration from struct to class. · a4ff2ef3
      	* wide-int.h (wide_int_storage): Change declaration from struct
      	to class.
      
      From-SVN: r212305
      Gerald Pfeifer committed
    • cgraph.c (cgraph_create_indirect_edge): Update call of get_polymorphic_call_info. · 058d0a90
      
      	* cgraph.c (cgraph_create_indirect_edge): Update call of
      	get_polymorphic_call_info.
      	* ipa-utils.h (get_polymorphic_call_info): Add parameter CALL.
      	(possible_polymorphic_call_targets): Add parameter call.
      	(decl_maybe_in_construction_p): New predicate.
      	(get_polymorphic_call_info): Add parameter call;
      	use decl_maybe_in_construction_p.
      	* gimple-fold.c (fold_gimple_assign): Update use of
      	possible_polymorphic_call_targets.
      	(gimple_fold_call): Likewise.
      	* ipa-prop.c: Inlcude calls.h
      	(ipa_binfo_from_known_type_jfunc): Check that known type is record.
      	(param_type_may_change_p): New predicate.
      	(detect_type_change_from_memory_writes): Break out from ...
      	(detect_type_change): ... this one; use 
      	param_type_may_change_p.
      	(detect_type_change_ssa): Use param_type_may_change_p.
      	(compute_known_type_jump_func): Use decl_maybe_in_construction_p.
      
      	* g++.dg/ipa/devirt-26.C: Update testcase.
      	* g++.dg/ipa/imm-devirt-1.C: Update testcase.
      	* g++.dg/ipa/imm-devirt-2.C: Update testcase.
      
      From-SVN: r212304
      Jan Hubicka committed
    • [ARM] PR target/49423 · aed773a2
      2014-07-05  Charles Baylis  <charles.baylis@linaro.org>
      
      	PR target/49423
      	* config/arm/arm-protos.h (arm_legitimate_address_p,
      	arm_is_constant_pool_ref): Add prototypes.
      	* config/arm/arm.c (arm_legitimate_address_p): Remove static.
      	(arm_is_constant_pool_ref) New function.
      	* config/arm/arm.md (unaligned_loadhis, arm_zero_extendhisi2_v6,
      	arm_zero_extendqisi2_v6): Use Uh constraint for memory operand.
      	(arm_extendhisi2, arm_extendhisi2_v6): Use Uh constraint for memory
      	operand. Remove pool_range and neg_pool_range attributes.
      	(arm_extendqihi_insn, arm_extendqisi, arm_extendqisi_v6): Remove
      	pool_range and neg_pool_range attributes.
      	* config/arm/constraints.md (Uh): New constraint.
      	(Uq): Don't allow constant pool references.
      
      From-SVN: r212303
      Charles Baylis committed
    • Daily bump. · f19c9da8
      From-SVN: r212302
      GCC Administrator committed
  5. 04 Jul, 2014 12 commits