Martin Jambor
6dc93b16c6
re PR tree-optimization/42703 (ICE in generate_subtree_copies with out of bounds array access)
...
2010-01-13 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42703
* tree-sra.c (analyze_access_subtree): Check that we can build a
reference to the original data within the aggregate.
* testsuite/gcc.c-torture/compile/pr42703.c: New test.
From-SVN: r155863
2010-01-13 16:37:37 +01:00
Richard Guenther
1d21a8e566
re PR tree-optimization/42705 (verify_flow_info failed with -O)
...
2010-01-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42705
* tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after
labels.
* gcc.c-torture/compile/pr42705.c: New testcase.
From-SVN: r155861
2010-01-13 15:04:38 +00:00
Jie Zhang
9858e0ccda
l2.c: New test.
...
* gcc.target/bfin/l2.c: New test.
* gcc.target/bfin/bfin.exp (dg-bfin-processors): New.
From-SVN: r155860
2010-01-13 14:57:59 +00:00
Richard Guenther
48f30f629f
re PR middle-end/42716 (ICE in extract_range_from_assert, at tree-vrp.c:1423)
...
2010-01-13 Richard Guenther <rguenther@suse.de>
PR middle-end/42716
* fold-const.c (fold_unary_loc): Fold INDIRECT_REFs.
* gcc.c-torture/compile/pr42716.c: New testcase.
From-SVN: r155859
2010-01-13 13:31:13 +00:00
Jakub Jelinek
9e73c69087
re PR debug/41371 (var-tracking is slow and memory hungry)
...
PR debug/41371
* var-tracking.c (values_to_unmark): New variable.
(find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in
values_to_unmark vector. Moved body to...
(find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO,
instead queue it into values_to_unmark vector.
(vt_find_locations): Free values_to_unmark vector.
From-SVN: r155858
2010-01-13 14:26:47 +01:00
Wolfgang Gellerich
dc2f28c58b
s390.c (override_options): Set default of max-pending-list-length to 256
...
2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/s390.c (override_options): Set
default of max-pending-list-length to 256
From-SVN: r155856
2010-01-13 11:40:58 +00:00
Joel Brobecker
d9019c9941
Add new DW_AT_use_GNAT_descriptive_type CU attribute.
...
* dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.
From-SVN: r155855
2010-01-13 11:13:53 +00:00
Paolo Carlini
da9debb8d6
Makefile.am (check-debug): Add.
...
2010-01-13 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/Makefile.am (check-debug): Add.
* testsuite/Makefile.in: Regenerate.
* config.h.in: Likewise.
From-SVN: r155854
2010-01-13 11:07:44 +00:00
Richard Guenther
688a482d63
re PR middle-end/42678 (ICE with lto1 in expand_mult, at expmed.c:3253)
...
2010-01-13 Richard Guenther <rguenther@suse.de>
PR lto/42678
* tree-pass.h (PROP_gimple_lcx): New.
* cfgexpand.c (pass_expand): Require PROP_gimple_lcx.
* passes.c (init_optimization_passes): Move pass_lower_complex_O0
before the final cleanup_eh.
(dump_properties): Dump PROP_gimple_lcx.
* tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx.
(tree_lower_complex_O0): Remove.
(gate_no_optimization): Run if PROP_gimple_lcx is not set.
(pass_lower_complex_O0): Provide PROP_gimple_lcx. Run
tree_lower_complex, schedule TODO_update_ssa.
* lto-streamer-out.c (output_function): Stream the functions
properties.
* lto-streamer-in.c (input_function): Likewise.
(lto_read_body): Do not override them here.
* gfortran.dg/lto/20100110-1_0.f90: New testcase.
From-SVN: r155853
2010-01-13 10:07:47 +00:00
GCC Administrator
288de41a81
Daily bump.
...
From-SVN: r155849
2010-01-13 00:17:39 +00:00
Joseph Myers
e616f54d28
re PR c/42708 (ICE in gimplify_expr, at gimplify.c:6993)
...
PR c/42708
* c-typeck.c (build_c_cast): Fold value cast to union type before
wrapping it in a CONSTRUCTOR.
testsuite:
* gcc.c-torture/compile/pr42708-1.c: New test.
From-SVN: r155846
2010-01-12 23:09:00 +00:00
Jakub Jelinek
b4ab701fcc
re PR rtl-optimization/42699 (ZERO_EXTRACT on lhs never optimized out)
...
PR rtl-optimization/42699
* cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are
involved.
From-SVN: r155844
2010-01-12 21:25:10 +01:00
Paolo Carlini
932f6f4a2c
using_namespace_std_tr1_neg.cc: Do not run in parallel-mode.
...
2010-01-12 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
in parallel-mode.
* testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
* testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
* testsuite/25_algorithms/remove/moveable.c: Likewiwse.
* testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
* testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
* testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
* testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
* testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
* testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
* testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
* testsuite/25_algorithms/heap/moveable.cc: Likewiwse.
* testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
in parallel-mode.
From-SVN: r155841
2010-01-12 17:16:25 +00:00
Rainer Orth
4dde664fb1
iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, [...]): Move ...
...
* config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
SUBTARGET_WARN_UNUSED_SPEC): Move ...
config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
SUBTARGET_WARN_UNUSED_SPEC): ... here
* config/mips/iris5.h (LIBGCC_SPEC): Define.
From-SVN: r155837
2010-01-12 12:38:49 +00:00
Julian Brown
24fe19c35a
Fix Neon Scheduler ocaml description.
...
For
2010-01-12 Julian Brown <julian@codesourcery.com>
* config/arm/neon-schedgen.ml (Utils): Don't try to
open missing module.
(find_with_result): New.
From-SVN: r155835
2010-01-12 11:50:36 +00:00
Jakub Jelinek
acc2dd549f
Update Copyright years.
...
From-SVN: r155833
2010-01-12 10:49:51 +01:00
Jakub Jelinek
4942b76bf6
re PR debug/42662 (invalid rtl sharing found in the insn)
...
PR debug/42662
* simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
sharing when canonicalizing ({lt,ge}u (plus a b) b).
* gcc.dg/pr42662.c: New test.
From-SVN: r155831
2010-01-12 10:45:19 +01:00
Jakub Jelinek
082ab5ff77
re PR tree-optimization/42645 ("-fcompare-debug failure" at -O1)
...
PR tree-optimization/42645
* tree-inline.c (processing_debug_stmt): Move earlier. Make static.
(remap_ssa_name): If processing_debug_stmt and name wasn't found in
decl_map, set processing_debug_stmt to -1 and return name without
any remapping.
* g++.dg/other/pr42645-1.C: New test.
* g++.dg/other/pr42645-2.C: New test.
From-SVN: r155830
2010-01-12 10:43:31 +01:00
Hans-Peter Nilsson
b1a54dd052
all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS for non-tls_native targets.
...
* testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
for non-tls_native targets.
From-SVN: r155829
2010-01-12 05:24:12 +00:00
Benjamin Kosnik
220fceaaa4
run_doxygen: Correct nested scope on the man pages.
...
2010-01-12 Benjamin Kosnik <bkoz@redhat.com>
* scripts/run_doxygen: Correct nested scope on the man pages.
* doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
* doc/xml/manual/mt_allocator.xml: Same.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/concurrency.xml: Same.
* doc/xml/manual/parallel_mode.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/evolution.xml: Same.
* doc/xml/manual/using.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/prerequisites.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/spine.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Same.
* doc/xml/manual/test.xml: Same.
* doc/xml/spine.xml: Same.
* doc/html/*: Regenerate.
* include/profile/impl/profiler.h: Remove duplicate markup.
From-SVN: r155828
2010-01-12 01:37:39 +00:00
Benjamin Kosnik
a2edd3e945
run_doxygen: Correct nested scope on the man pages.
...
2010-01-07 Benjamin Kosnik <bkoz@redhat.com>
* scripts/run_doxygen: Correct nested scope on the man pages.
* doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
* doc/xml/manual/mt_allocator.xml: Same.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/concurrency.xml: Same.
* doc/xml/manual/parallel_mode.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/evolution.xml: Same.
* doc/xml/manual/using.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/prerequisites.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/spine.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Same.
* doc/xml/manual/test.xml: Same.
* doc/xml/spine.xml: Same.
* doc/html/*: Regenerate.
* include/profile/impl/profiler.h: Remove duplicate markup.
From-SVN: r155827
2010-01-12 01:37:06 +00:00
Jonathan Wakely
d90d97ff9c
re PR libstdc++/24803 ([c++0x] reference_wrapper and pointers to member functions)
...
2010-01-12 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/24803
PR libstdc++/35569
PR libstdc++/42593
* include/std/functional (bind): Forward rvalues and detect correct
result type of bound function object.
* include/std/mutex (call_once): Specify bind result type.
* testsuite/20_util/reference_wrapper/invoke.cc: Remove invalid tests.
* testsuite/20_util/reference_wrapper/24803.cc: Remove invalid tests
and enable FIXME tests.
* testsuite/20_util/bind/35569.cc: New.
* testsuite/20_util/bind/ref2.cc: New.
* testsuite/20_util/bind/38889.cc: New.
* testsuite/20_util/bind/ref_neg.cc: New.
* testsuite/20_util/bind/42593.cc: New.
From-SVN: r155826
2010-01-12 00:53:30 +00:00
Paolo Carlini
31380bc4c5
base.h (decode2): Rename to __decode2.
...
2010-01-11 Paolo Carlini <paolo.carlini@oracle.com>
* include/parallel/base.h (decode2): Rename to __decode2.
(binder2nd): Likewise to __binder2nd.
* include/parallel/quicksort.h: Adjust callers.
* include/parallel/balanced_quicksort.h: Likewise.
* include/parallel/partition.h: Likewise.
* include/parallel/queue.h: Likewise.
* include/parallel/algo.h: Qualify with std:: binder2nd use.
From-SVN: r155825
2010-01-12 00:51:50 +00:00
GCC Administrator
3383f24d53
Daily bump.
...
From-SVN: r155824
2010-01-12 00:16:48 +00:00
Dave Korn
977f799755
install.texi (Specific#x-x-cygwin): Document minimum required binutils version...
...
* doc/install.texi (Specific#x-x-cygwin): Document minimum required
binutils version, and reword target configuration description.
From-SVN: r155821
2010-01-11 23:43:21 +00:00
Andy Hutchinson
3cdea2b453
lto.c (O_BINARY): Define.
...
2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
* lto.c (O_BINARY): Define.
(lto_read_section_data): Open file in binary mode.
* lto-elf.c (O_BINARY): Define.
(lto_elf_file_open): Open file in binary mode.
From-SVN: r155820
2010-01-11 23:15:32 +00:00
Andy Hutchinson
2685baa15f
avr.h (LINKER_NAME): Remove.
...
2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
* config/avr/avr.h (LINKER_NAME): Remove.
From-SVN: r155819
2010-01-11 23:12:14 +00:00
Joseph Myers
42138585a4
* fi.po: Update.
...
From-SVN: r155817
2010-01-11 20:52:17 +00:00
Janis Johnson
3767f51242
re PR target/42416 (ICE in rs6000_bulitin_vec_perm for 177.mesa with -mvsx)
...
PR target/42416
* config/rs6000/rs6000.c (rs6000_override_options): On targets
that support VSX, warn for -mno-altivec if vsx is not disabled,
and disable vsx.
* gcc.target/powerpc/warn-1.c: New test.
* gcc.target/powerpc/warn-2.c: New test.
From-SVN: r155816
2010-01-11 20:29:40 +00:00
Uros Bizjak
a6ffbb9c26
asm-support.S (snapshot_ret): Preserve stack alignment.
...
* gcc.target/x86_64/abi/avx/asm-support.S (snapshot_ret): Preserve
stack alignment.
From-SVN: r155814
2010-01-11 19:58:44 +01:00
Richard Guenther
c164615b36
re PR lto/41569 (.../prev-gcc/xgcc used for the install step of the lto-plugin)
...
2010-01-11 Richard Guenther <rguenther@suse.de>
PR lto/41569
* Makefile.def (all-lto-plugin): Depend on all-gcc.
* Makefile.in: Regenerated.
lto-plugin/
* Makefile.am: Disable dependencies.
* Makefile.in: Regenerated.
From-SVN: r155809
2010-01-11 12:38:09 +00:00
Mikael Pettersson
c448ab16ea
Makefile.in: Add arm*-*-linux-gnueabi.
...
* gcc-interface/Makefile.in: Add arm*-*-linux-gnueabi.
* system-linux-armeb.ads, system-linux-armel.ads: New files.
From-SVN: r155808
2010-01-11 12:04:19 +00:00
Joseph Myers
5df59dbbf1
* zh_CN.po: Update.
...
From-SVN: r155807
2010-01-11 11:48:24 +00:00
Joseph Myers
ae14ad94e4
* cpplib.pot: Regenerate.
...
From-SVN: r155806
2010-01-11 11:47:16 +00:00
Joseph Myers
1c76b34f6f
* gcc.pot: Regenerate.
...
From-SVN: r155805
2010-01-11 11:46:39 +00:00
Tristan Gingold
5b40c067ef
demangle.h (ada_demangle): Add prototype.
...
include/
2010-01-11 Tristan Gingold <gingold@adacore.com>
* demangle.h (ada_demangle): Add prototype.
libiberty/
2010-01-11 Tristan Gingold <gingold@adacore.com>
* cplus-dem.c (ada_demangle): Remove prototype.
(grow_vect): Removed.
(ada_demangle): Rewritten.
(cplus_demangle): Fix indentation.
* testsuite/demangle-expected: Add tests for Ada.
From-SVN: r155804
2010-01-11 11:38:35 +00:00
Andreas Tobler
f3f623aeaf
configure.ac: Enable libjava build on x86_64-*freebsd*.
...
2010-01-11 Andreas Tobler <andreast@fgznet.ch>
* configure.ac: Enable libjava build on x86_64-*freebsd*.
* configure: Regenerate.
From-SVN: r155803
2010-01-11 12:10:55 +01:00
Joseph Myers
f94e1d66da
re PR translation/42467 (exgettext should not remove TABs from option help strings)
...
gcc/po/
2010-01-11 Joseph Myers <joseph@codesourcery.com>
Shujing Zhao <pearly.zhao@oracle.com>
PR translation/42467
* exgettext: Keep the text before tab character in the option help
string at *.opt file.
gcc/
2010-01-11 Joseph Myers <joseph@codesourcery.com>
Shujing Zhao <pearly.zhao@oracle.com>
PR translation/42469
* common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
character between option name and help text.
* c.opt (imultilib): Likewise.
gcc/fortran
2010-01-11 Joseph Myers <joseph@codesourcery.com>
Shujing Zhao <pearly.zhao@oracle.com>
PR translation/42469
* lang.opt (fblas-matmul-limit=, finit-character=, finit-integer=,
finit-logical=, finit-real=, fmax-array-constructor=): Use tab
character between option name and help text.
Co-Authored-By: Shujing Zhao <pearly.zhao@oracle.com>
From-SVN: r155801
2010-01-11 04:28:36 +00:00
Rafael Avila de Espindola
06bfe1d0e2
20100108_0.c: New.
...
2010-01-10 Rafael Avila de Espindola <espindola@google.com>
* gcc.dg/lto/20100108_0.c: New.
2010-01-10 Rafael Avila de Espindola <espindola@google.com>
* lto-streamer-out.c (output_unreferenced_globals): Output static
variables.
From-SVN: r155800
2010-01-11 02:28:49 +00:00
GCC Administrator
bd2638ac9f
Daily bump.
...
From-SVN: r155799
2010-01-11 00:17:11 +00:00
Steven Bosscher
c21f33b6cb
re PR rtl-optimization/42621 (Computed gotos on AMD 800% slower)
...
PR rtl-optimization/42621
* bb-reorder.c (gate_duplicated_computed_gotos): Only run if not
optimizing for size.
(duplicate_computed_gotos): Remove now-redundant check.
From-SVN: r155796
2010-01-10 23:31:30 +00:00
Sebastian Pop
e1496917f1
re PR middle-end/42393 ([graphite] internal compiler error: in check_loop_closed_ssa_use)
...
Fix PR42393.
2010-01-08 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/42393
* graphite-clast-to-gimple.c: Fix formatting.
* sese.c (defined_in_loop_p): Renamed name_defined_in_loop_p.
(expr_defined_in_loop_p): New.
(add_loop_exit_phis): Also handle full expressions: remove from
the rename_map the expressions defined in the loop that we're closing.
* testsuite/gfortran.dg/graphite/pr42393-1.f90: New.
* testsuite/gfortran.dg/graphite/pr42393.f90: Add new flags
-fno-loop-block -fno-loop-interchange -fno-loop-strip-mine to also
make this testcase useful in the Graphite branch.
From-SVN: r155795
2010-01-10 21:46:42 +00:00
Uros Bizjak
dadcb84c8f
pr40281.c (dg-options): Add -w.
...
* gcc.dg/graphite/pr40281.c (dg-options): Add -w.
Add -march=i686 -msse for 32bit x86 targets.
From-SVN: r155794
2010-01-10 22:33:19 +01:00
Steve Ellcey
30ce157e6d
re PR target/37454 (gcc: unrecognized option '-rdynamic')
...
2010-01-10 Steve Ellcey <sje@cup.hp.com>
PR target/37454
* configure.ac: Save and restore LDFLAGS and LIBS
* configure: Regenerate.
From-SVN: r155792
2010-01-10 20:23:08 +00:00
Richard Guenther
ab996409bc
re PR middle-end/42667 (internal compiler error: in insert_into_preds_of_block, at tree-ssa-pre.c:3146)
...
2010-01-10 Richard Guenther <rguenther@suse.de>
PR middle-end/42667
* builtins.c (fold_builtin_strlen): Add type argument and
convert the resulting length to it.
(fold_builtin_1): Adjust.
* gcc.dg/torture/pr42667.c: New testcase.
From-SVN: r155791
2010-01-10 19:37:45 +00:00
Paolo Carlini
8b6f089bcb
string (basic_string<>::basic_string(basic_string&&), [...]): Add.
...
2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/string (basic_string<>::basic_string(basic_string&&),
operator=(basic_string&&), assign(basic_string&&)): Add.
* include/debug/string: Fully qualify initializer_list with std; fix
_Allocator misspellings as _Alloc.
From-SVN: r155790
2010-01-10 16:15:58 +00:00
Paolo Carlini
baa828a01d
2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
...
Adjust last ChangeLog entry.
From-SVN: r155789
2010-01-10 13:43:40 +00:00
Paolo Carlini
10154e0d52
basic_string.h (basic_string<>:: basic_string(basic_string&&), [...]): Add.
...
2010-01-10 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h (basic_string<>::
basic_string(basic_string&&), operator=(basic_string&&),
assign(basic_string&&)): Add.
* config/abi/pre/gnu.ver: Export new symbols.
* include/ext/vstring.h (__versa_string<>::assign(__versa_string&&)):
Add.
(operator=(__versa_string&&)): Don't call clear unnecessarily.
* include/ext/rc_string_base.h (__rc_string_base<>::
__rc_string_base(__rc_string_base&&)): Simplify a tad.
* testsuite/21_strings/basic_string/cons/char/moveable.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable.cc: Likewise.
* testsuite/ext/vstring/assign/move_assign.cc: Likewise.
* testsuite/21_strings/basic_string/assign/char/move_assign.cc:
Likewise.
* testsuite/21_strings/basic_string/assign/wchar_t/move_assign.cc:
Likewise.
From-SVN: r155788
2010-01-10 13:38:47 +00:00
Joseph Myers
a1ec0dcf13
* sv.po: Update.
...
From-SVN: r155787
2010-01-10 13:15:41 +00:00
Silvius Rus
a1360f5702
libstdc++ profile mode bug fixes and minor updates
...
From-SVN: r155786
2010-01-10 08:25:23 +00:00