- 20 Nov, 2013 32 commits
-
-
PR middle-end/21718 * real.c: Remove comment about decimal string conversion and rounding errors. (real_from_string): Use MPFR to convert nonzero decimal constant to REAL_VALUE_TYPE. testsuite: * gcc.dg/float-exact-1.c: New test. From-SVN: r205119
Joseph Myers committed -
arm.c (arm_dwarf_register_span): Take into account the endianness of the D registers for the legacy encodings. * config/arm/arm.c (arm_dwarf_register_span): Take into account the endianness of the D registers for the legacy encodings. From-SVN: r205118
Eric Botcazou committed -
PR rtl-optimization/54300 gcc/ PR rtl-optimization/54300 * regcprop.c (copyprop_hardreg_forward_1): Ensure any unused outputs in a single-set are killed from the value chains. gcc/testsuite: PR rtl-optimization/54300 * gcc.target/arm/pr54300.C: New test. From-SVN: r205117
Richard Earnshaw committed -
* cgraph.h (varpool_node): Add need_bounds_init field. * lto-cgraph.c (lto_output_varpool_node): Output need_bounds_init value. (input_varpool_node): Read need_bounds_init value. * varpool.c (dump_varpool_node): Dump need_bounds_init field. From-SVN: r205116
Ilya Enkovich committed -
PR 59212 * g++.dg/plugin/selfassign.c: Include stringpool.h From-SVN: r205115
Diego Novillo committed -
PR c++/59173 * include/ext/pointer.h (pointer_traits<>::rebind<>): Add template keyword in nested name. From-SVN: r205114
Jonathan Wakely committed -
* opts.c (finish_options): Imply -ffat-lto-objects with -fno-use-linker-plugin. * common.opt (fuse-linker-plugin): Add var. From-SVN: r205110
Jan Hubicka committed -
* dbxout.c (dbxout_type): Ignore POINTER_BOUNDS_TYPE. * dwarf2out.c (gen_subprogram_die): Ignore bound args. (gen_type_die_with_usage): Skip pointer bounds. (dwarf2out_global_decl): Likewise. From-SVN: r205109
Ilya Enkovich committed -
From-SVN: r205108
Richard Sandiford committed -
From-SVN: r205106
Ulrich Weigand committed -
gcc/ * config/aarch64/aarch64.md: Remove "mode" and "mode2" attributes from all insns. From-SVN: r205105
James Greenhalgh committed -
PR target/57756 * config/i386/i386.c (ix86_option_override_internal): Add missed argument prefix for 'ix86_fpmath'. * config/i386/ssemath.h: Add missed definition of TARGET_FPMATH_DEFAULT_P macros. From-SVN: r205104
Yuri Rumyantsev committed -
gcc/ada/ 2013-11-19 Kenneth Zadeck <zadeck@naturalbridge.com> Mike Stump <mikestump@comcast.net> Richard Sandiford <rdsandiford@googlemail.com> * gcc-interface/cuintp.c (UI_From_gnu): Use tree_to_shwi. * gcc-interface/decl.c (gnat_to_gnu_entity): Use tree_to_uhwi. * gcc-interface/utils.c (make_packable_type): Likewise. gcc/c-family/ 2013-11-19 Kenneth Zadeck <zadeck@naturalbridge.com> Mike Stump <mikestump@comcast.net> Richard Sandiford <rdsandiford@googlemail.com> * c-ada-spec.c (is_simple_enum): Use tree_to_shwi and tree_to_uhwi instead of TREE_INT_CST_LOW, in cases where there is a protecting tree_fits_shwi_p or tree_fits_uhwi_p. (dump_generic_ada_node): Likewise. * c-format.c (check_format_arg): Likewise. * c-pretty-print.c (pp_c_integer_constant): Likewise. gcc/ 2013-11-19 Kenneth Zadeck <zadeck@naturalbridge.com> Mike Stump <mikestump@comcast.net> Richard Sandiford <rdsandiford@googlemail.com> * alias.c (ao_ref_from_mem): Use tree_to_shwi and tree_to_uhwi instead of TREE_INT_CST_LOW, in cases where there is a protecting tree_fits_shwi_p or tree_fits_uhwi_p. * builtins.c (fold_builtin_powi): Likewise. * config/epiphany/epiphany.c (epiphany_special_round_type_align): Likewise. * dbxout.c (dbxout_symbol): Likewise. * expr.c (expand_expr_real_1): Likewise. * fold-const.c (fold_single_bit_test, fold_plusminus_mult_expr) (fold_binary_loc): Likewise. * gimple-fold.c (fold_const_aggregate_ref_1): Likewise. * gimple-ssa-strength-reduction.c (stmt_cost): Likewise. * omp-low.c (lower_omp_for_lastprivate): Likewise. * simplify-rtx.c (delegitimize_mem_from_attrs): Likewise. * stor-layout.c (compute_record_mode): Likewise. * tree-cfg.c (verify_expr): Likewise. * tree-dfa.c (get_ref_base_and_extent): Likewise. * tree-pretty-print.c (dump_array_domain): Likewise. * tree-sra.c (build_user_friendly_ref_for_offset): Likewise. * tree-ssa-ccp.c (fold_builtin_alloca_with_align): Likewise. * tree-ssa-loop-ivopts.c (get_loop_invariant_expr_id): Likewise. * tree-ssa-math-opts.c (execute_cse_sincos): Likewise. * tree-ssa-phiopt.c (hoist_adjacent_loads): Likewise. * tree-ssa-reassoc.c (acceptable_pow_call): Likewise. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. (ao_ref_init_from_vn_reference, vn_reference_fold_indirect): Likewise. (vn_reference_lookup_3, simplify_binary_expression): Likewise. * tree-ssa-structalias.c (bitpos_of_field): Likewise. (get_constraint_for_1, push_fields_onto_fieldstack): Likewise. (create_variable_info_for_1): Likewise. * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Likewise. (vect_verify_datarefs_alignment): Likewise. (vect_analyze_data_ref_accesses): Likewise. (vect_prune_runtime_alias_test_list): Likewise. * tree-vectorizer.h (NITERS_KNOWN_P): Likewise. Co-Authored-By: Mike Stump <mikestump@comcast.net> Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r205103
Kenneth Zadeck committed -
gcc/ * tree-ssa-alias.c (ao_ref_init_from_ptr_and_size): Avoid signed overflow. Use tree_to_shwi. From-SVN: r205102
Richard Sandiford committed -
fold-const.c (fold_binary_loc): Use unsigned rather than signed HOST_WIDE_INTs when folding (x >> c) << c. gcc/ * fold-const.c (fold_binary_loc): Use unsigned rather than signed HOST_WIDE_INTs when folding (x >> c) << c. From-SVN: r205101
Richard Sandiford committed -
gcc/c-family/ 2013-11-19 Kenneth Zadeck <zadeck@naturalbridge.com> * c-common.c (check_function_arguments_recurse): Use tree_to_uhwi. From-SVN: r205100
Kenneth Zadeck committed -
2013-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> Dominik Vogt <vogt@linux.vnet.ibm.com> * config/s390/s390.c (s390_canonicalize_comparison): Don't fold int comparisons with an out of range condition code. (s390_optimize_nonescaping_tx): Skip empty BBs. Generate the new tbegin RTX when removing the FPR clobbers (with two SETs). (s390_expand_tbegin): Fix the retry loop counter. Copy CC to the result before doing the retry calculations. (s390_init_builtins): Make tbegin "returns_twice" and tabort "noreturn". * config/s390/s390.md (UNSPECV_TBEGIN_TDB): New constant used for the TDB setting part of an tbegin. ("tbegin_1", "tbegin_nofloat_1"): Add a set for the TDB. ("tx_assist"): Set unused argument to an immediate zero instead of loading zero into a GPR and pass it as argument. * config/s390/htmxlintrin.h (__TM_simple_begin, __TM_begin): Remove inline and related attributes. (__TM_nesting_depth, __TM_is_user_abort, __TM_is_named_user_abort) (__TM_is_illegal, __TM_is_footprint_exceeded) (__TM_is_nested_too_deep, __TM_is_conflict): Fix format value check. 2013-11-20 Dominik Vogt <vogt@linux.vnet.ibm.com> * gcc.target/s390/htm-1.c: Rename to ... * gcc/testsuite/gcc.target/s390/htm-builtins-compile-1.c: ... this one. * gcc.target/s390/htm-xl-intrin-1.c: Rename to ... * gcc.target/s390/htm-builtins-compile-3.c: ... this one. * gcc.target/s390/htm-builtins-compile-2.c: New testcase. * gcc.target/s390/htm-builtins-1.c: New testcase. * gcc.target/s390/htm-builtins-2.c: New testcase. * gcc.target/s390/s390.exp: Add check for htm machine. From-SVN: r205099
Andreas Krebbel committed -
re PR target/59035 (FAIL: gcc.dg/torture/c99-contract-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test) 2013-11-20 Richard Biener <rguenther@suse.de> PR lto/59035 * lto-opts.c (lto_write_options): Write defaults only if they were not explicitely specified. Also write -ffp-contract default. * lto-wrapper.c (merge_and_complain): Merge -ffp-contract conservatively. (run_gcc): Pass through -ffp-contract. From-SVN: r205096
Richard Biener committed -
2013-11-20 Jan-Benedict Glaw <jbglaw@lug-owl.de> * config/mips/mips.c (r10k_simplify_address): Eliminate macro usage. [BR]: http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02455.html From-SVN: r205094
Jan-Benedict Glaw committed -
gcc/ * gcc/config/aarch64/aarch64-builtins.c (aarch64_simd_itype): Remove. (aarch64_simd_builtin_datum): Remove itype, add qualifiers pointer. (VAR1): Use qualifiers. (aarch64_build_scalar_type): New. (aarch64_build_vector_type): Likewise. (aarch64_build_type): Likewise. (aarch64_init_simd_builtins): Refactor, remove special cases, consolidate main loop. (aarch64_simd_expand_args): Likewise. From-SVN: r205092
James Greenhalgh committed -
From-SVN: r205091
Eric Botcazou committed -
2013-11-19 Joshua J Cogliati <jrincayc@yahoo.com> PR c/53001 Splitting out a -Wfloat-conversion from -Wconversion for conversions that lower floating point number precision or conversion from floating point numbers to integers. gcc/c-family/ * c-common.c (unsafe_conversion_p): Make this function return an enumeration with more detail. (conversion_warning): Use the new return type of unsafe_conversion_p to separately warn either about conversions that lower floating point number precision or about the other kinds of conversions. * c-common.h (enum conversion_safety): New enumeration. (unsafe_conversion_p): switching return type to conversion_safety enumeration. * c.opt: Adding new warning -Wfloat-conversion and enabling it with -Wconversion. gcc/ * doc/invoke.texi: Adding documentation about -Wfloat-conversion. gcc/testsuite/ * c-c++-common/Wfloat-conversion.c: Copies relevant tests from c-c++-common/Wconversion-real.c, gcc.dg/Wconversion-real-integer.c and gcc.dg/pr35635.c into new testcase for conversions that are warned about by -Wfloat-conversion. From-SVN: r205090
Joshua J Cogliati committed -
From-SVN: r205089
Miro Kropacek committed -
From-SVN: r205088
Uros Bizjak committed -
From-SVN: r205087
David Edelsohn committed -
gcc/ * gdbhooks.py (VecPrinter): New class, for prettyprinting pointers to "vec<>" instances. (build_pretty_printer): Register the vec<>* prettyprinter. From-SVN: r205086
David Malcolm committed -
* gdbhooks.py (GdbSubprinter.__init__): Drop str_type_ field. (GdbSubprinter.handles_type): New. (GdbSubprinterTypeList): New subclass of GdbSubprinter. (GdbSubprinterRegex): New subclass of GdbSubprinter. (GdbPrettyPrinters.add_printer): Remove in favor of... (GdbPrettyPrinters.add_printer_for_types): ...this new method and... (GdbPrettyPrinters.add_printer_for_regex): ...this other new method. (GdbPrettyPrinters.__call__): Update search for subprinter to use handles_type method. (build_pretty_printer): Update registration of subprinters to use the new API above, supporting multiple spelling of each type, and allowing for future regex-based subprinters. From-SVN: r205085
David Malcolm committed -
2013-11-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Adjust V16QI vector splat case for little endian. From-SVN: r205080
Bill Schmidt committed -
* tree-ssa-threadedge.c (thread_across_edge): After threading through a joiner, allow threading a normal block requiring duplication. * tree-ssa-threadupdate.c (thread_block_1): Improve code to detect jump threading requests that would muck up the loop structures. From-SVN: r205074
Jeff Law committed -
* tree-ssa-threadupdate.c: Fix trailing whitespace. * tree-ssa-threadupdate.h: Likewise. From-SVN: r205072
Jeff Law committed -
From-SVN: r205071
Mike Stump committed -
From-SVN: r205068
GCC Administrator committed
-
- 19 Nov, 2013 8 commits
-
-
* common.opt (ffat-lto-objects): Disable by default. * doc/invoke.texi (fat-lto-objects): Update documentation. * opts.c: Enable fat-lto-objects on lto plugin disable setups. From-SVN: r205065
Jan Hubicka committed -
From-SVN: r205064
Jan Hubicka committed -
* config/abi/pre/gnu.ver (_ZNSt11regex_errorC*): Export regex_error constructors. * testsuite/20_util/addressof/1.cc: Remove { dg-do compile }. * testsuite/20_util/allocator_traits/members/destroy.cc: Likewise. * testsuite/20_util/allocator_traits/members/select.cc: Likewise. Fix failure. * testsuite/28_regex/basic_regex/ctors/extended/cstring.cc: Likewise. * testsuite/28_regex/init-list.cc: Likewise. * testsuite/28_regex/regex_error/regex_error.cc: Likewise. * testsuite/28_regex/sub_match/length.cc: Likewise. Add main. * testsuite/28_regex/sub_match/cast_char.cc: Likewise. Fix test. * testsuite/28_regex/sub_match/cast_wchar_t.cc: Likewise. * testsuite/tr1/7_regular_expressions/regex/cons/char/ c_string_extended.cc: Delete. From-SVN: r205063
Jonathan Wakely committed -
2013-11-19 Martin Jambor <mjambor@suse.cz> PR rtl-optimization/59099 * ira.c (find_moveable_pseudos): Put back various analyses from ira() here. (ira): Move init_reg_equiv and call to split_live_ranges_for_shrink_wrap up, remove analyses around call to find_moveable_pseudos. testsuite/ * gcc.target/i386/pr59099.c: New test. From-SVN: r205061
Martin Jambor committed -
* config/rs6000/sysv4.h (CC1_ENDIAN_LITTLE_SPEC): Define as empty. * config/rs6000/rs6000.c (rs6000_option_override_internal): Default to strict alignment on older processors when little-endian. * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Default to power8 for ELFv2. From-SVN: r205060
Alan Modra committed -
2013-11-19 Teresa Johnson <tejohnson@google.com> * common/config/i386/i386-common.c: Enable -freorder-blocks-and-partition at -O2 and up for x86. * doc/invoke.texi: Update -freorder-blocks-and-partition default. * opts.c (finish_options): Only warn if -freorder-blocks-and- partition was set on command line. From-SVN: r205058
Teresa Johnson committed -
Emit a label for the split cold function part. Label name is formed by suffixing the original function name with "cold". Patch tested for bootstrap on all default languages on x86_64 and regression testsuite checked for parity with RUNTESTFLAGS -m32 and m64. From-SVN: r205057
Sriraman Tallam committed -
* testsuite/23_containers/forward_list/allocator/noexcept.cc: Change to compile-only test. Adjust swap overload to handle rebound allocators. * testsuite/23_containers/map/allocator/noexcept.cc: Likewise. * testsuite/23_containers/multimap/allocator/noexcept.cc: Likewise. * testsuite/23_containers/multiset/allocator/noexcept.cc: Likewise. * testsuite/23_containers/set/allocator/noexcept.cc: Likewise. * testsuite/23_containers/unordered_map/allocator/noexcept.cc: Likewise. * testsuite/23_containers/unordered_multimap/allocator/noexcept.cc: Likewise. * testsuite/23_containers/unordered_multiset/allocator/noexcept.cc: Likewise. * testsuite/23_containers/unordered_set/allocator/noexcept.cc: Likewise. * testsuite/23_containers/vector/allocator/noexcept.cc: Likewise. * testsuite/23_containers/vector/allocator/swap.cc: Add elements before swapping. From-SVN: r205056
Jonathan Wakely committed
-