Skip to content
Snippets Groups Projects
  1. Sep 19, 2012
    • David Edelsohn's avatar
      [multiple changes] · 0efbf084
      David Edelsohn authored
      2012-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
      
              * config/rs6000/rs6000-builtin.def: Add __builtin_ppc_get_timebase
              and __builtin_ppc_mftb.
              * config/rs6000/rs6000.c (rs6000_expand_zeroop_builtin): New
              function to expand an expression that calls a built-in without
              arguments.
              (rs6000_expand_builtin): Add __builtin_ppc_get_timebase and
              __builtin_ppc_mftb.
              (rs6000_init_builtins): Likewise.
              * config/rs6000/rs6000.md (rs6000_get_timebase): New pattern.
              (rs6000_get_timebase_ppc32): New pattern.
              (rs6000_mftb_<mode>): New pattern.
      
              * doc/extend.texi (PowerPC Built-in Functions): New section.
              (PowerPC AltiVec/VSX Built-in Functions):
              Move some built-ins unrelated to Altivec/VSX to the new section.
      
      2012-09-19  David Edelsohn  <dje.gcc@gmail.com>
      
              * rs6000.md (mac*): Remove extra spaces.
              (mulhw*): Same.
      
      From-SVN: r191491
      0efbf084
    • Oleg Endo's avatar
      re PR target/54089 ([SH] Refactor shift patterns) · 4eddc42b
      Oleg Endo authored
      	PR target/54089
      	* config/sh/predicates.md (arith_reg_or_t_reg_operand): New predicate.
      	* config/sh/sh.md (*rotcr): Use arith_reg_or_t_reg_operand predicate.
      	Handle the case where one of the operands is T_REG.
      	Add new pattern to handle MSB extraction.
      
      	PR target/54089
      	* gcc.target/sh/pr54089-1.c (test_11, test_12, test_13, test_14): New
      	functions.
      
      From-SVN: r191490
      4eddc42b
    • Oleg Endo's avatar
      re PR target/54236 ([SH] Improve addc and subc insn utilization) · 8b75f550
      Oleg Endo authored
      	PR target/54236
      	* config/sh/sh.md (*addc): Add pattern to handle one bit left shifts.
      
      	PR target/54236
      	* gcc.target/sh/pr54236-1.c (test_08): Add one bit left shift case.
      
      From-SVN: r191489
      8b75f550
    • Oleg Endo's avatar
      sh.md (prologue, epilogue): Use braced strings. · 68965312
      Oleg Endo authored
      	* config/sh/sh.md (prologue, epilogue): Use braced strings.
      
      From-SVN: r191488
      68965312
    • Ian Lance Taylor's avatar
      compiler: Ignore byte-order-mark at start of file. · 69d4d74d
      Ian Lance Taylor authored
      From-SVN: r191485
      69d4d74d
    • Eric Botcazou's avatar
      re PR rtl-optimization/54290 (wrong code at -O2 with large offset) · 17fff17b
      Eric Botcazou authored
      	PR rtl-optimization/54290
      	* reload1.c (choose_reload_regs): Also take into account secondary MEMs
      	to remove address replacements for inherited reloads.
      	(replaced_subreg): Move around.
      
      From-SVN: r191484
      17fff17b
    • Joseph Myers's avatar
      * cpplib.pot: Regenerate. · 5b156fea
      Joseph Myers authored
      From-SVN: r191483
      5b156fea
    • Joseph Myers's avatar
      * gcc.pot: Regenerate. · 58420e6b
      Joseph Myers authored
      From-SVN: r191482
      58420e6b
    • David Edelsohn's avatar
      aix61.h (TARGET_DEFAULT): Add MASK_PPC_GPOPT, MASK_PPC_GFXOPT, and MASK_MFCRF. · d36481c6
      David Edelsohn authored
              * config/rs6000/aix61.h (TARGET_DEFAULT): Add MASK_PPC_GPOPT,
              MASK_PPC_GFXOPT, and MASK_MFCRF.
      
      From-SVN: r191480
      d36481c6
    • Richard Guenther's avatar
      c-torture.exp (TORTURE_OPTIONS): Add -Og -g. · 471dc06d
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	* lib/c-torture.exp (TORTURE_OPTIONS): Add -Og -g.
      
      From-SVN: r191478
      471dc06d
    • Richard Guenther's avatar
      passes.c (init_optimization_passes): For -Og move pass_object_sizes inbetween CCP and copyprop. · 2d5fec4e
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	* passes.c (init_optimization_passes): For -Og move
      	pass_object_sizes inbetween CCP and copyprop.
      
      From-SVN: r191476
      2d5fec4e
    • Rainer Orth's avatar
      configure.ac (GCC_HEADER_STDINT): Invoke. · 76850556
      Rainer Orth authored
      
              * configure.ac (GCC_HEADER_STDINT): Invoke.
              * backtrace.h: If we can't find <stdint.h>, use "gstdint.h".
              * btest.c: Don't include <stdint.h>.
              * dwarf.c: Likewise.
              * configure, aclocal.m4, Makefile.in, config.h.in: Rebuild.
      
      Co-Authored-By: default avatarIan Lance Taylor <iant@google.com>
      
      From-SVN: r191474
      76850556
    • Richard Guenther's avatar
      builtin-unreachable-6.c: Adjust. · fb522d96
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.dg/builtin-unreachable-6.c: Adjust.
      
      From-SVN: r191472
      fb522d96
    • Richard Guenther's avatar
      builtin-object-size-10.c: Adjust. · 56f9667f
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.dg/builtin-object-size-10.c: Adjust.
      	* gcc.dg/builtin-unreachable-5.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-fprintf-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-fprintf-chk-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-printf-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-printf-chk-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-vfprintf-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-vfprintf-chk-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-vprintf-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-vprintf-chk-1.c: Adjust.
      	* gcc.dg/tree-ssa/ssa-ccp-10.c: Adjust.
      	* gcc.dg/vect/vec-scal-opt.c: Adjust.
      	* gcc.dg/vect/vec-scal-opt1.c: Adjust.
      	* gcc.dg/vect/vec-scal-opt2.c: Adjust.
      
      From-SVN: r191468
      56f9667f
    • Richard Guenther's avatar
      tree-ssa-forwprop.c (get_prop_source_stmt): Simplify. · ef78c9c7
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-forwprop.c (get_prop_source_stmt): Simplify.
      
      From-SVN: r191467
      ef78c9c7
    • Jan Hubicka's avatar
      symtab.c (insert_to_assembler_name_hash): Do not insert register vars. · b5493fb2
      Jan Hubicka authored
      	* symtab.c (insert_to_assembler_name_hash): Do not insert
      	register vars.
      	(unlink_from_assembler_name_hash): NULL out pointers of unlinked
      	var.
      	(symtab_prevail_in_asm_name_hash): New.
      	(symtab_initialize_asm_name_hash): Break out from ...
      	(symtab_node_for_asm): ... here.
      	(dump_symtab_base): Dump LTO file data.
      	(verify_symtab_base): Register vars are not in symtab.
      	* cgraph.h (symtab_initialize_asm_name_hash,
      	symtab_prevail_in_asm_name_hash): New functions.
      	(symtab_real_symbol_p): New inline.
      	* lto-symtab.c: Do not include gt-lto-symtab.h.
      	(lto_symtab_entry_def): Remove.
      	(lto_symtab_entry_t): Remove.
      	(lto_symtab_identifiers): Remove.
      	(lto_symtab_free): Remove.
      	(lto_symtab_entry_hash): Remove.
      	(lto_symtab_entry_eq): Remove.
      	(lto_symtab_entry_marked_p): Remove.
      	(lto_symtab_maybe_init_hash_table): Remove.
      	(resolution_guessed_p, set_resolution_guessed): New functions.
      	(lto_symtab_register_decl): Only set resolution info.
      	(lto_symtab_get, lto_symtab_get_resolution): Remove.
      	(lto_symtab_merge): Reorg to work across symtab; do nothing if decls
      	are same.
      	(lto_symtab_resolve_replaceable_p): Reorg to work on symtab.
      	(lto_symtab_resolve_can_prevail_p): Likewise; only real symbols can
      	prevail.
      	(lto_symtab_resolve_symbols): Reorg to work on symtab.
      	(lto_symtab_merge_decls_2): Likewise.
      	(lto_symtab_merge_decls_1): Likewise; add debug dumps.
      	(lto_symtab_merge_decls): Likewise; do not merge at ltrans stage.
      	(lto_symtab_merge_cgraph_nodes_1): Reorg to work on symtab.
      	(lto_symtab_merge_cgraph_nodes): Likewise; do not merge at ltrans stage.
      	(lto_symtab_prevailing_decl): Rewrite to lookup into symtab.
      	* lto-streaer.h (lto_symtab_free): Remove.
      	* lto-cgraph.c (add_references): Cleanup.
      	* varpool.c (varpool_assemble_decl): Skip hard regs.
      
      	* lto.c (lto_materialize_function): Update confused comment.
      	(read_cgraph_and_symbols): Do not free symtab.
      
      From-SVN: r191466
      b5493fb2
    • Richard Guenther's avatar
      re PR other/53316 (Introduce -Og) · 9745abfd
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	PR other/53316
      	* common/common-target.h (OPT_LEVELS_1_PLUS_NOT_DEBUG): Add.
      
      From-SVN: r191465
      9745abfd
    • Richard Guenther's avatar
      re PR other/53316 (Introduce -Og) · bf7a7185
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	PR other/53316
      	* common.opt (optimize_debug): New variable.
      	(Og): New optimization level.
      	* doc/invoke.texi (Og): Document.
      	* opts.c (maybe_default_option): Add debug parameter.
      	(maybe_default_options): Likewise.
      	(default_options_optimization): Handle -Og.
      	(common_handle_option): Likewise.
      	* passes.c (gate_all_optimizations): Do not run with -Og.
      	(gate_all_optimizations_g): New gate, run with -Og.
      	(pass_all_optimizations_g): New container pass, run with -Og.
      	(init_optimization_passes): Schedule pass_all_optimizations_g
      	alongside pass_all_optimizations.
      
      From-SVN: r191464
      bf7a7185
    • Richard Guenther's avatar
      re PR tree-optimization/54132 (Incorrect loop transformation with -ftree-loop-distribute-patterns) · f20132e7
      Richard Guenther authored
      2012-09-19  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/54132
      	* tree-loop-distribution.c (classify_partition): Properly
      	check dependences for memmove.
      	* tree-data-ref.h (compute_affine_dependence): Declare.
      	* tree-data-ref.c (compute_affine_dependence): Export.
      
      	* gcc.dg/tree-ssa/ldist-21.c: New testcase.
      	* gcc.dg/torture/pr54132.c: Likewise.
      
      From-SVN: r191463
      f20132e7
    • Zhenqiang Chen's avatar
      re PR middle-end/54364 (Tail call jumps not threaded) · f7d0c571
      Zhenqiang Chen authored
      	PR middle-end/54364
      	* bb-reorder.c (connect_better_edge_p): New added.
      	(find_traces_1_round): When optimizing for size, ignore edge frequency
      	and probability, and handle all in one round.
      	(bb_to_key): Use bb->index as key when optimizing for size.
      	(better_edge_p): The bb with smaller index is better when optimizing
      	for size.
      	(connect_traces): When optimizing for size, connect block n with
      	block n + 1; connect trace m with trace m + 1 if falling through.
      	(gate_handle_reorder_blocks): Enable bbro when optimizing for -Os.
      
      From-SVN: r191462
      f7d0c571
    • Ian Lance Taylor's avatar
      compiler: Fix multiple types with same name in function. · 878b569c
      Ian Lance Taylor authored
      From-SVN: r191461
      878b569c
    • Terry Guo's avatar
      gcc-dg.exp (dg_runtest_extra_prunes): New variable to define extra prune rules... · 06e28db0
      Terry Guo authored
      gcc-dg.exp (dg_runtest_extra_prunes): New variable to define extra prune rules that will be applied to all tests in a...
      
      2012-09-19  Terry Guo  <terry.guo@arm.com>
      
              * lib/gcc-dg.exp (dg_runtest_extra_prunes): New variable to define
              extra prune rules that will be applied to all tests in a .exp file.
              (gcc-dg-prune): Use rules defined by the above variable.
              * gcc.target/arm/arm.exp (dg_runtest_extra_prunes): Skip all the
              harmless warnings on architecture switch conflict.
      
      From-SVN: r191460
      06e28db0
    • Ian Lance Taylor's avatar
      re PR bootstrap/54623 (install fails with libbacktrace/backtrace.c:35:20:... · 9425c00b
      Ian Lance Taylor authored
      re PR bootstrap/54623 (install fails with libbacktrace/backtrace.c:35:20: error: unwind.h: No such file or directory)
      
      	PR bootstrap/54623
      	* Makefile.am (AM_CPPFLAGS): Define.
      	(AM_CFLAGS): Remove -I options.
      	* Makefile.in: Rebuild.
      
      From-SVN: r191459
      9425c00b
    • Bin Cheng's avatar
      Fix ChangeLog entry for r191457. · 467d9032
      Bin Cheng authored
      From-SVN: r191458
      467d9032
    • Bin Cheng's avatar
      * fold-const.c (fold_truth_andor) Remove duplicated check on · afb0c9cd
      Bin Cheng authored
      	BRANCH_COST.
      
      From-SVN: r191457
      afb0c9cd
    • Hans-Peter Nilsson's avatar
      nested-3.C: Match a sequence of asm-comment characters instead of a single one. · 7a99a251
      Hans-Peter Nilsson authored
      	* g++.dg/debug/dwarf2/nested-3.C: Match a sequence
      	of asm-comment characters instead of a single one.
      	* g++.dg/debug/dwarf2/nested-2.C: Similar.
      
      From-SVN: r191456
      7a99a251
    • GCC Administrator's avatar
      Daily bump. · 92058131
      GCC Administrator authored
      From-SVN: r191455
      92058131
  2. Sep 18, 2012
Loading