- 04 Mar, 2016 20 commits
-
-
* g++.dg/template/typename21.C: Remove c++98_only. From-SVN: r233977
H.J. Lu committed -
* g++.dg/template/typename21.C: Replace c++98 with c++98_only. From-SVN: r233975
H.J. Lu committed -
PR c++/70067 * tree.c (strip_typedefs): Handle TYPENAME_TYPE lookup finding the same type. From-SVN: r233973
Jason Merrill committed -
gcc/c-family/ChangeLog: PR c/68187 * c-indentation.c (get_visual_column): Move code to determine next tab stop to... (next_tab_stop): ...this new function. (line_contains_hash_if): Delete function. (detect_preprocessor_logic): Delete function. (get_first_nws_vis_column): New function. (detect_intervening_unindent): New function. (should_warn_for_misleading_indentation): Replace call to detect_preprocessor_logic with a call to detect_intervening_unindent. gcc/testsuite/ChangeLog: PR c/68187 * c-c++-common/Wmisleading-indentation.c (fn_42_a): New test function. (fn_42_b): Likewise. (fn_42_c): Likewise. From-SVN: r233972
David Malcolm committed -
gcc/c-family/ChangeLog: PR c/68187 * c-indentation.c (should_warn_for_misleading_indentation): When suppressing warnings about cases where the guard and body are on the same column, only use the first non-whitespace column in place of the guard token column when dealing with "else" clauses. When rejecting aligned BODY and NEXT, loosen the requirement from equality with the first non-whitespace of guard to simply that they not be indented relative to it. gcc/testsuite/ChangeLog: PR c/68187 * c-c++-common/Wmisleading-indentation.c (fn_40_a): New test function. (fn_40_b): Likewise. (fn_41_a): Likewise. (fn_41_b): Likewise. From-SVN: r233971
David Malcolm committed -
PR target/70059 * config/i386/sse.md (vec_set_lo_<mode><mask_name>, <extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask): Formatting fixes. (vec_set_hi_<mode><mask_name>): Likewise. Swap VEC_CONCAT operands. * gcc.target/i386/avx512f-pr70059.c: New test. * gcc.target/i386/avx512dq-pr70059.c: New test. From-SVN: r233968
Jakub Jelinek committed -
gcc/ PR rtl-optimization/57676 * lra-assigns.c (lra_assign): Guard test for maximum iterations with flag_checking. gcc/testsuite/ PR rtl-optimization/57676 * gcc.dg/torture/pr57676.c: New test. From-SVN: r233967
Bernd Schmidt committed -
gcc/ * tree-vect-patterns.c (search_type_for_mask): Handle comparison of booleans. gcc/testsuite/ * gcc.dg/pr70026.c: New test. From-SVN: r233966
Ilya Enkovich committed -
re PR c/69798 (ICE on invalid code on x86_64-linux-gnu in c_parser_braced_init, at c/c-parser.c:4338) PR c/69798 * c-parser.c (c_parser_postfix_expression): Call c_parser_cast_expression rather than c_parser_postfix_expression. * gcc.dg/cilk-plus/pr69798-1.c: New test. * gcc.dg/cilk-plus/pr69798-2.c: New test. From-SVN: r233965
Marek Polacek committed -
PR target/70004 * gcc.target/aarch64/scalar_shift_1.c: (test_corners_sisd_di): Delete. (test_corners_sisd_si): Likewise. (main): Remove checks of the above. * gcc.target/aarch64/shift_wide_invalid_1.c: New test. From-SVN: r233964
Kyrylo Tkachov committed -
From-SVN: r233963
Eric Botcazou committed -
2016-03-04 Christophe Lyon <christophe.lyon@linaro.org> * gcc.dg/torture/pr69951.c: Accept argc==0. From-SVN: r233962
Christophe Lyon committed -
2016-03-04 Richard Biener <rguenther@suse.de> PR c++/70054 * c-common.c (strict_aliasing_warning): Use alias_set_subset_of instead of alias_sets_conflict_p. * g++.dg/warn/Wstrict-aliasing-bogus-union-2.C: New testcase. * gcc.dg/Wstrict-aliasing-struct-member.c: New testcase. From-SVN: r233961
Richard Biener committed -
* doc/extend.texi (__builtin_alloca, __builtin_alloca_with_align): Fix @xref usage. From-SVN: r233960
Jakub Jelinek committed -
The attached patch fixes a test failure of go.test/test/env.go on s390x biarch. Bootstrapped and regression tested on s390x biarch and s390. gcc/testsuite/ChangeLog 2016-03-04 Dominik Vogt <vogt@linux.vnet.ibm.com> PR testsuite/69766 * go.test/go-test.exp: S/390: Set GOARCH to the current target when testing multiarch. From-SVN: r233959
Dominik Vogt committed -
PR debug/69947 * dwarf2out.c (prune_unused_types_walk_loc_descr): Handle all other ops that have dw_val_class_die_ref operands, and DW_OP_GNU_entry_value. * gcc.dg/guality/pr69947.c: New test. From-SVN: r233958
Jakub Jelinek committed -
From-SVN: r233956
Jason Merrill committed -
* pt.c (tsubst_copy_and_build) [LAMBDA_EXPR]: Get LAMBDA_EXPR_RETURN_TYPE from the instantiated closure. From-SVN: r233955
Jason Merrill committed -
re PR c++/67164 (ICE: tree check: expected class ‘expression’, have ‘exceptional’ (argument_pack_select) in tree_operand_check, at tree.h:3356) PR c++/67164 * pt.c (copy_template_args): New. (tsubst_pack_expansion): Use it. From-SVN: r233954
Jason Merrill committed -
From-SVN: r233953
GCC Administrator committed
-
- 03 Mar, 2016 19 commits
-
-
From-SVN: r233947
Jason Merrill committed -
PR c++/51406 * typeck.c (build_static_cast_1): Avoid folding back to lvalue. From-SVN: r233946
Jason Merrill committed -
PR c++/67364 * constexpr.c (cxx_eval_component_reference): Just return an empty CONSTRUCTOR for an empty class. From-SVN: r233945
Jason Merrill committed -
PR ada/70017 * gcc.dg/pr70017.c (foo): Store 0 to first element of each array. From-SVN: r233944
Jakub Jelinek committed -
PR rtl-optimization/69904 * config/arm/arm.c (arm_cannot_copy_insn_p): Return true for load-exclusive instructions. * gcc.target/arm/pr69904.c: New test. From-SVN: r233941
Kyrylo Tkachov committed -
PR target/70021 * tree-vect-stmts.c (vect_mark_relevant): Remove USED_IN_PATTERN argument, if STMT_VINFO_IN_PATTERN_P (stmt_info), always mark the pattern no matter if it is used just by non-pattern, pattern or mix thereof. (process_use, vect_mark_stmts_to_be_vectorized): Adjust callers. * tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If oprnd1 def_stmt is in pattern, don't look through it. * gcc.dg/vect/pr70021.c: New test. * gcc.target/i386/pr70021.c: New test. From-SVN: r233940
Jakub Jelinek committed -
* Makefile.am (libffi.map-sun): Properly convert $(libffi_la_OBJECTS) to object names. * Makefile.in: Regenerate. From-SVN: r233938
Rainer Orth committed -
re PR middle-end/70050 (ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have vector_type in generic_simplify_162, at generic-match.c:6175) PR middle-end/70050 * match.pd (X % -Y): Add INTEGRAL_TYPE_P check. * gcc.dg/pr70050.c: New test. From-SVN: r233937
Marek Polacek committed -
* Makefile.am (libffi.map-sun): Tabify: * Makefile.in: Regenerate. From-SVN: r233936
Rainer Orth committed -
gcc/testsuite/ * gcc.dg/vect/bb-slp-34.c: Don't XFAIL for ARM/AArch64. From-SVN: r233935
James Greenhalgh committed -
PR tree-optimization/70043 * tree-vect-loop.c (optimize_mask_stores): Move iterator to previous statement if we see a debug statement. * gfortran.dg/vect/pr70043.f90: New test. From-SVN: r233934
Martin Liska committed -
From-SVN: r233932
Eric Botcazou committed -
* lib/gcc-gdb-test.exp (gdb-test): Make log message match command. Invoke gdb with -batch. * lib/gcc-simulate-thread.exp (simulate-thread): Likewise. From-SVN: r233930
Rainer Orth committed -
The attached patch adds the a target specific attribute via the new target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE to the function begin_transaction(). S/390 uses this to set the soft-float target attribute which is needed to fix a crash with -m31. As there seems to be no place in libitm to document internal macros like USE_HTM_FASTPATH or the new macro, I've put the documentation in a comment where the macro is used. 2016-03-03 Dominik Vogt <vogt@linux.vnet.ibm.com> * config/s390/target.h (TARGET_BEGIN_TRANSACTION_ATTRIBUTE): Define function attribute to disable floating point in begin_transaction() on S/390. * beginend.cc (begin_transaction): Use TARGET_BEGIN_TRANSACTION_ATTRIBUTE. From-SVN: r233929
Dominik Vogt committed -
2016-03-03 Richard Biener <rguenther@suse.de> PR tree-optimization/55936 * tree-vrp.c (compare_name_with_value): Add use_equiv_p parameter and guard unsafe equivalence use. (vrp_evaluate_conditional_warnv_with_ops): Always use safe equivalences but not via the quadratic compare_names helper. * gcc.dg/tree-ssa/vrp06.c: Remove XFAIL. From-SVN: r233928
Richard Biener committed -
2016-03-03 Michael Collison <michael.collison@linaro.org> PR target/70014 * config/arm/arm.md (*subsi3_carryin_const): Change predicate for operand 1 to s_register_operand. Change predicate for operand 2 to arm_not_immediate_operand. From-SVN: r233927
Michael Collison committed -
PR libffi/70024 * Makefile.am (libffi_version_script): Look in cwd for libffi.map. (libffi_version_dep, libffi.map-sun): Likewise. (libffi.map): New target. * libffi.map.in: Rename from libffi.map. Add required defines, includes, and conditionals. From-SVN: r233926
Richard Henderson committed -
From-SVN: r233925
GCC Administrator committed -
PR rtl-optimization/69942 * gcc.dg/ifcvt-5.c: Use "word_mode" rather than "int" to limit the effects of argument promotions. From-SVN: r233922
Jeff Law committed
-
- 02 Mar, 2016 1 commit
-
-
PR libffi/70024 * Makefile.am (libffi_version_script): New. (libffi_version_dep): New. (libffi_version_info): New. (libffi_la_LDFLAGS): Include libffi_version_info, libffi_version_script. (libffi_la_DEPENDENCIES): Include libffi_version_dep. * acinclude.m4 (LIBAT_ENABLE, LIBAT_CHECK_LINKER_FEATURES): New. (LIBAT_ENABLE_SYMVERS, LIBAT_BUILD_VERSIONED_SHLIB): New. (LIBAT_BUILD_VERSIONED_SHLIB_GNU): New. (LIBAT_BUILD_VERSIONED_SHLIB_SUN): New. * configure.ac: Invoke LIBAT_ENABLE_SYMVERS. * libffi.map: New file. * libtool-version: Increase to 5.0.0. * Makefile.in, configure: Rebuild. * man/Makefile.in, testsuite/Makefile.in: Rebuild. From-SVN: r233921
Richard Henderson committed
-