- 22 Feb, 2016 18 commits
-
-
From-SVN: r233617
Joseph Myers committed -
There is some controversy about enabling -Wunused-const-variable for all unused static const variables because some feel there are too many errors exposed in header files. Create two levels for -Wunused-const-variable. One level to only check for unused static const variables in the main compilation file. Which is enabled by -Wunused-variable. And a second level that also checks for unused static const variables in included files. Which must be explicitly enabled. gcc/ChangeLog PR c/28901 * cgraphunit.c (check_global_declaration): Check level of warn_unused_const_variable and main_input_filename. * doc/invoke.texi (Warning Options): Add -Wunused-const-variable=. (-Wunused-variable): For C implies -Wunused-const-variable=1. (-Wunused-const-variable): Explain levels 1 and 2. gcc/c-family/ChangeLog PR c/28901 * c.opt (Wunused-const-variable): Turn into Alias for... (Wunused-const-variable=): New option. gcc/testsuite/ChangeLog PR c/28901 * gcc.dg/unused-variable-3.c: New test. From-SVN: r233616
Mark Wielaard committed -
re PR target/69888 (ICE: SIGSEGV in decide_alg (i386.c:26169) due to infinite (?) recursion with -minline-all-stringops -mmemset-strategy=no_stringop:-1:noalign) PR target/69888 * config/i386/i386.c (decide_alg): Ensure we don't recurse with identical arguments. Formatting and spelling fixes. * gcc.target/i386/pr69888.c: New test. From-SVN: r233615
Jakub Jelinek committed -
re PR target/69888 (ICE: SIGSEGV in decide_alg (i386.c:26169) due to infinite (?) recursion with -minline-all-stringops -mmemset-strategy=no_stringop:-1:noalign) PR target/69888 * config/i386/i386.c (decide_alg): Ensure we don't recurse with identical arguments. Formatting and spelling fixes. * gcc.target/i386/pr69888.c: New test. From-SVN: r233614
Jakub Jelinek committed -
PR target/69885 * doc/md.texi (ashl@var{m}3): Document that mode of operand 2 must be specified. From-SVN: r233613
Jakub Jelinek committed -
From-SVN: r233612
Mike Stump committed -
PR target/69894 PR target/69895 * config/m68k/t-opts (OPTIONS_H_EXTRA): Add m68k-microarchs.def and m68k-devices.def. * config/c6x/t-c6x (OPTIONS_H_EXTRA): Add c6x-isas.def. * config/aarch64/t-aarch64 (OPTIONS_H_EXTRA): Add aarch64-arches.def. From-SVN: r233611
Jakub Jelinek committed -
2016-02-22 David Malcolm <dmalcolm@redhat.com> * MAINTAINERS (libcpp): Add myself. (diagnostic messages): Likewise. From-SVN: r233608
David Malcolm committed -
gcc/ * config/nvptx/nvptx.c (nvptx_gen_shuffle): Add support for QImode and HImode registers. libgomp/ * testsuite/libgomp.oacc-c-c++-common/vprop.c: New test. From-SVN: r233607
Cesar Philippidis committed -
2016-02-22 Richard Biener <rguenther@suse.de> PR tree-optimization/69882 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Properly preserve permutations present because of gaps. (vect_supported_load_permutation_p): Always continue checking permutations after vect_attempt_slp_rearrange_stmts. * gfortran.dg/vect/pr69882.f90: New testcase. From-SVN: r233605
Richard Biener committed -
tree-vect-loop.c (vect_estimate_min_profitable_iters): Dump min_profitable_estimate, rather than min_profitable_iters. * tree-vect-loop.c (vect_estimate_min_profitable_iters): Dump min_profitable_estimate, rather than min_profitable_iters. From-SVN: r233604
Bin Cheng committed -
PR target/69885 * config/m68k/m68k.md (ashldi3, ashrdi3, lshrdi3): Use SImode for last match_operand. * gcc.dg/pr69885.c: New test. From-SVN: r233603
Jakub Jelinek committed -
* hsa-gen.c (gen_hsa_clrsb): In case of zero value, return bitsize - 1 as the return value. From-SVN: r233602
Martin Liska committed -
gcc/ PR target/69806 PR target/54089 * config/sh/sh.c (sh_lshrsi_clobbers_t_reg_p, sh_dynamicalize_shift_p): Handle negative shift counts. * config/sh/sh.md (ashlsi3, lshrsi3_n, lshrsi3_n_clobbers_t): Don't use force_reg on the shift constant. (lshrsi3): Likewise. Expand into lshrsi3_n* instead of lshrsi3_d. (lshrsi3_d): Handle negative shift counts. gcc/testsuite/ PR target/69806 PR target/54089 * gcc.target/sh/pr54089-10.c: New. From-SVN: r233601
Oleg Endo committed -
2016-02-22 Richard Biener <rguenther@suse.de> Tom de Vries <tom@codesourcery.com> * graph.c: Include dumpfile.h. (print_graph_cfg): Split into three overloads. * gdbhooks.py (class DotFn): Add and instantiate, adding command dot-fn. Co-Authored-By: Tom de Vries <tom@codesourcery.com> From-SVN: r233600
Richard Biener committed -
2016-02-22 Tom de Vries <tom@codesourcery.com> * gdbhooks.py (class DumpFn): Add and instantiate, adding command dump-fn. From-SVN: r233599
Tom de Vries committed -
2016-02-22 Richard Biener <rguenther@suse.de> PR ipa/37448 * ipa-inline-transform.c (inline_call): When not updating overall summaries adjust self size by the growth estimate. * ipa-inline.c (inline_to_all_callers_1): Add to the callers hash-set, do not update overall summaries here. Renamed from ... (inline_to_all_callers): ... this which is now wrapping the above and performing delayed overall summary update. (early_inline_small_functions): Delay updating of the overall summary. From-SVN: r233598
Richard Biener committed -
From-SVN: r233597
GCC Administrator committed
-
- 21 Feb, 2016 2 commits
-
-
* tree-chkp.c (chkp_mark_invalid_bounds_walker): Initialize variable. From-SVN: r233593
Markus Trippelsdorf committed -
From-SVN: r233592
GCC Administrator committed
-
- 20 Feb, 2016 10 commits
-
-
2016-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/69423 * trans-decl.c (create_function_arglist): Deferred character length functions, with and without declared results, address the passed reference type as '.result' and the local string length as '..result'. (gfc_null_and_pass_deferred_len): Helper function to null and return deferred string lengths, as needed. (gfc_trans_deferred_vars): Call it, thereby reducing repeated code, add call for deferred arrays and reroute pointer function results. Avoid using 'tmp' for anything other that a temporary tree by introducing 'type_of_array' for the arrayspec type. 2016-02-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/69423 * gfortran.dg/deferred_character_15.f90 : New test. From-SVN: r233589
Paul Thomas committed -
2016-02-20 Dominique d'Humieres <dominiq@lps.ens.fr> PR fortran/57365 gfortran.dg/allocate_with_source_18.f03: New test. 2016-02-20 Harald Anlauf <anlauf@gmx.de> PR fortran/52531 gfortran.dg/gomp/pr52531.f90: New test. From-SVN: r233588
Dominique d'Humieres committed -
From-SVN: r233587
Tom de Vries committed -
From-SVN: r233586
Tom de Vries committed -
From-SVN: r233585
Tom de Vries committed -
From-SVN: r233584
Tom de Vries committed -
From-SVN: r233583
Tom de Vries committed -
2016-02-20 Tom de Vries <tom@codesourcery.com> * MAINTAINERS: Fix whitespace. From-SVN: r233582
Tom de Vries committed -
re PR c++/69743 (function overload with variadic arguments - template instantiation depth exceeds maximum (gcc4, clang - no problem)) PR c++/69743 * call.c (remaining_arguments): No longer static. * cp-tree.h: Declare it. * pt.c (more_specialized_fn): Use it. From-SVN: r233579
Jason Merrill committed -
From-SVN: r233578
GCC Administrator committed
-
- 19 Feb, 2016 10 commits
-
-
gcc/c-family/ChangeLog: 2016-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de> PR c++/69865 * c-opts.c (c_common_post_options): Move call to set_std_cxx14 from here... (c_common_init_options): ...to here. (set_std_cxx98): Initialize flag_isoc94 and flag_isoc99. gcc/testsuite/ChangeLog: 2016-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de> PR c++/69865 * c-c++-common/Wshift-negative-value-6.c: Add -std=c++11 before -std=c++03. From-SVN: r233574
Bernd Edlinger committed -
PR driver/69805 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): Use :%* in %:gt() argument. (greater_than_spec_func): Adjust for expecting only numbers, if there are more than two numbers, compare the last two. * testsuite/libgomp.c/pr69805.c: New test. From-SVN: r233573
Jakub Jelinek committed -
2016-02-19 Jakub Jelinek <jakub@redhat.com> Bernd Edlinger <bernd.edlinger@hotmail.de> * Make-lang.in: Invoke gperf with -L C++. * cfns.gperf: Remove prototypes for hash and libc_name_p inlines. * cfns.h: Regenerated. * except.c (nothrow_libfn_p): Adjust. Co-Authored-By: Bernd Edlinger <bernd.edlinger@hotmail.de> From-SVN: r233572
Jakub Jelinek committed -
PR c++/69826 * c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_GRAINSIZE. (init_pragma): Register PRAGMA_CILK_GRAINSIZE even for flag_preprocess_only. * c-c++-common/cilk-plus/CK/pr69826-1.c: New test. * c-c++-common/cilk-plus/CK/pr69826-2.c: New test. From-SVN: r233571
Jakub Jelinek committed -
* doc/invoke.texi (C++ Dialect Options): Clarify interaction of -Wnarrowing with -std. From-SVN: r233569
Jonathan Wakely committed -
PR c++/69850 * rtti.c (ifnonnull): Set TREE_NO_WARNING on the condition, use NE_EXPR instead of EQ_EXPR and swap last two arguments on COND_EXPR. * g++.dg/warn/Wnonnull-compare-4.C: New test. From-SVN: r233568
Jakub Jelinek committed -
From-SVN: r233567
Jakub Jelinek committed -
PR c++/69851 * expr.c (store_field): Don't use bit-field path if exp is COMPONENT_REF with TREE_ADDRESSABLE type, where TYPE_SIZE is different from bitsize, but DECL_SIZE of FIELD_DECL is bitsize and the assignment can be performed by bitwise copy. Formatting fix. * g++.dg/torture/pr69851.C: New test. From-SVN: r233566
Jakub Jelinek committed -
Tested on x86_64 by running make check-c with RUNTESTFLAGS='--target_board=unix/-m32/-m128bit-long-double dg.exp=pr61053.c' gcc/testsuite/ChangeLog: 2016-01-30 Martin Sebor <msebor@redhat.com> PR testsuite/69573 * gcc.dg/pr61053.c: Tweaked test to avoid bogus failures. From-SVN: r233564
Martin Sebor committed -
gcc/cp/ChangeLog: PR c++/68948 * pt.c (tsubst_baselink): Don't diagnose an invalid constructor call here. * semantics.c (finish_call_expr): Don't assume a constructor call is dependent if only the "this" pointer is dependent. When building a constructor call, always use a dummy object. From-SVN: r233563
Patrick Palka committed
-