- 15 Mar, 2017 5 commits
-
-
2017-03-15 Thomas Koenig <tkoenig@gcc.gnu.org> PR libfortran/79956 * libgfortran.h (GFC_ASSERT): New macro. * m4/reshape.m4 (reshape_'rtype_ccode`): Use GFC_ASSERT to specify that sdim > 0 and rdim > 0. * intrinsic/reshape_generic.c (reshape_internal): Likweise. * generated/reshape_c10.c: Regenerated. * generated/reshape_c16.c: Regenerated. * generated/reshape_c4.c: Regenerated. * generated/reshape_c8.c: Regenerated. * generated/reshape_i16.c: Regenerated. * generated/reshape_i4.c: Regenerated. * generated/reshape_i8.c: Regenerated. * generated/reshape_r10.c: Regenerated. * generated/reshape_r16.c: Regenerated. * generated/reshape_r4.c: Regenerated. * generated/reshape_r8.c: Regenerated. From-SVN: r246153
Thomas Koenig committed -
2017-03-15 Yaakov Selkowitz <yselkowitz@redhat.com> PR bootstrap/79771 * gzguts.h (WIDECHAR): Do not define for __CYGWIN__. * zlib.h (gzopen_w): Do not declare for __CYGWIN__. * win32/zlib.def: Remove gzopen_w. From-SVN: r246152
Yaakov Selkowitz committed -
re PR tree-optimization/79800 (wrong snprintf result range with precision in a narrow negative-positive range) PR tree-optimization/79800 * gimple-ssa-sprintf.c (format_floating: Add argument. Handle precision in negative-positive range. (format_floating): Call non-const overload with adjusted precision. PR tree-optimization/79800 * gcc.dg/tree-ssa/builtin-sprintf-warn-15.c: Add test cases. * gcc.dg/tree-ssa/pr79800.c: New test. From-SVN: r246151
Martin Sebor committed -
[gcc] 2017-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/79947 * config/rs6000/rs6000.h (TARGET_FRSQRTES): Add check for -mpowerpc-gfxopt. [gcc/testsuite] 2017-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/79947 * gcc.target/powerpc/pr79947.c: New test. From-SVN: r246150
Michael Meissner committed -
From-SVN: r246149
GCC Administrator committed
-
- 14 Mar, 2017 16 commits
-
-
PR middle-end/80020 * builtin-attrs.def (ATTR_ALLOC_SIZE_2_NOTHROW_LIST): New macro. * builtins.def (aligned_alloc): Use it. PR middle-end/80020 * gcc.dg/attr-alloc_size-6.c: Correct aligned_alloc argument order. * gcc.dg/attr-alloc_size-7.c: Same. * gcc.dg/attr-alloc_size-9.c: Same. * gcc.dg/builtin-alloc-size.c: Same. * gcc.dg/pr80020.c: New test. From-SVN: r246145
Martin Sebor committed -
PR c/79936 * Makefile.in (GTFILES): Add calls.c. * calls.c: Include "gt-calls.h". From-SVN: r246144
Martin Sebor committed -
PR rtl-optimization/79728 * regs.h (struct target_regs): New field x_contains_allocatable_regs_of_mode. (contains_allocatable_regs_of_mode): New macro. * reginfo.c (init_reg_sets_1): Initialize it, and change contains_reg_of_mode so it includes global regs as well. * reload.c (push_reload): Use contains_allocatable_regs_of_mode rather than contains_regs_of_mode. PR rtl-optimization/79728 * gcc.target/i386/sse-globalreg.c: New test. From-SVN: r246138
Bernd Schmidt committed -
2017-03-14 Martin Liska <mliska@suse.cz> * doc/invoke.texi: Document options that can't be combined with -fcheck-pointer-bounds. From-SVN: r246130
Martin Liska committed -
2017-03-14 Martin Liska <mliska@suse.cz> PR middle-end/79831 * doc/invoke.texi (-Wchkp): Document the option. From-SVN: r246129
Martin Liska committed -
PR libstdc++/79162 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string<C,T,A>::operator=(basic_string_view<C,T>)): Replace with a constrained template. [!_GLIBCXX_USE_CXX11_ABI] (basic_string<C,T,A>::operator=(basic_string_view<C,T>)): Likewise. * testsuite/21_strings/basic_string/cons/char/79162.cc: New test. * testsuite/21_strings/basic_string/cons/wchar_t/79162.cc: New test. From-SVN: r246128
Jonathan Wakely committed -
PR c++/79393 DR 1658 workaround * method.c (synthesized_method_base_walk): Inihibit abstract class virtual base access check here. (synthesized_method_walk): Not here. From-SVN: r246126
Nathan Sidwell committed -
2017-03-14 Martin Liska <mliska@suse.cz> * Makefile.in: Install gcov-dump. From-SVN: r246125
Martin Liska committed -
2017-03-14 Martin Liska <mliska@suse.cz> * multiple_target.c (expand_target_clones): Bail out for an invalid attribute. From-SVN: r246124
Martin Liska committed -
2017-03-14 Richard Biener <rguenther@suse.de> * alias.c (struct alias_set_entry): Pack properly. * cfgloop.h (struct loop): Likewise. * cse.c (struct set): Likewise. * ipa-utils.c (struct searchc_env): Likewise. * loop-invariant.c (struct invariant): Likewise. * lra-remat.c (struct cand): Likewise. * recog.c (struct change_t): Likewise. * rtl.h (struct address_info): Likewise. * symbol-summary.h (function_summary): Likewise. * tree-loop-distribution.c (struct partition): Likewise. * tree-object-size.c (struct object_size_info): Likewise. * tree-ssa-loop-ivopts.c (struct cost_pair): Likewise. * tree-ssa-threadupdate.c (struct ssa_local_info_t): Likewise. * tree-vect-data-refs.c (struct _vect_peel_info): Likewise. * tree-vect-slp.c (struct _slp_oprnd_info): Likewise. * tree-vect-stmts.c (struct simd_call_arg_info): Likewise. * tree-vectorizer.h (struct _loop_vec_info): Likewise. (struct _stmt_vec_info): Likewise. From-SVN: r246121
Richard Biener committed -
2017-03-14 Martin Liska <mliska@suse.cz> PR target/79892 * multiple_target.c (create_dispatcher_calls): Check that a target can create a function dispatcher. From-SVN: r246120
Martin Liska committed -
2017-03-14 Martin Liska <mliska@suse.cz> PR lto/66295 * multiple_target.c (expand_target_clones): Drop local.local flag for default implementation. 2017-03-14 Martin Liska <mliska@suse.cz> PR lto/66295 * gcc.dg/tree-prof/pr66295.c: New test. From-SVN: r246119
Martin Liska committed -
2017-03-14 James Cowgill <James.Cowgill@imgtec.com> * s-osinte-linux.ads (struct_sigaction): Use correct type for sa_flags. From-SVN: r246118
James Cowgill committed -
2017-03-14 Richard Biener <rguenther@suse.de> PR tree-optimization/80030 * tree-vect-stmts.c (vectorizable_store): Plug memleak. From-SVN: r246117
Richard Biener committed -
Without this my build breaks on older compilers like GCC-5.4. gcc/ChangeLog: 2017-03-13 Kito Cheng <kito.cheng@gmail.com> * config/riscv/riscv.c (riscv_emit_float_compare>: Use gcc_fallthrough() instead of __attribute__((fallthrough)); From-SVN: r246116
Kito Cheng committed -
From-SVN: r246115
GCC Administrator committed
-
- 13 Mar, 2017 19 commits
-
-
From-SVN: r246112
Joseph Myers committed -
* doc/gcc.texi: Remove "up" link to (DIR). * doc/gccint.texi: Ditto. From-SVN: r246111
Gerald Pfeifer committed -
* doc/install.texi (Specific) <avr>: Remove reference to binutils 2.13. From-SVN: r246110
Gerald Pfeifer committed -
PR libstdc++/80034 * include/bits/list.tcc (merge(list&&)): Use const for the size_t in the catch-block. (merge(list&&, _StrictWeakOrdering)): Likewise. * testsuite/23_containers/list/operations/80034.cc: New. From-SVN: r246107
Ville Voutilainen committed -
From-SVN: r246106
Joseph Myers committed -
While integrating the d_printing recursion guard change into gdb I noticed we forgot to initialize the demangle_component d_printing field in cplus_demangle_fill_{name,extended_operator,ctor,dtor}. As is done in cplus_demangle_fill_{component,builtin_type,operator}. It happened to work because in gcc all demangle_components were allocated through d_make_empty. But gdb has its own allocation mechanism (as might other users). libiberty/ChangeLog: * cp-demangle.c (cplus_demangle_fill_name): Initialize demangle_component d_printing. (cplus_demangle_fill_extended_operator): Likewise. (cplus_demangle_fill_ctor): Likewise. (cplus_demangle_fill_dtor): Likewise. From-SVN: r246105
Mark Wielaard committed -
* include/std/optional (bad_optional_access): Derive from std::exception. (bad_optional_access::bad_optional_access): Adjust. (bad_optional_access::what): New. (__throw_bad_optional_access(const char*)): Remove the parameter and adjust calls. * testsuite/20_util/optional/cons/value_neg.cc: Adjust. * testsuite/20_util/optional/typedefs.cc: Likewise. From-SVN: r246103
Ville Voutilainen committed -
* config/riscv/riscv.c (riscv_emit_float_compare): Use fallthru attribute rather than comments. From-SVN: r246101
Jeff Law committed -
* config/pdp11/pdp11.md (movmemhi): Adjust operand numbers to match_scratch operand is highest. From-SVN: r246100
Jeff Law committed -
2017-03-13 Martin Liska <mliska@suse.cz> PR middle-end/78339 * ipa-pure-const.c (warn_function_noreturn): If the declarations is a CHKP clone, use original declaration. 2017-03-13 Martin Liska <mliska@suse.cz> PR middle-end/78339 * gcc.target/i386/mpx/pr78339.c: New test. From-SVN: r246098
Martin Liska committed -
gcc/ 2017-03-13 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.c (arc_init): Use multiplier whenever we have it. (arc_conditional_register_usage): Use a different allocation order when optimizing for size. * common/config/arc/arc-common.c (arc_option_optimization_table): Section anchors default on when optimizing for size. From-SVN: r246091
Claudiu Zissulescu committed -
gcc/ 2017-03-13 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.md (*tst_bitfield_tst): Fix pattern. gcc/testsuite 2017-03-13 Claudiu Zissulescu <claziss@synopsys.com> * testsuite/gcc.target/arc/bitfield.c: New file. From-SVN: r246090
Claudiu Zissulescu committed -
gcc/ 2017-03-13 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.c (arc_output_addsi): Emit code density adds. * config/arc/arc.md (cpu_facility): Add cd variant. (*movqi_insn): Add code density variant. (*movhi_insn): Likewise. (*movqi_insn): Likewise. (*addsi3_mixed): Likewise. (subsi3_insn): Likewise. From-SVN: r246089
Claudiu Zissulescu committed -
Move pattern (movsi_insn) allows predicated instructions to be instructions which can hold all registers. However, the conditional variant doesn't. This patch fixes this problem. 2017-03-13 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.md (movsi_cond_exec): Update constraint. From-SVN: r246088
Claudiu Zissulescu committed -
fwprop step is placing in the REG_EQUIV notes constant pic unspecs expressions. Then, loop may use these notes for optimizations rezulting in complex patterns that are not supported by the current implementation. The patch adds handling of complex PIC addresses having MINUS or UNARY operations. gcc/ 2017-03-13 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.c (arc_legitimize_pic_address): Handle PIC expressions with MINUS and UNARY ops. gcc/testsuite 2017-03-13 Claudiu Zissulescu <claziss@synopsys.com> * gcc.target/arc/pr9001090948.c: New file. From-SVN: r246087
Claudiu Zissulescu committed -
PR c++/79393 DR 1658 workaround * method.c (synthesized_method_walk): Check vbases of abstract classes for dtor walk. From-SVN: r246085
Nathan Sidwell committed -
PR target/79911 * config/arm/neon.md (vec_sel_widen_ssum_lo<VQI:mode><VW:mode>3): Rename to... (vec_sel_widen_ssum_lo<mode><V_half>3): ... This. Avoid mismatch between vec_select and vector argument. (vec_sel_widen_ssum_hi<VQI:mode><VW:mode>3): Rename to... (vec_sel_widen_ssum_hi<mode><V_half>3): ... This. Likewise. (vec_sel_widen_usum_lo<VQI:mode><VW:mode>3): Rename to... (vec_sel_widen_usum_lo<mode><V_half>3): ... This. (vec_sel_widen_usum_hi<VQI:mode><VW:mode>3): Rename to... (vec_sel_widen_usum_hi<mode><V_half>3): ... This. From-SVN: r246084
Kyrylo Tkachov committed -
2017-03-13 Richard Biener <rguenther@suse.de> PR other/79991 * params.def (vect-max-peeling-for-alignment): Fix typo. From-SVN: r246083
Richard Biener committed -
From-SVN: r246082
GCC Administrator committed
-