- 12 Oct, 2015 2 commits
-
-
[PATCH] Refactoring FSM bits into their own file * tree-ssa-threadedge.c (fsm_find_thread_path): Moved from here into tree-ssa-threadbackward.c. (fsm_find_control_statement_thread_paths): Likewise. (thread_through_normal_block): Break out FSM bits and move them into a new function in tree-ssa-threadbackward.c. Call new function instead. Minimize header file usage. * tree-ssa-threadbackward.h: New file. * tree-ssa-threadbackward.c: Likewise. * Makefile.in (OBJS): Add tree-ssa-threadbackward.o From-SVN: r228700
Jeff Law committed -
From-SVN: r228699
GCC Administrator committed
-
- 11 Oct, 2015 11 commits
-
-
I noticed that when testing glibc with a cross compiler I got UNSUPPORTED: nptl/tst-thread_local1 because the libstdc++-v3 configuration for cross compiling defaulted to __cxa_thread_atexit_impl not being available. This patch fixes GLIBCXX_CROSSCONFIG to run the same test (for the case covering targets with glibc) for __cxa_thread_atexit_impl as for native compilation, just as it runs most of the other tests done for native compilation (for these targets, it's not possible to build libstdc++ without already having built libc, so link tests are OK). Tested with no regressions for cross to arm-none-linux-gnueabi. * crossconfig.m4 (GLIBCXX_CROSSCONFIG) <*-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*>: Check for __cxa_thread_atexit_impl. * configure: Regenerate. From-SVN: r228695
Joseph Myers committed -
* config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. From-SVN: r228693
Uros Bizjak committed -
As the PR points out, the "simple" reorder algorithm makes bigger code than the STC algorithm did, for -Os, for x86. I now tested it for many different targets and it turns out to be worse everywhere. This simple patch tunes "simple" a bit; this makes it better than STC almost everywhere. The only exceptions (for the targets where I have results) are x86 and mn10300. For those targets it may be best to switch the default algorithm for -Os to STC. 2015-10-11 Segher Boessenkool <segher@kernel.crashing.org> PR rtl-optimization/67864 * gcc/bb-reorder (reorder_basic_blocks_simple): Prefer existing fallthrough edges for conditional jumps. Don't sort candidate edges if not optimizing for speed. From-SVN: r228692
Segher Boessenkool committed -
2015-10-09 Venkataramanan kumar <venkataramanan.kumar@amd.com> * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4. (__cpu_indicator_init): Fix model selection for AMD CPUs. From-SVN: r228691
Venkataramanan Kumar committed -
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (REVERSE_CONDITION): New default definition. * jump.c (reversed_comparison_code_parts): Adjust. From-SVN: r228690
Trevor Saunders committed -
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * builtins.c (expand_builtin_setjmp_receiver): Don't use #if to check HARD_FRAME_POINTER_IS_ARG_POINTER. From-SVN: r228689
Trevor Saunders committed -
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (FRAME_ADDR_RTX): New default definition. * builtins.c (expand_builtin_return_addr): Adjust. From-SVN: r228688
Trevor Saunders committed -
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (DYNAMIC_CHAIN_ADDRESS): New default definition. * builtins.c (expand_builtin_return_addr): Adjust. From-SVN: r228687
Trevor Saunders committed -
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (SETUP_FRAME_ADDRESSES): New default definition. * builtins.c (expand_builtin_return_addr): Adjust. * doc/tm.texi: Likewise. * doc/tm.texi.in: Likewise. * except.c (expand_builtin_unwind_init): Likewise. From-SVN: r228686
Trevor Saunders committed -
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * builtins.c (expand_builtin_return_addr): Adjust. * defaults.h (INITIAL_FRAME_ADDRESS_RTX): New default definition. From-SVN: r228685
Trevor Saunders committed -
From-SVN: r228684
GCC Administrator committed
-
- 10 Oct, 2015 7 commits
-
-
* tree.c (type_with_interoperable_signedness): New. (gimple_canonical_types_compatible_p): Use it. * tree.h (type_with_interoperable_signedness): Declare From-SVN: r228681
Jan Hubicka committed -
* tree.c (type_with_interoperable_signedness): New. (gimple_canonical_types_compatible_p): Use it. * tree.h (type_with_interoperable_signedness): Declare * lto.c (hash_canonical_type): Honor type_with_interoperable_signedness. * gfortran.dg/lto/bind_c-2_0.f90: New testcase. * gfortran.dg/lto/bind_c-2_1.c: New testcase. * gfortran.dg/lto/bind_c-3_0.f90: New testcase. * gfortran.dg/lto/bind_c-3_1.c: New testcase. * gfortran.dg/lto/bind_c-4_0.f90: New testcase. * gfortran.dg/lto/bind_c-4_1.c: New testcase. * gfortran.dg/lto/bind_c-5_0.f90: New testcase. * gfortran.dg/lto/bind_c-5_1.c: New testcase. From-SVN: r228680
Jan Hubicka committed -
* fold-const.c (operand_equal_p): Document OEP_ADDRESS_OF and OEP_CONSTANT_ADDRESS_OF; skip type compatibility checks when OEP_ADDRESS_OF is se. From-SVN: r228679
Jan Hubicka committed -
2015-10-07 Aditya Kumar <aditya.k7@samsung.com> Sebastian Pop <s.pop@samsung.com> * graphite-dependences.c (scop_get_dependences): Add dump of the data dependence graph. * graphite-poly.c (print_isl_union_map): New. (debug_isl_union_map): New. * graphite-poly.h (print_isl_union_map): Declare. (debug_isl_union_map): Declare. Co-Authored-By: Sebastian Pop <s.pop@samsung.com> From-SVN: r228677
Aditya Kumar committed -
2015-10-07 Aditya Kumar <aditya.k7@samsung.com> Sebastian Pop <s.pop@samsung.com> * graphite-poly.c (print_iteration_domain): Remove verbosity. Remove OpenScop formatting. (print_iteration_domains): Same. (debug_iteration_domain): Same. (debug_iteration_domains): Same. (print_pdr): Same. (debug_pdr): Same. (dump_gbb_cases): Same. (dump_gbb_conditions): Same. (print_pdrs): Same. (debug_pdrs): Same. (print_pbb_body): Same. (print_pbb): Same. (print_scop_params): Same. (print_scop_context): Same. (print_scop): Same. (debug_pbb_domain): Same. (debug_pbb): Same. (debug_scop_context): Same. (debug_scop): Same. (debug_scop_params): Same. * graphite-poly.h: Same. * graphite.c (graphite_transform_loops): Same. Co-Authored-By: Sebastian Pop <s.pop@samsung.com> From-SVN: r228676
Aditya Kumar committed -
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * function.c (stack_protect_epilogue): Remove as_a<rtx_insn *> () call that isn't needed. From-SVN: r228675
Trevor Saunders committed -
From-SVN: r228672
GCC Administrator committed
-
- 09 Oct, 2015 20 commits
-
-
* tree-ssanames.c (flush_ssaname_freelist): Use splice and truncate rather than moving each name to the freelist individually. From-SVN: r228668
Jeff Law committed -
2015-10-09 Steve Ellcey <sellcey@imgtec.com> * gcc.target/mips/mips.exp (mips_option_groups): Add -mframe-header-opt and -mno-frame-header-opt options. * gcc.target/mips/frame-header-1.c: New file. * gcc.target/mips/frame-header-2.c: New file. * gcc.target/mips/frame-header-3.c: New file. From-SVN: r228667
Steve Ellcey committed -
2015-10-05 Steve Ellcey <sellcey@imgtec.com> * config.gcc (mips*-*-*): Add frame-header-opt.o to extra_objs. * frame-header-opt.c: New file. * config/mips/mips-proto.h (mips_register_frame_header_opt): Add prototype. * config/mips/mips.c (mips_compute_frame_info): Check optimize_call_stack flag. (mips_option_override): Register new frame_header_opt pass. (mips_frame_info, mips_int_mask, mips_shadow_set, machine_function): Move these types to... * config/mips/mips.h: here. (machine_function): Add does_not_use_frame_header and optimize_call_stack fields. * config/mips/t-mips (frame-header-opt.o): Add new make rule. * doc/invoke.texi (-mframe-header-opt, -mno-frame-header-opt): Document new flags. * config/mips/mips.opt (mframe-header-opt): Add new option. From-SVN: r228666
Steve Ellcey committed -
(expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Use ROUND_DOWN where applicable. From-SVN: r228665
Uros Bizjak committed -
* tree-vect-stmts.c (free_stmt_vec_info): Free the LHS of the correct statement. From-SVN: r228663
Jeff Law committed -
pattern. gcc/ 2015-10-09 Renlin Li <renlin.li@arm.com> * config/arm/neon.md (neon_vuzp<mode>_insn): Add & modifier for operands[0] and operands[2]. (neon_vtrn<mode>_insn): Likewise. (neon_vzip<mode>_insn): Likewise. From-SVN: r228662
Renlin Li committed -
gcc/ChangeLog * match.pd: ((X inner_op C0) outer_op C1) New pattern. ((X & C2) << C1): Expand to... (X {&,^,|} C2 << C1): ...This. ((X & C2) >> C1): Expand to... (X {&,^,|} C2 >> C1): ...This. gcc/testsuite/ChangeLog * gcc.dg/tree-ssa/forwprop-33.c: New. Co-Authored-By: Hale Wang <hale.wang@arm.com> From-SVN: r228661
Andre Vieira committed -
gcc/ PR target/67895 * config/i386/sse.md (define_insn "sse_cvtsi2ss<round_name>"): Adjust embedded rounding/SAE specifier position. (define_insn "sse_cvtsi2ssq<round_name>"): Likewise. (define_insn "cvtusi2<ssescalarmodesuffix>32<round_name>"): Likewise. (define_insn "cvtusi2<ssescalarmodesuffix>64<round_name>"): Likewise. (define_insn "sse2_cvtsi2sdq<round_name>"): Likewise. (define_insn "avx512dq_rangep<mode><mask_name><round_saeonly_name>"): Likewise. (define_insn "avx512dq_ranges<mode><round_saeonly_name>"): Likewise. gcc/testsuite PR target/67895 * gcc.target/i386/avx512dq-vrangepd-1.c: Adjust assembly regexp. * gcc.target/i386/avx512dq-vrangeps-1.c: Likewise. * gcc.target/i386/avx512dq-vrangesd-1.c: Likewise. * gcc.target/i386/avx512dq-vrangess-1.c: Likewise. * gcc.target/i386/avx512f-vcvtsi2sd64-1.c: Likewise. * gcc.target/i386/avx512f-vcvtsi2ss-1.c: Likewise. * gcc.target/i386/avx512f-vcvtsi2ss64-1.c: Likewise. * gcc.target/i386/avx512f-vcvtusi2sd64-1.c: Likewise. * gcc.target/i386/avx512f-vcvtusi2ss-1.c: Likewise. * gcc.target/i386/avx512f-vcvtusi2ss64-1.c: Likewise. From-SVN: r228660
Alexander Fomin committed -
This patch adds an easy way to write tests for expected multiline output. For example we can test carets and underlines for a particular diagnostic with: /* { dg-begin-multiline-output "" } typedef struct _GMutex GMutex; ^~~~~~~ { dg-end-multiline-output "" } */ multiline.exp is used by prune.exp; hence we need to load it before prune.exp via *load_gcc_lib* for the testsuites of the various non-"gcc" support libraries (e.g. boehm-gc). gcc/testsuite/ChangeLog: * lib/multiline.exp: New file. * lib/prune.exp: Load multiline.exp. (prune_gcc_output): Call into multiline.exp to handle any multiline output directives. * lib/libgo.exp: Load multiline.exp before prune.exp, using load_gcc_lib. boehm-gc/ChangeLog: * testsuite/lib/boehm-gc.exp: Load multiline.exp before prune.exp, using load_gcc_lib. libatomic/ChangeLog: * testsuite/lib/libatomic.exp: Load multiline.exp before prune.exp, using load_gcc_lib. libgomp/ChangeLog: * testsuite/lib/libgomp.exp: Load multiline.exp before prune.exp, using load_gcc_lib. libitm/ChangeLog: * testsuite/lib/libitm.exp: Load multiline.exp before prune.exp, using load_gcc_lib. libvtv/ChangeLog: * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp, using load_gcc_lib. From-SVN: r228655
David Malcolm committed -
2015-10-09 Martin Jambor <mjambor@suse.cz> tree-optimization/67794 * tree-sra.c (replace_removed_params_ssa_names): Do not distinguish between types of state,ents but accept original definitions as a parameter. (ipa_sra_modify_function_body): Use FOR_EACH_SSA_DEF_OPERAND to iterate over definitions. testsuite/ * gcc.dg/ipa/ipa-sra-10.c: Nw test. * gcc.dg/torture/pr67794.c: Likewise. From-SVN: r228654
Martin Jambor committed -
* config/rs6000/rs6000.c (rs6000_offload_options): New. (TARGET_OFFLOAD_OPTIONS): New. From-SVN: r228653
James Norris committed -
for gcc/ChangeLog PR middle-end/67891 * cfgexpand.c (set_parm_rtl): Drop is_gimple_reg test. From-SVN: r228652
Alexandre Oliva committed -
for gcc/ChangeLog PR middle-end/67766 * function.c (expand_function_end): Move return value promotion past the handling of PARALLELs and CONCATs. From-SVN: r228651
Alexandre Oliva committed -
for gcc/ChangeLog PR rtl-optimizatoin/67828 * tree-ssa-loop-unswitch.c: Include tree-ssa.h. (tree_may_unswitch_on): Don't unswitch on expressions involving undefined values. for gcc/testsuite/ChangeLog PR rtl-optimization/67828 * gcc.dg/torture/pr67828.c: New. From-SVN: r228650
Alexandre Oliva committed -
From-SVN: r228649
Martin Liska committed -
2015-10-09 Richard Biener <rguenther@suse.de> * genmatch.c (print_operand): Fix formatting. (dt_node::append_simplify): Warn for multiple simplifiers that match the same pattern. * match.pd (log (exp @0)): Remove duplicates. From-SVN: r228648
Richard Biener committed -
From-SVN: r228647
Christian Bruel committed -
Add include/experimental/bits dir * include/experimental/erase_if.h: Move to ... * include/experimental/bits/erase_if.h: New. * include/experimental/fs_dir.h: Move to ... * include/experimental/bits/fs_dir.h: New. * include/experimental/fs_fwd.h: Move to ... * include/experimental/bits/fs_fwd.h: New. * include/experimental/fs_ops.h: Move to ... * include/experimental/bits/fs_ops.h: New. * include/experimental/fs_path.h: Move to ... * include/experimental/bits/fs_path.h: New. * include/experimental/string_view.tcc: Move to ... * include/experimental/bits/string_view.tcc: New. * include/Makefile.am: Add include/experimental/bits sub-directory. * include/Makefile.in: Regenerate. * include/experimental/filesystem: Adjust includes. * include/experimental/map: Likewise. * include/experimental/set: Likewise. * include/experimental/string_view: Likewise. * include/experimental/unordered_map: Likewise. * include/experimental/unordered_set: Likewise. From-SVN: r228646
Jonathan Wakely committed -
From-SVN: r228645
Jonathan Wakely committed -
This patch by Richard allows for movmisalign optabs to be supported in gimple-fold.c. This caused a bit of pain in the testsuite with strlenopt-8.c in conjunction with the ARM support for movmisalign_optabs as the test was coded up to do different things depending on whether the target supported misaligned access or not. However now with unaligned access being allowed for different levels of the architecture in the arm backend, the concept of the helper function non_strict_align mapping identically to the definition of STRICT_ALIGNMENT disappears. Adjusted thusly for ARM. The testsuite/lib changes were tested with an arm-none-eabi multilib that included architecture variants that did not support unaligned access and architecture variants that did. The testing matrix for this patch was: 1. x86_64 bootstrap and regression test - no regressions. 2. armhf bootstrap and regression test - no regressions. 3. arm-none-eabi cross build and regression test for {-marm/-march=armv7-a/-mfpu=vfpv3-d16/-mfloat-abi=softfp} {-mthumb/-march=armv8-a/-mfpu=crypto-neon-fp-armv8/-mfloat-abi=hard} {-marm/-mcpu=arm7tdmi/-mfloat-abi=soft} {-mthumb/-mcpu=arm7tdmi/-mfloat-abi=soft} with no regressions. Ok to apply ? 2015-10-09 Richard Biener <rguenth@suse.de> PR target/67366 * gimple-fold.c (optabs-query.h): Include (gimple_fold_builtin_memory_op): Allow unaligned stores when movmisalign_optabs are available. 2015-10-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/67366 * lib/target-supports.exp (check_effective_target_non_strict_align): Adjust for arm*-*-*. * gcc.target/arm/pr67366.c: New test. From-SVN: r228644
Ramana Radhakrishnan committed
-