- Jan 15, 2015
-
-
H.J. Lu authored
The order of address in the first operand is different due to different output orders of PLUS between output_addr_const and output_pic_addr_const. This patch adjusts scan string for PIE in gcc.target/i386/pr54445-2.c. * gcc.target/i386/pr54445-2.c: Adjust scan string for PIE. From-SVN: r219654
-
Philipp Tomsich authored
2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com> * MAINTAINERS: (Write After Approval): Add myself. From-SVN: r219653
-
Jakub Jelinek authored
* gengtype.c (create_user_defined_type): Workaround -Wmaybe-uninitialized false positives. * cse.c (fold_rtx): Likewise. * loop-invariant.c (gain_for_invariant): Likewise. From-SVN: r219652
-
Richard Biener authored
2015-01-15 Richard Biener <rguenther@suse.de> PR lto/64415 * gcc.dg/lto/pr64415_0.c: Re-enable for darwin with -Wl,-undefined,dynamic_lookup. From-SVN: r219651
-
Eric Botcazou authored
From-SVN: r219649
-
Eric Botcazou authored
expr.c (expand_expr_real_1): Use the expression to set the memory attributes in all cases but clear MEM_EXPR... * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to set the memory attributes in all cases but clear MEM_EXPR if need be. From-SVN: r219648
-
Richard Biener authored
2015-01-15 Richard Biener <rguenther@suse.de> PR lto/64415 * gcc.dg/lto/pr64415_0.c: Skip on darwin. From-SVN: r219647
-
Yuri Rumyantsev authored
gcc/ PR tree-optimization/64434 * cfgexpand.c (reorder_operands): New function. (expand_gimple_basic_block): Insert call of reorder_operands if optimized is true. gcc/testsuite/ PR tree-optimization/64434 * gcc.dg/torture/pr64434.c: New test. From-SVN: r219646
-
Matthew Fortune authored
gcc/testsuite/ * gcc.target/mips/mips.exp (mips-dg-options): -mips3d requires -mno-micromips. MIPS32R1 and below require -mno-micromips. -march=loongson* and -march=octeon* require -mno-micromips. From-SVN: r219641
-
Andrew Bennett authored
gcc/testsuite/ * gcc.target/mips/call-saved-4.c (foo): Add NOCOMPRESSION. * gcc.target/mips/call-saved-5.c (foo): Likewise. * gcc.target/mips/call-saved-6.c (foo): Likewise. * gcc.target/mips/call-saved-7.c: New file. * gcc.target/mips/call-saved-8.c: New file. * gcc.target/mips/call-saved-9.c: New file. Co-Authored-By:
Matthew Fortune <matthew.fortune@imgtec.com> From-SVN: r219640
-
Matthew Fortune authored
gcc/ * config/mips/micromips.md (*swp): Remove explicit parallel. (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise. * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise. (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise. (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise. (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise. (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise. (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise. (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise. (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise. (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise. (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise. (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise. (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise. (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise. (mips_wrdsp): Likewise. * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit parallel. (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise. (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise. (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise. (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise. (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise. (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise. * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel. (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise. (ssmaddsqdq4, ssmsubsqdq4): Likewise. From-SVN: r219639
-
Matthew Fortune authored
gcc/ * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA. (mips_print_operand): Support 'y' to print exact log2 in decimal of a const_int. * config/mips/mips.h (ISA_HAS_LSA): New define. (ISA_HAS_DLSA): Likewise. * config/mips/mips.md (<GPR:d>lsa): New define_insn. * config/mips/predicates.md (const_immlsa_operand): New predicate. gcc/testsuite/ * gcc.target/mips/lsa.c: New file. * gcc.target/mips/mips64-lsa.c: Likewise. * gcc.target/mips/mulsize-2.c: Require !HAS_LSA. * gcc.target/mips/mulsize-4.c: Likewise. * gcc.target/mips/mulsize-5.c: New file. * gcc.target/mips/mulsize-6.c: Likewise. * gcc.target/mips/mips.exp (mips_option_groups): Support HAS_LSA and !HAS_LSA as ghost options. (mips-dg-options): Require rev 6 for HAS_LSA. Downgrade to rev 5 for !HAS_LSA. From-SVN: r219638
-
Matthew Wahab authored
testsuite/ 2015-01-15 Matthew Wahab <matthew.wahab@arm.com> * g++.dg/torture/20141013.C: Set -fno-short-enums. From-SVN: r219637
-
Martin Liska authored
PR target/64377 * optc-save-gen.awk: Add support for array types. From-SVN: r219636
-
Richard Biener authored
re PR tree-optimization/64365 (Predictive commoning after loop vectorization produces incorrect code.) 2015-01-15 Richard Biener <rguenther@suse.de> PR middle-end/64365 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses for MEM_REF access functions with the same base can never partially overlap. * gcc.dg/torture/pr64365.c: New testcase. From-SVN: r219634
-
Marcos Diaz authored
2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com> * common.opt: New option -fstack-protector-explicit. * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum. (stack_protect_decl_phase): Handle stack_protect attribute for explicit stack protection requests. (expand_used_vars): Similarly. * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro. * doc/extend.texi: Add documentation for "stack_protect" attribute. * doc/invoke.texi: Add documentation for -fstack-protector-explicit. * c-cppbuiltin.c (c_cpp_builtins): New cpp define __SSP_EXPLICIT__ for the new option fstack-protector_explicit. * c-common.c (c_common_attribute_table): Add stack_protect attribute. (handle_stack_protect_attribute): New function. * gcc.dg/stackprotectexplicit1.c: New test. * g++.dg/stackprotectexplicit2.c: New test. From-SVN: r219633
-
Jerry DeLisle authored
2015-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR target/61933 * gfortran.dg/inquire_internal.f90: New. * gfortran.dg/negative_unit_check.f90: New. From-SVN: r219632
-
Jerry DeLisle authored
2015-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/61933 * io/inquire.c (inquire_via_unit): Set existing to true if a gfc_unit stucture was found for the given unit number. * runtime/error.c (translate_error): Add case for LIBERROR_INQUIRE_INTERNAL_UNIT. From-SVN: r219631
-
Jerry DeLisle authored
2015-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/61933 * io.c (gfc_match_inquire): Generate error if unit number in inquire statement is a constant -1. All other values allowed. * trans-io.c (gfc_trans_inquire): Delete dummy iostat variable. (create_dummy_iostat): Delete function no longer used. From-SVN: r219630
-
Ian Lance Taylor authored
From-SVN: r219629
-
Ian Lance Taylor authored
From-SVN: r219628
-
Ian Lance Taylor authored
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. From-SVN: r219627
-
GCC Administrator authored
From-SVN: r219626
-
- Jan 14, 2015
-
-
Oleg Endo authored
gcc/ PR target/53988 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore reg-reg copies. (sh_extending_set_of_reg): New struct. (sh_find_extending_set_of_reg, sh_split_tst_subregs, sh_remove_reg_dead_or_unused_notes): New Declarations. * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes, sh_find_extending_set_of_reg, sh_split_tst_subregs, sh_extending_set_of_reg::use_as_extended_reg): New functions. * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs, convert to insn_and_split and use new function sh_split_tst_subregs. gcc/testsuite/ PR target/53988 * gcc.target/sh/pr53988-1.c: New. From-SVN: r219623
-
Sandra Loosemore authored
2015-01-14 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker option. (Optimization Options): Move -fuse-ld documentation to... (Link Options): ...here. From-SVN: r219622
-
Paolo Carlini authored
/cp 2015-01-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58671 * decl2.c (var_defined_without_dynamic_init): Handle gracefully self-initialization. /testsuite 2015-01-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58671 * g++.dg/tls/thread_local-ice3.C: New. From-SVN: r219621
-
Matthew Fortune authored
From-SVN: r219620
-
Matthew Fortune authored
gcc/ * config/mips/constraints.md (ZC): Add support for R6 LL/SC offsets. (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT. * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to... (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro. * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC instead of ZR for the memory operand of LL/SC. (compare_and_swap_12, sync_add<mode>): Likewise. (sync_<optab>_12, sync_old_<optab>_12): Likewise. (sync_new_<optab>_12, sync_nand_12): Likewise. (sync_old_nand_12, sync_new_nand_12): Likewise. (sync_sub<mode>, sync_old_add<mode>): Likewise. (sync_old_sub<mode>, sync_new_add<mode>): Likewise. (sync_new_sub<mode>, sync_<optab><mode>): Likewise. (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise. (sync_nand<mode>, sync_old_nand<mode>): Likewise. (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise. (test_and_set_12, atomic_compare_and_swap<mode>): Likewise. (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise. * doc/md.texi (ZC): Update description. From-SVN: r219619
-
Jan-Benedict Glaw authored
2015-12-14 Jan-Benedict Glaw <jbglaw@lug-owl.de> * libiberty.h: Merge Copyright year update from Binutils. From-SVN: r219617
-
H.J. Lu authored
-fprofile -mfentry works with PIE if gcrt1.o is compiled with -fPIC. A glibc has been filed, PR 17836, and a glibc patch has been submitted. * gcc.target/i386/fentry-override.c: Properly place {} in target selector. Remove nonpic. * gcc.target/i386/fentry.c: Likewise. From-SVN: r219616
-
Andrew MacLeod authored
2015-01-14 Andrew MacLeod <amacleod@redhat.com> * builtins.c (expand_builtin_atomic_exchange): Remove error when memory model is CONSUME. (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load, expand_builtin_atomic_store): Change invalid memory model errors to warnings. (expand_builtin_atomic_clear): Change invalid model errors to warnings and issue warning for CONSUME. * testsuite/gcc.dg/atomic-invalid.c: Check for invalid memory model warnings instead of errors. M gcc/ChangeLog M gcc/builtins.c M gcc/testsuite/ChangeLog M gcc/testsuite/gcc.dg/atomic-invalid.c From-SVN: r219615
-
Aldy Hernandez authored
+ lto_symtab_encoder_encode_*. From-SVN: r219607
-
Ilya Verbin authored
gcc/ * Makefile.in (site.exp): Do not set ENABLE_LTO. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_lto): Check for -flto option support instead of ENABLE_LTO from Makefile. From-SVN: r219606
-
Ilya Verbin authored
gcc/ * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries. * lto-cgraph.c (select_what_to_stream): Remove argument, use lto_stream_offload_p instead. * lto-streamer.h (select_what_to_stream): Remove argument. * passes.c (ipa_write_summaries): Likewise. * tree-pass.h (ipa_write_summaries): Likewise. gcc/lto/ * lto-partition.c (lto_promote_cross_file_statics): Remove argument from select_what_to_stream. From-SVN: r219605
-
Ilya Tocar authored
From-SVN: r219604
-
Richard Biener authored
2015-01-14 Richard Biener <rguenther@suse.de> PR tree-optimization/59354 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from groups larger than the slp group size as having gaps. * gcc.dg/vect/pr59354.c: New testcase. From-SVN: r219603
-
Andrew Stubbs authored
gcc/testsuite/ * lib/target-supports.exp (check_effective_target_arm_neon_ok_nocache): Don't try to test Neon on ARM architures before v7. From-SVN: r219602
-
Andrew MacLeod authored
2015-01-14 Andrew MacLeod <amacleod@redhat.com> PR middle-end/59448 * builtins.c (get_memmodel): Promote consume to acquire always. * testsuite/gcc.dg/atomic-invalid.c: Remove obselete test for illegal consume in an atomic_exchange. From-SVN: r219601
-
Ilya Tocar authored
PR target/64386 gcc/ PR target/64386 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode, V32HImode. testsuite/ * gcc.target/i386/pr64386.c: New test. From-SVN: r219600
-
Ilya Tocar authored
PR target/64393 gcc/ * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET): Enable AVX512BW. (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI. * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check AVX512VBMI, as it implies AVX512BW. testsuite/ * gcc.target/i386/pr64393.c: New test. From-SVN: r219599
-