- 22 Mar, 2016 15 commits
-
-
2016-03-22 Richard Biener <rguenther@suse.de> PR middle-end/70251 * genmatch.c (gen_transform): Adjust last parameter to a three-state int... (capture::gen_transform): ... to change behavior when substituting a condition into cond or not-cond expr context. (dt_simplify::gen_1): Adjust. * gimple-match-head.c: Include gimplify.h for unshare_expr. * match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Revert last change and instead change to A + (B vcmp C ? 1 : 0) -> A - (B vcmp C ? -1 : 0). (A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise. * g++.dg/torture/pr70251.C: New testcase. From-SVN: r234405
Richard Biener committed -
From-SVN: r234404
Anthony Green committed -
gcc/c-family/ChangeLog: PR c/69993 * c-indentation.c (warn_for_misleading_indentation): Rewrite the diagnostic text, reversing the order of the warning and note so that they appear in source order. gcc/testsuite/ChangeLog: PR c/69993 * c-c++-common/Wmisleading-indentation-3.c: New test, based on Wmisleading-indentation.c. * c-c++-common/Wmisleading-indentation.c: Update thoughout to reflect change to diagnostic text and order of messages. * gcc.dg/plugin/location-overflow-test-2.c: Likewise. From-SVN: r234403
David Malcolm committed -
From-SVN: r234402
David Edelsohn committed -
2016-03-22 Richard Biener <rguenther@suse.de> PR middle-end/70333 * fold-const.c (extract_muldiv_1): Properly perform multiplication in the wide type. * gcc.dg/torture/pr70333.c: New testcase. From-SVN: r234401
Richard Biener committed -
gcc/ * config/i386/i386.c (def_builtin): Remove duplicated functionality. From-SVN: r234400
Kirill Yukhin committed -
gcc/cp/ PR target/70290 * call.c (build_conditional_expr_1): Always use original condition type for vector type checks and build. gcc/testsuite/ PR target/70290 * g++.dg/ext/pr70290.C: New test. From-SVN: r234399
Ilya Enkovich committed -
From-SVN: r234398
Martin Liska committed -
PR target/70325 gcc/ * config/i386/i386.c (def_builtin): Handle OPTION_MASK_ISA_AVX512VL to be and-ed with other bits. (const struct builtin_description bdesc_special_args[]): Remove duplicate ISA bits. gcc/testsuite/ * gcc.target/i386/pr70325.c: New test. From-SVN: r234395
Kirill Yukhin committed -
PR target/70329 * config/i386/i386.c (ix86_expand_vecop_qihi): Don't bother computing d.perm[i] for i >= d.nelt. If not full_interleave, compute d.perm[i] in a way that works also for AVX512BW. * gcc.target/i386/avx512bw-pr70329-1.c: New test. * gcc.target/i386/avx512bw-pr70329-2.c: New test. From-SVN: r234394
Jakub Jelinek committed -
re PR target/70300 (ICE: in extract_constrain_insn, at recog.c:2190 (insn does not satisfy its constraints) with -mtune=amdfam10 -mavx512bw) PR target/70300 * config/i386/i386.md (cvtsd2ss splitter): Unpack in destination instead of source if operands[1] is xmm16 and above and !TARGET_AVX512VL. Use avx512f_vec_dupv16sf_1 instead of vec_interleave_lowv4sf if we need to unpack xmm16 and above. * gcc.target/i386/pr70300.c: New test. From-SVN: r234393
Jakub Jelinek committed -
PR c++/70295 * gimplify.c (gimplify_modify_expr): Call gimple_set_no_warning on assign if (*from_p) is a comparison, set it to TREE_NO_WARNING (*from_p). * c-c++-common/nonnull-1.c (func): Remove parens around cp4 != 0. (func2): New function for cond with parens, xfail warning for c++. * g++.dg/warn/Wnonnull-compare-8.C: New test. From-SVN: r234392
Jakub Jelinek committed -
gcc/cp/ChangeLog: PR c++/70096 * pt.c (tsubst_decl): Clear the DECL_MODE of the new decl. gcc/testsuite/ChangeLog: PR c++/70096 * g++.dg/template/ptrmem30.C: New test. From-SVN: r234391
Patrick Palka committed -
gcc/cp/ChangeLog: PR c++/70204 * constexpr.c (non_const_var_error): Check DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. gcc/testsuite/ChangeLog: PR c++/70204 * g++.dg/cpp0x/constexpr-70204a.C: New test. * g++.dg/cpp0x/constexpr-70204b.C: New test. From-SVN: r234390
Patrick Palka committed -
From-SVN: r234389
GCC Administrator committed
-
- 21 Mar, 2016 17 commits
-
-
re PR middle-end/70273 (FAIL: g++.dg/ext/label13a.C -std=gnu++98 execution test / scan-assembler _ZN1CC4Ev) PR c++/70273 * decl.c (notice_forced_label_r): New. (cp_finish_decl): Use it. From-SVN: r234386
Richard Henderson committed -
PR c++/70285 * cp-gimplify.c (cp_fold) [COND_EXPR]: Handle bit-fields. From-SVN: r234384
Jason Merrill committed -
re PR rtl-optimization/70326 (ICE: RTL check: expected elt 3 type 'e' or 'u', have '0' (rtx note) in PATTERN, at rtl.h:1440) PR middle-end/70326 * lra.c (restore_scratches): Ignore deleted insns. * gcc.dg/pr70326.c: New test. From-SVN: r234383
Jakub Jelinek committed -
PR tree-optimization/70317 * match.pd (cmp @0 @0): Pass @0 instead of TYPE_MODE (TREE_TYPE (@0)) to HONOR_NANS. * gcc.dg/pr70317.c: New test. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r234382
Marc Glisse committed -
re PR target/70327 (ICE: in extract_insn, at recog.c:2287 (unrecognizable insn) with -mavx512ifma and v4ti argument) PR target/70327 * config/i386/i386.md (movxi): Use ix86_expand_vector_move instead of ix86_expand_move. (movoi): Ditto. (movti): Use general_operand for operand 1 predicate. testsuite/ChangeLog: PR target/70327 * gcc.target/i386/pr70327.c: New test. From-SVN: r234380
Uros Bizjak committed -
* hsa-dump.c (dump_hsa_insn_1): dump default branch of SBR insns. (dump_hsa_symbol): Dump BRIG offset of hsa_symbols. From-SVN: r234379
Martin Liska committed -
* gcc.dg/ipa/pr70306.c: New test. * ipa-icf.c (sem_function::parse): Skip static constructors and destructors. From-SVN: r234378
Martin Liska committed -
2016-03-21 Andre Vieira <andre.simoesdiasvieira@arm> gcc/testsuite/ * gcc.target/arm/attr-align1.c: Skip if M-profile. * gcc.target/arm/attr-align3.c: Likewise. * gcc.target/arm/attr_arm.c: Likewise. * gcc.target/arm/flip-thumb.c: Likewise. From-SVN: r234373
Andre Vieira committed -
PR target/70296 * include/cpplib.h (cpp_fun_like_macro_p): New prototype. * macro.c (cpp_fun_like_macro_p): New function. * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If IDENT is function-like macro, peek following token(s) if it is followed by CPP_OPEN_PAREN token with optional padding in between, and if not, don't treat it like a macro. * gcc.target/powerpc/altivec-36.c: New test. From-SVN: r234371
Jakub Jelinek committed -
* config/nvptx/nvptx.c (nvptx_option_override): Don't emit sorry for the stabs debug format. Co-Authored-By: Alexander Monakov <amonakov@ispras.ru> From-SVN: r234370
Thomas Schwinge committed -
2016-03-21 Richard Biener <rguenther@suse.de> PR tree-optimization/70310 * tree-vect-generic.c (expand_vector_condition): Fold the built condition. * gcc.dg/torture/pr70310.c: New testcase. From-SVN: r234369
Richard Biener committed -
PR target/70293 gcc/ * config/i386 (define_insn "*vec_dup<mode>"/AVX2): Block third alternative for AVX-512VL target, gcc/testsuite/ * gcc.target/i386/pr70293.c: New test. From-SVN: r234363
Kirill Yukhin committed -
PR hsa/70234 * hsa-brig.c (emit_function_directives): Mark unemitted global variables for emission. * hsa-gen.c (hsa_symbol::hsa_symbol): Initialize a new flag. (get_symbol_for_decl): Likewise. * hsa.h (struct hsa_symbol): New flag. From-SVN: r234362
Martin Liska committed -
2016-03-21 Richard Biener <rguenther@suse.de> PR tree-optimization/70288 * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Make sure we do not estimate unsimplified all-constant conditionals or switches as optimized away. * gcc.dg/torture/pr70288-1.c: New testcase. * gcc.dg/torture/pr70288-2.c: Likewise. From-SVN: r234361
Richard Biener committed -
PR rtl-optimization/69307 * gcc.target/arm/pr69307.c: New test. From-SVN: r234360
Andrey Belevantsev committed -
re PR rtl-optimization/69102 (ICE: in move_op_ascend, at sel-sched.c:6138 with -fselective-scheduling2) gcc/ PR rtl-optimization/69102 * sched-deps.c (sched_analyze_insn): Do not set last_args_size field when we have a readonly dependency context. testsuite/ PR rtl-optimization/69102 * gcc.c-torture/compile/pr69102.c: New test. From-SVN: r234359
Andrey Belevantsev committed -
From-SVN: r234358
GCC Administrator committed
-
- 20 Mar, 2016 1 commit
-
-
From-SVN: r234355
GCC Administrator committed
-
- 19 Mar, 2016 2 commits
-
-
2016-03-19 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/69043 * scanner.c (load_file): Update to use S_ISREG macro. From-SVN: r234352
Jerry DeLisle committed -
From-SVN: r234350
GCC Administrator committed
-
- 18 Mar, 2016 5 commits
-
-
PR c++/70139 * constexpr.c (cxx_eval_call_expression): Fix trivial copy. From-SVN: r234345
Jason Merrill committed -
re PR rtl-optimization/70263 (ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (segmentation fault)) PR rtl-optimization/70263 * ira.c (memref_used_between_p): Assert we found END in the insn chain. (update_equiv_regs): When trying to move a store to after the insn that sets the source of the store, make sure the store occurs after the insn that sets the source of the store. When successful note the REG_EQUIV note created in the dump file. PR rtl-optimization/70263 * gcc.c-torture/compile/pr70263-1.c: New test. * gcc.target/i386/pr70263-2.c: New test. From-SVN: r234344
Jeff Law committed -
* doc/extend.texi: Document more potential problems with basic asms. From-SVN: r234343
David Wohlferd committed -
PR rtl-optimization/70278 * lra-constraints.c (split_reg): Handle the case where biggest_mode is VOIDmode. testsuite/ * gcc.dg/torture/pr70278.c: New test. * gcc.target/arm/pr70278.c: New test. From-SVN: r234342
Bernd Schmidt committed -
gcc/c/ChangeLog: PR c/70281 * c-parser.c (c_parser_postfix_expression): Set the source range for uses of "__builtin_types_compatible_p". gcc/testsuite/ChangeLog: PR c/70281 * gcc.dg/plugin/diagnostic-test-expressions-1.c (test_builtin_types_compatible_p): New test function. * gcc.dg/pr70281.c: New test case. From-SVN: r234340
David Malcolm committed
-