- 23 Jun, 2015 21 commits
-
-
2015-06-23 Andreas Tobler <andreast@gcc.gnu.org> * configure.ac: Fix check for header <sys/sysctl.h>. * configure: Regenerate. * config.h.in: Likewise. From-SVN: r224855
Andreas Tobler committed -
2015-06-23 James Lemke <jwlemke@codesourcery.com> libgcc/config/arm/ * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries. From-SVN: r224854
James Lemke committed -
* c-common.c (warn_logical_operator): Use tree_int_cst_equal when comparing INTEGER_CSTs. * c-c++-common/Wlogical-op-3.c: New test. From-SVN: r224853
Marek Polacek committed -
2015-06-23 Paolo Carlini <paolo.carlini@oracle.com> PR c++/66254 * g++.dg/cpp0x/scoped_enum5.C: New. From-SVN: r224851
Paolo Carlini committed -
2015-06-23 Tom de Vries <tom@codesourcery.com> * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Use abort. * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c (main): Same. From-SVN: r224849
Tom de Vries committed -
PR c++/65879 * decl.c (grokfndecl): Check the linkage of ctype, not just TYPE_ANONYMOUS_P. * tree.c (no_linkage_check): Skip the 'this' pointer. From-SVN: r224844
Jason Merrill committed -
PR c++/66501 * class.c (type_has_nontrivial_assignment): New. * init.c (build_vec_init): Use it. * cp-tree.h: Declare it. * method.c (trivial_fn_p): Templates aren't trivial. From-SVN: r224843
Jason Merrill committed -
PR c++/66542 * decl.c (expand_static_init): Make sure the destructor is callable here even if we have an initializer. From-SVN: r224842
Jason Merrill committed -
2015-06-23 Richard Biener <rguenther@suse.de> PR tree-optimization/66636 * tree-vect-stmts.c (vectorizable_store): Properly compute the def type for further defs for strided stores. * gcc.dg/vect/pr66636.c: New testcase. From-SVN: r224841
Richard Biener committed -
* config/nvptx/nvptx.md (sel_true<mode>, sel_false<mode>): New conditional selects. (setcc_int<mode>, setcc_float<mode>): Reformat. From-SVN: r224839
Nathan Sidwell committed -
* match.pd ((x + y) - (x | y) -> x & y, (x + y) - (x & y) -> x | y): New patterns. * gcc.dg/fold-minus-4.c: New test. * gcc.dg/fold-minus-5.c: New test. * c-c++-common/ubsan/overflow-add-5.c: New test. From-SVN: r224834
Marek Polacek committed -
Add missing testcase from r224672. 2015-06-19 James Greenhalgh <james.greenhalgh@arm.com> * gcc.target/vax/bswapdi-1.c: New. From-SVN: r224832
James Greenhalgh committed -
gcc/fortran/ChangeLog: 2015-06-23 Andre Vehreschild <vehre@gmx.de> PR fortran/64674 * parse.c (parse_associate): Figure the rank and as of a class array in an associate early. * primary.c (gfc_match_varspec): Prevent setting the dimension attribute on the sym for classes. * resolve.c (resolve_variable): Correct the component ref's type for associated variables. Add a full array ref when class array's are associated. (resolve_assoc_var): Correct the type of the symbol, when in the associate the expression's rank becomes scalar. * trans-expr.c (gfc_conv_variable): Indirect ref needed for allocatable associated objects. gcc/testsuite/ChangeLog: 2015-06-23 Andre Vehreschild <vehre@gmx.de> PR fortran/64674 * gfortran.dg/associate_18.f08: New test. From-SVN: r224827
Andre Vehreschild committed -
PR 65711 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Move '-dynamic-linker' within %{!shared: ...}. From-SVN: r224826
Ludovic Courtès committed -
From-SVN: r224825
Ludovic Courtès committed -
PR target/66560 * config/i386/predicates.md (addsub_vm_operator): New predicate. (addsub_vs_operator): Ditto. (addsub_vs_parallel): Ditto. * config/i386/sse.md (ssedoublemode): Add V4SF and V2DF modes. (avx_addsubv4df3, avx_addsubv8sf3, sse3_addsubv2df3, sse3_addsubv4sf3): Put minus RTX before plus and adjust vec_merge selector. (*avx_addsubv4df3_1, *avx_addsubv4df3_1s, *sse3_addsubv2df3_1) (*sse_addsubv2df3_1s, *avx_addsubv8sf3_1, *avx_addsubv8sf3_1s) (*sse3_addsubv4sf3_1, *sse_addsubv4sf3_1s): Remove insn patterns. (addsub vec_merge splitters): New combiner splitters. (addsub vec_select/vec_concat splitters): Ditto. testsuite/ChangeLog: PR target/66560 * gcc.target/i386/pr66560-1.c: New test. * gcc.target/i386/pr66560-2.c: Ditto. * gcc.target/i386/pr66560-3.c: Ditto. * gcc.target/i386/pr66560-4.c: Ditto. From-SVN: r224824
Uros Bizjak committed -
We don't claim to support "K&R C" for nvptx, but needed this corresponding functionality ("incomplete prototypes") to support the Fortran libgomp/openacc_lib.h file. gcc/testsuite/ * gcc.target/nvptx/nvptx.exp: New file. * gcc.target/nvptx/proto-1.c: Likewise. From-SVN: r224822
Thomas Schwinge committed -
2015-06-23 Richard Biener <rguenther@suse.de> * update_version_svn: Add gcc-4_8-branch to IGNORE_BRANCHES. From-SVN: r224771
Richard Biener committed -
PR tree-optimization/66449 * tree-ssa-loop-niter.c (loop_exits_before_overflow): Use POINTER_PLUS_EXPR for pointers. gcc/testsuite PR tree-optimization/66449 * gcc.dg/vect/pr66449.c: New test. From-SVN: r224769
Bin Cheng committed -
* rtlanal.c (commutative_operand_precedence): Correct comments. * simplify-rtx.c (simplify_plus_minus_op_data_cmp): Delete forward declaration. Return an int. Distinguish REG,REG return from others. (struct simplify_plus_minus_op_data): Make local to function. (simplify_plus_minus): Don't set canonicalized if merely sorting registers. Avoid packing ops if nothing changes. White space fixes. From-SVN: r224768
Alan Modra committed -
From-SVN: r224767
GCC Administrator committed
-
- 22 Jun, 2015 19 commits
-
-
2015-06-22 Andreas Tobler <andreast@gcc.gnu.org> * MAINTAINERS (OS Port Maintainers): Add myself. (Various Maintainers): Remove myself from libffi testsuite. From-SVN: r224760
Andreas Tobler committed -
gcc.c (default_compilers): Pass "-o %g.s" to cc1 for headers even if -fdump-ada-spec is passed but not if... * gcc.c (default_compilers): Pass "-o %g.s" to cc1 for headers even if -fdump-ada-spec is passed but not if -fsyntax-only is. cp/ * lang-specs.h: Pass "-o %g.s" to cc1plus for headers even if -fdump-ada-spec is passed. From-SVN: r224755
Pierre-Marie de Rodat committed -
c-family/ * c-ada-spec.h (cpp_operation): Add HAS_DEPENDENT_TEMPLATE_ARGS. * c-ada-spec.c (collect_ada_nodes): Skip NAMESPACE_DECL (dump_ada_template): Skip partially specialized types. cp/ * decl2.c (cpp_check): Deal with HAS_DEPENDENT_TEMPLATE_ARGS. From-SVN: r224754
Pierre-Marie de Rodat committed -
re PR bootstrap/63740 (GCC 4.9.2 bootstrap fails on ARM, haifa-sched.c:6507:1: internal compiler error: in lra_create) 2015-06-22 Vladimir Makarov <vmakarov@redhat.com> PR bootstrap/63740 * lra-lives.c (process_bb_lives): Check insn copying the same reload pseudo and don't create a copy for it. From-SVN: r224753
Vladimir Makarov committed -
/cp 2015-06-22 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (grokdeclarator): Use declspecs->locations[ds_virtual]. /testsuite 2015-06-22 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/inherit/pure1.C: Test location too. 2015-06-22 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (grokdeclarator): Remove pointless code. From-SVN: r224750
Paolo Carlini committed -
PR testsuite/66621 * g++.dg/debug, g++.dg/torture: Use dg-options rather than target requirements for C++11 tests. From-SVN: r224749
Jason Merrill committed -
PR c++/66515 * call.c (implicit_conversion): Only reshape for classes. From-SVN: r224748
Jason Merrill committed -
2015-06-22 Tom de Vries <tom@codesourcery.com> * tree-parloops.c (transform_to_exit_first_loop_alt): Add update_stmt for cond_stmt. From-SVN: r224746
Tom de Vries committed -
2015-06-22 Tom de Vries <tom@codesourcery.com> * builtins.def (DEF_GOMP_BUILTIN): Test 'flag_tree_parallelize_loops > 1' instead of 'flag_tree_parallelize_loops'. Test flag_cilkplus. From-SVN: r224745
Tom de Vries committed -
2015-06-22 Tom de Vries <tom@codesourcery.com> * dominance.c (calculate_dominance_info): Verify dominators if early-out. From-SVN: r224744
Tom de Vries committed -
* gcc.dg/graphite/isl-ast-gen-if.c (main): Increase size of a array to allow a[50] to be a valid location. From-SVN: r224743
Nick Clifton committed -
* testsuite/26_numerics/complex/value_operations/1.cc: Use non-negative rho argument. From-SVN: r224739
Jonathan Wakely committed -
* include/debug/list (__gnu_debug::list): Use allocator-aware _Safe_container base. * include/debug/string (__gnu_debug::basic_string): Use allocator-aware _Safe_container base for cxx11 ABI. From-SVN: r224738
Jonathan Wakely committed -
* include/bits/locale_conv.h (__do_str_codecvt): Handle empty range. (wstring_convert): Move into __cxx11 namespace. (wbuffer_convert(streambuf*, _Codecvt*, state_type)): Fix exception message. From-SVN: r224737
Jonathan Wakely committed -
PR libstdc++/64657 * include/bits/stl_uninitialized.h (__uninitialized_copy::__uninit_copy): Cast expression to void. From-SVN: r224736
Jonathan Wakely committed -
match.pd ((x ^ y) ^ (x | y) -> x & y, (x & y) + (x ^ y) -> x | y, (x & y) | (x ^ y) -> x | y, (x & y) ^ (x ^ y) -> x | y, (x & y) + (x | y) -> x + y, (x | y) - (x ^ y) -> x & y, (x | y) - (x & y) -> x ^ y): New patterns. * match.pd ((x ^ y) ^ (x | y) -> x & y, (x & y) + (x ^ y) -> x | y, (x & y) | (x ^ y) -> x | y, (x & y) ^ (x ^ y) -> x | y, (x & y) + (x | y) -> x + y, (x | y) - (x ^ y) -> x & y, (x | y) - (x & y) -> x ^ y): New patterns. * gcc.dg/fold-ior-1.c: New test. * gcc.dg/fold-minus-2.c: New test. * gcc.dg/fold-minus-3.c: New test. * gcc.dg/fold-plus-1.c: New test. * gcc.dg/fold-plus-2.c: New test. * gcc.dg/fold-xor-4.c: New test. * gcc.dg/fold-xor-5.c: New test. From-SVN: r224734
Marek Polacek committed -
From-SVN: r224730
Joseph Myers committed -
re PR target/65871 (bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn't set the ZF flag) PR target/65871 * config/i386/i386.c (ix86_rtx_costs) <case COMPARE>: Ignore the cost of embedded comparison. From-SVN: r224729
Uros Bizjak committed -
[gcc] 2015-06-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/65914 * config/rs6000/predicates.md (altivec_register_operand): Permit virtual stack registers. (vsx_register_operand): Likewise. (vfloat_operand): Likewise. (vint_operand): Likewise. (vlogical_operand): Likewise. [gcc/testsuite] 2015-06-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR target/65914 * g++.dg/torture/pr65914.C: New. From-SVN: r224725
Bill Schmidt committed
-