- 21 May, 2013 11 commits
-
-
re PR tree-optimization/57331 (ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have pointer_type in int_fits_type_p, at tree.c:8437) PR tree-optimization/57331 * tree-vrp.c (simplify_cond_using_ranges): Don't optimize comparison of conversion from pointer type to integral type with integer. * gcc.c-torture/compile/pr57331.c: New test. From-SVN: r199148
Jakub Jelinek committed -
contrib/ * repro_fail: filter out "-ignore SIGHUP" from the spawn lines From-SVN: r199147
David Malcolm committed -
2013-05-21 Martin Jambor <mjambor@suse.cz> PR lto/57289 * ipa-prop.c (ipa_read_node_info): Process param_used and controlled_uses in the same order as when writing. From-SVN: r199145
Martin Jambor committed -
TARGET_H was removed in commit 188166, however several plugins need it, see the PR for details. Applying under the trivial rule. From-SVN: r199144
Magnus Granberg committed -
2013-05-21 Richard Biener <rguenther@suse.de> PR tree-optimization/57318 * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Do not estimate stmts with side-effects as likely eliminated. From-SVN: r199140
Richard Biener committed -
2013-05-21 Richard Biener <rguenther@suse.de> PR tree-optimization/57330 * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Properly preserve the call stmts fntype. * gcc.dg/torture/pr57330.c: New testcase. From-SVN: r199139
Richard Biener committed -
PR libstdc++/57336 * include/std/functional (__invoke): Do not form function types with abstract return type. * testsuite/20_util/reference_wrapper/invoke-3.cc: New. From-SVN: r199136
Jonathan Wakely committed -
2013-05-21 Richard Biener <rguenther@suse.de> PR tree-optimization/57303 * tree-ssa-sink.c (statement_sink_location): Improve killing stmt detection and properly handle self-assignments. * gcc.dg/torture/pr57303.c: New testcase. From-SVN: r199135
Richard Biener committed -
PR tree-optimization/57321 * gcc.c-torture/execute/pr57321.c: New test. From-SVN: r199133
Jakub Jelinek committed -
2013-05-21 Christian Bruel <christian.bruel@st.com> * dwarf2out.c (multiple_reg_loc_descriptor): Use dbx_reg_number for spanning registers. LEAF_REG_REMAP is supported only for contiguous registers. Set register size out of the PARALLEL loop. From-SVN: r199132
Christian Bruel committed -
From-SVN: r199131
GCC Administrator committed
-
- 20 May, 2013 15 commits
-
-
PR c++/57016 * pt.c (instantiation_dependent_r) [TRAIT_EXPR]: Only check type2 if there is one. From-SVN: r199126
Jason Merrill committed -
PR c++/57102 * decl.c (fndecl_declared_return_type): Also look in DECL_SAVED_FUNCTION_DATA. From-SVN: r199125
Jason Merrill committed -
2013-05-20 Tobias Burnus <burnus@net-b.de> PR fortran/48858 PR fortran/55465 * decl.c (add_global_entry): Add sym_name. * parse.c (add_global_procedure): Ditto. * resolve.c (resolve_bind_c_derived_types): Handle multiple decl for a procedure. (resolve_global_procedure): Handle gsym->ns pointing to a module. * trans-decl.c (gfc_get_extern_function_decl): Ditto. 2013-05-20 Tobias Burnus <burnus@net-b.de> PR fortran/48858 PR fortran/55465 * gfortran.dg/binding_label_tests_10_main.f03: Update dg-error. * gfortran.dg/binding_label_tests_11_main.f03: Ditto. * gfortran.dg/binding_label_tests_13_main.f03: Ditto. * gfortran.dg/binding_label_tests_3.f03: Ditto. * gfortran.dg/binding_label_tests_4.f03: Ditto. * gfortran.dg/binding_label_tests_5.f03: Ditto. * gfortran.dg/binding_label_tests_6.f03: Ditto. * gfortran.dg/binding_label_tests_7.f03: Ditto. * gfortran.dg/binding_label_tests_8.f03: Ditto. * gfortran.dg/c_loc_tests_12.f03: Fix test case. * gfortran.dg/binding_label_tests_24.f90: New. * gfortran.dg/binding_label_tests_25.f90: New. From-SVN: r199120
Tobias Burnus committed -
2013-05-20 Tobias Burnus <burnus@net-b.de> PR fortran/48858 * decl.c (add_global_entry): Use nonbinding name only for F2003 or if no binding label exists. (gfc_match_entry): Update calls. * parse.c (gfc_global_used): Improve error message. (add_global_procedure): Use nonbinding name only for F2003 or if no binding label exists. (gfc_parse_file): Update call. * resolve.c (resolve_global_procedure): Use binding name when available. * trans-decl.c (gfc_get_extern_function_decl): Ditto. 2013-05-20 Tobias Burnus <burnus@net-b.de> PR fortran/48858 * gfortran.dg/binding_label_tests_17.f90: New. * gfortran.dg/binding_label_tests_18.f90: New. * gfortran.dg/binding_label_tests_19.f90: New. * gfortran.dg/binding_label_tests_20.f90: New. * gfortran.dg/binding_label_tests_21.f90: New. * gfortran.dg/binding_label_tests_22.f90: New. * gfortran.dg/binding_label_tests_23.f90: New. From-SVN: r199119
Tobias Burnus committed -
2013-05-20 Tobias Burnus <burnus@net-b.de> PR fortran/48858 * decl.c (gfc_match_bind_c_stmt): Add gfc_notify_std. * match.c (gfc_match_common): Don't add commons to gsym. * resolve.c (resolve_common_blocks): Add to gsym and add checks. (resolve_bind_c_comms): Remove. (resolve_types): Remove call to the latter. * trans-common.c (gfc_common_ns): Remove static var. (gfc_map_of_all_commons): Add static var. (build_common_decl): Correctly handle binding label. 2013-05-20 Tobias Burnus <burnus@net-b.de> PR fortran/48858 * gfortran.dg/test_common_binding_labels.f03: Update dg-error. * gfortran.dg/test_common_binding_labels_2_main.f03: Ditto. * gfortran.dg/test_common_binding_labels_3_main.f03: Ditto. * gfortran.dg/common_18.f90: New. * gfortran.dg/common_19.f90: New. * gfortran.dg/common_20.f90: New. * gfortran.dg/common_21.f90: New. From-SVN: r199118
Tobias Burnus committed -
/cp 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/12288 * parser.c (cp_parser_parameter_declaration): Check return value of cp_parser_parse_and_diagnose_invalid_type_name. /testsuite 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/12288 * g++.dg/parse/error52.C: New. * g++.dg/parse/error3.C: Adjust. * g++.dg/parse/error36.C: Likewise. From-SVN: r199115
Paolo Carlini committed -
re PR c++/57319 (bogus "defaulted move assignment for ... calls a non-trivial move assignment operator for virtual base ...") PR c++/57319 * class.c (vbase_has_user_provided_move_assign): New. * method.c (synthesized_method_walk): Check it. * cp-tree.h: Declare it. From-SVN: r199114
Jason Merrill committed -
PR c++/57325 * tree.c (build_cplus_array_type): Copy layout info if element type is complete. From-SVN: r199113
Jason Merrill committed -
PR target/56547 * config/sh/sh.md (fmasf4): Remove empty constraints strings. (*fmasf4, *fmasf4_media): New insns. PR target/56547 * gcc.target/sh/pr56547-1.c: New. * gcc.target/sh/pr56547-2.c: New. From-SVN: r199110
Oleg Endo committed -
/cp 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/23608 * call.c (build_new_op_1): Propagate loc to cp_build_binary_op. /testsuite 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/23608 * g++.dg/warn/Wsign-compare-6.C: New. * g++.dg/warn/Wdouble-promotion.C: Adjust. From-SVN: r199102
Paolo Carlini committed -
re PR c++/57317 (bogus and unsuppressible warning: 'YYY' has a base 'ZZZ' whose type uses the anonymous namespace) PR c++/57317 * decl2.c (determine_visibility): Use PRIMARY_TEMPLATE_P to decide whether a template has its own args. From-SVN: r199101
Jason Merrill committed -
/cp 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57327 * pt.c (unify_no_common_base): Swap arg and parm arguments to inform. /testsuite 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57327 * g++.dg/template/error50.C: New. From-SVN: r199097
Paolo Carlini committed -
/cp 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/10207 * parser.c (cp_parser_postfix_expression): Use cp_parser_braced_list instead of cp_parser_initializer_list for compound-literals. /testsuite 2013-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/10207 * g++.dg/ext/complit13.C: New. From-SVN: r199096
Paolo Carlini committed -
2013-05-20 Marc Glisse <marc.glisse@inria.fr> PR c++/57175 gcc/cp/ * typeck.c (check_return_expr): Reverse the alignment comparison. gcc/testsuite/ * g++.dg/pr57175.C: New testcase. From-SVN: r199093
Marc Glisse committed -
From-SVN: r199090
GCC Administrator committed
-
- 19 May, 2013 7 commits
-
-
* include/std/tuple (get): Implement N3670. * include/std/utility (get): Likewise. * testsuite/20_util/pair/get.cc: Move to ... * testsuite/20_util/pair/astuple/get.cc: Here. * testsuite/20_util/pair/astuple/astuple.cc: New. * testsuite/20_util/pair/astuple/constexpr_get.cc: New. * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New. * testsuite/20_util/pair/astuple/get_by_type.cc: New. * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New. * testsuite/20_util/pair/astuple/get_neg.cc: New. * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New. * testsuite/20_util/tuple/element_access/get2_by_type.cc: New. * testsuite/20_util/tuple/element_access/get_by_type.cc: New. From-SVN: r199082
Jonathan Wakely committed -
* Revert last commit. From-SVN: r199081
Paolo Carlini committed -
gcc/ * config/mips/mips.h (BASE_INSN_LENGTH, NOP_INSN_LENGTH): New macros. * config/mips/mips.c (mips_symbol_insns, mips_address_insns) (mips_const_insns, mips_split_const_insns, mips_load_store_insns) (mips_idiv_insns): Update the comments to say that the returned instruction counts are in units of BASE_INSN_LENGTH. (mips_adjust_insn_length): Multiply the mips_load_label_num_insns by BASE_INSN_LENGTH rather than 4. Add the jump separately, using 2 rather than 4 as the length of indirect MIPS16 and microMIPS jumps. Use NOP_INSN_LENGTH rather than 4 as the length of a NOP. Don't divide MIPS16 lengths by 2. (mips16_split_long_branches): Assume a branch is long if the length is greater than 4 rather than 8. * config/mips/mips.md (length): Give MIPS16 lengths directly, rather than multiplying them by 2. Multiply instruction counts by BASE_INSN_LENGTH rather than 4. (*jump_mips16, tls_get_tp_mips16_<mode>) (*tls_get_tp_mips16_call_<mode>): Divide lengths by 2. From-SVN: r199080
Richard Sandiford committed -
From-SVN: r199079
Uros Bizjak committed -
gcc/ * config/mips/mips.md (extended_mips16): Remove branch case. (length): Remove duplicated extended_mips16 test. From-SVN: r199078
Richard Sandiford committed -
gcc/ * config/mips/t-sde: Don't build 64-bit microMIPS multilibs. From-SVN: r199077
Richard Sandiford committed -
From-SVN: r199075
GCC Administrator committed
-
- 18 May, 2013 7 commits
-
-
2013-05-19 Matthias Klose <doko@ubuntu.com> * include/Makefile.am (bits_headers): Remove ${bits_host_headers}. (ext_headers): Remove ${ext_host_headers}. (stamp-${host_alias}): Create ${host_builddir}/../ext. (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}. (install-headers): Install ${bits_host_headers} and ${ext_host_headers}. * include/Makefile.in: Regenerate. From-SVN: r199072
Matthias Klose committed -
* include/std/system_error (error_category::error_category()): LWG 2145: Declare public and constexpr. * src/c++11/system_error.cc (error_category::error_category()): Move definition to ... * src/c++11/compatibility-c++0x.cc: Here. From-SVN: r199071
Jonathan Wakely committed -
From-SVN: r199070
Jonathan Wakely committed -
* include/bits/unique_ptr.h (make_unique): Declare inline. (unique_ptr<T[],D>::reset()): Combine two overloads into one. (default_delete, unique_ptr): Add doxygen comments. * include/bits/shared_ptr_base.h: Improve doxygen comments. * include/bits/shared_ptr.h: Likewise. * testsuite/20_util/default_delete/48631_neg.cc: Adjust dg-error line number. * testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise. From-SVN: r199069
Jonathan Wakely committed -
From-SVN: r199066
Jonathan Wakely committed -
* include/std/utility (exchange): Define. * testsuite/20_util/exchange/1.cc: New. From-SVN: r199061
Jonathan Wakely committed -
* include/bits/unique_ptr.h (make_unique): Define. * testsuite/20_util/unique_ptr/creation/single.cc: New. * testsuite/20_util/unique_ptr/creation/array.cc: New. * testsuite/20_util/unique_ptr/creation/array_neg.cc: New. From-SVN: r199057
Jonathan Wakely committed
-