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
H.J. Lu
9b2adcdbc1
Return dgs.alc on success
...
libiberty/
2010-01-09 Ian Lance Taylor <iant@google.com>
PR other/42230
* cp-demangle.c (d_demangle): Return dgs.alc on success.
libstdc++-v3/
2010-01-09 H.J. Lu <hongjiu.lu@intel.com>
PR other/42230
* testsuite/abi/pr42230.cc: New.
From-SVN: r155785
2010-01-09 16:24:52 -08:00
GCC Administrator
be24b7fbd0
Daily bump.
...
From-SVN: r155784
2010-01-10 00:16:40 +00:00
Simon Wright
4250055c5d
re PR ada/42626 (gcc-interface/Makefile.in has missing quote)
...
PR ada/42626
* gcc-interface/Makefile.in (gnatlib-shared-darwin): Add missing
end-quote.
From-SVN: r155780
2010-01-09 22:16:43 +00:00
Simon Wright
f5e3965f61
re PR ada/42626 (gcc-interface/Makefile.in has missing quote)
...
PR ada/42626
* Makefile.in (gnatlib-shared-darwin): Add missing end-quote.
From-SVN: r155779
2010-01-09 22:12:47 +00:00
Jerry DeLisle
6a73fceca9
Fix ChangeLog entry.
...
From-SVN: r155774
2010-01-09 19:11:59 +00:00
Jerry DeLisle
7a2631f3c6
re PR fortran/32489 (Endless loop when compiling - middle-end?)
...
2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/32489
* gfortran.dg/array_constructor_33.f90: New test.
PR fortran/20923
Fix ChangeLog entry.
From-SVN: r155773
2010-01-09 19:01:41 +00:00
Jerry DeLisle
d5a8d70496
re PR fortran/32489 (Endless loop when compiling - middle-end?)
...
2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/32489
* gfortran.dg/array_constructor_33.f90: New test.
gfortran.dg/array_function_5.f90: Add credit.
From-SVN: r155772
2010-01-09 18:31:00 +00:00
Simon Wright
f5fcb67a0b
re PR ada/42659 (gnatmake thinks libraries aren't supported)
...
PR ada/42659
* configure.ac (powerpc|*86-*-darwin*): Extend to *-*-darwin*.
* configure: Regenerate.
From-SVN: r155771
2010-01-09 18:21:52 +00:00
Jakub Jelinek
7234a61566
rs6000.c (rs6000_emit_set_long_const): Shorten sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by 1 insn.
...
* config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
1 insn.
(num_insns_constant_wide): Adjust for that change.
From-SVN: r155770
2010-01-09 18:56:12 +01:00
Jerry DeLisle
f2ff577a33
re PR fortran/20923 (gfortran slow for large array constructors)
...
2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/20923
PR fortran/32489
* trans-array.c (gfc_conv_array_initializer): Change call to
gfc_error_now to call to gfc_fatal_error.
* array.c (count_elements): Whitespace. (extract_element): Whitespace.
(is_constant_element): Changed name from constant_element.
(gfc_constant_ac): Only use expand_construuctor for expression
types of EXPR_ARRAY. If expression type is EXPR_CONSTANT, no need to
call gfc_is_constant_expr.
* expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
message.
* resolve.c (gfc_is_expandable_expr): New function that determiners if
array expressions should have their constructors expanded.
(gfc_resolve_expr): Use new function to determine whether or not to call
gfc_expand_constructor.
From-SVN: r155769
2010-01-09 17:47:04 +00:00
Alexandre Oliva
7c0281633f
Update copyright notices of my recent commits.
...
From-SVN: r155766
2010-01-09 14:46:25 +00:00
Alexandre Oliva
994ae26cb5
re PR rtl-optimization/42631 ("-fcompare-debug failure" with "-O1 -funroll-loops")
...
gcc/ChangeLog:
PR debug/42631
* web.c (union_defs): Add used argument, to combine uses of
uninitialized regs.
(entry_register): Adjust type and tests of used argument.
(web_main): Widen used for new use. Pass it to union_defs.
* df.h (union_defs): Adjust prototype.
gcc/testsuite/ChangeLog:
PR debug/42631
* gcc.dg/pr42631.c: New.
From-SVN: r155765
2010-01-09 14:41:51 +00:00
Alexandre Oliva
60c48e4c8d
re PR debug/42630 ("-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops")
...
gcc/ChangeLog:
PR debug/42630
* loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
uses in new incoming argument. Free body.
(reset_debug_uses_in_loop): New.
(analyze_insn_to_expand_var): Call the latter if the former found
anything. Fix whitespace. Reject invalid dest overlaps before
going through all insns in the loop.
gcc/testsuite/ChangeLog:
PR debug/42630
* gcc.dg/pr42630.c: New.
From-SVN: r155764
2010-01-09 14:41:35 +00:00
Alexandre Oliva
bb956f3ea0
re PR debug/42629 ("-fcompare-debug failure (length)" with "-O1 -fsched-pressure -fschedule-insns")
...
gcc/ChangeLog:
PR debug/42629
* haifa-sched.c (dying_use_p): Debug insns don't count.
gcc/testsuite/ChangeLog:
PR debug/42629
* gcc.dg/pr42629.c: New.
From-SVN: r155763
2010-01-09 14:41:17 +00:00
Alexandre Oliva
5de8da9b68
re PR middle-end/42363 (ICE: verify_flow_info failed for gcc.c-torture/compile/pr37913.c -O1 -g)
...
gcc/ChangeLog:
PR middle-end/42363
* gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
* tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
(verify_gimple_call): Reject LHS in noreturn calls.
gcc/testsuite/ChangeLog:
PR middle-end/42363
* gcc.dg/torture/pr42363.c: New.
From-SVN: r155762
2010-01-09 14:40:59 +00:00
Alexandre Oliva
684f25f432
re PR debug/42604 (VTA ICE in the vectorizer)
...
gcc/ChangeLog:
PR debug/42604
PR debug/42395
* tree-vect-loop-manip.c (adjust_info): New type.
(adjust_vec): New pointer to vector.
(adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
(adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
(slpeel_update_phis_for_duplicate_loop): Use them.
(slpeel_update_phi_nodes_for_guard1): Likewise.
(slpeel_update_phi_nodes_for_guard2): Likewise.
(slpeel_tree_peel_loop_to_edge): Likewise.
(vect_update_ivs_after_vectorizer): Likewise.
gcc/testsuite/ChangeLog:
PR debug/42604
PR debug/42395
* gcc.dg/vect/pr42604.c: New.
* gcc.dg/vect/pr42395.c: New.
From-SVN: r155761
2010-01-09 14:40:40 +00:00
Alexandre Oliva
0e00563c88
vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
...
* vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
(DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
From-SVN: r155760
2010-01-09 14:34:43 +00:00
Alexandre Oliva
0ce659eb45
i386.c (ix86_vectorize_builtin_vec_perm): Silence bogus uninitialized warning.
...
* config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
bogus uninitialized warning.
From-SVN: r155759
2010-01-09 14:34:27 +00:00
Joseph Myers
cd792a94a5
* nl.po: Update.
...
From-SVN: r155758
2010-01-09 14:05:33 +00:00
Richard Guenther
73c865fab7
re PR middle-end/42512 (integer wrong code bug with loop)
...
2010-01-09 Richard Guenther <rguenther@suse.de>
PR middle-end/42512
* tree-scalar-evolution.c (interpret_loop_phi): Make sure
the evolution is compatible with the initial condition.
* gcc.c-torture/execute/pr42512.c: New testcase.
From-SVN: r155757
2010-01-09 12:04:17 +00:00