GCC Administrator
3d34d0a029
Daily bump.
...
From-SVN: r155301
2009-12-17 00:17:02 +00:00
Richard Guenther
cb799353d6
re PR lto/42392 ([LTO] ICE with top level asm)
...
2009-12-16 Richard Guenther <rguenther@suse.de>
PR lto/42392
* langhooks.c (lhd_begin_section): Make sure to switch back
to the text section, not some random one.
* gcc.dg/lto/20091216-1_0.c: New testcase.
From-SVN: r155298
2009-12-16 23:07:10 +00:00
Jason Merrill
483a1dce8a
re PR c++/42387 (ICE with new expression in class template)
...
PR c++/42387
* decl.c (compute_array_index_type): Mark a VLA as dependent.
From-SVN: r155292
2009-12-16 12:36:05 -05:00
Joseph Myers
6568e44adf
* zh_CN.po: Update.
...
From-SVN: r155290
2009-12-16 14:52:44 +00:00
Jakub Jelinek
dc01fed168
tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to (T2)t +- (T2)x if only integer types are involved.
...
* tree-chrec.c (chrec_convert_1): Only fold (T2)(t +- x) to
(T2)t +- (T2)x if only integer types are involved.
* gcc.c-torture/compile/20091215-1.c: New test.
From-SVN: r155288
2009-12-16 13:47:40 +01:00
Ben Elliston
9245e113af
tree-data-ref.h (dot_rdg): Remove prototype.
...
* tree-data-ref.h (dot_rdg): Remove prototype.
* tree-data-ref.c (dog_rdg_1, dot_rdg): Remove.
From-SVN: r155287
2009-12-16 23:32:14 +11:00
Jakub Jelinek
d961d1de0a
* gcc.dg/debug/tls-1.c: New test.
...
From-SVN: r155286
2009-12-16 10:16:44 +01:00
Benjamin Kosnik
861de21eb2
PR libstdc++/21772 part 1
...
2009-12-15 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/21772 part 1
* include/ext/throw_allocator.h: Rework.
(__gnu_cxx::throw_allocator): To...
(__gnu_cxx::throw_allocator_limit): ...this.
(__gnu_cxx::throw_allocator_random): ...and this.
(throw_value_base, throw_value_limit, throw_value_random): Add.
(condition_base, random_condition, limit_condition): Add.
(forced_exception_error): To...
(forced_error): ...this.
* testsuite/ext/throw_value: New.
* testsuite/ext/throw_value/cons.cc: New.
* testsuite/ext/throw_allocator/deallocate_global.cc: Adjust for
throw_allocator, forced_exception_error changes.
* testsuite/ext/throw_allocator/check_delete.cc: Same.
* testsuite/ext/throw_allocator/check_allocate_max_size.cc: Same.
* testsuite/ext/throw_allocator/check_deallocate_null.cc: Same.
* testsuite/ext/throw_allocator/explicit_instantiation.cc: Same.
* testsuite/ext/throw_allocator/check_new.cc: Same.
* testsuite/ext/throw_allocator/variadic_construct.cc: Same.
* testsuite/ext/throw_allocator/deallocate_local.cc: Same.
* testsuite/23_containers/list/modifiers/insert/25288.cc: Same.
* testsuite/23_containers/list/modifiers/insert/25288.h: Same.
* testsuite/util/regression/common_type.hpp: Same.
* testsuite/util/regression/rand/priority_queue/
container_rand_regression_test.tcc: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.h: Same.
* testsuite/util/regression/rand/assoc/
container_rand_regression_test.tcc: Same.
* testsuite/util/regression/basic_type.hpp: Same.
* testsuite/ext/forced_exception_error/cons_virtual_derivation.cc: To...
* testsuite/ext/forced_error/cons_virtual_derivation.cc: ...this, same.
From-SVN: r155283
2009-12-16 05:16:46 +00:00
Kazu Hirata
c7d9f803bb
gfc-internals.texi, [...]: Fix typos.
...
* gfc-internals.texi, gfortran.texi, invoke.texi: Fix typos.
Follow spelling conventions.
From-SVN: r155282
2009-12-16 00:54:44 +00:00
Kazu Hirata
a4ce9883e6
invoke.texi, [...]: Fix typos.
...
* doc/invoke.texi, doc/options.texi, doc/plugins.texi,
doc/tm.texi: Fix typos.
From-SVN: r155281
2009-12-16 00:49:41 +00:00
GCC Administrator
dc899dbd82
Daily bump.
...
From-SVN: r155280
2009-12-16 00:16:44 +00:00
John David Anglin
2516c7cd1e
ffitest.h: Define PRIuPTR on PA HP-UX.
...
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX.
From-SVN: r155277
2009-12-15 23:55:56 +00:00
Paolo Carlini
832fb657d6
2009-12-15 Paolo Carlini <paolo.carlini@oracle.com>
...
* Fix typo in last ChangeLog entry.
From-SVN: r155272
2009-12-15 21:01:00 +00:00
Paolo Carlini
465d76b735
re PR libstdc++/42381 (deque shouldn't reserve that much memory)
...
2009-12-15 Paolo Carlini <paolo.carlini@oracle.com>
PR libsdtc++/42381
* include/bits/stl_deque.h (_GLIBCXX_DEQUE_BUF_SIZE): Add.
(__deque_buf_size(size_t)): Use it.
* testsuite/23_containers/deque/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/deque/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r155271
2009-12-15 20:58:29 +00:00
Jonathan Wakely
abcd7e0847
future (unique_future::get, [...]): Remove workaround for c++/34022.
...
2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/future (unique_future::get, promise::set_value): Remove
workaround for c++/34022.
(packaged_task::get_future, packaged_task::operator()): Use
__throw_bad_function_call.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust.
* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/shared_future/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/unique_future/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/unique_future/cons/copy_neg.cc: Likewise.
From-SVN: r155269
2009-12-15 20:17:27 +00:00
Jason Merrill
8a5d50bd48
re PR c++/42358 ([C++0x] Assembler failure on libstdc++-v3/testsuite/23_containers/multimap/init-list.cc with -O0)
...
PR c++/42358
* pt.c (iterative_hash_template_arg): Completely ignore
ARGUMENT_PACK_SELECT.
From-SVN: r155267
2009-12-15 13:57:39 -05:00
Jason Merrill
37152770b2
re PR c++/42373 (g++.dg/cpp0x/lambda/lambda-mangle.C scan-assembler weak[ \t]*_?_ZN1RIiE1xMUlvE_clEv fails on x86_64-apple-darwin)
...
PR c++/42373
* g++.dg/cpp0x/lambda/lambda-mangle.C: Adjust regexps for darwin.
From-SVN: r155266
2009-12-15 13:57:30 -05:00
Ralf Wildenhues
73b8bfe1d6
Replace tabs with spaces in .texi files.
...
gcc/:
* doc/extend.texi (Function Attributes, Extended Asm):
Replace TABs with spaces.
* doc/md.texi (Standard Names): Likewise.
* doc/plugins.texi (Plugins): Likewise.
From-SVN: r155264
2009-12-15 18:36:44 +00:00
Ralf Wildenhues
1588fb31f6
Fix @itemx vs. @itemx
...
gcc/:
* doc/c-tree.texi (Expression trees): Use @itemx for all but
the first item for merged items.
* doc/extend.texi (Variable Attributes): Likewise.
* doc/install.texi (Configuration): Likewise.
* doc/invoke.texi (RS/6000 and PowerPC Options, RX Options):
Likewise.
From-SVN: r155263
2009-12-15 18:33:16 +00:00
Jonathan Wakely
ec903a9c42
functional (function::function): Move construct target.
...
2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/functional (function::function): Move construct target.
(function::operator=): Use perfect forwarding for argument.
(function::operator()): Use new __throw_bad_function_call.
* include/bits/functexcept.h (__throw_bad_function_call): Declare.
* src/functexcept.cc (__throw_bad_function_call): Define.
* config/abi/pre/gnu.ver: Add new symbol.
* testsuite/20_util/function/cons/move_target.cc: New.
* testsuite/20_util/function/assign/move_target.cc: New.
From-SVN: r155261
2009-12-15 17:42:47 +00:00
Richard Guenther
2a71eb48e4
tree.c (free_lang_data_in_binfo): Do not free BINFO_OFFSET and BINFO_VPTR_FIELD.
...
2009-12-15 Richard Guenther <rguenther@suse.de>
* tree.c (free_lang_data_in_binfo): Do not free BINFO_OFFSET
and BINFO_VPTR_FIELD.
(free_lang_data_in_type): Do not free TYPE_STUB_DECL if we
generate debug information.
(free_lang_data_in_decl): Do not free DECL_SIZE_UNIT,
DECL_SIZE, DECL_FIELD_OFFSET and DECL_FCONTEXT.
(free_lang_data): Do not disable debuginfo.
* lto-streamer-out.c (write_symbol_vec): Deal with
non-constant DECL_SIZE.
(pack_ts_base_value_fields): Write types with false
TREE_ASM_WRITTEN.
(lto_output_ts_type_tree_pointers): Stream TYPE_STUB_DECL.
* lto-streamer-in.c (lto_input_ts_type_tree_pointers): Stream
TYPE_STUB_DECL.
* dwarf2out.c (add_pure_or_virtual_attribute): Check for
DECL_CONTEXT.
(gen_type_die_for_member): Test for TYPE_STUB_DECL.
* opts.c (decode_options): Do not disable var-tracking for lto.
* doc/invoke.texi (-flto): Document -flto vs. -g experimental
status.
(-fwhopr): Document experimental status.
lto/
* lto.c (lto_fixup_field_decl): Fixup DECL_FIELD_OFFSET.
(lto_post_options): Do not disable debuginfo.
From-SVN: r155259
2009-12-15 16:30:22 +00:00
Paolo Carlini
9f81eaccf9
re PR c++/42379 (Revision 155245 failed 1_neg.cc)
...
2009-12-15 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/42379
* testsuite/23_containers/set/operators/1_neg.cc: Fix dg-error strings.
* testsuite/23_containers/map/operators/1_neg.cc: Likewise.
From-SVN: r155258
2009-12-15 16:11:32 +00:00
Rainer Orth
9749695393
* ada/acats/norun.lst: Sort.
...
From-SVN: r155257
2009-12-15 16:02:38 +00:00
Aldy Hernandez
0596e97f1c
re PR tree-optimization/42185 ([graphite] expected gimple_assign(error_mark), have gimple_call() in gimple_assign_rhs_code, at gimple.h:1820)
...
PR graphite/42185
* graphite-sese-to-poly.c (is_reduction_operation_p): Assert that
we are a GIMPLE_ASSIGN. Do not calculate rhs code twice.
(follow_ssa_with_commutative_ops): Return NULL on non assignment.
From-SVN: r155256
2009-12-15 15:17:46 +00:00
Jakub Jelinek
3efd49f9df
re PR c++/41183 (ICE compiling chromium)
...
PR c++/41183
* cp-tree.h (current_class_ptr): Give NULL even when cfun
has NULL cfun->language.
* g++.dg/torture/pr41183.C: New test.
From-SVN: r155254
2009-12-15 16:13:08 +01:00
Eric Botcazou
bb194134ac
* config/rs6000/rs6000.md (probe_stack): Use an enclosing SET.
...
From-SVN: r155251
2009-12-15 11:58:07 +00:00
Richard Guenther
1e4bc4ebc6
gimple.h (compare_field_offset): Declare.
...
2009-12-15 Richard Guenther <rguenther@suse.de>
* gimple.h (compare_field_offset): Declare.
* gimple.c (compare_field_offset): Export.
* lto-streamer-in.c (input_gimple_stmt): Use compare_field_offset.
From-SVN: r155250
2009-12-15 11:32:49 +00:00
Richard Guenther
ede51b1f13
lto-cgraph.c (lto_output_node): Also stream the alias for regular aliases.
...
2009-12-15 Richard Guenther <rguenther@suse.de>
* lto-cgraph.c (lto_output_node): Also stream the alias
for regular aliases.
(input_node): Likewise.
From-SVN: r155249
2009-12-15 11:28:10 +00:00
Tobias Burnus
d94be5e02d
re PR fortran/41235 (Missing explicit interface for variable-length character functions)
...
2009-12-15 Tobias Burnus <burnus@net-b.de>
Daniel Franke <franke.daniel@gmail.com>
PR fortran/41235
* resolve.c (resolve_global_procedure): Add check for
presence of an explicit interface for nonconstant,
nonassumed character-length functions.
(resolve_fl_procedure): Remove check for nonconstant
character-length functions.
2009-12-15 Tobias Burnus <burnus@net-b.de>
PR fortran/41235
* auto_char_len_1.f90: New test.
* auto_char_len_2.f90: New test.
* auto_char_len_4.f90: Correct test.
From-SVN: r155247
2009-12-15 09:37:41 +01:00
Jason Merrill
0857d1f0b1
re PR c++/42364 (C++ testsuite fails with -g)
...
PR c++/42364
* pt.c (function_parameter_expanded_from_pack_p): Don't require
a pack to have a name.
(tsubst_decl): Do typedef magic after applying attributes.
From-SVN: r155246
2009-12-14 21:11:54 -05:00
Paolo Bonzini
6ba6f70d7f
[multiple changes]
...
2009-12-15 Paolo Bonzini <bonzini@gnu.org>
Shujing Zhao <pearly.zhao@oracle.com>
* intl.c (get_spaces): New.
* intl.h (get_spaces): New.
cp:
2009-12-15 Paolo Bonzini <bonzini@gnu.org>
Shujing Zhao <pearly.zhao@oracle.com>
* Makefile.in (cp/pt.o): Depend on intl.h
* call.c (print_z_candidates): Make loop more compact,
choose head string depending on number of candidates,
extract creation of spaces string to intl.c.
* pt.c (print_overloaded_functions): Replace with...
(print_candidates_1): ... this rewrite.
(print_candidates): Rewrite to call print_candidates_1.
(most_specialized_class): Make loop more compact,
choose head string depending on number of candidates,
and size indents depending on translations.
testsuite:
2009-12-15 Shujing Zhao <pearly.zhao@oracle.com>
* g++.dg/other/error20.C: Adjust dg-message strings.
* g++.dg/other/error31.C: Likewise.
* g++.dg/rtti/typeid6.C: Likewise.
* g++.dg/ext/ms-1.C: Likewise.
* g++.dg/parse/error19.C: Likewise.
* g++.dg/parse/crash5.C: Likewise.
* g++.dg/cpp0x/explicit4.C: Likewise.
* g++.dg/template/ptrmem4.C: Likewise.
* g++.dg/template/crash37.C: Likewise.
* g++.dg/template/qualttp5.C: Likewise.
* g++.dg/template/local6.C: Likewise.
* g++.dg/template/instantiate5.C: Likewise.
* g++.old-deja/g++.brendan/overload1.C: Likewise.
* g++.old-deja/g++.brendan/cvt3.C: Likewise.
* g++.old-deja/g++.brendan/overload4.C: Likewise.
* g++.old-deja/g++.jason/conversion11.C: Likewise.
* g++.old-deja/g++.jason/scoping10.C: Likewise.
* g++.old-deja/g++.other/expr1.C: Likewise.
* g++.old-deja/g++.other/pmf3.C: Likewise.
* g++.old-deja/g++.other/crash24.C: Likewise.
* g++.old-deja/g++.niklas/t120.C: Likewise.
* g++.old-deja/g++.niklas/t121.C: Likewise.
* g++.old-deja/g++.law/operators9.C: Likewise.
* g++.old-deja/g++.law/arm9.C: Likewise.
* g++.old-deja/g++.law/enum4.C: Likewise.
* g++.old-deja/g++.law/arg11.C: Likewise.
* g++.old-deja/g++.benjamin/15800-1.C: Likewise.
* g++.old-deja/g++.mike/p2431.C: Likewise.
* g++.old-deja/g++.mike/p438.C: Likewise.
* g++.old-deja/g++.mike/p9068.C: Likewise.
* g++.old-deja/g++.mike/p11110.C: Likewise.
* g++.old-deja/g++.bugs/900330_02.C: Likewise.
From-SVN: r155245
2009-12-15 00:20:03 +00:00
GCC Administrator
9ed796d78b
Daily bump.
...
From-SVN: r155244
2009-12-15 00:16:51 +00:00
Paolo Carlini
82ab4b640b
PR libstdc++/25304, DR 865 [Ready]
...
2009-12-14 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/25304, DR 865 [Ready]
* include/bits/stl_algobase.h (fill_n): Add comment about DR 865.
* include/bits/stl_algo.h (generate_n): Likewise.
* include/bits/algorithmfwd.h: Remove obsolete comment.
* doc/xml/manual/intro.xml: Add an entry for DR 865.
From-SVN: r155241
2009-12-15 00:07:52 +00:00
Ralf Wildenhues
a5d28a1224
Remove code to un-precious-ize CC, CXX in libjava and v3.
...
libjava/:
* configure.ac: Remove code to un-precious-ize CC, CXX,
CXXFLAGS, CFLAGS, LDFLAGS.
* configure: Regenerate.
libstdc++-v3/:
* configure.ac: Remove code to un-precious-ize CC, CXX,
CXXFLAGS, CFLAGS, LDFLAGS.
* configure: Regenerate.
From-SVN: r155240
2009-12-14 21:44:48 +00:00
Uros Bizjak
2fef358e77
i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options.
...
* g++.dg/other/i386-2.C: Add -mpopcnt -mabm -mlwp to dg-options.
* g++.dg/other/i386-3.C: Ditto.
* g++.dg/other/i386-5.C: Remove duplicated test.
* g++.dg/other/i386-6.C: Ditto.
From-SVN: r155238
2009-12-14 21:14:49 +01:00
Jakub Jelinek
c4900c1037
re PR bootstrap/42369 (Revision 155217 failed to bootstrap)
...
PR bootstrap/42369
* config/i386/i386.c (ix86_expand_special_args_builtin): Avoid
using switch with CODE_FOR_lwp_lwp* cases.
From-SVN: r155237
2009-12-14 20:59:00 +01:00
Jakub Jelinek
1f6a2cafda
i386-builtin-types.def (PVOID_FTYPE_VOID): Use DEF_FUNCTION_TYPE (PVOID) instead of DEF_FUNCTION_TYPE (PVOID, VOID).
...
* config/i386/i386-builtin-types.def (PVOID_FTYPE_VOID): Use
DEF_FUNCTION_TYPE (PVOID) instead of DEF_FUNCTION_TYPE (PVOID, VOID).
From-SVN: r155236
2009-12-14 20:53:01 +01:00
Daniel Franke
21779d2e10
re PR fortran/42354 (Invalidly accepts C_LOC in init expressions)
...
gcc/fortran/:
2009-12-14 Daniel Franke <franke.daniel@gmail.com>
PR fortran/42354
* expr.c (check_init_expr): Do not check for specification functions.
gcc/testsuite/:
2009-12-14 Daniel Franke <franke.daniel@gmail.com>
PR fortran/42354
* gfortran.dg/iso_c_binding_init_expr.f03: New.
* gfortran.dg/intrinsic_std_1.f90: Fixed expected error message.
* gfortran.dg/function_kinds_5.f90: Likewise.
* gfortran.dg/selected_char_kind_3.f90: Likewise.
From-SVN: r155234
2009-12-14 14:10:56 -05:00
Eric Botcazou
4e25ca6b30
cfgexpand.c (expand_debug_expr): Remove overzealous assertion and useless code.
...
* cfgexpand.c (expand_debug_expr) <INDIRECT_REF>: Remove overzealous
assertion and useless code.
<TARGET_MEM_REF>: Likewise.
From-SVN: r155229
2009-12-14 18:27:58 +00:00
Dominique d'Humieres
3c0c50279b
boz_15.f90: Fix typos.
...
* gfortran.dg/boz_15.f90: Fix typos.
From-SVN: r155225
2009-12-14 18:56:12 +01:00
Jakub Jelinek
e07983ba5f
Fix up ChangeLog entry.
...
From-SVN: r155223
2009-12-14 18:30:48 +01:00
Alexandre Oliva
2a7d7a8dd7
re PR target/41473 (dsymutil "Assertion failed ...")
...
PR debug/41473
* dwarf2out.c (AT_loc_list_ptr): New.
(resolve_addr): Remove unresolved attributes and loc_list entries.
From-SVN: r155222
2009-12-14 17:55:52 +01:00
Alexandre Oliva
23198957a2
re PR target/41473 (dsymutil "Assertion failed ...")
...
PR debug/41473
* dwarf2out.c (add_var_loc_to_decl): Don't drop initial empty
locations.
(new_loc_list): Drop gensym arg. Move generation of ll_symbol...
(gen_llsym): ... here. New function.
(add_loc_descr_to_loc_list): Removed.
(loc_descriptor): Infer mode from CONST_DOUBLEs and CONST_VECTORs.
(single_element_loc_list): Removed.
(dw_loc_list): Don't create entries without a location. Don't
special-case the first node of the list, only single nodes.
(single_element_loc_list_p): Simplify.
(loc_list_from_tree): Don't use DECL_RTL if loc_list is nonempty.
(add_location_or_const_value_attribute): Test var loc for NULL.
(convert_cfa_to_fb_loc_list): Adjust calls to new new_loc_list,
call gen_llsym if needed.
From-SVN: r155221
2009-12-14 17:55:12 +01:00
Jakub Jelinek
20cdc2be22
cgraph.h (cgraph_set_nothrow_flag, [...]): New prototypes.
...
* cgraph.h (cgraph_set_nothrow_flag, cgraph_set_readonly_flag,
cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New
prototypes.
* cgraph.c (cgraph_set_nothrow_flag, cgraph_set_readonly_flag,
cgraph_set_pure_flag, cgraph_set_looping_const_or_pure_flag): New
functions.
* except.h (set_nothrow_function_flags): Remove prototype.
* except.c (set_nothrow_function_flags): Use cgraph_set_nothrow_flag.
Make static.
* ipa-pure-const.c (propagate): Use cgraph_set_nothrow_flag,
cgraph_set_readonly_flag, cgraph_set_pure_flag
and cgraph_set_looping_const_or_pure_flag.
(local_pure_const): Likewise.
From-SVN: r155220
2009-12-14 17:53:57 +01:00
Sebastian Pop
7cb792f510
re PR tree-optimization/42284 (failing tree check in graphite-sese-to-poly.c for 164.gzip)
...
PR middle-end/42284
* testsuite/gcc.dg/graphite/pr42284.c: New.
From-SVN: r155219
2009-12-14 16:51:43 +00:00
Sebastian Pop
c880097da2
re PR tree-optimization/42284 (failing tree check in graphite-sese-to-poly.c for 164.gzip)
...
Fix PR42284.
2009-12-12 Sebastian Pop <sebpop@gmail.com>
PR middle-end/42284
* graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Call
insert_out_of_ssa_copy_on_edge for anything else than SSA_NAMEs.
(detect_commutative_reduction_arg): Simplified.
(detect_commutative_reduction): Early return when the argument of
the close phi is not of an SSA_NAME.
* testsuite/gcc.dg/graphite/pr42284.c: New.
From-SVN: r155218
2009-12-14 16:49:47 +00:00
Jakub Jelinek
519517fd49
Fix LWP.
...
2009-12-14 Jakub Jelinek <jakub@redhat.com>
Sebastian Pop <sebastian.pop@amd.com>
* config/i386/i386-builtin-types.def (PVOID): Declared.
(VOID_FTYPE_PVOID): Declared.
(PVOID_FTYPE_VOID): Declared.
(UCHAR_FTYPE_USHORT_UINT_USHORT): Removed.
(VOID_FTYPE_USHORT_UINT_USHORT): Removed.
* config/i386/i386.c (IX86_BUILTIN_LLWPCB16, IX86_BUILTIN_LLWPCB32,
IX86_BUILTIN_LLWPCB64, IX86_BUILTIN_SLWPCB16, IX86_BUILTIN_SLWPCB32,
IX86_BUILTIN_SLWPCB64, IX86_BUILTIN_LWPVAL16, IX86_BUILTIN_LWPINS16):
Removed.
(IX86_BUILTIN_LLWPCB, IX86_BUILTIN_SLWPCB): New.
(bdesc_special_args): Adjust declaration of __builtin_ia32_llwpcb,
__builtin_ia32_slwpcb, __builtin_ia32_lwpval32,
__builtin_ia32_lwpval64, __builtin_ia32_lwpins32, and
__builtin_ia32_lwpins64.
(ix86_expand_special_args_builtin): Handle VOID_FTYPE_PVOID.
Do not handle VOID_FTYPE_USHORT_UINT_USHORT and
UCHAR_FTYPE_USHORT_UINT_USHORT. Warn when the third operand is
not an immediate. Also handle builtin functions with 3 arguments.
(ix86_expand_builtin): Handle IX86_BUILTIN_LLWPCB and
IX86_BUILTIN_SLWPCB.
* config/i386/i386.md (UNSPEC_LLWP_INTRINSIC, UNSPEC_SLWP_INTRINSIC):
Renamed UNSPECV_LLWP_INTRINSIC and UNSPECV_SLWP_INTRINSIC.
(memory attribute): Handle lwp.
(lwp*): Rewrite all the insn patterns for LWP.
* config/i386/lwpintrin.h (__llwpcb16, __llwpcb32, __llwpcb64,
__slwpcb16, __slwpcb32, __slwpcb64, __lwpval16, __lwpins16): Removed.
(__llwpcb, __slwpcb): New.
testsuite/
* gcc.target/i386/sse-12.c: Add -mpopcnt and -mlwp.
* gcc.target/i386/sse-13.c: Same.
(__builtin_ia32_lwpval32, __builtin_ia32_lwpval64,
__builtin_ia32_lwpins32, __builtin_ia32_lwpins64): Added testcases.
* gcc.target/i386/sse-14.c: Add -mpopcnt -mabm -mlwp.
Added tests for __lwpval32, __lwpins32, __lwpval64, and __lwpins64.
* gcc.target/i386/sse-22.c: Added tests for popcnt, abm, and lwp.
* gcc.target/i386/sse-23.c: Same.
Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
From-SVN: r155217
2009-12-14 16:45:11 +00:00
Paolo Carlini
e49fd61b53
explicit_instantiation/1_c++0x.cc: New.
...
2009-12-14 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/23_containers/queue/requirements/
explicit_instantiation/1_c++0x.cc: New.
* testsuite/23_containers/priority_queue/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/multimap/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/bitset/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/set/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/vector/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/deque/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/stack/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/multiset/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/list/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
* testsuite/23_containers/map/requirements/
explicit_instantiation/1_c++0x.cc: Likewise.
From-SVN: r155215
2009-12-14 15:01:23 +00:00
Joseph Myers
27cd4d3e5f
* zh_CN.po: Update.
...
From-SVN: r155213
2009-12-14 12:50:14 +00:00
Dmitry Gorbachev
a818bca1e3
Make-lang.in ($(LTO_EXE)): Use $(LINKER).
...
2009-12-14 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
* Make-lang.in ($(LTO_EXE)): Use $(LINKER).
From-SVN: r155212
2009-12-14 10:42:52 +00:00