- 20 Mar, 2015 11 commits
-
-
2015-03-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/48324 * g++.dg/cpp0x/constexpr-48324.C: New. From-SVN: r221539
Paolo Carlini committed -
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Disable test for unused for ARM. * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise. * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise. From-SVN: r221538
James Greenhalgh committed -
2015-03-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/48453 * g++.dg/cpp0x/pr48453.C: New. From-SVN: r221537
Paolo Carlini committed -
PR c++/65072 * typeck.c (lookup_anon_field): Make sure we're dealing with the main variant. * g++.dg/cpp0x/pr65072.C: New test. From-SVN: r221535
Marek Polacek committed -
* include/bits/c++config (__gnu_cxx::__cxx11): Define new namespace. * include/ext/codecvt_specializations.h (encoding_state, encoding_char_traits): Remove abi-tag and use inline namespace. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line. From-SVN: r221533
Jonathan Wakely committed -
2015-03-20 Richard Biener <rguenther@suse.de> PR middle-end/64715 * tree-chrec.c (chrec_fold_poly_cst): Use useless_type_conversion_p for type comparison and gcc_checking_assert. (chrec_fold_plus_poly_poly): Likewise. (chrec_fold_multiply_poly_poly): Likewise. (chrec_convert_1): Likewise. * gimplify.c (gimplify_expr): Remove premature folding of &X + CST to &MEM[&X, CST]. * gcc.dg/pr15347.c: Use -O. * c-c++-common/pr19807-1.c: Likewise. From-SVN: r221532
Richard Biener committed -
PR ada/65451 * gcc-interface/utils.c (gnat_pushdecl): Tidy up and improve comment. Make sure to chain only main variants through TYPE_NEXT_PTR_TO. From-SVN: r221531
Eric Botcazou committed -
* ipa-inline.c (can_inline_edge_p): Short circuit if inline_failed already is final. (ipa_inline): Recompute inline_failed codes. * cif-code.def (FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE, USES_COMDAT_LOCAL, ATTRIBUTE_MISMATCH, UNREACHABLE): Declare as CIF_FINAL_ERROR. From-SVN: r221530
Jan Hubicka committed -
re PR rtl-optimization/60851 (ICE: in extract_constrain_insn_cached, at recog.c:2117 with -flive-range-shrinkage -mdispatch-scheduler -march=bdver4) PR rtl-optimization/60851 * recog.c (constrain_operands): Accept a pseudo register before reload for LRA enabled targets. testsuite/ChangeLog: PR rtl-optimization/60851 * gcc.target/i386/pr60851.c: New test. From-SVN: r221529
Uros Bizjak committed -
From-SVN: r221528
Vladimir Makarov committed -
From-SVN: r221527
GCC Administrator committed
-
- 19 Mar, 2015 16 commits
-
-
[gcc] 2015-03-19 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/65240 * config/rs6000/predicates.md (easy_fp_constant): Remove special -ffast-math handling that kept non-0 constants live in the RTL until reload. Remove logic testing the number of instructions it took to create a constant in a GPR that was never used, due to a test for soft-float earlier. (memory_fp_constant): Delete, no longer used. * config/rs6000/rs6000.md (mov<MODE>_hardfloat): Remove alternatives for loading non-0 constants into GPRs for hard floating point that is no longer needed due to changes in easy_fp_constant. Add support for loading 0.0 into GPRs. (mov<mode>_hardfloat32): Likewise. (mov<mode>_hardfloat64): Likewise. (mov<mode>_64bit_dm): Likewise. (movtd_64bit_nodm): Likewise. (pre-reload move FP constant define_split): Delete define_split, since it is no longer used. (extenddftf2_internal): Remove GHF constraints that are not valid for extenddftf2. [gcc/testsuite] 2015-03-19 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/65240 * gcc/testsuite/g++.dg/pr65240.h: Add tests for PR 65240. * gcc/testsuite/g++.dg/pr65240-1.C: Likewise. * gcc/testsuite/g++.dg/pr65240-2.C: Likewise. * gcc/testsuite/g++.dg/pr65240-3.C: Likewise. * gcc/testsuite/g++.dg/pr65240-4.C: Likewise. From-SVN: r221524
Michael Meissner committed -
2015-03-19 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/63491 * lra-constraints.c (check_and_process_move): Use src instead of sreg. Remove some dead code. 2015-03-19 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/63491 * gcc.target/powerpc/pr63491.c: New. From-SVN: r221522
Vladimir Makarov committed -
PR c++/65046 Automatically propagate ABI tags to variables and functions from their (return) type. * class.c (check_tag): Handle variables and functions. (mark_or_check_attr_tags): Split out from find_abi_tags_r. (mark_or_check_tags): Likewise. (mark_abi_tags): Use it. Rename from mark_type_abi_tags. (check_abi_tags): Add single argument overload for decls. Handle inheriting tags for decls. * mangle.c (write_mangled_name): Call it. (mangle_return_type_p): Split out from write_encoding. (unmangled_name_p): Split out from write_mangled_name. (write_mangled_name): Ignore abi_tag on namespace. * cp-tree.h (NAMESPACE_IS_INLINE): Replace NAMESPACE_ABI_TAG. * parser.c (cp_parser_namespace_definition): Set it. * name-lookup.c (handle_namespace_attrs): Use arguments. Warn about abi_tag attribute on non-inline namespace. * tree.c (check_abi_tag_args): Split out from handle_abi_tag_attribute. (handle_abi_tag_attribute): Allow tags on variables. From-SVN: r221521
Jason Merrill committed -
* c-decl.c (c_decl_attributes): Also add "omp declare target" attribute for DECL_EXTERNAL VAR_DECLs. * decl2.c (cplus_decl_attributes): Also add "omp declare target" attribute for DECL_EXTERNAL VAR_DECLs. * testsuite/libgomp.c/target-10.c: New test. * testsuite/libgomp.c++/target-4.C: New test. From-SVN: r221520
Jakub Jelinek committed -
Fix PR ipa/65380. PR ipa/65380 * ipa-icf.c (sem_function::merge): Do not merge DECL_EXTERNAL symbols. (sem_variable::merge): Likewise. From-SVN: r221519
Jan Hubicka committed -
Fix for PR ipa/65465. PR ipa/65465 * cgraphunit.c (cgraph_node::create_wrapper): Correctly reset all fields of cgraph_thunk_info. * g++.dg/ipa/pr65465.C: New test. From-SVN: r221518
Martin Liska committed -
* ipa-chkp.c (chkp_maybe_create_clone): Don't try to clone instrumented thunks. From-SVN: r221516
Ilya Enkovich committed -
2015-03-19 Richard Biener <rguenther@suse.de> Revert 2015-03-10 Richard Biener <rguenther@suse.de> PR middle-end/63155 * tree-ssa-coalesce.h (verify_ssa_coalescing): Declare. * tree-ssa-coalesce.c: Include timevar.h. (attempt_coalesce): Handle graph being NULL. (coalesce_partitions): Call verify_ssa_coalescing if ENABLE_CHECKING. Split out abnormal coalescing to ... (perform_abnormal_coalescing): ... this function. (coalesce_ssa_name): Perform abnormal coalescing without computing live/conflict. (verify_ssa_coalescing_worker): New function. (verify_ssa_coalescing): Likewise. From-SVN: r221515
Richard Biener committed -
2015-03-19 Richard Biener <rguenther@suse.de> * partition.h (struct partition_elem): Re-order elements to avoid padding. From-SVN: r221514
Richard Biener committed -
re PR c++/52659 (GCC fails to reject a deleted function definition which is not the first declaration) 2015-03-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52659 * g++.dg/cpp0x/deleted11.C: New. From-SVN: r221513
Paolo Carlini committed -
PR sanitizer/65400 * tsan.c (instrument_gimple): Clear tail call flag on calls. * c-c++-common/tsan/pr65400-3.c: New test. From-SVN: r221512
Jakub Jelinek committed -
2015-03-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59686 * g++.dg/cpp0x/constexpr-59686.C: New. From-SVN: r221510
Paolo Carlini committed -
PR sanitizer/64265 * g++.dg/tsan/pr64265.C: New test. From-SVN: r221509
Jakub Jelinek committed -
PR sanitizer/65400 * ipa-split.c (find_return_bb): Allow TSAN_FUNC_EXIT internal call in the return bb. (find_split_points): Add RETURN_BB argument, don't call find_return_bb. (split_function): Likewise. Add ADD_TSAN_FUNC_EXIT argument, if true append TSAN_FUNC_EXIT internal call after the call to the split off function. (execute_split_functions): Call find_return_bb here. Don't optimize if TSAN_FUNC_EXIT is found in unexpected places. Adjust find_split_points and split_function calls. * c-c++-common/tsan/pr65400-1.c: New test. * c-c++-common/tsan/pr65400-2.c: New test. From-SVN: r221508
Jakub Jelinek committed -
* config/rl78/rl78-virt.md (andqi3_virt): Allow far operands. (iorqi3_virt): Likewise. From-SVN: r221506
DJ Delorie committed -
From-SVN: r221505
GCC Administrator committed
-
- 18 Mar, 2015 13 commits
-
-
re PR c++/59816 ([c++11] Incorrect visibility check in template instantiation when the default constructor is a variadic template.) 2015-03-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/59816 * g++.dg/cpp0x/pr59816.C: New. From-SVN: r221502
Paolo Carlini committed -
2014-03-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/59198 * gfortran.dg/proc_ptr_comp_45.f90 : Make tests fuzzy. From-SVN: r221501
Paul Thomas committed -
Fix PR65439. PR ipa/65439 * g++.dg/ipa/ipa-icf-4.C: Extend expected number of equivalences either to 6 or 7. M gcc/testsuite/ChangeLog M gcc/testsuite/g++.dg/ipa/ipa-icf-4.C From-SVN: r221500
Martin Liska committed -
2015-03-18 Tom de Vries <tom@codesourcery.com> * tree-parloops.c (parallelize_loops): Make static. * tree-parloops.h (parallelize_loops): Remove extern declaration. From-SVN: r221498
Tom de Vries committed -
PR c++/65046 * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs, get_catalogs): Add abi-tag. * include/ext/codecvt_specializations.h (encoding_state, encoding_char_traits): Likewise. * src/c++11/cxx11-ios_failure.cc (io_error_category): Likewise. * src/c++11/cxx11-shim_facets.cc (__any_string::operator basic_string, numpunct_shim, collate_shim, time_get_shim, moneypunct_shim, money_get_shim, money_put_shim, messages_shim): Likewise. * src/c++11/future.cc (future_error_category::message): Likewise. * src/c++11/system_error.cc (generic_error_category::message, system_error_category::message): Likewise. (__sso_string): Disable -Wabi-tag warnings. From-SVN: r221497
Jonathan Wakely committed -
PR libstdc++/13631 * config/locale/gnu/messages_members.cc (get_glibc_msg): Fix fallback implementation for old glibc. Fix whitespace. From-SVN: r221494
Jonathan Wakely committed -
Fix PR64491 2015-03-18 Andrew Stubbs <ams@codesourcery.com> PR middle-end/64491 Revert: 2014-11-20 Andrew Stubbs <ams@codesourcery.com> * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Warn if a loop condition would be removed due to undefined behaviour. 2015-03-18 Andrew Stubbs <ams@codesourcery.com> PR middle-end/64491 Revert: 2014-11-20 Andrew Stubbs <ams@codesourcery.com> * gcc.dg/undefined-loop-1.c: New file. * gcc.dg/undefined-loop-2.c: New file. 2014-12-24 Andrew Stubbs <ams@codesourcery.com> PR testsuite/64032 * gcc.dg/undefined-loop-2.c: Don't allow GCC to optimize away the loop exits too early. From-SVN: r221492
Andrew Stubbs committed -
re PR ipa/65432 (Invalid read of size 1: ipa_icf::sem_item_optimizer::merge_classes(unsigned int) (ipa-icf.c:2958)) Fix PR ipa/65432 PR ipa/65432 * cgraph.c (cgraph_node::get_create): Remove unnecessary xstrdup_for_dump wrapper. * ipa-icf.c (sem_item::dump): Use symtab_node::name instead of sem_item::name. (sem_function::equals): Wrap symtab_node::name and symtab_node::asm_name with xstrdup_for_dump. (sem_variable::equals): Likewise. (sem_item_optimizer::read_section): Use symtab_node::name instead of sem_item::name. (sem_item_optimizer::parse_funcs_and_vars): Likewise. (sem_item_optimizer::merge_classes): Wrap symtab_node::name and symtab_node::asm_name with xstrdup_for_dump. (congruence_class::dump): Use symtab_node::name instead of sem_item::name. * ipa-icf.h (symtab_node::name): Remove. (symtab_node::asm_name): Likewise. From-SVN: r221491
Martin Liska committed -
PR tree-optimization/65450 * tree-vect-data-refs.c (vect_duplicate_ssa_name_ptr_info): New function. (vect_create_addr_base_for_vector_ref, vect_create_data_ref_ptr): Use it instead of duplicate_ssa_name_ptr_info. * gfortran.dg/pr65450.f90: New test. From-SVN: r221490
Jakub Jelinek committed -
re PR target/65222 (-mtune= or -march=: Not all options not documented: slm, knl, shanghai, istanbul) PR target/65222 * doc/invoke.texi: Add knl as x86 -march=/-mtune= CPU type. From-SVN: r221489
Jakub Jelinek committed -
2015-03-18 Richard Biener <rguenther@suse.de> * tree-data-ref.h (struct access_matrix): Remove. (AM_LOOP_NEST, AM_NB_INDUCTION_VARS, AM_PARAMETERS, AM_MATRIX, AM_NB_PARAMETERS, AM_CONST_COLUMN_INDEX, AM_NB_COLUMNS, AM_GET_SUBSCRIPT_ACCESS_VECTOR, AM_GET_ACCESS_MATRIX_ELEMENT): Likewise. (am_vector_index_for_loop): Likewise. (struct data_reference): Remove access_matrix member. (DR_ACCESS_MATRIX): Remove. (lambda_vector_new): Add comment. (lambda_matrix_new): Use XOBNEWVEC. From-SVN: r221488
Richard Biener committed -
2015-03-18 Richard Biener <rguenther@suse.de> * tree-ssa-loop-ch.c (pass_data_ch): Remove TODO_cleanup_cfg. (pass_ch::execute): Cleanup the CFG only if we did sth. * tree-vect-generic.c (pass_data_lower_vector): Remove TODO_cleanup_cfg. From-SVN: r221487
Richard Biener committed -
* expmed.c (synth_mult): Use std::swap instead of manually swapping algorithms. From-SVN: r221486
Kyrylo Tkachov committed
-