- 15 Jan, 2015 7 commits
-
-
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 committed -
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 committed -
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
Jerry DeLisle committed -
From-SVN: r219629
Ian Lance Taylor committed -
From-SVN: r219628
Ian Lance Taylor committed -
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
Ian Lance Taylor committed -
From-SVN: r219626
GCC Administrator committed
-
- 14 Jan, 2015 33 commits
-
-
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
Oleg Endo committed -
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
Sandra Loosemore committed -
/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
Paolo Carlini committed -
From-SVN: r219620
Matthew Fortune committed -
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
Matthew Fortune committed -
2015-12-14 Jan-Benedict Glaw <jbglaw@lug-owl.de> * libiberty.h: Merge Copyright year update from Binutils. From-SVN: r219617
Jan-Benedict Glaw committed -
-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
H.J. Lu committed -
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
Andrew MacLeod committed -
+ lto_symtab_encoder_encode_*. From-SVN: r219607
Aldy Hernandez committed -
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 committed -
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 Verbin committed -
From-SVN: r219604
Ilya Tocar committed -
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
Richard Biener committed -
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 Stubbs committed -
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
Andrew MacLeod committed -
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 committed -
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
Ilya Tocar committed -
re PR target/64387 (ICE: in extract_insn, at recog.c:2327 (unrecognizable insn) with -ffloat-store -mavx512er) PR target/64387 gcc/ * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate. (vec_unpacks_hi_v16sf): Ditto. testsuite/ * gcc.target/i386/pr64387.c: New test. From-SVN: r219598
Ilya Tocar committed -
2015-01-14 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/aarch64/store-pair-1.c: Fix typo. From-SVN: r219595
Christophe Lyon committed -
* config/aarch64/arm_neon.h: Error out if AdvancedSIMD is not available. * gcc.target/aarch64/arm_neon-nosimd-error.c: New test. From-SVN: r219594
Kyrylo Tkachov committed -
* doc/invoke.texi (mapcs): Mention deprecation. (mapcs-frame): Likewise. From-SVN: r219593
Kyrylo Tkachov committed -
2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR target/64453 * config/arm/arm.c (callee_saved_reg_p): Define. (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if register is callee saved instead of !call_used_regs[reg]. (thumb1_compute_save_reg_mask): Likewise. gcc/testsuite/ PR target/64453 * gcc.target/arm/pr64453.c: New. From-SVN: r219592
Thomas Preud'homme committed -
2015-01-14 Hale Wang <hale.wang@arm.com> * config/arm/arm.c: Tune the max_cond_insns/branch_cost for Cortex-M7. From-SVN: r219589
Hale Wang committed -
2015-01-14 Richard Biener <rguenther@suse.de> PR lto/64415 * tree-inline.c (insert_debug_decl_map): Check destination function MAY_HAVE_DEBUG_STMTS. (insert_init_debug_bind): Likewise. (insert_init_stmt): Remove redundant check. (remap_gimple_stmt): Drop debug stmts if the destination function has var-tracking assignments disabled. * gcc.dg/lto/pr64415_0.c: New testcase. * gcc.dg/lto/pr64415_1.c: Likewise. From-SVN: r219588
Richard Biener committed -
* gcc.dg/ipa/pr64307.c: New test. * ipa-icf-gimple.c (func_checker::compare_operand): Add support for IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison. From-SVN: r219586
Martin Liska committed -
2015-01-14 Tejas Belagod <tejas.belagod@arm.com> * gcc.target/aarch64/vect-movi.c: Check for vectorization for 64-bit and 128-bit. From-SVN: r219585
Tejas Belagod committed -
PR target/64460 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2. (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3. * gcc.target/arm/pr64460_1.c: New test. From-SVN: r219583
Kyrylo Tkachov committed -
gcc/ * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA level from an ARCH; do not inject the default. (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from MIPS_ISA_LEVEL_SPEC. (MIPS_ISA_NAN2008_SPEC): Update comment. (BASE_DRIVER_SELF_SPECS): Likewise. * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add MIPS_DEFAULT_ISA_LEVEL_SPEC. * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise. * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise. * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise. From-SVN: r219580
Matthew Fortune committed -
2015-01-14 Richard Biener <rguenther@suse.de> PR tree-optimization/64493 PR tree-optimization/64495 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions assign the proper vectorized PHI to the inner loop exit PHIs. * gcc.dg/vect/pr64493.c: New testcase. * gcc.dg/vect/pr64495.c: Likewise. From-SVN: r219579
Richard Biener committed -
2015-01-14 Joey Ye <joey.ye@arm.com> * config/arm/arm.c (arm_compute_save_reg_mask): Do not save lr in case of tail call. * config/arm/thumb2.md (*thumb2_pop_single): New pattern. From-SVN: r219578
Joey Ye committed -
* tree-vrp.c (check_array_ref): Emit more warnings for warn_array_bounds >= 2. * common.opt: New option -Warray-bounds=. * doc/invoke.texi: Document -Warray-bounds=. * c.opt: New option -Warray-bounds=. * gcc.dg/Warray-bounds-11.c: New test-case. From-SVN: r219577
Martin Uecker committed -
[NDS32] Remove some features and options that are not available yet in nds32 port of GNU binutils package. gcc/ * config/nds32/nds32.opt (mforce-fp-as-gp): Remove. (mforbid-fp-as-gp): Remove. (mex9): Remove. * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove. (nds32_symbol_load_store_p): Remove. (nds32_fp_as_gp_check_available): Clean up implementation. * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9 cases. * config/nds32/nds32.c (nds32_asm_file_start): No need to consider fp-as-gp and ex9 cases. From-SVN: r219576
Chung-Ju Wu committed -
* gcc.target/mips/octeon3-pipe-1.c: New test. From-SVN: r219575
Naveen H.S committed
-