]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agoAddress Richard's review comments.
rsandifo [Mon, 2 Dec 2013 19:41:03 +0000 (19:41 +0000)] 
Address Richard's review comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205595 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUse __builtin_expect.
rsandifo [Sun, 1 Dec 2013 12:35:35 +0000 (12:35 +0000)] 
Use __builtin_expect.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205573 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAvoid some unnecessary temporaries and convert some operations to shifts.
rsandifo [Sun, 1 Dec 2013 12:34:10 +0000 (12:34 +0000)] 
Avoid some unnecessary temporaries and convert some operations to shifts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205572 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoHandle multiplications by 1 as a special case.
rsandifo [Sun, 1 Dec 2013 12:33:01 +0000 (12:33 +0000)] 
Handle multiplications by 1 as a special case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205571 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd a special case for multiplication with zero.
rsandifo [Fri, 29 Nov 2013 11:54:23 +0000 (11:54 +0000)] 
Add a special case for multiplication with zero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205520 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd lshift/lrshift fast paths for bit-to-byte conversion.
rsandifo [Fri, 29 Nov 2013 11:52:05 +0000 (11:52 +0000)] 
Add lshift/lrshift fast paths for bit-to-byte conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205519 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd add/sub fast paths for offset_int and widest_int.
rsandifo [Fri, 29 Nov 2013 11:50:30 +0000 (11:50 +0000)] 
Add add/sub fast paths for offset_int and widest_int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205518 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoApply the lts_p and ltu_p fast paths to cmps and cmpu too.
rsandifo [Fri, 29 Nov 2013 11:48:44 +0000 (11:48 +0000)] 
Apply the lts_p and ltu_p fast paths to cmps and cmpu too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205517 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoExtend ltu_p fast path to all length-1 pairs.
rsandifo [Fri, 29 Nov 2013 11:47:51 +0000 (11:47 +0000)] 
Extend ltu_p fast path to all length-1 pairs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205516 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed comment
zadeck [Fri, 29 Nov 2013 03:23:12 +0000 (03:23 +0000)] 
fixed comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205508 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoSimplify wide_int_to_tree.
rsandifo [Thu, 28 Nov 2013 16:39:14 +0000 (16:39 +0000)] 
Simplify wide_int_to_tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205494 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd trailing_wide_ints and use it for range_info_def.
rsandifo [Thu, 28 Nov 2013 16:38:07 +0000 (16:38 +0000)] 
Add trailing_wide_ints and use it for range_info_def.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205493 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agowide-int version of SSA_NAME_ANTI_ALIAS_P patch.
rsandifo [Thu, 28 Nov 2013 16:32:44 +0000 (16:32 +0000)] 
wide-int version of SSA_NAME_ANTI_ALIAS_P patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205491 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofix fold-const so it matches trunk fix.
zadeck [Wed, 27 Nov 2013 17:04:22 +0000 (17:04 +0000)] 
fix fold-const so it matches trunk fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205455 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAddress Richard's comment about speed.
mrs [Tue, 26 Nov 2013 22:32:36 +0000 (22:32 +0000)] 
Address Richard's comment about speed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205420 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix rs6000 review point #2.
mrs [Tue, 26 Nov 2013 22:27:53 +0000 (22:27 +0000)] 
Fix rs6000 review point #2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205419 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix rs6000 comment #5.
mrs [Tue, 26 Nov 2013 21:42:50 +0000 (21:42 +0000)] 
Fix rs6000 comment #5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205418 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix rs6000 comment #3.
mrs [Tue, 26 Nov 2013 03:05:01 +0000 (03:05 +0000)] 
Fix rs6000 comment #3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205376 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoResolve rs6000 review comment 4.
mrs [Tue, 26 Nov 2013 01:50:45 +0000 (01:50 +0000)] 
Resolve rs6000 review comment 4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205375 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMove assert.
mrs [Tue, 26 Nov 2013 00:38:13 +0000 (00:38 +0000)] 
Move assert.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205373 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago* config/arc/arc.c: Include wide-int.h.
mrs [Mon, 25 Nov 2013 21:37:07 +0000 (21:37 +0000)] 
* config/arc/arc.c: Include wide-int.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205366 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago(solaris_pragma_align): Change low to unsigned HWI. Use tree_fits_uhwi_p.
mrs [Mon, 25 Nov 2013 21:20:17 +0000 (21:20 +0000)] 
(solaris_pragma_align): Change low to unsigned HWI.  Use tree_fits_uhwi_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205365 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed comment in dwarf2out.c
zadeck [Mon, 25 Nov 2013 19:48:49 +0000 (19:48 +0000)] 
fixed comment in dwarf2out.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205363 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMerge with trunk.
rsandifo [Fri, 22 Nov 2013 14:55:48 +0000 (14:55 +0000)] 
Merge with trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205263 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix formatting of changelog entry.
rsandifo [Fri, 22 Nov 2013 13:59:55 +0000 (13:59 +0000)] 
Fix formatting of changelog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205261 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-22 zadeck@naturalbridge.com
zadeck [Fri, 22 Nov 2013 13:55:53 +0000 (13:55 +0000)] 
2013-11-22  zadeck@naturalbridge.com
* store-layout.c
(place-field): Fix hwi test and accessor mismatch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205260 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * expr.c (store_constructor): Allow CONSTRUCTOR with VECTOR_TYPE
jakub [Fri, 22 Nov 2013 13:22:51 +0000 (13:22 +0000)] 
* expr.c (store_constructor): Allow CONSTRUCTOR with VECTOR_TYPE
(same sized) elements even if the type of the CONSTRUCTOR has
vector mode and target is a REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205259 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-22 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Fri, 22 Nov 2013 13:18:42 +0000 (13:18 +0000)] 
2013-11-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

* acinclude.m4 (libtool_VERSION): Bump.
* configure: Regenerate.
* doc/xml/manual/abi.xml: Update version information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205258 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-22 Richard Biener <rguenther@suse.de>
rguenth [Fri, 22 Nov 2013 13:17:41 +0000 (13:17 +0000)] 
2013-11-22  Richard Biener  <rguenther@suse.de>

Revert
2013-11-21  Richard Biener  <rguenther@suse.de>

* tree-ssa-loop-ch.c (copy_loop_headers): Decrement
nb_iterations_upper_bound by one.

        * gcc.dg/torture/20131122-0.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205256 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoEnable PTA_POPCNT for Silvermont
hjl [Fri, 22 Nov 2013 12:57:14 +0000 (12:57 +0000)] 
Enable PTA_POPCNT for Silvermont

* config/i386/i386.c (processor_alias_table): Enable PTA_POPCNT
for Silvermont.

* doc/invoke.texi: Mention POPCNT for corei7, corei7-avx,
core-avx-i, core-avx2 and slm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205255 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoOnly use visibility if supported
ro [Fri, 22 Nov 2013 11:44:56 +0000 (11:44 +0000)] 
Only use visibility if supported

* configure.ac (libcilkrts_cv_have_attribute_visibility): Check
for __attribute__((visibility)).
* configure: Regenerate.
* include/cilk/common.h (CILK_EXPORT, CILK_EXPORT_DATA): Only use
__attribute__((visibility)) if HAVE_ATTRIBUTE_VISIBILITY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205254 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoEnable libcilkrts multilib build on Solaris
ro [Fri, 22 Nov 2013 11:41:48 +0000 (11:41 +0000)] 
Enable libcilkrts multilib build on Solaris

* configure.ac (AC_PROG_CXX): Move after AC_PROG_CC.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205253 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * print-rtl.c (print_rtx) <case MEM>: Output a space if no MEM_EXPR.
ebotcazou [Fri, 22 Nov 2013 11:22:51 +0000 (11:22 +0000)] 
* print-rtl.c (print_rtx) <case MEM>: Output a space if no MEM_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205251 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 22 Nov 2013 10:19:46 +0000 (10:19 +0000)] 
2013-11-22  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/ext/random/hypergeometric_distribution/operators/
values.cc: Fix further thinkos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205249 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 22 Nov 2013 10:08:39 +0000 (10:08 +0000)] 
2013-11-22  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/ext/random/hypergeometric_distribution/operators/
values.cc: Fix thinkos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205248 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
rsandifo [Fri, 22 Nov 2013 08:44:31 +0000 (08:44 +0000)] 
gcc/
* config/m32c/cond.md (stzx_16): Use register_operand for operand 0.
(stzx_24_<mode>): Likewise mra_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205247 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * tree-ssa-threadupdate.c: Include tree-cfg.h and tree-pass.h
law [Fri, 22 Nov 2013 07:48:21 +0000 (07:48 +0000)] 
* tree-ssa-threadupdate.c: Include tree-cfg.h and tree-pass.h
(thread_block_1): Do not cancel jump threads which go from
inside a loop, through the header, then back inside the loop.
(bb_ends_with_multiway_branch): New function.
(thread_through_all_blocks): Handle threading cases which start
in a loop through the loop header to a point in the loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205246 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * tree-ssa-threadedge.c (thread_across_edge): Mark the start of
law [Fri, 22 Nov 2013 07:36:12 +0000 (07:36 +0000)] 
    * tree-ssa-threadedge.c (thread_across_edge): Mark the start of
        the jump thread path properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205245 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoadd auto_vec
tbsaunde [Fri, 22 Nov 2013 05:45:37 +0000 (05:45 +0000)] 
add auto_vec

2013-11-22  Trevor Saunders  <tsaunders@mozilla.com>

gcc/
* vec.h (auto_vec): New class.
* cfganal.c, cfgloop.c, cgraphunit.c, config/i386/i386.c, dwarf2out.c,
function.c, genautomata.c, gimple.c, haifa-sched.c, ipa-inline.c,
ira-build.c, loop-unroll.c, omp-low.c, ree.c, trans-mem.c,
tree-call-cdce.c, tree-eh.c, tree-if-conv.c, tree-into-ssa.c,
tree-loop-distribution.c, tree-predcom.c, tree-sra.c,
tree-sssa-forwprop.c, tree-ssa-loop-manip.c, tree-ssa-pre.c,
tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-structalias.c,
tree-vect-loop.c, tree-vect-stmts.c: Use auto_vec and stack_vec as
appropriate instead of vec for local variables.

cp/
* parser.c, semantics.c: Change some local variables from vec to
auto_vec or stack_vec.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205244 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Teresa Johnson <tejohnson@google.com>
tejohnson [Fri, 22 Nov 2013 04:16:47 +0000 (04:16 +0000)] 
2013-11-21  Teresa Johnson  <tejohnson@google.com>

PR target/59233
* cfgcleanup.c (outgoing_edges_match): Walk up past note instructions
not understood by old_insns_match_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205243 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Bill Schmidt <wschmidt@vnet.ibm.com>
wschmidt [Fri, 22 Nov 2013 03:27:23 +0000 (03:27 +0000)] 
2013-11-21  Bill Schmidt  <wschmidt@vnet.ibm.com>

* config/rs6000/vector.md (vec_pack_trunc_v2df): Revert previous
little endian change.
(vec_pack_sfix_trunc_v2df): Likewise.
(vec_pack_ufix_trunc_v2df): Likewise.
* config/rs6000/rs6000.c (rs6000_expand_interleave): Correct
double checking of endianness.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205241 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * tree-vect-generic.c (optimize_vector_constructor): New function.
jakub [Fri, 22 Nov 2013 00:41:38 +0000 (00:41 +0000)] 
* tree-vect-generic.c (optimize_vector_constructor): New function.
(expand_vector_operations_1): Call it.

* gcc.dg/vect/vect-124.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205240 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Fri, 22 Nov 2013 00:17:08 +0000 (00:17 +0000)] 
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205239 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/i386/i386.c (ix86_expand_special_args_builtin): Use
uros [Thu, 21 Nov 2013 23:36:31 +0000 (23:36 +0000)] 
* config/i386/i386.c (ix86_expand_special_args_builtin): Use
ix86_zero_extend_to_Pmode where appropriate.
(ix86_expand_builtin): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205236 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd minimal line tables at -g1.
ccoutant [Thu, 21 Nov 2013 23:08:27 +0000 (23:08 +0000)] 
Add minimal line tables at -g1.

2013-11-21  Cary Coutant  <ccoutant@google.com>

gcc/
* dwarf2out.c (want_pubnames): Don't do pubnames for -g1.
(add_linkage_name): Don't add linkage name for -g1.
(decls_for_scope): Process subblocks for -g1.
(dwarf2out_source_line): Output line tables for -g1.
(dwarf2out_finish): Likewise.
* tree-ssa-live.c (remove_unused_scope_block_p): Don't prune
unused scopes for -g1.
* opts.c (common_handle_option): Handle -g same as -g2.
* doc/invoke.texi: Update description for -g1.

gcc/testsuite/
* gcc.dg/debug/dwarf2/mlt1.c: New test.
* gcc.dg/debug/dwarf2/mlt2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205235 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * doc/extend.texi: Document htm builtins.
bergner [Thu, 21 Nov 2013 21:19:35 +0000 (21:19 +0000)] 
* doc/extend.texi: Document htm builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205233 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 20:25:00 +0000 (20:25 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205232 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd some names.
mrs [Thu, 21 Nov 2013 19:53:33 +0000 (19:53 +0000)] 
Add some names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205230 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR tree-optimization/59221
law [Thu, 21 Nov 2013 19:45:16 +0000 (19:45 +0000)] 
PR tree-optimization/59221
* tree-ssa-threadedge.c (thread_across_edge): Properly manage
temporary equivalences when threading through joiner blocks.

PR tree-optimization/59221
* gcc.c-torture/execute/pr59221.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205229 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove trailing whitespace.
mrs [Thu, 21 Nov 2013 19:33:39 +0000 (19:33 +0000)] 
Remove trailing whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205227 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 19:16:36 +0000 (19:16 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205226 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate changelog.
rsandifo [Thu, 21 Nov 2013 17:53:36 +0000 (17:53 +0000)] 
Update changelog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205225 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove a whitespace difference with trunk.
rsandifo [Thu, 21 Nov 2013 16:27:16 +0000 (16:27 +0000)] 
Remove a whitespace difference with trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205224 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR rtl-optimization/55950
jsm28 [Thu, 21 Nov 2013 16:20:28 +0000 (16:20 +0000)] 
PR rtl-optimization/55950
* real.c (real_sqrt): Remove function.
* real.h (real_sqrt): Remove prototype.
* simplify-rtx.c (simplify_const_unary_operation): Do not fold
SQRT using real_sqrt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205223 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove difference with trunk.
rsandifo [Thu, 21 Nov 2013 16:13:40 +0000 (16:13 +0000)] 
Remove difference with trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205222 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove unneeded ATTRIBUTE_UNUSED.
rsandifo [Thu, 21 Nov 2013 15:56:21 +0000 (15:56 +0000)] 
Remove unneeded ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205221 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUndo formatting change.
rsandifo [Thu, 21 Nov 2013 14:46:16 +0000 (14:46 +0000)] 
Undo formatting change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205220 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMove declaration of decimal_real_to_integer.
rsandifo [Thu, 21 Nov 2013 14:35:02 +0000 (14:35 +0000)] 
Move declaration of decimal_real_to_integer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205219 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMerge with trunk.
rsandifo [Thu, 21 Nov 2013 14:26:12 +0000 (14:26 +0000)] 
Merge with trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205218 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Richard Biener <rguenther@suse.de>
rguenth [Thu, 21 Nov 2013 14:09:15 +0000 (14:09 +0000)] 
2013-11-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59058
* tree-scalar-evolution.h (number_of_exit_cond_executions): Remove.
* tree-scalar-evolution.c (number_of_exit_cond_executions): Likewise.
* tree-vectorizer.h (LOOP_PEELING_FOR_ALIGNMENT): Rename to ...
(LOOP_VINFO_PEELING_FOR_ALIGNMENT): ... this.
(NITERS_KNOWN_P): Fold into ...
(LOOP_VINFO_NITERS_KNOWN_P): ... this.
(LOOP_VINFO_PEELING_FOR_NITER): Add.
* tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop):
Use LOOP_VINFO_PEELING_FOR_ALIGNMENT.
(vect_do_peeling_for_alignment): Re-use precomputed niter
instead of re-emitting it.
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
Use LOOP_VINFO_PEELING_FOR_ALIGNMENT.
* tree-vect-loop.c (vect_get_loop_niters): Use
number_of_latch_executions.
(new_loop_vec_info): Initialize LOOP_VINFO_PEELING_FOR_NITER.
(vect_analyze_loop_form): Simplify.
(vect_analyze_loop_operations): Move epilogue peeling code ...
(vect_analyze_loop_2): ... here and adjust it to compute
LOOP_VINFO_PEELING_FOR_NITER.
(vect_estimate_min_profitable_iters): Use
LOOP_VINFO_PEELING_FOR_ALIGNMENT.
(vect_build_loop_niters): Emit on the preheader.
(vect_generate_tmps_on_preheader): Likewise.
(vect_transform_loop): Use LOOP_VINFO_PEELING_FOR_NITER instead
of recomputing it.  Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205217 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Richard Biener <rguenther@suse.de>
rguenth [Thu, 21 Nov 2013 13:57:40 +0000 (13:57 +0000)] 
2013-11-21  Richard Biener  <rguenther@suse.de>

* tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE,
LOC_LINE): Remove wrappers and fix all users.
(struct _loop_vec_info): Remove loop_line_number member.
(LOOP_VINFO_LOC): Remove.
* tree-parloops.c, tree-vect-loop-manip.c, tree-vect-slp.c,
tree-vectorizer.c: Fix users of LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE
and LOC_LINE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205216 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoupdate for new tree calls.
zadeck [Thu, 21 Nov 2013 13:23:16 +0000 (13:23 +0000)] 
update for new tree calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205215 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Edward Smith-Rowland <3dw4rd@verizon.net>
emsr [Thu, 21 Nov 2013 12:30:37 +0000 (12:30 +0000)] 
2013-11-21  Edward Smith-Rowland  <3dw4rd@verizon.net>

* include/experimental/string_view: Rep empty string with unit-length
static constexpr string. Uncomment _GLIBCXX_VISIBILITY. Enforce
invariant of no nullptr string pointer.
* include/experimental/string_view.tcc: Ditto.
* testsuite/experimental/string_view/cons/char/1.cc: data() for empty
string_view is no longer nullptr.
* testsuite/experimental/string_view/cons/wchar_t/1.cc: Ditto.
* testsuite/experimental/string_view/operations/data/char/1.cc: Ditto.
* testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205213 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Edward Smith-Rowland <3dw4rd@verizon.net>
emsr [Thu, 21 Nov 2013 12:27:02 +0000 (12:27 +0000)] 
2013-11-21  Edward Smith-Rowland  <3dw4rd@verizon.net>

Implement __gnu_cxx::hypergeometric_distribution.
* include/ext/random: Add hypergeometric_distribution.
* include/ext/random.tcc: Add hypergeometric_distribution.
* testsuite/util/testsuite_random.h (hypergeometric_pdf): New pdf
for the hypergeometric discreet distribution;
(lbincoef): New supporting function for binomial coefficients.
* testsuite/ext/random/hypergeometric_distribution/operators/
serialize.cc: New.
* testsuite/ext/random/hypergeometric_distribution/operators/
equal.cc: New.
* testsuite/ext/random/hypergeometric_distribution/operators/
inequal.cc: New.
* testsuite/ext/random/hypergeometric_distribution/operators/
values.cc: New.
* testsuite/ext/random/hypergeometric_distribution/cons/parms.cc: New.
* testsuite/ext/random/hypergeometric_distribution/cons/default.cc: New.
* testsuite/ext/random/hypergeometric_distribution/requirements/
explicit_instantiation/1.cc: New.
* testsuite/ext/random/hypergeometric_distribution/requirements/
typedefs.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205212 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Richard Biener <rguenther@suse.de>
rguenth [Thu, 21 Nov 2013 11:53:20 +0000 (11:53 +0000)] 
2013-11-21  Richard Biener  <rguenther@suse.de>

* tree-ssa-forwprop.c (simplify_vce): New function.
(ssa_forward_propagate_and_combine): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205211 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libfortran/59227
fxcoudert [Thu, 21 Nov 2013 11:37:07 +0000 (11:37 +0000)] 
PR libfortran/59227
* gfortran.dg/erf_3.F90: XFAIL on spu-* and ia64-*-linux*.
Make more generic for other platforms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205210 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix spelling errors.
mrs [Thu, 21 Nov 2013 10:32:15 +0000 (10:32 +0000)] 
Fix spelling errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205209 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove formatting difference with trunk.
rsandifo [Thu, 21 Nov 2013 10:25:28 +0000 (10:25 +0000)] 
Remove formatting difference with trunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205208 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoWrap long line.
mrs [Thu, 21 Nov 2013 10:24:46 +0000 (10:24 +0000)] 
Wrap long line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205207 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFinish off audit.
mrs [Thu, 21 Nov 2013 10:21:42 +0000 (10:21 +0000)] 
Finish off audit.
Canonicalize.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205206 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove trailing whitespace. Add missing dbxout.c hunk.
rsandifo [Thu, 21 Nov 2013 10:18:18 +0000 (10:18 +0000)] 
Remove trailing whitespace.  Add missing dbxout.c hunk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205205 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRestore whitespace.
mrs [Thu, 21 Nov 2013 10:02:24 +0000 (10:02 +0000)] 
Restore whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205204 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 10:00:53 +0000 (10:00 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205203 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 09:43:18 +0000 (09:43 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205202 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove wrong PR link
schwab [Thu, 21 Nov 2013 09:24:44 +0000 (09:24 +0000)] 
Remove wrong PR link

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205201 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoCanonicalize spelling.
mrs [Thu, 21 Nov 2013 09:20:35 +0000 (09:20 +0000)] 
Canonicalize spelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205200 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Richard Biener <rguenther@suse.de>
rguenth [Thu, 21 Nov 2013 09:19:31 +0000 (09:19 +0000)] 
2013-11-21  Richard Biener  <rguenther@suse.de>

* tree-vect-loop-manip.c (vect_build_loop_niters,
vect_generate_tmps_on_preheader): Move ...
* tree-vect-loop.c (vect_build_loop_niters,
vect_generate_tmps_on_preheader): ... here and simplify.
(vect_transform_loop): Call them here and pass down results
to consumers.
* tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound):
Get niter variables from caller.
(vect_do_peeling_for_alignment): Likewise.
* tree-vectorizer.h (vect_generate_tmps_on_preheader): Remove.
(vect_do_peeling_for_loop_bound, vect_do_peeling_for_alignment):
Adjust prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205199 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Richard Biener <rguenther@suse.de>
rguenth [Thu, 21 Nov 2013 09:15:38 +0000 (09:15 +0000)] 
2013-11-21  Richard Biener  <rguenther@suse.de>

* tree-ssa-loop-ch.c (copy_loop_headers): Decrement
nb_iterations_upper_bound by one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205198 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2013-11-21 Richard Biener <rguenther@suse.de>
rguenth [Thu, 21 Nov 2013 09:15:05 +0000 (09:15 +0000)] 
2013-11-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59058
* tree-loop-distribution.c (struct partition_s): Add plus_one
member.
(build_size_arg_loc): Apply niter adjustment here.
(generate_memset_builtin): Adjust.
(generate_memcpy_builtin): Likewise.
(classify_partition): Do not use number_of_exit_cond_executions
but record whether niter needs to be adjusted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205197 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement
ebotcazou [Thu, 21 Nov 2013 09:12:43 +0000 (09:12 +0000)] 
* tree-ssa-tail-merge.c (stmt_local_def): Return false if the statement
could throw.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205196 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 09:12:21 +0000 (09:12 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205195 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 09:03:05 +0000 (09:03 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205194 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libfortran/59227
fxcoudert [Thu, 21 Nov 2013 08:45:00 +0000 (08:45 +0000)] 
PR libfortran/59227
* intrinsics/erfc_scaled.c (erfc_scaled_r16): Don't define if
__float128 is not available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205193 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago Fix ChangeLog entry.
olegendo [Thu, 21 Nov 2013 08:21:44 +0000 (08:21 +0000)] 
Fix ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205192 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/53976
olegendo [Thu, 21 Nov 2013 08:19:38 +0000 (08:19 +0000)] 
PR target/53976
* config/sh/sh_optimize_sett_clrt.cc: New SH specific RTL pass.
* config/sh/sh.c (register_sh_passes): Add sh_optimize_sett_clrt pass.
* config/sh/sh/t-sh (sh_optimize_sett_clrt pass.o): New entry.
* config.gcc (sh[123456789lbe]*-*-* | sh-*-*): Add
sh_optimize_sett_clrt pass.o to extra_objs.

PR target/53976
* gcc.target/sh/pr53976-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205191 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 03:32:42 +0000 (03:32 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205190 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed tree-ssa-loop-niter.c.
zadeck [Thu, 21 Nov 2013 02:30:08 +0000 (02:30 +0000)] 
fixed tree-ssa-loop-niter.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205188 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed tree-ssa-math-ops.c.
zadeck [Thu, 21 Nov 2013 02:20:54 +0000 (02:20 +0000)] 
fixed tree-ssa-math-ops.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205187 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed tree-ssa-pre.c.
zadeck [Thu, 21 Nov 2013 02:18:43 +0000 (02:18 +0000)] 
fixed tree-ssa-pre.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205186 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed tree-ssa-sccvn.c.
zadeck [Thu, 21 Nov 2013 02:17:34 +0000 (02:17 +0000)] 
fixed tree-ssa-sccvn.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205185 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed tree-ssa-structalias.c.
zadeck [Thu, 21 Nov 2013 02:15:41 +0000 (02:15 +0000)] 
fixed tree-ssa-structalias.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205184 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agofixed tree-vec-data-refs.
zadeck [Thu, 21 Nov 2013 02:13:04 +0000 (02:13 +0000)] 
fixed tree-vec-data-refs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205183 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoReword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros
dmalcolm [Thu, 21 Nov 2013 01:28:11 +0000 (01:28 +0000)] 
Reword comments that mention ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros

gcc/
2013-11-20  David Malcolm  <dmalcolm@redhat.com>

* cfg.c (dump_edge_info): Remove redundant comment.
* cfgcleanup.c (outgoing_edges_match): Reword reference to
EXIT_BLOCK_PTR in comment.
(try_optimize_cfg): Likewise.
* cfgrtl.c (last_bb_in_partition): Likewise.
* cgraph.c (cgraph_node_cannot_return): Likewise.
* function.c (thread_prologue_and_epilogue_insns): Likewise.
* graphite-scop-detection.c (scopdet_basic_block_info): Likewise.
* ipa-split.c (consider_split): Likewise.
* profile.c (find_spanning_tree): Likewise.
* sched-int.h (common_sched_info_def.add_block): Likewise.
* dominance.c (calc_dfs_tree_nonrec): Reword references in
comments to now removed ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR macros.
* tree-cfgcleanup.c (cleanup_control_flow_bb): Reword references
in comments to now removed ENTRY_BLOCK_PTR macro.
(tree_forwarder_block_p): Reword reference in comment to
EXIT_BLOCK_PTR.
* tree-inline.c (copy_cfg_body): Reword references in comments to
now removed ENTRY_BLOCK_PTR macro.
* tree-ssa-propagate.c (ssa_prop_init): Likewise.
* tree-scalar-evolution.h ( block_before_loop): Likewise.  Add
a comma to the comment to clarify the meaning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205182 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 01:16:32 +0000 (01:16 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205181 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 01:10:00 +0000 (01:10 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205180 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 00:51:38 +0000 (00:51 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205179 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 00:44:27 +0000 (00:44 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205178 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 00:39:10 +0000 (00:39 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205177 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoUpdate.
mrs [Thu, 21 Nov 2013 00:35:50 +0000 (00:35 +0000)] 
Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205176 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFixup whitespace.
mrs [Thu, 21 Nov 2013 00:34:13 +0000 (00:34 +0000)] 
Fixup whitespace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205175 138bc75d-0d04-0410-961f-82ee72b054a4