- 30 Jun, 2014 22 commits
-
-
PR c++/61659 PR lto/53808 gcc/cp * decl2.c (maybe_emit_vtables): Mark all vtable entries if devirtualizing. * init.c (build_vtbl_address): Don't mark destructor. * class.c (finish_struct_1): Add all classes to keyed_classes if devirtualizing. libstdc++-v3/ * libsupc++/cxxabi.h (class __pbase_type_info): __pointer_catch is pure, not inline. From-SVN: r212174
Jason Merrill committed -
PR rtl-opt/61608 PR target/39284 * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup the cfg if there were any changes. * passes.def: Revert move of peephole2 after reorder_blocks; move duplicate_computed_gotos before peephole2. From-SVN: r212172
Richard Henderson committed -
* except.c (emit_note_eh_region_end): New helper function. (convert_to_eh_region_ranges): Use emit_note_eh_region_end to emit EH_REGION_END note. * jump.c (cleanup_barriers): Do not split a call and its corresponding CALL_ARG_LOCATION note. From-SVN: r212171
Uros Bizjak committed -
* ChangeLog: Fix whitespace. * testsuite/ChangeLog: Ditto. From-SVN: r212170
Uros Bizjak committed -
2014-06-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gfortran.dg/round_4.f90: Skip for powerpc*-*-linux* since the test requires greater precision than the current PowerPC long double implementation supports. From-SVN: r212169
Bill Schmidt committed -
re PR c++/61647 (internal compiler error: in push_access_scope, at cp/pt.c:219 for a c++ header, clang++ 3.4 generate .pch without error) PR c++/61647 * pt.c (type_dependent_expression_p): Check BASELINK_OPTYPE. From-SVN: r212168
Jason Merrill committed -
PR c++/61566 * mangle.c (decl_mangling_context): Look through a TEMPLATE_DECL. From-SVN: r212165
Jason Merrill committed -
* decl.c (build_ptrmemfunc_type): Don't give a PMF RECORD_TYPE TYPE_BINFO or TYPE_LANG_SPECIFIC. * cp-tree.h (TYPE_PTRMEMFUNC_FLAG): Use TYPE_LANG_FLAG_2. (TYPE_PTRMEMFUNC_P): Don't expect TYPE_LANG_SPECIFIC. * typeck.c (build_ptrmemfunc_access_expr): Don't use lookup_member. * pt.c (unify): Also check whether the argument is a PMF. From-SVN: r212164
Jason Merrill committed -
/cp 2014-06-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54891 * parser.c (cp_parser_tokens_start_cast_expression): In C++11 a '[' can also start a primary-expression. (cp_parser_cast_expression): Parse a cast-expression only tentatively when cp_parser_tokens_start_cast_expression returns -1. /testsuite 2014-06-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/54891 * g++.dg/cpp0x/lambda/lambda-cast1.C: New. From-SVN: r212162
Paolo Carlini committed -
/c-family 2014-06-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51400 * c-common.c (handle_noreturn_attribute, handle_const_attribute): Do not discard TYPE_QUALS of type. /testsuite 2014-06-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51400 * g++.dg/cpp0x/constexpr-attribute3.C: New. From-SVN: r212155
Paolo Carlini committed -
PR c++/61539 * pt.c (unify_one_argument): Type/expression mismatch just causes deduction failure. From-SVN: r212154
Jason Merrill committed -
* semantics.c (simplify_aggr_init_expr): Remove remnants of 2014-04-11 change. From-SVN: r212153
Jason Merrill committed -
tree-optimization/61607 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look deeper into the SSA_NAME_VALUE chain. tree-optimization/61607 * gcc.dg/tree-ssa/pr61607.c: New test. From-SVN: r212149
Jeff Law committed -
convert.c (convert_to_integer): Don't instrument conversions if the function has no_sanitize_undefined attribute. * convert.c (convert_to_integer): Don't instrument conversions if the function has no_sanitize_undefined attribute. * ubsan.c: Don't run the ubsan pass if the function has no_sanitize_undefined attribute. c/ * c-decl.c (grokdeclarator): Don't instrument VLAs if the function has no_sanitize_undefined attribute. cp/ * cp-gimplify.c (cp_genericize): Don't instrument returns if the function has no_sanitize_undefined attribute. * decl.c (compute_array_index_type): Don't instrument VLAs if the function has no_sanitize_undefined attribute. testsuite/ * c-c++-common/ubsan/attrib-2.c: New test. * g++.dg/ubsan/return-3.C: New test. From-SVN: r212148
Marek Polacek committed -
* doc/invoke.texi (-fsanitize=bounds): Move to the table with -fsanitize=undefined suboptions. From-SVN: r212146
Jakub Jelinek committed -
* config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian. * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert against bigendian and adjust indices. From-SVN: r212142
Alan Lawrence committed -
From-SVN: r212140
Gerald Pfeifer committed -
PR middle-end/57541 gcc/c/ * c-array-notation.c (fix_builtin_array_notation_fn): Check for 0 arguments in builtin call. Check that bultin argument is correct. * c-parser.c (c_parser_array_notation): Check for incorrect initial index. gcc/cpp/ * cp-array-notation.c (expand_sec_reduce_builtin): Check that bultin argument is correct. * call.c (build_cxx_call): Check for 0 arguments in builtin call. gcc/testsuite/ * c-c++-common/cilk-plus/AN/pr57541.c: New case added. * c-c++-common/cilk-plus/AN/pr57541-2.c: New test. From-SVN: r212138
Igor Zamyatin committed -
PR target/61633 The two split patterns associated with aarch64_ashr_sisd_or_int_<mode>3 split the instruction into a NEG followed by an SHL. The split uses one of the input operands as a scratch register to hold the output of the NEG resulting in register corruption. This patch adjusts the splits to use the output operand as the scratch register. 2014-06-30 Marcus Shawcroft <marcus.shawcroft@arm.com> PR target/61633 * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3): Add alternative; make early clobber. Adjust both split patterns to use operand 0 as the working register. From-SVN: r212137
Marcus Shawcroft committed -
ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0, as ira_object_id_map might be NULL, or 1. * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0, as ira_object_id_map might be NULL, or 1. From-SVN: r212136
Jakub Jelinek committed -
ChangeLog: 2014-06-30 Zhenqiang Chen <zhenqiang.chen@linaro.org> * loop-invariant.c (get_inv_cost): Handle register class. (gain_for_invariant): Check the register pressure of the inv and its overlapped register class, other than all. testsuite/ChangeLog: 2014-06-30 Zhenqiang Chen <zhenqiang.chen@linaro.org> * ira-loop-pressure.c: New test. From-SVN: r212135
Zhenqiang Chen committed -
From-SVN: r212132
GCC Administrator committed
-
- 29 Jun, 2014 13 commits
-
-
invoke.texi (Optimize Options): Fix descriptions of ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus. * doc/invoke.texi (Optimize Options): Fix descriptions of ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus. From-SVN: r212129
Gerald Pfeifer committed -
* doc/extend.texi (Function Attributes): Update 'naked' attribute documentation. From-SVN: r212128
David Wohlferd committed -
From-SVN: r212127
Gerald Pfeifer committed -
* config/fpu-387.h (my_fenv_t): Amend structure so it also works on mingw32. From-SVN: r212126
Francois-Xavier Coudert committed -
* graphite-isl-ast-to-gimple.c: Add missing guards. From-SVN: r212125
Tobias Grosser committed -
gcc/ * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o. * common.opt: Add new switch fgraphite-code-generator=[isl|cloog]. * flag-types.h: Add new enum fgraphite_generator. * graphite-isl-ast-to-gimple.c: New. * graphite-isl-ast-to-gimple.h: New. * graphite.c (graphite_transform_loops): Add choice of Graphite code generator, which depends on flag_graphite_code_gen. gcc/testsuite/gcc.dg/graphite/isl-codegen-loop-dumping.c: New testcase that checks that the dump is generated. From-SVN: r212124
Roman Gareev committed -
PR fortran/36275 PR fortran/38839 * decl.c (check_bind_name_identifier): New function. (gfc_match_bind_c): Match any constant expression as binding label. * match.c (gfc_match_name_C): Remove. * gfortran.dg/binding_label_tests_2.f03: Adjust error messages. * gfortran.dg/binding_label_tests_27.f90: New file. From-SVN: r212123
Francois-Xavier Coudert committed -
graphite-dependences.c (subtract_commutative_associative_deps): Add NULL checking of the following variables... gcc/ * graphite-dependences.c (subtract_commutative_associative_deps): Add NULL checking of the following variables: must_raw_no_source, may_raw_no_source, must_war_no_source, may_war_no_source, must_waw_no_source, may_waw_no_source, must_raw, may_raw, must_war, may_war, must_waw, may_waw gcc/testsuite/gfortran.dg/graphite/pr59586.f: New testcase. From-SVN: r212122
Roman Gareev committed -
gcc/ * graphite-clast-to-gimple.c: gloog is renamed to graphite_regenerate_ast_cloog. gloog_error is renamed to graphite_regenerate_error. * graphite-clast-to-gimple.h: The definition of the struct bb_pbb_def is moved to graphite-htab.h. Add inclusion of the hash-table.h. * graphite-htab.h: The declaration of the function gloog is moved to graphite-clast-to-gimple.h and renamed to graphite_regenerate_ast_cloog. * graphite.c (graphite_transform_loops): gloog is renamed to graphite_regenerate_ast_cloog. From-SVN: r212121
Roman Gareev committed -
* gfortran.dg/ieee/ieee_6.f90: Allow inexact together with underflow. From-SVN: r212120
Andreas Schwab committed -
2014-06-28 Andrew Pinski <apinski@cavium.com> * lto.c (lto_read_decls): Fix comment in comment. From-SVN: r212119
Andrew Pinski committed -
2014-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/61640 * io/list_read.c (next_char_internal): Adjust the read length to a single wide character. (eat_spaces): Add missing paren. * io/unix.c (mem_read4): Use the correct mem_alloc function for wide character internal reads. From-SVN: r212118
Jerry DeLisle committed -
From-SVN: r212117
GCC Administrator committed
-
- 28 Jun, 2014 5 commits
-
-
* tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if type is complete. (write_ts_type_common_tree_pointers): Do not stream fields not set for incomplete types; do not stream duplicated fields for variants; sanity check that variant and type match. (write_ts_type_non_common_tree_pointers): Likewise. * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in TYPE_SIZE whether type is complete. (lto_input_ts_type_common_tree_pointers): Do same changes as in write_ts_type_common_tree_pointers (lto_input_ts_type_non_common_tree_pointers): Likewise. * lto.c (lto_copy_fields_not_streamed): New function. (compare_tree_sccs_1): Do not compare fields shared in between type and variant. (lto_read_decls): Fixup types first before inserting into hash. From-SVN: r212114
Jan Hubicka committed -
From-SVN: r212113
Jan Hubicka committed -
* objc-act.c (objc_xref_basetypes): Set TYPE_BINFO of type variants, too. From-SVN: r212112
Jan Hubicka committed -
tree-inline.c (remap_type_1): Do not duplicate fields that are shared in between type and its main variant. * tree-inline.c (remap_type_1): Do not duplicate fields that are shared in between type and its main variant. From-SVN: r212111
Jan Hubicka committed -
From-SVN: r212109
Richard Biener committed
-