- 30 Jan, 2016 1 commit
-
-
From-SVN: r233005
GCC Administrator committed
-
- 29 Jan, 2016 25 commits
-
-
2016-01-29 Martin Jambor <mjambor@suse.cz> * hsa-gen.c (get_memory_order_name): Mask with MEMMODEL_BASE_MASK. Use short lowercase names. (get_memory_order): Mask with MEMMODEL_BASE_MASK. Support MEMMODEL_CONSUME with acquire semantics and MEMMODEL_SEQ_CST with acq_rel one. Protect warning agains segfaults if get_memory_order_name returns NULL. (gen_hsa_ternary_atomic_for_builtin): Support with MEMMODEL_SEQ_CST with release semantics. Do not warn if get_memory_order already did. (gen_hsa_insns_for_call): Support with MEMMODEL_SEQ_CST with acquire semantics. Fix check for relaxed or acquire semantics. Do not warn if get_memory_order already did. From-SVN: r233000
Martin Jambor committed -
PR debug/69518 * c-decl.c (finish_struct): Clear C_TYPE_INCOMPLETE_VARS in all type variants, not just TYPE_MAIN_VARIANT. * gcc.dg/torture/pr69518.c: New test. From-SVN: r232998
Jakub Jelinek committed -
* config/isl.m4: Add comments about isl-0.16. * configure: Regenerate. gcc/ * doc/install.texi: Document that isl-0.16 is supported. From-SVN: r232997
Sebastian Pop committed -
2016-01-29 Vladimir Makarov <vmakarov@redhat.com> PR target/69299 * config/i386/constraints.md (Bm): Describe as special memory constraint. * doc/md.texi (DEFINE_SPECIAL_MEMORY_CONSTRAINT): Describe it. * genoutput.c (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT. * genpreds.c (struct constraint_data): Add is_special_memory. (have_special_memory_constraints, special_memory_start): New static vars. (special_memory_end): Ditto. (add_constraint): Add new arg is_special_memory. Add code to process its true value. Update have_special_memory_constraints. (process_define_constraint): Pass the new arg. (process_define_register_constraint): Ditto. (choose_enum_order): Process special memory. (write_tm_preds_h): Generate enum const CT_SPECIAL_MEMORY and function insn_extra_special_memory_constraint. (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT. * gensupport.c (process_rtx): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT. * ira-costs.c (record_reg_classes): Process CT_SPECIAL_MEMORY. * ira-lives.c (single_reg_class): Use insn_extra_special_memory_constraint. * ira.c (ira_setup_alts): Process CT_SPECIAL_MEMORY. * lra-constraints.c (process_alt_operands): Ditto. (curr_insn_transform): Use insn_extra_special_memory_constraint. * recog.c (asm_operand_ok, preprocess_constraints): Process CT_SPECIAL_MEMORY. * reload.c (find_reloads): Ditto. * rtl.def (DEFINE_SPECIFAL_MEMORY_CONSTRAINT): New. * stmt.c (parse_input_constraint): Use insn_extra_special_memory_constraint. From-SVN: r232993
Vladimir Makarov committed -
r229087, which caused PR 69530, was supposed to fix PR 67609. r229458 has made r229087 unnecessary. gcc/ PR target/69530 * lra-splill.c (lra_final_code_change): Revert r229087 by removing all sub-registers. gcc/testsuite/ PR target/69530 * gcc.target/i386/pr69530.c: New test. From-SVN: r232991
H.J. Lu committed -
PR target/65604 * gcc.target/mips/div-delay.c: New test. From-SVN: r232986
Steve Ellcey committed -
PR target/65604 * config/mips/mips.c (mips_output_division): Check flag_delayed_branch. From-SVN: r232985
Steve Ellcey committed -
PR target/69551 * config/i386/i386.c (ix86_expand_vector_set) <case V4SImode>: For SSE1, copy target into the temporary reg first before recursing on it. * gcc.target/i386/pr69551.c: New test. From-SVN: r232982
Jakub Jelinek committed -
PR target/66137 * gcc.target/i386/pr66137.c: New test. From-SVN: r232981
Jakub Jelinek committed -
testsuite/ 2016-01-29 Andrew Bennett <andrew.bennett@imgtec.com> * gcc.target/mips/p5600-bonding.c (dg-options): Force the test to be always built for p5600. * gcc.target/mips/mips.exp (mips-dg-options): Add support for the isa=p5600 dg-option. From-SVN: r232980
Andrew Bennett committed -
sse2_cvtps2pd<mask_name> has (define_insn "sse2_cvtps2pd<mask_name>" [(set (match_operand:V2DF 0 "register_operand" "=v") (float_extend:V2DF (vec_select:V2SF (match_operand:V4SF 1 "vector_operand" "vBm") (parallel [(const_int 0) (const_int 1)]))))] The memory operand size is 8 bytes (2 floats). We should use vm instead of vBm. * config/i386/sse.md (sse2_cvtps2pd<mask_name>): Replace vBm with vm. From-SVN: r232979
H.J. Lu committed -
2016-01-29 Martin Jambor <mjambor@suse.cz> * MAINTAINERS (hsa maintainers): Add myself. From-SVN: r232978
Martin Jambor committed -
* ginclude/stdarg.h: Test __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__. From-SVN: r232977
Jonathan Wakely committed -
2016-01-29 Richard Biener <rguenther@suse.de> PR tree-optimization/69547 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Do not mark clobbers necessary. (mark_all_reaching_defs_necessary_1): Likewise. * g++.dg/tree-ssa/pr69547.C: New testcase. From-SVN: r232976
Richard Biener committed -
PR debug/66869 * decl.c (wrapup_globals_for_namespace): Warn about unused static function declarations. * g++.dg/warn/Wunused-function2.C: New test. From-SVN: r232975
Jakub Jelinek committed -
PR libstdc++/69506 * config/os/newlib/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. From-SVN: r232974
Jonathan Wakely committed -
gcc/ChangeLog * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Format declaration name with %qs and print it in both error messages. Also fix indentation. From-SVN: r232973
Dominik Vogt committed -
gcc/ChangeLog PR other/69006 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Remove trailing blank line from error message. From-SVN: r232972
Dominik Vogt committed -
The test case works on S/390 too, but only with -march=z13 or later (i.e. if Gcc can make use of hardware vector support). Otherwise the optimization gets too complex. The attached patch forces Gcc to use -march=z13 instead of xfail'ing the test on S/390. gcc/testsuite/ChangeLog * gcc.dg/tree-ssa/ssa-dom-cse-2.c: Require a hardware vector support for test to succeed. From-SVN: r232971
Dominik Vogt committed -
gcc/ChangeLog PR c++/69462 * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG for C++-11. From-SVN: r232970
Jonathan Wakely committed -
PR c++/69509 PR c++/69516 * constexpr.c (cxx_eval_array_reference): Give the "array subscript out of bound" error earlier. * init.c (build_vec_init): Change NE_EXPR into GT_EXPR. Update the commentary. * g++.dg/ext/constexpr-vla2.C: New test. * g++.dg/ext/constexpr-vla3.C: New test. * g++.dg/ubsan/vla-1.C: Remove dg-shouldfail. From-SVN: r232969
Marek Polacek committed -
2016-01-29 Richard Biener <rguenther@suse.de> PR middle-end/69537 * match.pd: Allow all integral types when simplifying a widening or sign-changing conversion. * gcc.dg/uninit-21.c: New testcase. From-SVN: r232968
Richard Biener committed -
Revert 'assert instead of silently failing code gen' that produces an ICE with isl-0.14. From-SVN: r232966
Sebastian Pop committed -
gcc/cp/ChangeLog: * name-lookup.c (begin_scope): After reusing a cp_binding_level structure, update free_binding_level before the structure's level_chain field gets cleared, not after. From-SVN: r232965
Patrick Palka committed -
From-SVN: r232963
GCC Administrator committed
-
- 28 Jan, 2016 14 commits
-
-
PR pch/68176 * files.c (_cpp_find_file): Set file->implicit_preinclude even if included from file->implicit_preinclude header. From-SVN: r232956
Jakub Jelinek committed -
PR target/69459 * config/i386/constraints.md (C): Only accept constant zero operand. (BC): New constraint. * config/i386/sse.md (*mov<mode>_internal): Use BC constraint instead of C constraint. * doc/md.texi (Machine Constraints): Update description of C constraint. testsuite/ChangeLog: PR target/69459 * gcc.target/i386/pr69459.c: New test. From-SVN: r232955
Uros Bizjak committed -
PR target/68400 * gcc.target/mips/mips.exp (mips_option_groups): Add stack-protector. * gcc.target/mips/pr68400.c: New test. From-SVN: r232954
Steve Ellcey committed -
2016-01-28 Steve Ellcey <sellcey@imgtec.com> PR target/68400 * config/mips/mips.c (and_operands_ok): Add MIPS16 check. From-SVN: r232952
Steve Ellcey committed -
2016-01-28 Martin Sebor <msebor@redhat.com> PR target/17381 * gcc.target/powerpc/pr17381.c: New test. From-SVN: r232947
Martin Sebor committed -
PR middle-end/69542 * lra-remat.c (calculate_local_reg_remat_bb_data): Only consider non-debug insns. * gcc.dg/torture/pr69542.c: New test. From-SVN: r232946
Jakub Jelinek committed -
* config/rs6000/rs6000.c (output_cbranch): Don't statically predict branches if using guessed profile. From-SVN: r232945
Pat Haugen committed -
* graphite-optimize-isl.c (optimize_isl): Fix dump. From-SVN: r232939
H.J. Lu committed -
PR target/69305 * config/aarch64/aarch64-modes.def (CC_Cmode): New * config/aarch64/aarch64-protos.h: Update. * config/aarch64/aarch64.c (aarch64_zero_extend_const_eq): New. (aarch64_select_cc_mode): Add check for use of CC_Cmode. (aarch64_get_condition_code_1): Handle CC_Cmode. * config/aarch64/aarch64.md (addti3): Use adddi3_compareC. (*add<mode>3_compareC_cconly_imm): New. (*add<mode>3_compareC_cconly): New. (*add<mode>3_compareC_imm): New. (add<mode>3_compareC): New. (add<mode>3_carryin, *addsi3_carryin_uxtw): Sort compare operand to be first. Use aarch64_carry_operation. (*add<mode>3_carryin_alt1, *addsi3_carryin_alt1_uxtw): Remove. (*add<mode>3_carryin_alt2, *addsi3_carryin_alt2_uxtw): Remove. (*add<mode>3_carryin_alt3, *addsi3_carryin_alt3_uxtw): Remove. (subti3): Use subdi3_compare1. (*sub<mode>3_compare0): Rename from sub<mode>3_compare0. (sub<mode>3_compare1): New. (*sub<mode>3_carryin0, *subsi3_carryin_uxtw): New. (*sub<mode>3_carryin): Use aarch64_borrow_operation. (*subsi3_carryin_uxtw): Likewise. (*ngc<mode>, *ngcsi_uxtw): Likewise. (*sub<mode>3_carryin_alt, *subsi3_carryin_alt_uxtw): New. * config/aarch64/iterators.md (DWI): New. * config/aarch64/predicates.md (aarch64_carry_operation): New. (aarch64_borrow_operation): New. From-SVN: r232936
Richard Henderson committed -
2016-01-28 Abderrazek Zaafrani <a.zaafrani@samsung.com> * graphite-optimize-isl.c (optimize_isl): Print a different debug message when isl does not return a valid schedule. From-SVN: r232935
Abderrazek Zaafrani committed -
* graphite-isl-ast-to-gimple.c (class translate_isl_ast_to_gimple): Remove comments from class declarations: they are already in the code close by the defs. From-SVN: r232934
Sebastian Pop committed -
* graphite-isl-ast-to-gimple.c (binary_op_to_tree): Call codegen_error_p. (ternary_op_to_tree): Same. (unary_op_to_tree): Same. (nary_op_to_tree): Same. (gcc_expression_from_isl_expr_op): Same. (gcc_expression_from_isl_expression): Same. (graphite_create_new_loop): Same. (graphite_create_new_loop_guard): Same. (build_iv_mapping): Same. (graphite_create_new_guard): Same. (translate_isl_ast_to_gimple::copy_loop_phi_nodes): Same. (translate_isl_ast_to_gimple::translate_pending_phi_nodes): Same. From-SVN: r232933
Sebastian Pop committed -
* graphite-isl-ast-to-gimple.c (get_rename_from_scev): Assert instead of setting codegen_error to fail codegen. From-SVN: r232932
Sebastian Pop committed -
From-SVN: r232931
Jason Merrill committed
-