Nicolas Benoit
4b9c607584
ebitmap.c: Change calls to verify_popcount with calls to sbitmap_verify_popcount.
...
2010-02-25 Nicolas Benoit <nbenoit@tuxfamily.org>
* ebitmap.c: Change calls to verify_popcount with calls to
sbitmap_verify_popcount.
(ebitmap_clear_bit): Fixed map->cacheindex test and
map>cache update when bit clearing results in an empty
element.
From-SVN: r157080
2010-02-25 20:51:27 -05:00
Eric Botcazou
cac1c927c2
* g++.dg/abi/packed1.C: Expect warning on the SPARC.
...
From-SVN: r157079
2010-02-26 00:21:04 +00:00
GCC Administrator
bac872a35a
Daily bump.
...
From-SVN: r157078
2010-02-26 00:17:00 +00:00
Michael Meissner
2fcd8e02d6
Fix PR target/43154
...
From-SVN: r157074
2010-02-25 22:26:55 +00:00
Gerald Pfeifer
f61ae06585
extend.texi (Symbol-Renaming Pragmas): Fix spelling of #pragma extern_prefix.
...
* doc/extend.texi (Symbol-Renaming Pragmas): Fix spelling of
#pragma extern_prefix.
From-SVN: r157072
2010-02-25 20:48:57 +00:00
Ed Smith-Rowland
7703dc47e1
random.tcc (operator<<): Use max_digits10.
...
2010-02-25 Ed Smith-Rowland <3dw4rd@verizon.net>
* include/bits/random.tcc (operator<<): Use max_digits10.
From-SVN: r157068
2010-02-25 17:34:30 +00:00
Ed Smith-Rowland
018afad39f
limits (__numeric_limits_base::max_digits10, [...]): Add.
...
2010-02-25 Ed Smith-Rowland <3dw4rd@verizon.net>
* include/std/limits (__numeric_limits_base::max_digits10,
numeric_limits<>::max_digits10, numeric_limits<>::lowest): Add.
* src/limits.cc: Define max_digits10.
* config/abi/pre/gnu.ver: Adjust.
* testsuite/18_support/numeric_limits/dr559.cc: Test max_digits10
and lowest too.
* testsuite/18_support/numeric_limits/lowest.cc: New.
* testsuite/18_support/numeric_limits/max_digits10.cc: New.
From-SVN: r157067
2010-02-25 17:13:04 +00:00
Paolo Carlini
640f8e6548
functional_hash.h (__hash_combine): Remove.
...
2010-02-25 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/functional_hash.h (__hash_combine): Remove.
(_Fnv_hash_base<>::hash(const char*, size_t)): Add defaulted
hash parameter.
(_Fnv_hash::__hash_combine(const _Tp&, size_t)): Add.
* include/std/system_error (hash<system_error>): Adjust.
* src/compatibility-c++0x.cc (hash<system_error>): Likewise.
From-SVN: r157065
2010-02-25 13:32:52 +00:00
Jakub Jelinek
0679656478
re PR debug/43166 (ICE in simplify_subreg on fortran code)
...
PR debug/43166
* cfgexpand.c (expand_debug_expr) <case VAR_DECL>: If mode is
BLKmode, assert op0 is a MEM and just adjust its mode.
* trans-common.c (build_common_decl): Also update DECL_MODE,
and DECL_SIZE when encountering a larger common block and call
layout_decl.
* gfortran.dg/debug/pr43166.f: New test.
From-SVN: r157063
2010-02-25 11:50:24 +01:00
Jakub Jelinek
7d5d39bb9d
re PR debug/43165 (ice in simplify_subreg, at simplify-rtx.c:5146)
...
PR debug/43165
* cfgexpand.c (expand_debug_expr): Don't call simplify_gen_subreg
if bitpos isn't multiple of mode's bitsize.
* gcc.dg/torture/pr43165.c: New test.
From-SVN: r157062
2010-02-25 11:41:52 +01:00
Jerry DeLisle
f205d1da0f
Fix ChangeLog Entry.
...
From-SVN: r157061
2010-02-25 05:53:35 +00:00
Jerry DeLisle
f983954d59
transfer.c (require_type): Subtract one from item_count for output of error message.
...
2010-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/transfer.c (require_type): Subtract one from item_count for output
of error message. Add comment before formatted_transfer function
explaining why the item_count is off by one.
From-SVN: r157060
2010-02-25 05:47:10 +00:00
Benjamin Kosnik
03a32789f4
faq.xml: Adjust structure for pdf index.
...
2010-02-24 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/faq.xml: Adjust structure for pdf index.
* doc/xml/manual/mt_allocator.xml: Same.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/ctype.xml: Same.
* doc/xml/manual/numerics.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/intro.xml: Same.
* doc/xml/manual/shared_ptr.xml: Same.
* doc/xml/manual/status_cxxtr1.xml: Same.
* doc/xml/manual/auto_ptr.xml: Same.
* doc/xml/manual/internals.xml: Same.
* doc/xml/manual/status_cxx1998.xml: Same.
* doc/xml/manual/parallel_mode.xml: Same.
* doc/xml/manual/profile_mode.xml: Same.
* doc/xml/manual/containers.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/concurrency_extensions.xml: Same.
* doc/xml/manual/appendix_porting.xml: Same.
* doc/xml/manual/utilities.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/bitmap_allocator.xml: Same.
* doc/xml/manual/configure.xml: Same.
* doc/xml/manual/build_hacking.xml: Same.
* doc/xml/manual/evolution.xml: Same.
* doc/xml/manual/using.xml: Same.
* doc/xml/manual/debug.xml: Same.
* doc/xml/manual/localization.xml: Same.
* doc/xml/manual/strings.xml: Same.
* doc/xml/manual/debug_mode.xml: Same.
* doc/xml/manual/locale.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/prerequisites.xml: Same.
* doc/xml/manual/messages.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/algorithms.xml: Same.
* doc/xml/manual/appendix_free.xml: Same.
* doc/xml/manual/iterators.xml: Same.
* doc/xml/manual/spine.xml: Same.
* doc/xml/manual/status_cxxtr24733.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Same.
* doc/Makefile.am: Refactor.
* doc/Makefile.in: Regenerate.
* include/bits/c++0x_warning.h: Tweak doxygen file markup.
From-SVN: r157059
2010-02-25 01:22:57 +00:00
GCC Administrator
72c2ffd351
Daily bump.
...
From-SVN: r157058
2010-02-25 00:17:16 +00:00
Manuel López-Ibáñez
124e0d274a
c.opt (-ftemplate-depth=): New.
...
2010-02-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c.opt (-ftemplate-depth=): New.
(-ftemplate-depth-): Deprecate.
* optc-gen.awk: Handle -ftemplate-depth=.
* opth-gen.awk: Likewise.
* c-opts.c (c_common_handle_option): Likewise.
* doc/invoke.texi (-ftemplate-depth-): Replace with
-ftemplate-depth=.
cp/
* pt.c (push_tinst_level): Replace -ftemplate-depth- with
-ftemplate-depth=.
From-SVN: r157054
2010-02-24 20:41:01 +00:00
Jason Merrill
0e7750a010
* doc/invoke.texi: Improve -Wabi and -fabi-version docs.
...
From-SVN: r157053
2010-02-24 14:26:45 -05:00
Jason Merrill
b66093b0c2
re PR c++/12909 (ambiguity in mangling vector types)
...
PR c++/12909
* mangle.c (write_type): Give -Wabi warning for old vector mangling.
From-SVN: r157052
2010-02-24 14:26:38 -05:00
Jason Merrill
254d1a5a0c
class.c (layout_class_type): Don't give -Wabi warning for a bug in a previous ABI version.
...
* class.c (layout_class_type): Don't give -Wabi warning for a bug
in a previous ABI version.
From-SVN: r157051
2010-02-24 14:26:29 -05:00
Rainer Orth
22faf0048f
libffi.texi (The Closure API): Fix typo.
...
* doc/libffi.texi (The Closure API): Fix typo.
* doc/libffi.info: Remove.
From-SVN: r157049
2010-02-24 16:02:17 +00:00
Rainer Orth
28c64ec893
* io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.
...
From-SVN: r157048
2010-02-24 15:35:40 +00:00
Andrew Haley
9da60d2a10
re PR java/40816 (error: 'jvariant::jvariant(jbyte)' cannot be overloaded)
...
2010-02-24 Andrew Haley <aph@redhat.com>
PR java/40816
* include/jni_md.h: jboolean is an unsigned type.
From-SVN: r157047
2010-02-24 15:34:19 +00:00
Rainer Orth
241b534ec9
deallocate_global.cc: Require __cxa_atexit.
...
* testsuite/ext/new_allocator/deallocate_global.cc: Require
__cxa_atexit.
* testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
From-SVN: r157046
2010-02-24 15:31:22 +00:00
Rainer Orth
c26238f4ed
cfg.c (alloc_aux_for_block): Remove inline.
...
* cfg.c (alloc_aux_for_block): Remove inline.
(alloc_aux_for_edge): Likewise.
From-SVN: r157045
2010-02-24 15:27:46 +00:00
Rainer Orth
bef64e0fad
* config.gcc: Fix typo in mips-sgi-irix6.[0-4]* obsoletion.
...
From-SVN: r157043
2010-02-24 14:40:32 +00:00
Rainer Orth
68ba2afe7c
sol2.h (NO_DBX_BNSYM_ENSYM): Define.
...
* config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define.
* config/i386/sol2-gas.h: New file.
* config.gcc (i[34567]86-*-solaris2*): Use it.
From-SVN: r157042
2010-02-24 13:57:20 +00:00
Manuel López-Ibáñez
2d2e923fc1
re PR c/43128 (c-c++-common/pr41779.c doesn't work)
...
2010-02-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/43128
* c-typeck.c (ep_convert_and_check): New.
(build_conditional_expr): Use it.
(build_binary_op): Likewise.
testsuite/
* c-c++-common/pr41779.c: Update.
From-SVN: r157040
2010-02-24 13:09:37 +00:00
Joseph Myers
015e9be7de
* zh_CN.po: Update.
...
From-SVN: r157039
2010-02-24 12:53:53 +00:00
Joseph Myers
696a28cf7f
* zh_CN.po: Update.
...
From-SVN: r157038
2010-02-24 12:53:05 +00:00
Rainer Orth
39e998c280
re PR testsuite/32547 (gnat.dg tasking tests fail on IRIX 5.3)
...
PR ada/32547
* lib/gnat-dg.exp (gnat_load): Redefine.
* ada/acats/run_acats: Run run_all.sh with $SHELL.
* ada/acats/run_all.sh: Downcase tasking not implemented message.
From-SVN: r157037
2010-02-24 12:51:44 +00:00
Rainer Orth
2607480d15
re PR libobjc/36610 (objc_msg_sendv is broken for targets which pass argument via registers)
...
PR libobjc/36610
* objc/execute/forward-1.x: XFAIL on alpha*-dec-osf*, 64-bit
i?86-*-solaris2*, mips-sgi-irix*, sparc*-sun-solaris2* with
-fgnu-runtime.
Sort entries.
From-SVN: r157035
2010-02-24 11:56:10 +00:00
Rainer Orth
3e7eefddce
* gcc.dg/cpp/_Pragma6.c: Skip on mips-sgi-irix*, alpha*-dec-osf*.
...
From-SVN: r157034
2010-02-24 11:50:07 +00:00
Jakub Jelinek
a46368b25d
* regcprop.c (copyprop_hardreg_forward_1): Don't call df_insn_rescan.
...
From-SVN: r157033
2010-02-24 11:51:15 +01:00
Jakub Jelinek
2e9577924b
re PR debug/43150 (Proper debug info for debugging VLAs)
...
PR debug/43150
* gimplify.c (gimplify_type_sizes): Clear DECL_IGNORED_P for VLA
bounds even for -O+.
* var-tracking.c (track_expr_p): If !need_rtl, don't mandate
expr needs to have DECL_NAME set.
* gcc.dg/guality/vla-1.c: New test.
From-SVN: r157032
2010-02-24 11:50:13 +01:00
Nick Clifton
12a54f548b
mep.c: Include gimple.h.
...
* config/mep/mep.c: Include gimple.h.
(mep_function_uses_sp): Delete unused function.
(mep_gimplify_va_arg_expr): Change types of pre_p and post_p
parameters. Use unsigned integers to count args. Return a
NULL_RTX instead of an error_mark_node. Toidy up formatting.
From-SVN: r157031
2010-02-24 09:39:57 +00:00
Tobias Burnus
505a36f95b
[multiple changes]
...
2010-02-24 Tobias Burnus <burnus@net-b.de>
PR fortran/43042
* trans-expr.c (gfc_conv_initializer): Call directly
gfc_conv_constant for C_NULL_(FUN)PTR.
2010-02-24 Tobias Burnus <burnus@net-b.de>
PR fortran/43042
* gfortran.dg/c_ptr_tests_15.f90: New test.
From-SVN: r157029
2010-02-24 08:00:35 +01:00
Benjamin Kosnik
d8a06a8231
concurrency.xml: Move...
...
2010-02-23 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/manual/concurrency.xml: Move...
* doc/xml/manual/concurrency_extensions.xml: ...here.
* doc/xml/manual/extensions.xml: Adjust.
* doc/Makefile.am: Adjust.
* doc/Makefile.in: Regenerate.
From-SVN: r157027
2010-02-24 01:46:03 +00:00
GCC Administrator
5ae62e7bb1
Daily bump.
...
From-SVN: r157026
2010-02-24 00:16:42 +00:00
Benjamin Kosnik
037181bc87
random.h: Doxygen group markup fixes.
...
2010-02-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/random.h: Doxygen group markup fixes.
From-SVN: r157023
2010-02-23 23:53:17 +00:00
Jakub Jelinek
8f40ad5019
re PR target/43107 (ICE: SIGSEGV with -O3 -mavx)
...
PR target/43107
* config/i386/i386.c (avx_vpermilp_parallel): Reject indexes
greater or equal to nelt instead of 2 * nelt.
(expand_vec_perm_1): When op0 and op1 are equal, mask indexes
with nelt - 1.
* gcc.target/i386/pr43107.c: New test.
From-SVN: r157022
2010-02-23 23:52:20 +01:00
Jason Merrill
c6569cd04e
re PR c++/43143 ([c++0x] array value-initialization and variadics)
...
PR c++/43143
* typeck2.c (digest_init_r): Accept value init of array.
From-SVN: r157015
2010-02-23 13:32:20 -05:00
Jason Merrill
3adcf52c82
re PR debug/42800 (VLA DW_AT_upper_bound is no longer emitted)
...
PR debug/42800
* cfgexpand.c (expand_used_vars): Keep artificial non-ignored vars
in cfun->local_decls even if they have register types.
From-SVN: r157014
2010-02-23 13:32:09 -05:00
Jason Merrill
a3b20e90b1
re PR c++/42837 (FAIL: g++.dg/abi/packed1.C execution test)
...
PR c++/42837
* stor-layout.c (place_field): Don't warn about unnecessary DECL_PACKED
if the type is packed.
From-SVN: r157013
2010-02-23 13:31:58 -05:00
Jakub Jelinek
5ead99faad
re PR target/43139 (ICE in output_operand)
...
PR target/43139
* config/i386/i386.c (ix86_delegitimize_address): Delegitimize all
GOTOFF relocs, even when the base reg isn't pic pointer.
* gcc.dg/pr43139.c: New test.
From-SVN: r157011
2010-02-23 18:05:56 +01:00
Michael Matz
2a8e30fbf3
re PR debug/43077 (VTA issues caused by SSA expand)
...
PR debug/43077
* cfgexpand (expand_debug_expr): Expand TERed ssa names in place.
(expand_gimple_basic_block): Generate and use debug temps if there
are debug uses left after the last real use of TERed ssa names.
Unlink debug immediate uses when they are expanded.
testsuite/
PR debug/43077
* gcc.dg/guality/pr43077-1.c: New test.
From-SVN: r157009
2010-02-23 16:41:52 +00:00
Manuel López-Ibáñez
38170f34f3
re PR target/43123 (wrong value for march or mtune produces confusing output)
...
2010-02-23 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR 43123
* config/i386/i386.c (override_options): Reorganise to provide
better error messages.
testsuite/
* gcc.dg/march.c: New.
* gcc.dg/march-generic.c: New.
* gcc.dg/mtune.c: New.
From-SVN: r157007
2010-02-23 15:51:42 +00:00
Paolo Carlini
5c8db18ac6
functional_hash.h (struct _Fnv_hash): Rename to _Fnv_hash_base.
...
2010-02-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/functional_hash.h (struct _Fnv_hash): Rename
to _Fnv_hash_base.
(struct _Fnv_hash): Add, derives from the latter.
(__hash_combine): Add.
(hash<float>::operator()(float), hash<double>::operator()(double)):
Adjust.
* include/bits/basic_string.h (hash<string>, hash<wstring>,
hash<u16string>, hash<u32string>): Adjust.
* src/hash-string-aux.cc: Adjust.
* src/compatibility-c++0x.cc (hash<error_code>): Use __hash_combine.
* include/std/system_error (hash<error_code>): Likewise.
* include/std/thread (struct hash<thread::id>): Add.
* include/tr1/functional_hash.h : Rename to _Fnv_hash_base.
(struct _Fnv_hash): Add, derives from the latter.
(hash<float>::operator()(float), hash<double>::operator()(double)):
Adjust.
* testsuite/30_threads/thread/id/hash.cc: New.
* testsuite/30_threads/thread/cons/assign_neg.cc: Adjust dg-error
line number.
* testsuite/30_threads/thread/cons/copy_neg.cc: Likewise.
From-SVN: r157005
2010-02-23 15:23:37 +00:00
Sebastian Pop
0f9c8f569d
Add ChangeLog entries.
...
From-SVN: r156999
2010-02-23 13:00:21 +00:00
Sebastian Pop
4e72267360
Add missing changelog entry.
...
From-SVN: r156998
2010-02-23 13:00:05 +00:00
Sebastian Pop
4caa8e21cf
Fix PR43083: Do not handle regions ending with multiple edges on the exit BB.
...
2010-02-22 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43083
* graphite-scop-detection.c (create_single_exit_edge): Move
the call to find_single_exit_edge to....
(create_sese_edges): ...here. Don't handle multiple edges
exiting the function.
(build_graphite_scops): Don't handle multiple edges
exiting the function.
* gcc.dg/graphite/pr43083.c: New.
From-SVN: r156997
2010-02-23 12:59:48 +00:00
Sebastian Pop
b8df8b8b99
Fix PR number in the changelog entry.
...
From-SVN: r156996
2010-02-23 12:59:32 +00:00