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
Sebastian Pop
c3382979d0
Fix PR43097: rename only SSA_NAMEs.
...
2010-02-22 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43140
* sese.c (get_rename): Assert that old_name is an SSA_NAME.
(rename_variables_in_stmt): Continue when the use is not an SSA_NAME.
* gfortran.dg/graphite/pr43097.f: New.
From-SVN: r156995
2010-02-23 12:59:17 +00:00
Sebastian Pop
13cd10a221
Fix PR43140: Add -Wno-conversion-null to pr41305.C.
...
2010-02-22 Sebastian Pop <sebastian.pop@amd.com>
Manuel López-Ibáñez <manu@gcc.gnu.org>
PR middle-end/43140
* g++.dg/graphite/pr41305.C: Add -Wno-conversion-null.
Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
From-SVN: r156994
2010-02-23 12:59:00 +00:00
Sebastian Pop
143b72a99d
Fix PR43026: handle COMPONENT_REFs in expand scalar expressions.
...
2010-02-11 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/43026
* sese.c (expand_scalar_variables_expr): Handle COMPONENT_REF.
* g++.dg/graphite/pr43026.C: New.
From-SVN: r156993
2010-02-23 12:58:44 +00:00
Jerry DeLisle
3bbc846211
list_read.c (list_formatted_read_scalar): Remove duplicate code.
...
2010-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/list_read.c (list_formatted_read_scalar): Remove duplicate code.
From-SVN: r156988
2010-02-23 05:00:42 +00:00
GCC Administrator
f5d174c8c3
Daily bump.
...
From-SVN: r156985
2010-02-23 00:17:05 +00:00
Janis Johnson
5b557fc6e4
* src/compatibility-ldbl.cc: Include new hash-long-double-aux.cc.
...
From-SVN: r156982
2010-02-22 23:51:07 +00:00
Paolo Carlini
9dd17e69b7
hash-aux.cc: Rename to...
...
2010-02-22 Paolo Carlini <paolo.carlini@oracle.com>
* src/hash-aux.cc: Rename to...
* src/hash-string-aux.cc: ... this.
* src/hash-long-double-aux.cc: New.
* src/hash_c++0x.cc: Adjust.
* src/hash_tr1.cc: Likewise.
* src/compatibility-c++0x.cc: Likewise.
From-SVN: r156981
2010-02-22 22:54:49 +00:00
Benjamin Kosnik
09d6794b5e
class.txml: Adjust biblio markup.
...
2010-02-22 Benjamin Kosnik <bkoz@redhat.com>
* doc/xml/class.txml: Adjust biblio markup.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/ctype.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/abi.xml: Same.
* doc/xml/manual/shared_ptr.xml: Same.
* doc/xml/manual/profile_mode.xml: Same.
* doc/xml/manual/using_exceptions.xml: Same.
* doc/xml/manual/locale.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/messages.xml: Same.
* doc/Makefile.am (DBLATEX_FLAGS): Adjust.
* doc/Makefile.in: Regenerate.
From-SVN: r156980
2010-02-22 22:52:11 +00:00
Manuel López-Ibáñez
a98c281937
re PR c++/43126 ("at this point in file" warnings are upside down)
...
2010-02-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c++/43126
* c-typeck.c (convert_arguments): Print declaration location.
* c-common.c (validate_nargs): Rename as
builtin_function_validate_nargs.
(check_builtin_function_arguments): Update.
cp/
* typeck.c (convert_arguments): Update error message.
testsuite/
* gcc.dg/cleanup-1.c: Update.
* gcc.dg/func-args-1.c: Update.
* gcc.dg/format/sentinel-1.c: Update.
* g++.old-deja/g++.jason/scoping10.C: Update.
* g++.old-deja/g++.ns/lookup5.C: Update.
* g++.dg/ext/cleanup-1.C: Update.
* g++.dg/parse/varmod1.C: Update.
* g++.dg/parse/error33.C: Update.
* g++.dg/expr/call3.C: Update.
* g++.dg/func-args-1.C: New.
From-SVN: r156979
2010-02-22 22:30:45 +00:00
Mike Stump
3a7ba0405d
Merge DECL_PRESERVE_P for C++.
...
2010-02-22 Mike Stump <mikestump@comcast.net>
PR c++/43125
* decl.c (duplicate_decls): Merge DECL_PRESERVE_P.
From-SVN: r156977
2010-02-22 13:57:22 -08:00
H.J. Lu
38bddaf26d
Move C tests for used attribute to c-c++-common.
...
2010-02-22 H.J. Lu <hongjiu.lu@intel.com>
PR c/43125
* gcc.dg/attr-used-2.c: Moved to ...
* c-c++-common/attr-used-2.c: Here.
* gcc.dg/attr-used.c: Moved to ...
* c-c++-common/attr-used.c: Here.
From-SVN: r156976
2010-02-22 13:33:21 -08:00
François Dumont
e2553a4c5e
profile_mode.xml: Minor updates and fixes.
...
2010-02-22 François Dumont <francois.cppdevs@free.fr>
* doc/xml/manual/profile_mode.xml: Minor updates and fixes.
* doc/xml/manual/debug_mode.xml: Likewise.
* doc/xml/manual/test.xml: Likewise.
From-SVN: r156975
2010-02-22 21:21:17 +00:00
Ozkan Sezer
8d7746235a
991014-1.c: Use __SIZE_TYPE__ for size types.
...
2010-02-22 Ozkan Sezer <sezeroz@gmail.com>
* gcc.c-torture/execute/991014-1.c: Use __SIZE_TYPE__ for size types.
From-SVN: r156974
2010-02-22 21:15:41 +00:00