- 28 Mar, 2014 27 commits
-
-
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear static chain if needed. * g++.dg/torture/pr60659.C: New testcase. From-SVN: r208927
Jan Hubicka committed -
2014-03-28 Vladimir Makarov <vmakarov@redhat.com> PR target/60697 * lra-constraints.c (index_part_to_reg): New. (process_address): Use it. 2014-03-28 Vladimir Makarov <vmakarov@redhat.com> PR target/60697 * gcc.target/aarch64/pr60697.c: New. From-SVN: r208926
Vladimir Makarov committed -
From-SVN: r208925
Jakub Jelinek committed -
PR target/60648 * expr.c (do_tablejump): Use simplify_gen_binary rather than gen_rtx_{PLUS,MULT} to build up the address expression. * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid creating non-canonical RTL. PR target/60648 * g++.dg/pr60648.C: New test. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r208924
Jeff Law committed -
Fix PR c++/60573 PR c++/60573 * name-lookup.h (cp_binding_level): New transient field defining_class_p to indicate whether a scope is in the process of defining a class. * semantics.c (begin_class_definition): Set defining_class_p. * name-lookup.c (leave_scope): Reset defining_class_p. * parser.c (synthesize_implicit_template_parm): Use cp_binding_level:: defining_class_p rather than TYPE_BEING_DEFINED as the predicate for unwinding to class-defining scope to handle the erroneous definition of a generic function of an arbitrarily nested class within an enclosing class. PR c++/60573 * g++.dg/cpp1y/pr60573.C: New testcase. From-SVN: r208921
Adam Butcher committed -
From-SVN: r208920
Jakub Jelinek committed -
2014-03-28 Mikael Morin <mikael@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/60576 * trans-expr.c (gfc_conv_derived_to_class): Avoid generation of out-of-bounds range expr. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r208918
Mikael Morin committed -
PR ipa/60243 * ipa-inline.c (want_inline_small_function_p): Short circuit large functions; reorganize to make cheap checks first. (inline_small_functions): Do not estimate growth when dumping; it is expensive. * ipa-inline.h (inline_summary): Add min_size. (growth_likely_positive): New function. * ipa-inline-analysis.c (dump_inline_summary): Add min_size. (set_cond_stmt_execution_predicate): Cleanup. (estimate_edge_size_and_time): Compute min_size. (estimate_calls_size_and_time): Likewise. (estimate_node_size_and_time): Likewise. (inline_update_overall_summary): Update min_size. (do_estimate_edge_time): Likewise. (do_estimate_edge_size): Update. (do_estimate_edge_hints): Update. (growth_likely_positive): New function. From-SVN: r208916
Jan Hubicka committed -
PR target/60693 * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg also if addr has VOIDmode. * gcc.target/i386/pr60693.c: New test. From-SVN: r208915
Jakub Jelinek committed -
2014-03-28 Vishnu K S <Vishnu.k_s@atmel.com> * gcc.dg/pr59940.c (si): Use 32-bit SI mode instead of int. From-SVN: r208914
Vishnu K S committed -
fortran/ PR fortran/60677 * trans-intrinsic.c (gfc_conv_intrinsic_ichar): Enlarge argument list buffer. From-SVN: r208913
Mikael Morin committed -
PR c++/60689 * c-tree.h (c_build_function_call_vec): New prototype. * c-typeck.c (build_function_call_vec): Don't call resolve_overloaded_builtin here. (c_build_function_call_vec): New wrapper function around build_function_call_vec. Call resolve_overloaded_builtin here. (convert_lvalue_to_rvalue, build_function_call, build_atomic_assign): Call c_build_function_call_vec instead of build_function_call_vec. * c-parser.c (c_parser_postfix_expression_after_primary): Likewise. * c-decl.c (finish_decl): Likewise. * c-common.c (add_atomic_size_parameter): When creating new params vector, push the size argument first. * c-c++-common/pr60689.c: New test. From-SVN: r208912
Jakub Jelinek committed -
* config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New. * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue): Declare extern. * config/arm/cortex-a53.md: Add reservations and bypass for crypto instructions as well as AdvancedSIMD loads. From-SVN: r208910
Kyrylo Tkachov committed -
* config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi): Use crypto_aese type. (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type. * config/arm/arm.md (is_neon_type): Replace crypto_aes with crypto_aese, crypto_aesmc. Move to types.md. * config/arm/types.md (crypto_aes): Split into crypto_aese, crypto_aesmc. * config/arm/iterators.md (crypto_type): Likewise. From-SVN: r208908
Kyrylo Tkachov committed -
PR c++/58678 * g++.dg/abi/thunk6.C: Scan assembler for _ZTv0_n32_N1CD1Ev only for lp64 targets and scan for _ZTv0_n16_N1CD1Ev for ilp32 targets. From-SVN: r208907
Jakub Jelinek committed -
* cgraph.c: Include expr.h and tree-dfa.h. (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn; remove LHS. From-SVN: r208901
Jan Hubicka committed -
re PR target/60675 ([aarch64] internal compiler error: Max. number of generated reload insns per insn is achieved (90)) 2014-03-28 Vladimir Makarov <vmakarov@redhat.com> PR target/60675 * lra-assigns.c (find_hard_regno_for): Remove unavailable hard regs from checking multi-reg pseudos. 2014-03-28 Vladimir Makarov <vmakarov@redhat.com> PR target/60675 * gcc.target/aarch64/pr60675.C: New. From-SVN: r208900
Vladimir Makarov committed -
2014-03-28 Richard Biener <rguenther@suse.de> libiberty/ * simple-object.c (simple_object_internal_read): Handle EINTR and short reads. lto-plugin/ * lto-plugin.c (process_symtab): Handle EINTR and short reads. From-SVN: r208898
Richard Biener committed -
2014-03-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Remove s390 special option. * lib/target-supports.exp: Return true for s390 in check_effective_logical_op_short_circuit. From-SVN: r208897
Andreas Krebbel committed -
This affects only arm-none-eabi targets and those using t-aprofile in their multilib lists. The problem here is that when the A12 support was added, we mistakenly added this to the MULTILIB_MATCHES rule for the A15 rather than putting out a separate line for this. Fixed thusly and verified that the correct multilibs are now chosen. * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule. From-SVN: r208896
Ramana Radhakrishnan committed -
rs6000.c (fusion_gpr_load_p): Refuse optimization if it would clobber the stack pointer, even temporarily. * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization if it would clobber the stack pointer, even temporarily. From-SVN: r208895
Ulrich Weigand committed -
gcc/testsuite * gcc.target/i386/avx512f-vshuff32x4-2.c: Fix initialization of second source operand. * gcc.target/i386/avx512f-vshuff64x2-2.c: Ditto. * gcc.target/i386/avx512f-vshufi32x4-2.c: Ditto. * gcc.target/i386/avx512f-vshufi64x2-2.c: Ditto. From-SVN: r208894
Kirill Yukhin committed -
PR ipa/60315 * g++.dg/torture/pr60315.C: Add -std=c++11 to dg-options. From-SVN: r208893
Jakub Jelinek committed -
From-SVN: r208892
Eric Botcazou committed -
2014-03-28 Tobias Burnus <burnus@net-b.de> * lib/cilk-plus-dg.exp: New. * g++.dg/cilk-plus/cilk-plus.exp: Use it. * gcc.dg/cilk-plus/cilk-plus.exp: Use it. From-SVN: r208889
Tobias Burnus committed -
PR other/59545 compiler: Fix bogus invalid static_cast to Unary_expression. From-SVN: r208888
Ian Lance Taylor committed -
From-SVN: r208886
GCC Administrator committed
-
- 27 Mar, 2014 13 commits
-
-
2014-04-27 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/60522 * frontend-passes.c (cfe_code): Do not walk subtrees for WHERE. 2014-04-27 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/60522 * gfortran.dg/where_4.f90: New test case. From-SVN: r208883
Thomas Koenig committed -
extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins. 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com> * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins. From-SVN: r208880
Michael Meissner committed -
2014-03-27 Tobias Burnus <burnus@net-b.de> PR fortran/58880 * trans-expr.c (gfc_conv_scalar_to_descriptor): Fix handling of nonpointers. 2014-03-27 Tobias Burnus <burnus@net-b.de> PR fortran/58880 * gfortran.dg/finalize_24.f90: New. From-SVN: r208879
Tobias Burnus committed -
[gcc] 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com> * config/rs6000/constraints.md (wD constraint): New constraint to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to match the constant integer to get the top DImode/DFmode out of a vector in a VSX register. * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin for ISA 2.07. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add vbpermq builtins. * config/rs6000/rs6000.c (rs6000_debug_reg_global): If -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT. * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes): Optimize vec_extract of 64-bit values, where the value being extracted is in the top word, where we can use scalar instructions. Add direct move and store support. Combine the big endian/little endian vector select load support into a single insn. (vsx_extract_<mode>_internal1): Likewise. (vsx_extract_<mode>_internal2): Likewise. (vsx_extract_<mode>_load): Likewise. (vsx_extract_<mode>_store): Likewise. (vsx_extract_<mode>_zero): Delete, big and little endian insns are combined into vsx_extract_<mode>_load. (vsx_extract_<mode>_one_le): Likewise. * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to define the top 64-bit vector element. * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD constraint. PR target/60672 * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to enable use of xxsldwi and xxpermdi builtin functions. (vec_xxpermdi): Likewise. * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document use of vec_xxsldwi and vec_xxpermdi builtins. [gcc/testsuite] 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com> * gcc.target/powerpc/p8vector-vbpermq.c: New test to test the vbpermq builtin. * gcc.target/powerpc/vsx-extract-1.c: New test to test VSX vec_select optimizations. * gcc.target/powerpc/vsx-extract-2.c: Likewise. * gcc.target/powerpc/vsx-extract-3.c: Likewise. PR target/60672 * gcc.target/powerpc/pr60676.c: New file, make sure xxsldwi and xxpermdi builtins are supported. From-SVN: r208877
Michael Meissner committed -
2014-03-27 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/60650 * lra-asign.c (find_hard_regno_for, spill_for): Add parameter first_p. Use it. (find_spills_for): New. (assign_by_spills): Pass the new parameter to find_hard_regno_for. Spill all pseudos on the second iteration. 2014-03-27 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/60650 * gcc.target/arm/pr60650.c: New. From-SVN: r208876
Vladimir Makarov committed -
From-SVN: r208875
Jonathan Wakely committed -
* doc/xml/manual/containers.xml (associative.bitset.size_variable): Fix bad s/part/chapter/ substitutions. * doc/xml/manual/io.xml (std.io): Likewise. * doc/xml/manual/numerics.xml (std.numerics.generalized_ops): Likewise. * doc/xml/manual/strings.xml (strings.string.Cstring): Likewise. From-SVN: r208874
Jonathan Wakely committed -
* doc/xml/faq.xml (faq): Refer to clauses instead of chapters. * doc/xml/manual/appendix_contributing.xml (contrib.design_notes): Likewise. * doc/xml/manual/backwards_compatibility.xml (backwards.third): Likewise. * doc/xml/manual/test.xml (test.organization.layout): Likewise. From-SVN: r208873
Jonathan Wakely committed -
From-SVN: r208872
Jonathan Wakely committed -
re PR libstdc++/60612 (Throwing exception, catching and rethrowing (std::exception_ptr) in destructor leads to segfault) PR libstdc++/60612 * libsupc++/eh_ptr.cc: Assert __cxa_dependent_exception layout is compatible with __cxa_exception. * libsupc++/unwind-cxx.h (__cxa_dependent_exception): Add padding. Fix typos in comments. * testsuite/18_support/exception_ptr/60612-terminate.cc: New. * testsuite/18_support/exception_ptr/60612-unexpected.cc: New. From-SVN: r208871
Jonathan Wakely committed -
PR c/50347 * doc/extend.texi (ffs Builtins): Change unsigned types to signed types. From-SVN: r208870
Marek Polacek committed -
2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config.host: Append t-floattodi to tmake_file depending on host_address. From-SVN: r208868
Andreas Krebbel committed -
2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_can_use_return_insn): Check for call-saved FPRs on 31 bit. 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.target/s390/20140327-1.c: New testcase. From-SVN: r208867
Andreas Krebbel committed
-