- 08 Jul, 2014 2 commits
-
-
PR c/60226 * fold-const.c (round_up_loc): Change the parameter type. Remove assert. * fold-const.h (round_up_loc): Adjust declaration. * stor-layout.c (finalize_record_size): Check for too large types. * c-c++-common/pr60226.c: New test. From-SVN: r212346
Marek Polacek committed -
From-SVN: r212345
GCC Administrator committed
-
- 07 Jul, 2014 15 commits
-
-
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 (symtab_nonoverwritable_alias_1): Check sanity of the local alias. From-SVN: r212337
Jan Hubicka committed -
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 -
From-SVN: r212334
Maciej W. Rozycki committed -
/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 -
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 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 -
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 -
From-SVN: r212328
Francois-Xavier Coudert committed -
* 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 -
* 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. (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 -
* 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 -
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 -
From-SVN: r212318
GCC Administrator committed
-
- 06 Jul, 2014 5 commits
-
-
From-SVN: r212315
Gerald Pfeifer committed -
From-SVN: r212314
Uros Bizjak committed -
* 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 -
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 -
From-SVN: r212311
GCC Administrator committed
-
- 05 Jul, 2014 6 commits
-
-
* configure, config.h.in: Regenerate. * config/fpu-sysv.h: Include <assert.h>. From-SVN: r212307
Rainer Orth committed -
* 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. From-SVN: r212305
Gerald Pfeifer committed -
* 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 -
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 -
From-SVN: r212302
GCC Administrator committed
-
- 04 Jul, 2014 12 commits
-
-
2014-07-04 Tobias Burnus <burnus@net-b.de> * resolve.c (resolve_assoc_var): Fix corank setting. * trans-array.c (gfc_conv_descriptor_token): Change assert. for select-type temporaries. * trans-decl.c (generate_coarray_sym_init): Skip for attr.select_type_temporary. * trans-expr.c (gfc_conv_procedure_call): Fix for select-type temporaries. * trans-intrinsic.c (get_caf_token_offset): Ditto. (gfc_conv_intrinsic_caf_get, gfc_conv_intrinsic_caf_send): Set the correct dtype. * trans-types.h (gfc_get_dtype_rank_type): New. * trans-types.c (gfc_get_dtype_rank_type): Ditto. 2014-07-04 Tobias Burnus <burnus@net-b.de> * gfortran.dg/coarray/coindexed_3.f90: New. From-SVN: r212299
Tobias Burnus committed -
* config/aarch64/aarch64-simd.md (move_lo_quad_internal_<mode>): New. (move_lo_quad_internal_be_<mode>): Likewise. (move_lo_quad_<mode>): Convert to define_expand. (aarch64_simd_move_hi_quad_<mode>): Gate on BYTES_BIG_ENDIAN. (aarch64_simd_move_hi_quad_be_<mode>): New. (move_hi_quad_<mode>): Use appropriate insn for BYTES_BIG_ENDIAN. (aarch64_combinez<mode>): Gate on BYTES_BIG_ENDIAN. (aarch64_combinez_be<mode>): New. (aarch64_combine<mode>): Convert to define_expand. (aarch64_combine_internal<mode>): New. (aarch64_simd_combine<mode>): Remove bogus RTL description. From-SVN: r212298
James Greenhalgh committed -
2014-07-04 Tom de Vries <tom@codesourcery.com> * doc/md.texi (@subsection Constraint Modifier Characters): Clarify combination of earlyclobber and read/write modifiers. From-SVN: r212297
Tom de Vries committed -
2014-07-04 Tom de Vries <tom@codesourcery.com> * config/aarch64/aarch64-simd.md (define_insn "vec_unpack_trunc_<mode>"): Fix constraint. From-SVN: r212296
Tom de Vries committed -
PR target/61714 * aarch64.h (OPTION_DEFAULT_SPECS): Define. From-SVN: r212295
Richard Earnshaw committed -
PR middle-end/61654 * cgraphunit.c (expand_thunk): Call free_dominance_info. * g++.dg/opt/pr61654.C: New test. From-SVN: r212293
Jakub Jelinek committed -
re PR tree-optimization/61684 (ICE at -Os and above on x86_64-linux-gnu in tree check: expected ssa_name, have addr_expr in recognize_single_bit_test, at tree-ssa-ifcombine.c:238) PR tree-optimization/61684 * tree-ssa-ifcombine.c (recognize_single_bit_test): Make sure rhs1 of conversion is a SSA_NAME before using SSA_NAME_DEF_STMT on it. * gcc.c-torture/compile/pr61684.c: New test. From-SVN: r212290
Jakub Jelinek committed -
gcc/ * config/nds32/nds32.c (nds32_have_prologue_p): Move to ... (nds32_symbol_load_store_p): Move to ... (nds32_fp_as_gp_check_available): Move to ... * config/nds32/nds32-fp-as-gp.c: ... here. * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Remove extern declaration. Co-Authored-By: Kito Cheng <kito@0xlab.org> Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com> From-SVN: r212288
Chung-Ju Wu committed -
gcc/ * config/nds32/nds32.c (nds32_expand_load_multiple): Move to ... (nds32_expand_store_multiple): Move to ... (nds32_expand_movmemqi): Move to ... * config/nds32/nds32-memory-manipulation.c: ... here. Co-Authored-By: Kito Cheng <kito@0xlab.org> Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com> From-SVN: r212287
Chung-Ju Wu committed -
gcc/ * config/nds32/nds32.c (nds32_byte_to_size): Move to ... (nds32_output_casesi_pc_relative): Move to ... (nds32_output_casesi): Move to ... (nds32_mem_format): Move to ... (nds32_output_16bit_store): Move to ... (nds32_output_16bit_load): Move to ... (nds32_output_32bit_store): Move to ... (nds32_output_32bit_load): Move to ... (nds32_output_32bit_load_s): Move to ... (nds32_output_stack_push): Move to ... (nds32_output_stack_pop): Move to ... * config/nds32/nds32-md-auxiliary.c: ... here. Co-Authored-By: Kito Cheng <kito@0xlab.org> Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com> From-SVN: r212286
Chung-Ju Wu committed -
gcc/ * config/nds32/nds32-pipelines-auxiliary.c: Add comment to describe the purpose of this file. Co-Authored-By: Ling-Hua Tseng <uranus@tinlans.org> From-SVN: r212285
Chung-Ju Wu committed -
gcc/ * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ... (nds32_address_cost): Move implementation to ... * config/nds32/nds32-cost.c: ... here. * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare. (nds32_address_cost_impl): Declare. Co-Authored-By: Kito Cheng <kito@0xlab.org> Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com> From-SVN: r212284
Chung-Ju Wu committed
-