rsandifo [Mon, 30 Sep 2013 20:38:59 +0000 (20:38 +0000)]
gcc/
* vec.h (vec_prefix, vec): Prefix member names with "m_".
* vec.c (vec_prefix::calculate_allocation): Update accordingly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203047
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 30 Sep 2013 20:35:40 +0000 (20:35 +0000)]
gcc/
* basic-block.h (edge_list): Prefix member names with "m_".
* context.h (context): Likewise.
* domwalk.h (dom_walker): Likewise.
* gengtype-state.c (s_expr_writer, state_writer): Likewise.
* graphite-sese-to-poly.c (sese_dom_walker): Likewise.
* hash-table.h (hash_table): Likewise.
* machmode.h (bit_field_mode_iterator): Likewise.
* pass_manager.h (pass_list): Likewise.
* tree-into-ssa.c (mark_def_dom_walker): Likewise.
* tree-pass.h (pass_data): Likewise.
* tree-ssa-dom.c (dom_opt_dom_walker): Likewise.
* tree-ssa-phiopt.c (nontrapping_dom_walker): Likewise,
* tree-ssa-uncprop.c (uncprop_dom_walker): Likewise.
* asan.c (pass_data_asan): Update accordingly.
* cfganal.c (control_dependences::find_control_dependence): Likewise.
(control_dependences::control_dependences): Likewise.
(control_dependences::~control_dependences): Likewise.
(control_dependences::~control_dependences): Likewise.
(control_dependences::get_edges_dependent_on): Likewise.
* cgraphbuild.c (pass_data_rebuild_cgraph_edges::clone): Likewise.
(pass_data_remove_cgraph_callee_edges::clone): Likewise.
* context.c (gcc::context::context): Likewise.
* cprop.c (pass_rtl_cprop::clone): Likewise.
* domwalk.c (dom_walker::walk): Likewise.
* ipa-inline-analysis.c (pass_inline_parameters::clone): Likewise.
* ipa-pure-const.c (pass_local_pure_const::clone): Likewise.
* mode-switching.c (pass_mode_switching::clone): Likewise.
* passes.c (opt_pass::opt_pass): Likewise.
(pass_manager::pass_manager): Likewise.
* predict.c (pass_strip_predict_hints::clone): Likewise.
* recog.c (pass_data pass_data_peephole2::clone): Likewise.
(pass_split_all_insns::clone): Likewise.
* stor-layout.c (bit_field_mode_iterator::bit_field_mode_iterator):
Likewise.
(bit_field_mode_iterator::next_mode): Likewise.
(bit_field_mode_iterator::prefer_smaller_modes): Likewise.
* tree-cfg.c (pass_split_crit_edges::clone): Likewise.
* tree-cfgcleanup.c (pass_merge_phi::clone): Likewise.
* tree-complex.c (pass_lower_complex::clone): Likewise.
* tree-eh.c (pass_cleanup_eh::clone): Likewise.
* tree-object-size.c (pass_object_sizes::clone): Likewise.
* tree-optimize.c (pass_fixup_cfg::clone): Likewise.
* tree-ssa-ccp.c (pass_data_ccp::clone): Likewise.
(pass_fold_builtins::clone): Likewise.
* tree-ssa-copy.c (pass_data_copy_prop::clone): Likewise.
* tree-ssa-copyrename.c (pass_rename_ssa_copies::clone): Likewise.
* tree-ssa-dce.c (pass_dce::clone, pass_dce_loop::clone): Likewise.
(pass_cd_dce::clone): Likewise.
* tree-ssa-dom.c (pass_dominator::clone): Likewise.
(pass_phi_only_cprop::clone): Likewise.
* tree-ssa-dse.c (pass_dse::clone): Likewise.
* tree-ssa-forwprop.c (pass_forwprop::clone): Likewise.
* tree-ssa-loop.c (pass_lim::clone): Likewise.
* tree-ssa-phiopt.c (pass_phiopt::clone): Likewise.
* tree-ssa-pre.c (pass_fre::clone): Likewise.
* tree-ssa-reassoc.c (pass_reassoc::clone): Likewise.
* tree-ssa-uninit.c (pass_late_warn_uninitialized::clone): Likewise.
* tree-tailcall.c (pass_tail_recursion::clone): Likewise.
* tree-vect-generic.c (pass_lower_vector_ssa::clone): Likewise.
* tree-vrp.c (pass_vrp::clone): Likewise.
* tsan.c (pass_tsan::clone): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203046
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 30 Sep 2013 20:17:07 +0000 (20:17 +0000)]
PR middle-end/58564
* fold-const.c (tree_unary_nonnegative_warnv_p): Use
INTEGRAL_TYPE_P (t) instead of TREE_CODE (t) == INTEGER_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203044
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 30 Sep 2013 20:15:20 +0000 (20:15 +0000)]
PR middle-end/58564
* fold-const.c (fold_ternary_loc): For A < 0 : <sign bit of A> : 0
optimization, punt if sign_bit_p looked through any zero extension.
* gcc.c-torture/execute/pr58564.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203042
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 30 Sep 2013 20:09:25 +0000 (20:09 +0000)]
* tree-ssa-threadupdate.c (ssa_fix_duplicate_block_edges):
Update redirected out edge count in joiner case.
(ssa_redirect_edges): Common the joiner and non-joiner cases
so that joiner case gets profile updates.
* testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c (expand_one_var):
Update for additional dump message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203041
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 30 Sep 2013 19:17:07 +0000 (19:17 +0000)]
2013-09-30 Paolo Carlini <paolo.carlini@oracle.com>
* include/parallel/algo.h (__find_switch): Use __binder2nd.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203040
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 30 Sep 2013 18:11:42 +0000 (18:11 +0000)]
compiler: Use backend interface for variable expressions.
* go-gcc.cc (Backend::error_expression): New function.
(Backend::var_expression): New function.
(Backend::indirect_expression): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203038
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 30 Sep 2013 17:42:31 +0000 (17:42 +0000)]
2013-09-30 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/58437
* include/bits/stl_algo.h (__move_median_first): Rename to
__move_median_to_first, change to take an addition argument.
(__unguarded_partition_pivot): Adjust.
* testsuite/performance/25_algorithms/sort.cc: New.
* testsuite/performance/25_algorithms/sort_heap.cc: Likewise.
* testsuite/performance/25_algorithms/stable_sort.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203035
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 30 Sep 2013 12:22:00 +0000 (12:22 +0000)]
2013-09-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/58554
* tree-loop-distribution.c (classify_partition): Require unconditionally
executed stores for memcpy and memset recognition.
(tree_loop_distribution): Calculate dominance info.
* gcc.dg/torture/pr58554.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203031
138bc75d-0d04-0410-961f-
82ee72b054a4
vekumar [Mon, 30 Sep 2013 10:20:11 +0000 (10:20 +0000)]
Function profiling macro support for Aarch64
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203028
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Mon, 30 Sep 2013 09:20:58 +0000 (09:20 +0000)]
gcc:
* config/rs6000/darwin.md (load_macho_picbase_si): Wrap machopic
calls and defines in TARGET_MACHO conditional.
(load_macho_picbase_di): Likewise.
(reload_macho_picbase): Likewise.
(reload_macho_picbase_si): Likewise.
(reload_macho_picbase_di): Likewise.
(nonlocal_goto_receiver): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203027
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 30 Sep 2013 08:58:53 +0000 (08:58 +0000)]
* config/msp430/msp430.c (msp430x_names): New array. Lists MCUs
that use the MSP430X ISA.
(msp430_option_override): Scan -mmcu command line option for any
MCU name that supports the MSP430X ISA.
* config/msp430/t-msp430 (MULTILIB_MATCHES): Add matches for known
-mmcu options which enable the MSP430X ISA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203026
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 30 Sep 2013 08:23:48 +0000 (08:23 +0000)]
2013-09-30 Simon Cook <simon.cook@embecosm.com>
Joern Rennecke <joern.rennecke@embecosm.com>
* gcc.target/arc/barrel-shifter-1.c: New test.
* gcc.target/arc/barrel-shifter-2.c: Likewise.
* gcc.target/arc/long-calls.c, gcc.target/arc/mA6.c: Likewise.
* gcc.target/arc/mA7.c, gcc.target/arc/mARC600.c: Likewise.
* gcc.target/arc/mARC601.c, gcc.target/arc/mARC700.c: Likewise.
* gcc.target/arc/mcpu-arc600.c, gcc.target/arc/mcpu-arc601.c: Likewise.
* gcc.target/arc/mcpu-arc700.c, gcc.target/arc/mcrc.c: Likewise.
* gcc.target/arc/mdpfp.c, gcc.target/arc/mdsp-packa.c: Likewise.
* gcc.target/arc/mdvbf.c, gcc.target/arc/mlock.c: Likewise.
* gcc.target/arc/mmac-24.c, gcc.target/arc/mmac-d16.c: Likewise.
* gcc.target/arc/mno-crc.c, gcc.target/arc/mno-dsp-packa.c: Likewise.
* gcc.target/arc/mno-dvbf.c, gcc.target/arc/mno-lock.c: Likewise.
* gcc.target/arc/mno-mac-24.c, gcc.target/arc/mno-mac-d16.c: Likewise.
* gcc.target/arc/mno-rtsc.c, gcc.target/arc/mno-swape.c: Likewise.
* gcc.target/arc/mno-xy.c, gcc.target/arc/mrtsc.c: Likewise.
* gcc.target/arc/mspfp.c, gcc.target/arc/mswape.c: Likewise.
* gcc.target/arc/mtune-ARC600.c: Likewise.
* gcc.target/arc/mtune-ARC601.c: Likewise.
* gcc.target/arc/mtune-ARC700-xmac: Likewise.
* gcc.target/arc/mtune-ARC700.c: Likewise.
* gcc.target/arc/mtune-ARC725D.c: Likewise.
* gcc.target/arc/mtune-ARC750D.c: Likewise.
* gcc.target/arc/mul64.c, gcc.target/arc/mxy.c: Likewise.
* gcc.target/arc/no-dpfp-lrsr.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203025
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 30 Sep 2013 07:44:46 +0000 (07:44 +0000)]
2013-09-30 Richard Biener <rguenther@suse.de>
PR middle-end/58532
* tree-cfg.c (make_abnormal_goto_edges): Skip debug statements
before looking for setjmp-like calls.
* g++.dg/torture/pr58552.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203024
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 30 Sep 2013 00:16:56 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203023
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sun, 29 Sep 2013 20:46:19 +0000 (20:46 +0000)]
gcc:
config/x-darwin commit correct version of the file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203020
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sun, 29 Sep 2013 20:14:39 +0000 (20:14 +0000)]
gcc:
PR target/10901
* config/darwin-protos.h (machopic_get_function_picbase): New.
* config/darwin.c (machopic_get_function_picbase): New.
* config/rs6000/darwin.md (load_macho_picbase_si): Update picbase
label for a new func. (load_macho_picbase_di): Likewise.
(reload_macho_picbase): New expand.
(reload_macho_picbase_si): New insn.
(reload_macho_picbase_di): New insn.
(nonlocal_goto_receiver): New define and split.
* config/rs6000/rs6000.md (unspec enum): Add UNSPEC_RELD_MPIC.
(unspecv enum): Add UNSPECV_NLGR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203019
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sun, 29 Sep 2013 19:34:58 +0000 (19:34 +0000)]
gcc:
* config/rs6000/rs6000.c (rs6000_init_dwarf_reg_sizes_extra): Ensure
that altivec registers are correctly sized on Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203018
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sun, 29 Sep 2013 19:16:45 +0000 (19:16 +0000)]
config:
* mh-darwin (BOOT_CFLAGS): Only add -mdynamic-no-pic for m32 hosts.
(STAGE1_CFLAGS, STAGE1_LDFLAGS): New.
Fix over-length lines and amend comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203017
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Sun, 29 Sep 2013 19:14:37 +0000 (19:14 +0000)]
gcc:
* config/t-darwin (darwin.o, darwin-c.o, darwin-f.o,
darwin-driver.o): Use COMPILE and POSTCOMPILE.
* config/x-darwin (host-darwin.o): Likewise.
* config/i386/x-darwin (host-i386-darwin.o): Likewise.
* config/rs6000/x-darwin (host-ppc-darwin.o): Likewise.
* config/rs6000/x-darwin64 (host-ppc64-darwin.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203016
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 29 Sep 2013 18:59:52 +0000 (18:59 +0000)]
* doc/invoke.texi: Fix usage of @tie{} command.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203015
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 29 Sep 2013 17:54:45 +0000 (17:54 +0000)]
* config/sparc/sync.md: Add peephole for consecutive memory barriers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203014
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 29 Sep 2013 12:17:44 +0000 (12:17 +0000)]
* config/i386/x86-tune.def: Add documentation for each of the options;
add whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203013
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 29 Sep 2013 09:26:29 +0000 (09:26 +0000)]
* x86-tune.def (X86_TUNE_SSE_UNALIGNED_LOAD_OPTIMAL): Enable for generic.
(X86_TUNE_SSE_UNALIGNED_STORE_OPTIMAL): Likewise.
(X86_TUNE_FOUR_JUMP_LIMIT): Drop for generic and buldozer.
(X86_TUNE_PAD_RETURNS): Drop for buldozer chips.
(X86_TUNE_AVOID_VECTOR_DECODE): Drop for generic.
(X86_TUNE_REASSOC_FP_TO_PARALLEL): Enable for generic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203012
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 29 Sep 2013 00:16:53 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203011
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Sat, 28 Sep 2013 20:30:51 +0000 (20:30 +0000)]
2013-09-28 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_algo.h (remove_copy, remove_copy_if): Declare
inline.
(rotate_copy, stable_partition, partial_sort_copy): Likewise.
(lower_bound, upper_bound, equal_range, inplace_merge): Likewise.
(includes, next_permutation, prev_permutation): Likewise.
(replace_copy, replace_copy_if, is_sorted_until): Likewise.
(minmax_element, is_permutation, adjacent_find): Likewise.
(count, count_if, search, search_n, merge): Likewise.
(set_intersection, set_difference): Likewise.
(set_symmetric_difference, min_element, max_element): Likewise.
* include/bits/stl_algobase.h (lower_bound): Likewise.
(lexicographical_compare, mismatch): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203008
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 28 Sep 2013 20:23:43 +0000 (20:23 +0000)]
compiler: Avoid knockon errors for invalid uses of _.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203006
138bc75d-0d04-0410-961f-
82ee72b054a4
timshen [Sat, 28 Sep 2013 13:41:09 +0000 (13:41 +0000)]
2013-09-28 Tim Shen <timshen91@gmail.com>
* include/bits/regex_scanner.tcc (_Scanner<>::_M_eat_escape_posix):
Let ordinary char escaping in POSIX be valid.
* testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Test this
change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203005
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 28 Sep 2013 08:42:34 +0000 (08:42 +0000)]
gcc/
* alloc-pool.c, asan.c, auto-inc-dec.c, basic-block.h, bb-reorder.c,
bitmap.c, bitmap.h, bt-load.c, builtins.c, calls.c, cfgcleanup.c,
cfgexpand.c, cfghooks.c, cfgloop.c, cfgloopmanip.c, cfgrtl.c, cgraph.c,
cgraph.h, cgraphbuild.c, cgraphclones.c, cgraphunit.c, collect2.c,
combine-stack-adj.c, combine.c, compare-elim.c, context.c, context.h,
cprop.c, cse.c, cselib.c, dbxout.c, dce.c, defaults.h, df-core.c,
df-problems.c, df-scan.c, df.h, diagnostic.c, double-int.c, dse.c,
dumpfile.c, dwarf2asm.c, dwarf2cfi.c, dwarf2out.c, emit-rtl.c,
errors.c, except.c, expmed.c, expr.c, file-find.c, final.c,
fixed-value.c, fold-const.c, function.c, fwprop.c, gcc-ar.c, gcc.c,
gcov-io.c, gcov-io.h, gcov.c, gcse.c, genattr-common.c, genattr.c,
genattrtab.c, genautomata.c, genconfig.c, genemit.c, genextract.c,
genflags.c, gengenrtl.c, gengtype-state.c, gengtype.c, genmodes.c,
genopinit.c, genoutput.c, genpeep.c, genpreds.c, genrecog.c,
gensupport.c, ggc-common.c, ggc-page.c, gimple-fold.c, gimple-low.c,
gimple-pretty-print.c, gimple-ssa-strength-reduction.c, gimple.c,
gimple.h, godump.c, graphite-clast-to-gimple.c,
graphite-optimize-isl.c, graphite-poly.h, graphite-sese-to-poly.c,
graphite.c, haifa-sched.c, hash-table.c, hash-table.h, hwint.c,
hwint.h, ifcvt.c, incpath.c, init-regs.c, input.h, intl.c, intl.h,
ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c,
ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c,
ipa-utils.c, ipa.c, ira-build.c, ira.c, jump.c, loop-doloop.c,
loop-init.c, loop-invariant.c, loop-iv.c, lower-subreg.c, lto-cgraph.c,
lto-streamer-in.c, lto-streamer-out.c, lto-wrapper.c, mcf.c,
mode-switching.c, modulo-sched.c, omp-low.c, optabs.c, opts.c,
pass_manager.h, passes.c, plugin.c, postreload-gcse.c, postreload.c,
predict.c, prefix.c, pretty-print.c, print-rtl.c, print-tree.c,
profile.c, read-md.c, real.c, real.h, recog.c, ree.c, reg-stack.c,
regcprop.c, reginfo.c, regmove.c, regrename.c, regs.h, regstat.c,
reload1.c, reorg.c, rtl.c, rtl.h, rtlanal.c, sbitmap.c, sched-rgn.c,
sdbout.c, sel-sched-ir.c, sel-sched.c, sparseset.c, stack-ptr-mod.c,
statistics.c, stmt.c, stor-layout.c, store-motion.c, streamer-hooks.h,
system.h, target-hooks-macros.h, targhooks.c, targhooks.h, toplev.c,
tracer.c, trans-mem.c, tree-browser.c, tree-call-cdce.c, tree-cfg.c,
tree-cfgcleanup.c, tree-complex.c, tree-data-ref.c, tree-data-ref.h,
tree-eh.c, tree-emutls.c, tree-flow.h, tree-if-conv.c, tree-into-ssa.c,
tree-iterator.c, tree-loop-distribution.c, tree-mudflap.c,
tree-nested.c, tree-nomudflap.c, tree-nrv.c, tree-object-size.c,
tree-optimize.c, tree-pass.h, tree-pretty-print.c, tree-profile.c,
tree-scalar-evolution.c, tree-sra.c, tree-ssa-ccp.c,
tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-copyrename.c,
tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
tree-ssa-ifcombine.c, tree-ssa-live.c, tree-ssa-loop-ch.c,
tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-prefetch.c,
tree-ssa-loop.c, tree-ssa-math-opts.c, tree-ssa-operands.c,
tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c,
tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c,
tree-ssa-structalias.c, tree-ssa-threadedge.c, tree-ssa-threadupdate.c,
tree-ssa-uncprop.c, tree-ssa-uninit.c, tree-ssa.c, tree-ssanames.c,
tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c,
tree-vect-data-refs.c, tree-vect-generic.c, tree-vect-loop-manip.c,
tree-vect-stmts.c, tree-vectorizer.c, tree-vectorizer.h, tree-vrp.c,
tree.c, tree.h, tsan.c, tsystem.h, value-prof.c, var-tracking.c,
varasm.c, vec.h, vmsdbgout.c, vtable-verify.c, web.c: Add missing
whitespace before "(".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203004
138bc75d-0d04-0410-961f-
82ee72b054a4
sandra [Sat, 28 Sep 2013 01:05:07 +0000 (01:05 +0000)]
2013-09-28 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* expr.h (extract_bit_field): Remove packedp parameter.
* expmed.c (extract_fixed_bit_field): Remove packedp parameter
from forward declaration.
(store_split_bit_field): Remove packedp arg from calls to
extract_fixed_bit_field.
(extract_bit_field_1): Remove packedp parameter and packedp
argument from recursive calls and calls to extract_fixed_bit_field.
(extract_bit_field): Remove packedp parameter and corresponding
arg to extract_bit_field_1.
(extract_fixed_bit_field): Remove packedp parameter. Remove code
to issue warnings.
(extract_split_bit_field): Remove packedp arg from call to
extract_fixed_bit_field.
* expr.c (emit_group_load_1): Adjust calls to extract_bit_field.
(copy_blkmode_from_reg): Likewise.
(copy_blkmode_to_reg): Likewise.
(read_complex_part): Likewise.
(store_field): Likewise.
(expand_expr_real_1): Likewise.
* calls.c (store_unaligned_arguments_into_pseudos): Adjust call
to extract_bit_field.
* config/tilegx/tilegx.c (tilegx_expand_unaligned_load): Adjust
call to extract_bit_field.
* config/tilepro/tilepro.c (tilepro_expand_unaligned_load): Adjust
call to extract_bit_field.
* doc/invoke.texi (Code Gen Options): Remove mention of warnings
and special packedp behavior from -fstrict-volatile-bitfields
documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203003
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 28 Sep 2013 00:17:05 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203002
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 27 Sep 2013 22:13:11 +0000 (22:13 +0000)]
reflect: Copy stack values onto heap in amd64 MakeFunc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202995
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 27 Sep 2013 21:34:24 +0000 (21:34 +0000)]
reflect: Implement MakeFunc for 386.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202993
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Fri, 27 Sep 2013 21:17:36 +0000 (21:17 +0000)]
2013-09-27 François Dumont <fdumont@gcc.gnu.org>
* include/bits/predefined_ops.h: New.
* include/bits/stl_heap.h: Include <bits/predefined_ops.h>.
(__is_heap_until, __push_heap, __adjust_heap, __pop_heap): Remove
algo duplication.
(__is_heap): Adapt.
(__make_heap): New.
(make_heap): Adapt to use latter.
(__sort_heap): New.
(sort_heap): Adapt to use latter.
* include/bits/algobase.h: Include <bits/predefined_ops.h>.
(__lexicographical_compare_impl): New.
(__lexicographical_compare<false>::__lc): Adapt to use latter.
(lexicographical_compare): Likewise.
(__lower_bound): New.
(lower_bound): Adapt to use latter.
(equal): Use _GLIBCXX_STD_A::equal in N3671 overloads.
(__mismatch): New.
(mismatch): Use latter.
* include/bits/algo.h: Include <bits/predefined_ops.h>. Remove
<functional> include.
(__move_median_first, __find, __find_if, __find_if_not): Remove
algo duplication.
(__find_end): Likewise.
(__search_n): Rename into ...
(__search_n_aux): ... this.
(__search_n): Renew, use latter.
(search_n): Use latter.
(__search): New.
(search): Use latter.
(__find_end): Likewise.
(__remove_copy_if): New.
(remove_copy): Use latter.
(__adjacent_find): New.
(adjacent_find): Use latter.
(__unique): New.
(unique): Use latter.
(__unique_copy): Remove algo duplication.
(__stable_partition): New.
(stable_partition): Use latter.
(__heap_select): Remove algo duplication, use __make_heap.
(__partial_sort): New, use latter.
(partial_sort): Use latter.
(__partial_sort_copy): New.
(partial_sort_copy): Use latter.
(__unguarded_linear_insert, __insertion_sort): Remove algo
duplication.
(__unguarded_insertion_sort, __final_insertion_sort): Likewise.
(__unguarded_partition, __unguarded_partition_pivot): Likewise.
(__partial_sort): New.
(partial_sort): Use latter.
(__sort): New.
(sort): Use latter.
(lower_bound): Use __lower_bound.
(__upper_bound): New.
(upper_bound): Use latter.
(__equal_range): New.
(equal_range): Use latter.
(__move_merge_adaptive, __move_merge_adaptive_backward): Remove
algo duplication.
(__merge_adaptive, __merge_without_buffer): Likewise.
(__inplace_merge): New.
(inplace_merge): Use latter.
(__move_merge, __merge_sort_loop, __chunk_insertion_sort): Remove
algo duplication.
(__merge_sort_with_buffer, __stable_sort_adaptive): Likewise.
(__inplace_stable_sort): Likewise.
(__include): New.
(includes): Use latter.
(__next_permutation): New.
(next_permutation): Use latter.
(__prev_permutation): New.
(prev_permutation): Use latter.
(__replace_copy_if): New.
(replace_copy): Use latter.
(__is_sorted_until): New.
(is_sorted_unitl): Use latter.
(__minmax_element): New.
(minmax_element): Use latter.
(__is_permutation): New.
(is_permutation): Use latter.
(__adjacent_find): New.
(adjacent_find): Use latter.
(__count_if): New.
(count): Use latter.
(count_if): Likewise.
(__merge): New.
(merge): Use latter.
(__stable_sort): New.
(stable_sort): Use latter.
(__set_union): New.
(set_union): Use latter.
(__set_intersection): New.
(set_intersection): Use latter.
(__set_difference): New.
(set_difference): Use latter.
(__set_symmetric_difference): New.
(set_symmetric_difference): Use latter.
(__min_element): New.
(min_element): Use latter.
(__max_element): New.
(max_element): Use latter.
* include/Makefile.am: Add predefined_ops.h.
* include/Makefile.in: Regenerate.
* include/parallel/algobase.h (equal, mismatch): Add overloads
from N3671.
* testsuite/25_algorithms/is_permutation/vectorbool.cc: New.
* testsuite/25_algorithms/adjacent_find/vectorbool.cc: Likewise.
* testsuite/25_algorithms/find/vectorbool.cc: Likewise.
* testsuite/25_algorithms/find_if/vectorbool.cc: Likewise.
* testsuite/25_algorithms/find_first_of/vectorbool.cc: Likewise.
* testsuite/25_algorithms/heap/vectorbool.cc: Likewise.
* testsuite/25_algorithms/find_end/vectorbool.cc: Likewise.
* testsuite/25_algorithms/find_if_not/vectorbool.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202992
138bc75d-0d04-0410-961f-
82ee72b054a4
jbglaw [Fri, 27 Sep 2013 20:20:35 +0000 (20:20 +0000)]
2013-09-27 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* lra-eliminations.c (init_elim_table): Guard value_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202991
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Fri, 27 Sep 2013 19:46:29 +0000 (19:46 +0000)]
Fix DATE_AND_TIME example.
2013-09-27 Janne Blomqvist <jb@gcc.gnu.org>
* intrinsic.texi (DATE_AND_TIME): Fix example.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202986
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 27 Sep 2013 19:33:52 +0000 (19:33 +0000)]
[gcc]
2013-09-27 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Allow
DFmode, DImode, and SFmode in the upper VSX registers based on the
-mupper-regs-{df,sf} flags. Fix wu constraint to be ALTIVEC_REGS
if -mpower8-vector. Combine -mvsx-timode handling with the rest
of the VSX register handling.
* config/rs6000/rs6000.md (f32_lv): Use %x0 for VSX regsters.
(f32_sv): Likewise.
(zero_extendsidi2_lfiwzx): Add support for loading into the
Altivec registers with -mpower8-vector. Use wu/wv constraints to
only do VSX memory options on Altivec registers.
(extendsidi2_lfiwax): Likewise.
(extendsfdf2_fpr): Likewise.
(mov<mode>_hardfloat, SF/SD modes): Likewise.
(mov<mode>_hardfloat32, DF/DD modes): Likewise.
(mov<mode>_hardfloat64, DF/DD modes): Likewise.
(movdi_internal64): Likewise.
[gcc/testsuite]
2013-09-27 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.target/powerpc/p8vector-ldst.c: New test for -mupper-regs-sf
and -mupper-regs-df.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202984
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 27 Sep 2013 17:53:46 +0000 (17:53 +0000)]
reflect: Implement MakeFunc for amd64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202982
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 27 Sep 2013 16:54:44 +0000 (16:54 +0000)]
* testsuite-management/x86_64-unknown-linux-gnu.xfail: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202981
138bc75d-0d04-0410-961f-
82ee72b054a4
davidxl [Fri, 27 Sep 2013 16:48:15 +0000 (16:48 +0000)]
vectorizer cost model enhancement
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202980
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 27 Sep 2013 16:23:41 +0000 (16:23 +0000)]
The gimple builder no longer support normal form. The ssa_mode enum is
not needed now.
* gimple.h (enum ssa_mode): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202977
138bc75d-0d04-0410-961f-
82ee72b054a4
pmatos [Fri, 27 Sep 2013 14:54:43 +0000 (14:54 +0000)]
PR middle-end/58463
* gcc.dg/pr58463.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202976
138bc75d-0d04-0410-961f-
82ee72b054a4
pmatos [Fri, 27 Sep 2013 14:37:48 +0000 (14:37 +0000)]
* cfgloop.h (number_of_loops): Fix typo in check for null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202975
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Fri, 27 Sep 2013 14:06:09 +0000 (14:06 +0000)]
PR libstdc++/57465
* include/std/functional
(_Function_base::_Base_manager::_M_not_empty_function): Fix overload
for pointers.
* testsuite/20_util/function/cons/57465.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202974
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 27 Sep 2013 13:44:10 +0000 (13:44 +0000)]
PR middle-end/58551
* tree-cfg.c (move_sese_region_to_fn): Also move loops that
are children of outermost saved_cfun's loop, and set it up to
be moved to dest_cfun's outermost loop. Fix up num_nodes adjustments
if loop != loop0 and SESE region contains bbs that belong to loop0.
* c-c++-common/gomp/pr58551.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202972
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 27 Sep 2013 11:21:19 +0000 (11:21 +0000)]
gcc/
* rtlanal.c (must_be_base_p, must_be_index_p): Delete.
(binary_scale_code_p, get_base_term, get_index_term): New functions.
(set_address_segment, set_address_base, set_address_index)
(set_address_disp): Accept the argument unconditionally.
(baseness): Remove must_be_base_p and must_be_index_p checks.
(decompose_normal_address): Classify as much as possible in the
main loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202970
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 27 Sep 2013 11:17:34 +0000 (11:17 +0000)]
gcc/
* cse.c (count_reg_usage): Handle INT_LIST.
* lra-eliminations.c (lra_eliminate_regs_1): Likewise.
* reginfo.c (reg_scan_mark_refs): Likewise.
* reload1.c (eliminate_regs_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202969
138bc75d-0d04-0410-961f-
82ee72b054a4
iains [Fri, 27 Sep 2013 08:59:18 +0000 (08:59 +0000)]
gcc:
PR middle-end/58547
* rtlanal.c (lsb_bitfield_op_p): Make both parts of the comparison
signed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202967
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 27 Sep 2013 08:14:53 +0000 (08:14 +0000)]
2013-09-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/58459
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Remove
restriction not propagating into loops.
* gcc.dg/tree-ssa/ssa-pre-31.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202966
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 27 Sep 2013 00:16:56 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202964
138bc75d-0d04-0410-961f-
82ee72b054a4
timshen [Thu, 26 Sep 2013 21:48:04 +0000 (21:48 +0000)]
2013-09-26 Tim Shen <timshen91@gmail.com>
* regex_error.h: Remove _S_error_last to follow the standard.
* regex_scanner.tcc:
(_Scanner<_FwdIter>::_M_scan_in_brace): Change error_brace to
error_badbrace.
(_Scanner<>::_M_eat_escape_posix): Extended doesn't support
back-reference.
* testsuite/28_regex/algorithms/regex_match/ecma/char/53622.cc:
Move here from ../../extended.
* testsuite/28_regex/algorithms/regex_match/ecma/char/57173.cc:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202958
138bc75d-0d04-0410-961f-
82ee72b054a4
edlinger [Thu, 26 Sep 2013 17:44:13 +0000 (17:44 +0000)]
2013-09-26 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR fortran/58113
* gfortran.dg/round_4.f90: Check for rounding support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202954
138bc75d-0d04-0410-961f-
82ee72b054a4
fw [Thu, 26 Sep 2013 16:39:28 +0000 (16:39 +0000)]
2013-09-26 Florian Weimer <fw@deneb.enyo.de>
* tree-ssa.h (walk_use_def_chains_fn, walk_use_def_chains): Delete.
* tree-ssa.c (walk_use_def_chains_1, walk_use_def_chains): Delete.
* doc/tree-ssa.texi (Walking use-def chains): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202951
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 26 Sep 2013 15:57:39 +0000 (15:57 +0000)]
2013-09-26 Richard Biener <rguenther@suse.de>
* tree-into-ssa.c (rewrite_into_ssa): Make more SSA names
to anonymous.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202949
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 26 Sep 2013 15:15:28 +0000 (15:15 +0000)]
2013-09-26 Richard Biener <rguenther@suse.de>
* alias.h (component_uses_parent_alias_set): Rename to ...
(component_uses_parent_alias_set_from): ... this.
* alias.c (component_uses_parent_alias_set): Rename to ...
(component_uses_parent_alias_set_from): ... this and return
the desired parent.
(reference_alias_ptr_type_1): Use the result from
component_uses_parent_alias_set_from instead of stripping
components one at a time.
* emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202948
138bc75d-0d04-0410-961f-
82ee72b054a4
jgreenhalgh [Thu, 26 Sep 2013 14:08:44 +0000 (14:08 +0000)]
Fix PR58513 for -fPIC
gcc/testsuite/
* g++.dg/vect/pr58513.cc (op): Make static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202947
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Thu, 26 Sep 2013 13:38:54 +0000 (13:38 +0000)]
2013-09-26 Andrew MacLeod <amacleod@redhat.com>
* tree-ssa-live.h (find_replaceable_exprs, dump_replaceable_exprs): Move
prototypes to...
* tree-ssa-ter.h: New File. Move prototypes here.
* tree-flow.h (stmt_is_replaceable_p): Remove prototype.
* tree-outof-ssa.h: New. Rename ssaexpand.h, include tree-ssa-ter.h.
* tree-outof-ssa.c (ssa_is_replaceable_p): New. Refactor common bits
from is_replaceable_p.
* tree-ssa-ter.c (is_replaceable_p, stmt_is_replaceable_p): Delete.
(ter_is_replaceable_p): New. Use new refactored ssa_is_replaceable_p.
(process_replaceable): Use ter_is_replaceable_p.
(find_replaceable_in_bb): Use ter_is_replaceable_p.
* expr.c (stmt_is_replaceable_p): Relocate from tree-ssa-ter.c. Use
newly refactored ssa_is_replaceable_p.
* cfgexpand.c: Include tree-outof-ssa.h.
* ssaexpand.h: Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202946
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Thu, 26 Sep 2013 13:23:31 +0000 (13:23 +0000)]
2013-09-26 Andrew MacLeod <amacleod@redhat.com>
* gimple.c (gimple_replace_lhs): Move to tree-ssa.c and rename.
(struct count_ptr_d, count_ptr_derefs, count_uses_and_derefs): Move to
tree-ssa.c
(create_gimple_tmp): Delete.
(get_expr_type, build_assign, build_type_cast): Move to...
* gimple-builder.c: New File.
(get_expr_type): Relocate from gimple.c.
(build_assign, build_type_cast): Change to only create ssanames.
* gimple.h: Move prototypes to...
* gimple-builder.h: New File. Here.
* tree-ssa.h: And here.
* tree-ssa.c (struct count_ptr_d, count_ptr_derefs,
count_uses_and_derefs): Relocate from gimple.c.
(gimple_replace_ssa_lhs): Renamed gimple_replace_ssa from gimple.c
* tree-ssa-reassoc.c (repropagate_negates): Use gimple_replace_ssa_lhs.
* tree-ssa-math-opts (execute_cse_reciprocals): Use
gimple_replace_ssa_lhs.
* asan.c: Include gimple-builder.h.
* Makefile.in: Add gimple-builder.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202945
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 26 Sep 2013 13:18:31 +0000 (13:18 +0000)]
2013-09-26 Richard Biener <rguenther@suse.de>
* tree-ssa-live.c (var_map_base_init): Handle SSA names with
DECL_IGNORED_P base VAR_DECLs like anonymous SSA names.
(loe_visit_block): Use gcc_checking_assert.
* tree-ssa-coalesce.c (create_outofssa_var_map): Use
gimple_assign_ssa_name_copy_p.
(gimple_can_coalesce_p): Adjust according to the var_map_base_init
change.
* gcc.dg/tree-ssa/coalesce-2.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202944
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 26 Sep 2013 12:53:20 +0000 (12:53 +0000)]
* config/rs6000/t-rs6000 (rs6000.o): Remove.
(rs6000-c.o): Use COMPILE and POSTCOMPILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202943
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 26 Sep 2013 12:45:19 +0000 (12:45 +0000)]
2013-09-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/58539
* tree-vect-loop.c (vect_create_epilog_for_reduction): Honor
the fact that debug statements are not taking part in loop-closed
SSA construction.
* gcc.dg/torture/pr58539.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202942
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 26 Sep 2013 09:38:13 +0000 (09:38 +0000)]
* config/msp430/msp430.c (msp430_expand_epilogue): Fix compile
time warning message.
(msp430_print_operand_raw): Delete unused letter parameter.
(TARGET_PRINT_OPERAND_ADDRESS): Define.
(msp430_print_operand_address): New function.
(msp430_print_operand): Move address printing code from here to
new function.
* config/msp430/msp430.md (movsipsi2): Add comment in generated
assembler.
(zero_extendpsisi2): Likewise.
(extendpsisi2): New pattern.
(andneghi3): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202941
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 26 Sep 2013 09:09:30 +0000 (09:09 +0000)]
2013-09-26 Yvan Roux <yvan.roux@linaro.org>
* config/aarch64/aarch64.opt (mlra): New option.
* config/aarch64/aarch64.c (aarch64_lra_p): New function.
(TARGET_LRA_P): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202940
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 26 Sep 2013 08:04:09 +0000 (08:04 +0000)]
* expr.c (expand_assignment): Remove obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202938
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 26 Sep 2013 03:28:03 +0000 (03:28 +0000)]
* tree-flow.h (thread_through_all_blocks): Prototype moved into
tree-ssa-threadupdate.h.
(register_jump_thread): Similarly.
* tree-ssa-threadupdate.h: New header file.
* tree-ssa-dom.c: Include tree-ssa-threadupdate.h.
* tree-vrp.c: Likewise.
* tree-ssa-threadedge.c: Include tree-ssa-threadupdate.h.
(thread_around_empty_blocks): Change type of path vector argument to
an edge,type pair from just an edge. Initialize both elements when
appending to a jump threading path. Tweak references to elements
appropriately.
(thread_across_edge): Similarly. Release memory for the elements
as needed.
* tree-ssa-threadupdate.c: Include tree-ssa-threadupdate.h.
(dump_jump_thread_path): New function broken out from
register_jump_thread.
(register_jump_thread): Use dump_jump_thread_path. Change type of
path vector entries. Search the path for NULL edges and dump
the path if one is found. Tweak the conversion of path to 3-edge
form to use the block copy type information embedded in the path.
* gcc.dg/tree-ssa/ssa-dom-thread-3.c: Update expected output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202933
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 26 Sep 2013 00:16:59 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202931
138bc75d-0d04-0410-961f-
82ee72b054a4
glisse [Wed, 25 Sep 2013 20:28:12 +0000 (20:28 +0000)]
2013-09-25 Marc Glisse <marc.glisse@inria.fr>
PR libstdc++/58338
* include/bits/forward_list.h (_Fwd_list_node_base::_M_transfer_after):
Mark as noexcept.
(_Fwd_list_iterator) [_Fwd_list_iterator, operator*, operator->,
operator++, operator==, operator!=, _M_next]: Likewise.
(_Fwd_list_const_iterator) [_Fwd_list_const_iterator, operator*,
operator->, operator++, operator==, operator!=, _M_next]: Likewise.
(operator==(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&),
operator!=(const _Fwd_list_iterator&, const _Fwd_list_const_iterator&)):
Likewise.
* include/bits/hashtable_policy.h (_Hash_node_base::_Hash_node_base,
_Hash_node::_M_next, _Node_iterator_base::_Node_iterator_base,
_Node_iterator_base::_M_incr, operator==(const _Node_iterator_base&,
const _Node_iterator_base&), operator!=(const _Node_iterator_base&,
const _Node_iterator_base&)): Likewise.
(_Node_iterator) [_Node_iterator, operator*, operator->, operator++]:
Likewise.
(_Node_const_iterator) [_Node_const_iterator, operator*, operator->,
operator++]: Likewise.
* include/debug/safe_iterator.h (_Safe_iterator) [_Safe_iterator,
operator=, operator*, operator->, operator++, operator--, operator[],
operator+=, operator+, operator-=, operator-, base, operator _Iterator]:
Likewise.
(operator==(const _Safe_iterator&, const _Safe_iterator&),
operator!=(const _Safe_iterator&, const _Safe_iterator&),
operator<(const _Safe_iterator&, const _Safe_iterator&),
operator<=(const _Safe_iterator&, const _Safe_iterator&),
operator>(const _Safe_iterator&, const _Safe_iterator&),
operator>=(const _Safe_iterator&, const _Safe_iterator&),
operator-(const _Safe_iterator&, const _Safe_iterator&),
operator+(difference_type, const _Safe_iterator&)): Likewise.
* include/profile/iterator_tracker.h (__iterator_tracker)
[__iterator_tracker, base, operator _Iterator, operator->, operator++,
operator--, operator=, operator*, operator[], operator+=, operator+,
operator-=, operator-]: Likewise.
(operator==(const __iterator_tracker&, const __iterator_tracker&),
operator!=(const __iterator_tracker&, const __iterator_tracker&),
operator<(const __iterator_tracker&, const __iterator_tracker&),
operator<=(const __iterator_tracker&, const __iterator_tracker&),
operator>(const __iterator_tracker&, const __iterator_tracker&),
operator>=(const __iterator_tracker&, const __iterator_tracker&),
operator-(const __iterator_tracker&, const __iterator_tracker&),
operator+(difference_type, const __iterator_tracker&)): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202924
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 25 Sep 2013 19:56:20 +0000 (19:56 +0000)]
2013-09-25 Tobias Burnus <burnus@net-b.de>
PR fortran/58436
* class.c (generate_finalization_wrapper): Handle CLASS(*).
2013-09-25 Tobias Burnus <burnus@net-b.de>
PR fortran/58436
* gfortran.dg/finalize_21.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202923
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Wed, 25 Sep 2013 19:54:12 +0000 (19:54 +0000)]
2013-09-25 Tobias Burnus <burnus@net-b.de>
PR fortran/57697
PR fortran/58469
* resolve.c (generate_component_assignments): Avoid double free
at runtime and freeing a still-being used expr.
2013-09-25 Tobias Burnus <burnus@net-b.de>
PR fortran/57697
PR fortran/58469
* gfortran.dg/defined_assignment_8.f90: New.
* gfortran.dg/defined_assignment_9.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202922
138bc75d-0d04-0410-961f-
82ee72b054a4
jayants [Wed, 25 Sep 2013 19:04:13 +0000 (19:04 +0000)]
Updating my mail ID.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202921
138bc75d-0d04-0410-961f-
82ee72b054a4
ctice [Wed, 25 Sep 2013 18:44:48 +0000 (18:44 +0000)]
Fix issue with libvtv testsuite being run (and failing)
when GCC was not configured with --enable-vtable-verify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202918
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 25 Sep 2013 18:35:02 +0000 (18:35 +0000)]
2013-09-25 Yvan Roux <yvan.roux@linaro.org>
* lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202915
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 25 Sep 2013 18:31:13 +0000 (18:31 +0000)]
2013-09-25 Yvan Roux <yvan.roux@linaro.org>
Vladimir Makarov <vmakarov@redhat.com>
* rtlanal.c (lsb_bitfield_op_p): New predicate for bitfield operations
from the least significant bit.
(strip_address_mutations): Add bitfield operations handling.
(must_be_index_p): Add shifting and rotate operations handling.
(set_address_base): Use must_be_base_p predicate.
(set_address_index):Use must_be_index_p predicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202914
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Wed, 25 Sep 2013 18:01:43 +0000 (18:01 +0000)]
* config/i386/i386.c (ix86_avx256_split_vector_move_misalign):
Use new names.
(ix86_expand_vector_move_misalign): Support new unaligned load and
stores and use new names.
(CODE_FOR_sse2_storedqu): Rename to ...
(CODE_FOR_sse2_storedquv16qi): ... this.
(CODE_FOR_sse2_loaddqu): Rename to ...
(CODE_FOR_sse2_loaddquv16qi): ... this.
(CODE_FOR_avx_loaddqu256): Rename to ...
(CODE_FOR_avx_loaddquv32qi): ... this.
(CODE_FOR_avx_storedqu256): Rename to ...
(CODE_FOR_avx_storedquv32qi): ... this.
* config/i386/i386.md (fpint_logic): New.
* config/i386/sse.md (VMOVE): Extend for AVX512.
(VF): Ditto.
(VF_128_256): New.
(VF_512): Ditto.
(VI_UNALIGNED_LOADSTORE): Ditto.
(sse2_avx_avx512f): Ditto.
(sse2_avx2): Extend for AVX512.
(sse4_1_avx2): Ditto.
(avx2_avx512f): New.
(sse): Extend for AVX512.
(sse2): Ditto.
(sse4_1): Ditto.
(avxsizesuffix): Ditto.
(sseintvecmode): Ditto.
(ssePSmode): Ditto.
(<sse>_loadu<ssemodesuffix><avxsizesuffix>): Ditto.
(<sse>_storeu<ssemodesuffix><avxsizesuffix>): Ditto.
(<sse2>_loaddqu<avxsizesuffix>): Extend for AVX512 and rename to ...
(<sse2_avx_avx512f>_loaddqu<mode>): ... this.
(<sse2>_storedqu<avxsizesuffix>): Extend for AVX512 and rename to ...
(<sse2_avx_avx512f>_storedqu<mode): ... this.
(<sse>_movnt<mode>): Replace constraint "x" with "v".
(STORENT_MODE): Extend for AVX512.
(*absneg<mode>2): Replace constraint "x" with "v".
(*mul<mode>3): Ditto.
(*ieee_smin<mode>3): Ditto.
(*ieee_smax<mode>3): Ditto.
(avx_cmp<mode>3): Replace VF with VF_128_256.
(*<sse>_maskcmp<mode>3_comm): Ditto.
(<sse>_maskcmp<mode>3): Ditto.
(<sse>_andnot<mode>3): Extend for AVX512.
(<code><mode>3, anylogic): Replace VF with VF_128_256.
(<code><mode>3, fpint_logic): New.
(*<code><mode>3): Extend for AVX512.
(avx512flogicsuff): New.
(avx512f_<logic><mode>): Ditto.
(<sse>_movmsk<ssemodesuffix><avxsizesuffix>): Replace VF with
VF_128_256.
(<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Ditto.
(<sse4_1>_blendv<ssemodesuffix><avxsizesuffix>): Ditto.
(<sse4_1>_dp<ssemodesuffix><avxsizesuffix>): Ditto.
(avx_vtest<ssemodesuffix><avxsizesuffix>): Ditto.
(<sse4_1>_round<ssemodesuffix><avxsizesuffix>): Ditto.
(xop_vpermil2<mode>3): Ditto.
(*avx_vpermilp<mode>): Extend for AVX512 and rename to ...
(*<sse2_avx_avx512f>_vpermilp<mode>): ... this.
(avx_vpermilvar<mode>3): Extend for AVX512 and rename to ...
(<sse2_avx_avx512f>_vpermilvar<mode>3): ... this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202913
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:33:30 +0000 (16:33 +0000)]
* Makefile.in (PARTITION_H, LTO_SYMTAB_H, COMMON_TARGET_DEF_H)
(RTL_ERROR_H, TRANS_MEM_H, COVERAGE_H, DEMANGLE_H, ALIAS_H)
(SCHED_INT_H, SEL_SCHED_IR_H, SEL_SCHED_DUMP_H, VALTRACK_H, DDG_H)
(GGC_INTERNAL_H, DECNUM_H, BACKTRACE_H, MKDEPS_H, TREE_HASHER_H)
(TREE_SSA_LIVE_H, SSAEXPAND_H, DWARF2OUT_H, SCEV_H, OMEGA_H)
(TREE_DATA_REF_H, IRA_INT_H, LRA_INT_H, DBGCNT_H, DATA_STREAMER_H)
(GIMPLE_STREAMER_H, TREE_STREAMER_H, STREAMER_HOOKS_H)
(TREE_VECTORIZER_H, IPA_INLINE_H, GSTAB_H, LIBFUNCS_H)
(GRAPHITE_HTAB_H): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202912
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:32:56 +0000 (16:32 +0000)]
* config/mcore/t-mcore (CROSS_FLOAT_H): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202911
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:32:02 +0000 (16:32 +0000)]
* config/t-glibc (glibc-c.o): Use COMPILE and POSTCOMPILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202910
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:31:29 +0000 (16:31 +0000)]
* config/i386/t-i386 (i386.o): Remove.
(i386-c.o): Use COMPILE and POSTCOMPILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202909
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:30:39 +0000 (16:30 +0000)]
* Makefile.in ($(out_object_file)): Use COMPILE and POSTCOMPILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202908
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:29:41 +0000 (16:29 +0000)]
* Makefile.in (graph.o, sbitmap.o, sparseset.o, gcc-ar.o)
(gcc-ranlib.o, gcc-nm.o, collect2.o, collect2-aix.o, tlink.o)
(lto-wrapper.o, default-c.o, attribs.o, incpath.o, prefix.o)
(gcc.o, options.o, options-save.o, version.o, gtype-desc.o)
(trans-mem.o, ggc-common.o, ggc-page.o, ggc-none.o, stringpool.o)
(convert.o, double-int.o, lto-compress.o, data-streamer-in.o)
(data-streamer-out.o, data-streamer.o, gimple-streamer-in.o)
(gimple-streamer-out.o, tree-streamer.o, tree-streamer-in.o)
(tree-streamer-out.o, streamer-hooks.o, lto-cgraph.o)
(lto-streamer-in.o, lto-streamer-out.o, lto-section-in.o)
(lto-section-out.o, lto-opts.o, lto-streamer.o, langhooks.o)
(test-dump.o, tree.o, tree-dump.o, tree-inline.o, print-tree.o)
(stor-layout.o, asan.o, tsan.o, ubsan.o, tree-ssa-tail-merge.o)
(tree-ssa-structalias.o, tree-ssa-uninit.o, tree-ssa.o)
(tree-into-ssa.o, tree-ssa-ter.o, tree-ssa-coalesce.o)
(tree-outof-ssa.o, tree-ssa-dse.o, tree-ssa-forwprop.o)
(tree-ssa-phiprop.o, tree-ssa-ifcombine.o, tree-ssa-phiopt.o)
(tree-nrv.o, tree-ssa-copy.o, tree-ssa-propagate.o)
(tree-ssa-dom.o, tree-ssa-uncprop.o, tree-ssa-threadedge.o)
(tree-ssa-threadupdate.o, tree-ssanames.o, tree-phinodes.o)
(domwalk.o, tree-ssa-live.o, tree-ssa-copyrename.o)
(tree-ssa-pre.o, tree-ssa-sccvn.o)
(gimple-ssa-strength-reduction.o, tree-vrp.o, tree-cfg.o)
(tree-cfgcleanup.o, tree-tailcall.o, tree-ssa-sink.o)
(tree-nested.o, tree-if-conv.o, tree-iterator.o, tree-dfa.o)
(tree-ssa-operands.o, tree-eh.o, tree-ssa-loop.o)
(tree-ssa-loop-unswitch.o, tree-ssa-address.o)
(tree-ssa-loop-niter.o, tree-ssa-loop-ivcanon.o)
(tree-ssa-loop-ch.o, tree-ssa-loop-prefetch.o, tree-predcom.o)
(tree-ssa-loop-ivopts.o, tree-affine.o, tree-ssa-loop-manip.o)
(tree-ssa-loop-im.o, tree-ssa-math-opts.o, tree-ssa-alias.o)
(tree-ssa-reassoc.o, tree-optimize.o, gimplify.o)
(gimple-iterator.o, gimple-fold.o, gimple-low.o, omp-low.o)
(tree-browser.o, omega.o, tree-chrec.o, tree-scalar-evolution.o)
(tree-data-ref.o, sese.o, graphite.o, graphite-blocking.o)
(graphite-clast-to-gimple.o, graphite-dependences.o)
(graphite-interchange.o, graphite-poly.o)
(graphite-scop-detection.o, graphite-sese-to-poly.o)
(graphite-optimize-isl.o, tree-vect-loop.o)
(tree-vect-loop-manip.o, tree-vect-patterns.o, tree-vect-slp.o)
(tree-vect-stmts.o, tree-vect-data-refs.o, tree-vectorizer.o)
(vtable-verify.o, tree-loop-distribution.o, tree-parloops.o)
(tree-stdarg.o, tree-object-size.o, internal-fn.o, gimple.o)
(gimple-pretty-print.o, tree-mudflap.o, tree-nomudflap.o)
(tree-pretty-print.o, tree-diagnostic.o, fold-const.o)
(diagnostic.o, diagnostic-color.o, opts.o, opts-global.o)
(opts-common.o, targhooks.o, common/common-targhooks.o, input.o)
(toplev.o, hwint.o, passes.o, plugin.o, main.o, host-default.o)
(rtl-error.o, rtl.o, print-rtl.o, rtlanal.o, varasm.o, function.o)
(statistics.o, stmt.o, except.o, expr.o, dojump.o, builtins.o)
(calls.o, expmed.o, explow.o, optabs.o, dbxout.o, debug.o)
(sdbout.o, dwarf2out.o, dwarf2cfi.o, dwarf2asm.o, vmsdbgout.o)
(xcoffout.o, godump.o, emit-rtl.o, real.o, realmpfr.o, dfp.o)
(fixed-value.o, jump.o, simplify-rtx.o, symtab.o, cgraph.o)
(cgraphunit.o, cgraphclones.o, cgraphbuild.o, varpool.o, ipa.o)
(ipa-profile.o, ipa-devirt.o, ipa-prop.o, ipa-ref.o, ipa-cp.o)
(ipa-split.o, ipa-inline.o, ipa-inline-analysis.o)
(ipa-inline-transform.o, ipa-utils.o, ipa-reference.o)
(ipa-pure-const.o, coverage.o, cselib.o, cse.o, dce.o, dumpfile.o)
(dse.o, fwprop.o, web.o, ree.o, cprop.o, gcse.o, store-motion.o)
(resource.o, lcm.o, mode-switching.o, tree-ssa-dce.o)
(tree-call-cdce.o, tree-ssa-ccp.o, tree-ssa-strlen.o, tree-sra.o)
(tree-switch-conversion.o, tree-complex.o, tree-emutls.o)
(tree-vect-generic.o, df-core.o, df-problems.o, df-scan.o)
(regstat.o, valtrack.o, var-tracking.o, profile.o, mcf.o)
(tree-profile.o, value-prof.o, loop-doloop.o, alloc-pool.o)
(auto-inc-dec.o, cfg.o, cfghooks.o, cfgexpand.o, cfgrtl.o)
(cfganal.o, cfgbuild.o, cfgcleanup.o, cfgloop.o, cfgloopanal.o)
(graphds.o, loop-iv.o, loop-invariant.o, cfgloopmanip.o)
(loop-init.o, loop-unswitch.o, loop-unroll.o, dominance.o)
(et-forest.o, combine.o, reginfo.o, bitmap.o, vec.o, hash-table.o)
(reload.o, reload1.o, rtlhooks.o, postreload.o, postreload-gcse.o)
(caller-save.o, bt-load.o, reorg.o, alias.o, stack-ptr-mod.o)
(init-regs.o, ira-build.o, ira-costs.o, ira-conflicts.o)
(ira-color.o, ira-emit.o, ira-lives.o, ira.o, lra.o)
(lra-assigns.o, lra-coalesce.o, lra-constraints.o)
(lra-eliminations.o, lra-lives.o, lra-spills.o, regmove.o)
(combine-stack-adj.o, compare-elim.o, ddg.o, modulo-sched.o)
(haifa-sched.o, sched-deps.o, sched-rgn.o, sched-ebb.o)
(sched-vis.o, sel-sched.o, sel-sched-dump.o, sel-sched-ir.o)
(final.o, recog.o, reg-stack.o, sreal.o, predict.o, lists.o)
(bb-reorder.o, tracer.o, timevar.o, regcprop.o, regrename.o)
(ifcvt.o, params.o, pointer-set.o, hooks.o, pretty-print.o)
(errors.o, dbgcnt.o, lower-subreg.o, target-globals.o)
(hw-doloop.o, file-find.o, context.o, $(common_out_object_file))
(insn-attrtab.o, insn-automata.o, insn-dfatab.o, insn-emit.o)
(insn-enums.o, insn-extract.o, insn-latencytab.o, insn-modes.o)
(insn-opinit.o, insn-output.o, insn-peep.o, insn-preds.o)
(insn-recog.o, intl.o, cppbuiltin.o, cppdefault.o, gcov.o)
(gcov-dump.o): Remove.
(default-c.o): Use COMPILE and POSTCOMPILE.
(CFLAGS-gcc.o): New variable.
($(common_out_object_file)): Use COMPILE and POSTCOMPILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202907
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:28:35 +0000 (16:28 +0000)]
* Make-lang.in (LTO_H, LINKER_PLUGIN_API_H, LTO_TREE_H)
(lto/lto-lang.o, lto/lto.o, lto/lto-partition.o)
(lto/lto-object.o): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202906
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:27:49 +0000 (16:27 +0000)]
* Make-lang.in (gospec.o): Remove.
(CFLAGS-go/gospec.o): New variable.
(GCCGO_OBJS): Update to use go/gospec.o.
(go_OBJS): Define.
(GO_SYSTEM_H, GO_C_H, GO_LINEMAP_H, GO_LEX_H, GO_PARSE_H)
(GO_GOGO_H, GO_TYPES_H, GO_STATEMENTS_H, GO_EXPRESSIONS_H)
(GO_EXPORT_H, GO_IMPORT_H, GO_RUNTIME_H, GO_AST_DUMP_H)
(go/go-backend.o, go/go-lang.o, go/go-gcc.o, go/go-linemap.o)
(go/ast-dump.o, go/dataflow.o, go/export.o, go/expressions.o)
(go/go.o, go/go-dump.o, go/go-optimize.o, go/gogo-tree.o)
(go/gogo.o, go/import.o, go/import-archive.o, go/lex.o)
(go/parse.o, go/runtime.o, go/statements.o, go/types.o)
(go/unsafe.o): Remove.
(CFLAGS-go/go-gcc.o, CFLAGS-go/go-linemap.o): New variables.
(go/%.o: go/gofrontend/%.cc): Use COMPILE and POSTCOMPILE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202905
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:27:04 +0000 (16:27 +0000)]
* Make-lang.in (fortran_OBJS): Use fortran/gfortranspec.o.
(gfortranspec.o): Remove.
(CFLAGS-fortran/gfortranspec.o): New variable.
(GFORTRAN_D_OBJS): Update.
($(F95_PARSER_OBJS), fortran/openmp.o, GFORTRAN_TRANS_DEPS)
(fortran/f95-lang.o, fortran/scanner.o, fortran/convert.o)
(fortran/frontend-passes.o, fortran/trans.o, fortran/trans-decl.o)
(fortran/trans-types, fortran/trans-const.o, fortran/trans-expr.o)
(fortran/trans-stmt.o, fortran/trans-openmp.o, fortran/trans-io.o)
(fortran/trans-array.o, fortran/trans-intrinsic.o)
(fortran/dependency.o, fortran/trans-common.o, fortran/resolve.o)
(fortran/data.o, fortran/options.o, fortran/cpp.o)
(fortran/scanner.o, fortran/module.o): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202904
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:25:32 +0000 (16:25 +0000)]
* Makefile.in (c-family/cppspec.o, c-family/c-common.o)
(c-family/c-cppbuiltin.o, c-family/c-dump.o, c-family/c-format.o)
(c-family/c-gimplify.o, c-family/c-lex.o, c-family/c-omp.o)
(c-family/c-opts.o, c-family/c-pch.o, c-family/c-ppoutput.o)
(c-family/c-pragma.o, c-family/c-pretty-print.o)
(c-family/c-semantics.o, c-family/c-ada-spec.o)
(c-family/array-notation-common.o, c-family/stub-objc.o)
(c-family/c-ubsan.o): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202903
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:24:30 +0000 (16:24 +0000)]
* Make-lang.in (jvspec.o): Remove.
(CFLAGS-java/jvspec.o): New variable.
($(XGCJ)$(exeext), java_OBJS): Use java/jvspec.o
(java/jvspec.o-warn): Rename from jvspec.o-warn.
(JAVA_TREE_H, java/jcf-dump.o, java/boehm.o, java/builtins.o)
(java/class.o, java/constants.o, java/decl.o, java/except.o)
(java/expr.o, java/jcf-depend.o, java/jcf-parse.o)
(java/jvgenmain.o, java/lang.o, java/mangle.o, java/mangle_name.o)
(java/resource.o java/typeck.o, java/win32-host.o)
(java/verify-glue.o, java/verify-impl.o, java/zextract.o)
(java/java-gimplify.o, java/jcf-io.o, java/jcf-path.o): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202902
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:23:02 +0000 (16:23 +0000)]
gcc/cp
* Make-lang.in (CXX_TREE_H, CXX_PARSER_H, CXX_PRETTY_PRINT_H):
Remove.
gcc/objcp
* Make-lang.in (START_HDRS, cc1objplus-checksum.o)
(objcp/objcp-lang.o, objcp/objcp-decl.o
(objcp/objc-runtime-shared-support.o)
(objcp/objc-gnu-runtime-abi-01.o objcp/objc-next-runtime-abi-01.o)
(objcp/objc-next-runtime-abi-02.o, objcp/objcp-act.o)
(objcp/objc-encoding.o, objcp/objc-map.o): Use COMPILE and
POSTCOMPILE. Remove explicit dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202901
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:21:42 +0000 (16:21 +0000)]
* Make-lang.in (START_HDRS, cc1obj-checksum.o, objc/objc-lang.o)
(objc/objc-runtime-shared-support.o)
(objc/objc-gnu-runtime-abi-01.o, objc/objc-next-runtime-abi-01.o)
(objc/objc-next-runtime-abi-02.o, objc/objc-act.o)
(objc/objc-encoding.o, objc/objc-map.o): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202900
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:19:43 +0000 (16:19 +0000)]
* Make-lang.in (g++spec.o): Remove.
(CFLAGS-cp/g++spec.o): New variable.
(GXX_OBJS): Reference cp/g++spec.o.
(cc1plus-checksum.o, cp/lex.o, cp/cp-array-notation.o)
(cp/cp-lang.o, cp/decl.o, cp/decl2.o, cp/cp-objcp-common.o)
(cp/typeck2.o, cp/typeck.o, cp/class.o, cp/call.o)
(cp/friend.o, cp/init.o, cp/method.o, cp/cvt.o, cp/search.o)
(cp/tree.o, cp/ptree.o, cp/rtti.o, cp/except.o, cp/expr.o)
(cp/pt.o, cp/error.o, cp/repo.o, cp/semantics.o, cp/dump.o)
(cp/optimize.o, cp/mangle.o, cp/parser.o, cp/cp-gimplify.o)
(cp/name-lookup.o, cp/cxx-pretty-print.o): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202899
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:18:20 +0000 (16:18 +0000)]
* Makefile.in (C_TREE_H): Reference c/c-tree.h.
gcc/c
* Make-lang.in (c/gccspec.o): Remove.
(CFLAGS-c/gccspec.o): New variable.
(cc1-checksum.o, C_TREE_H, c/c-aux-info.o, c/c-convert.o)
(c/c-decl.o, c/c-errors.o, c/c-lang.o, c/c-objc-common.o)
(c/c-parser.o, c/c-typeck.o, c/c-array-notation.o): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202898
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:15:59 +0000 (16:15 +0000)]
* Makefile.in (DRIVER_DEFINES): Use $(and), not shell code,
to add -DENABLE_SHARED_LIBGCC.
(gcc.o): Don't use subshell.
gcc/c
* Make-lang.in (c/gccspec.o): Don't use subshell.
gcc/cp
* Make-lang.in (g++spec.o): Don't use subshell.
gcc/fortran
* Make-lang.in (gfortranspec.o): Don't use subshell.
gcc/go
* Make-lang.in (gospec.o): Don't use subshell.
gcc/java
* Make-lang.in (jvspec.o): Don't use subshell.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202897
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 16:10:35 +0000 (16:10 +0000)]
* Makefile.in (OUTPUT_OPTION): Define as "-o $@".
* configure.ac: Don't invoke AM_PROG_CC_C_O.
(NO_MINUS_C_MINUS_O, OUTPUT_OPTION): Don't subst.
* configure, config.in: Rebuild.
gcc/ada
* gcc-interface/Makefile.in (OUTPUT_OPTION): Define as "-o $@".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202896
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 15:55:01 +0000 (15:55 +0000)]
(clh 9)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202895
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 15:52:30 +0000 (15:52 +0000)]
(clh 5)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202894
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 25 Sep 2013 15:51:26 +0000 (15:51 +0000)]
(clh 6)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202893
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 25 Sep 2013 15:33:34 +0000 (15:33 +0000)]
* tree-ssa-threadedge.c (thread_across_edge): Use foo.last () rather
than foo[foo.length () - 1] to access last member in a vec.
* tree-ssa-threadupdate.c (register_jump_thread): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202892
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 25 Sep 2013 09:51:13 +0000 (09:51 +0000)]
2013-09-25 Richard Biener <rguenther@suse.de>
PR middle-end/58521
* tree.c (iterative_hash_expr): Remove MEM_REF special handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202889
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 25 Sep 2013 09:48:55 +0000 (09:48 +0000)]
* cgraph.c (cgraph_resolve_speculation): Use semantical equivalency
test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202888
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Wed, 25 Sep 2013 09:04:20 +0000 (09:04 +0000)]
PR sanitizer/58420
* ubsan.c (ubsan_type_descriptor): Handle IDENTIFIER_NODEs
when determining the type name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202887
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Wed, 25 Sep 2013 08:58:57 +0000 (08:58 +0000)]
PR sanitizer/58413
c-family/
* c-ubsan.c (ubsan_instrument_shift): Don't instrument
an expression if we can prove it is correct.
(ubsan_instrument_division): Likewise. Remove unnecessary
check.
testsuite/
* c-c++-common/ubsan/shift-5.c: New test.
* c-c++-common/ubsan/shift-6.c: New test.
* c-c++-common/ubsan/div-by-zero-5.c: New test.
* gcc.dg/ubsan/c-shift-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202886
138bc75d-0d04-0410-961f-
82ee72b054a4
mpolacek [Wed, 25 Sep 2013 07:48:47 +0000 (07:48 +0000)]
PR c++/58516
cp/
* semantics.c (finish_transaction_stmt): Check for EXPR_P before
setting the expr location.
testsuite/
* g++.dg/tm/pr58516.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202883
138bc75d-0d04-0410-961f-
82ee72b054a4