- 30 Jun, 2014 10 commits
-
-
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 13 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 -
* ipa-prop.c (ipa_set_jf_known_type): Record always the main variant of the type. (ipa_set_ancestor_jf) Likewise. (check_stmt_for_type_change): Check that we work on main variant. (detect_type_change): Look into main variant. (compute_known_type_jump_func): Check that main variant has BINFO. From-SVN: r212108
Jan Hubicka committed -
* ipa-devirt.c (set_type_binfo): New function. (add_type_duplicate): Use it. (get_odr_type): Sanity check that binfos points to main variants. (get_class_context): Be sure the context's outer_type is main variant. (contains_type_p): Walk main variant. (get_polymorphic_call_info_for_decl): Set outer_type to be main variant. (get_polymorphic_call_info): Likewise. (possible_polymorphic_call_targets): Sanity check that we operate on main variant. From-SVN: r212107
Jan Hubicka committed -
* stor-layout.c (finish_builtin_struct): Copy fields into the variants. From-SVN: r212106
Jan Hubicka committed -
2014-06-28 Paolo Carlini <paolo.carlini@oracle.com> Revert: 2014-06-18 Paolo Carlini <paolo.carlini@oracle.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR libstdc++/61536 * config/abi/pre/gnu.ver: Adjust for out of line comparisons. 2014-06-08 Paolo Carlini <paolo.carlini@oracle.com> * config/abi/pre/gnu.ver: Tighten some patterns; tidy. From-SVN: r212104
Paolo Carlini committed -
PR fortran/29383 gcc/fortran/ * gfortran.h (gfc_simplify_ieee_selected_real_kind): New prototype. * libgfortran.h (GFC_FPE_*): Use simple integer values, valid in both C and Fortran. * expr.c (gfc_check_init_expr): Simplify IEEE_SELECTED_REAL_KIND. * simplify.c (gfc_simplify_ieee_selected_real_kind): New function. * module.c (mio_symbol): Keep track of symbols which came from intrinsic modules. (gfc_use_module): Keep track of the IEEE modules. * trans-decl.c (gfc_get_symbol_decl): Adjust code since we have new intrinsic modules. (gfc_build_builtin_function_decls): Build decls for ieee_procedure_entry and ieee_procedure_exit. (is_from_ieee_module, is_ieee_module_used, save_fp_state, restore_fp_state): New functions. (gfc_generate_function_code): Save and restore floating-point state on procedure entry/exit, when IEEE modules are used. * intrinsic.texi: Document the IEEE modules. libgfortran/ * configure.host: Add checks for IEEE support, rework priorities. * configure.ac: Define IEEE_SUPPORT, check for fpsetsticky and fpresetsticky. * configure: Regenerate. * Makefile.am: Build new ieee files, install IEEE_* modules. * Makefile.in: Regenerate. * gfortran.map (GFORTRAN_1.6): Add new symbols. * libgfortran.h (get_fpu_trap_exceptions, set_fpu_trap_exceptions, support_fpu_trap, set_fpu_except_flags, support_fpu_flag, support_fpu_rounding_mode, get_fpu_state, set_fpu_state): New prototypes. * config/fpu-*.h (get_fpu_trap_exceptions, set_fpu_trap_exceptions, support_fpu_trap, set_fpu_except_flags, support_fpu_flag, support_fpu_rounding_mode, get_fpu_state, set_fpu_state): New functions. * ieee/ieee_features.F90: New file. * ieee/ieee_exceptions.F90: New file. * ieee/ieee_arithmetic.F90: New file. * ieee/ieee_helper.c: New file. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_fortran_ieee): New function. * gfortran.dg/ieee/ieee.exp: New file. * gfortran.dg/ieee/ieee_1.F90: New file. * gfortran.dg/ieee/ieee_2.f90: New file. * gfortran.dg/ieee/ieee_3.f90: New file. * gfortran.dg/ieee/ieee_4.f90: New file. * gfortran.dg/ieee/ieee_5.f90: New file. * gfortran.dg/ieee/ieee_6.f90: New file. * gfortran.dg/ieee/ieee_7.f90: New file. * gfortran.dg/ieee/ieee_rounding_1.f90: New file. From-SVN: r212102
Francois-Xavier Coudert committed -
2014-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert accidental change due to wide-int branch merge. From-SVN: r212100
Ulrich Weigand committed -
gcc/cp: DR 1579 PR c++/58051 * typeck.c (check_return_expr): Lookup as an rvalue even when the types aren't the same. gcc/testsuite: * g++.dg/cpp0x/elision_conv.C: New. From-SVN: r212099
Jonathan Wakely committed -
From-SVN: r212096
GCC Administrator committed
-
- 27 Jun, 2014 4 commits
-
-
re PR c++/61433 (ICE: SIGSEGV in friend_accessible_p (search.c:778) with -std=gnu++11 -O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra) PR c++/61433 * error.c (dump_template_bindings): Don't tsubst in a clone. From-SVN: r212091
Jason Merrill committed -
* Revert r212046 and r212054. From-SVN: r212085
Paolo Carlini committed -
2014-06-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gfortran.dg/nint_2.f90: Don't XFAIL for powerpc64le-*-linux*. From-SVN: r212075
Bill Schmidt committed -
/cp 2014-06-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/61614 * semantics.c (finish_compound_literal): Revert r204228. /testsuite 2014-06-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/61614 * g++.dg/ext/complit14.C: New. From-SVN: r212073
Paolo Carlini committed
-