Andreas Tobler
dfa95e1991
freebsd.h: (RELOCATABLE_NEEDS_FIXUP): Define in terms of target_flags_explicit.
...
2011-03-14 Andreas Tobler <andreast@fgznet.ch>
* config/rs6000/freebsd.h: (RELOCATABLE_NEEDS_FIXUP): Define in
terms of target_flags_explicit. Adjust copyright year.
* config.gcc: Add FreeBSD PowerPC soft-float libgcc bits.
* config/rs6000/t-freebsd: New file. Add override for
LIB2FUNCS_EXTRA.
From-SVN: r170930
2011-03-14 07:05:29 +01:00
Jack Howarth
a6c7127054
re PR lto/48086 (bootstrap-lto creates c-common.s with too many sections on x86_64-apple-darwin10)
...
2011-03-13 Jack Howarth <howarth@bromo.med.uc.edu>
PR lto/48086
* configure.ac: Disable LTO on darwin due to an assembler change in
Xcode 3.2.6/4.0 that limits the total number of sections/segments to
under 256.
* configure: Regenerate.
From-SVN: r170929
2011-03-14 02:47:49 +00:00
GCC Administrator
de3ab57bf5
Daily bump.
...
From-SVN: r170928
2011-03-14 00:17:51 +00:00
Chris Demetriou
bb3220188f
invoke.texi (-fdiagnostics-show-option): Replace with...
...
2011-03-13 Chris Demetriou <cgd@google.com>
* doc/invoke.texi (-fdiagnostics-show-option): Replace with...
(-fno-diagnostics-show-option): this, to reflect current default.
(-Werror=): Update text about -fno-diagnostics-show-option.
From-SVN: r170921
2011-03-12 23:38:22 -08:00
Peter Bergner
12b1c80b30
re PR target/48053 (ICE in in build_int_cst_wide, when building cpu2000 galgel/equake/ammp/fma3d/sixtrack)
...
gcc/
PR target/48053
* config/rs6000/predicates.md (easy_vector_constant_add_self,
easy_vector_constant_msb): Do not handle V2DImode and V2DFmode.
* config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that
mode is not V2DImode or V2DFmode.
(vspltis_constant): Do not handle V2DImode and V2DFmode.
(rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg.
* config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX
registers to 0.
(movdi_internal64): Likewise.
gcc/testsuite/
PR target/48053
* gcc/testsuite/gcc.target/powerpc/pr48053-1.c: New test.
* gcc/testsuite/gcc.target/powerpc/pr48053-2.c: Likewise.
From-SVN: r170920
2011-03-12 22:06:41 -06:00
GCC Administrator
d39ac823a3
Daily bump.
...
From-SVN: r170918
2011-03-13 00:18:39 +00:00
Thomas Koenig
5f1baa4907
re PR fortran/48066 (Segfault with SUM of zero-sized array)
...
2011-03-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/48066
* gfortran.dg/intrinsic_ifunction_2.f90: Correct PR number.
From-SVN: r170913
2011-03-12 23:18:09 +00:00
Thomas Koenig
289b782785
re PR fortran/48066 (Segfault with SUM of zero-sized array)
...
2011-03-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/40866
* libgfortran/ChangeLog: Correct PR number.
* gcc/testsuite/ChangeLog: Likewise.
From-SVN: r170912
2011-03-12 23:13:56 +00:00
Thomas Koenig
facc1285b2
re PR fortran/48066 (Segfault with SUM of zero-sized array)
...
2011-03-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/40866
* m4/ifunction.m4: If return array is empty, return.
* m4/ifunction_logical.m4: Likewise.
* generated/all_l16.c: Regenerated.
* generated/all_l1.c: Regenerated.
* generated/all_l2.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l1.c: Regenerated.
* generated/any_l2.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_16_l.c: Regenerated.
* generated/count_1_l.c: Regenerated.
* generated/count_2_l.c: Regenerated.
* generated/count_4_l.c: Regenerated.
* generated/count_8_l.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.
2011-03-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/40866
* gfortran.dg/intrinsic_ifunction_2.f90: New test case.
From-SVN: r170908
2011-03-12 22:39:33 +00:00
Sebastian Pop
57d598f76c
Fix PR47127: call cloog_state_malloc and cloog_state_free only once.
...
2011-03-12 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/47127
* graphite-clast-to-gimple.c (build_cloog_prog): Removed state
parameter.
(set_cloog_options): Same.
(scop_to_clast): Same.
(print_clast_stmt): Do not call cloog_state_malloc and
cloog_state_free.
(print_generated_program): Same.
(gloog): Same.
* graphite-clast-to-gimple.h (cloog_state): Declared.
(scop_to_clast): Adjust declaration.
* graphite.c (cloog_state): Defined here.
(graphite_initialize): Call cloog_state_malloc.
(graphite_finalize): Call cloog_state_free.
From-SVN: r170907
2011-03-12 22:05:38 +00:00
Janus Weil
2e49964fd8
re PR fortran/48059 ([OOP] ICE in in gfc_conv_component_ref: character function of extended type)
...
2011-03-12 Janus Weil <janus@gcc.gnu.org>
PR fortran/48059
* trans-expr.c (gfc_apply_interface_mapping_to_expr): Replace base type
for polymorphic arguments.
2011-03-12 Janus Weil <janus@gcc.gnu.org>
PR fortran/48059
* gfortran.dg/class_41.f03: New.
From-SVN: r170906
2011-03-12 17:58:33 +01:00
Francois-Xavier Coudert
28a0157c80
re PR libfortran/48054 (Documentation for LOG intrinsic function is ambiguous)
...
PR fortran/48054
* intrinsic.texi: Clarify doc of logarithm functions.
From-SVN: r170899
2011-03-12 10:33:54 +00:00
Francois-Xavier Coudert
8e421af998
re PR fortran/47552 (CTIME: Valgrind warning "depends on uninitialised value")
...
PR fortran/47552
* trans-intrinsic.c (gfc_conv_intrinsic_ctime): Fix type of
the string length variable.
From-SVN: r170898
2011-03-12 10:28:01 +00:00
Dodji Seketeli
b057bff4c1
re PR c++/46824 (chromium-compile failed because error: no match for ‘operator*’ in)
...
PR c++/46824
gcc/cp/
* call.c (add_builtin_candidate)<case INDIRECT_REF>: The type
of the argument of the indirection operator should not be
dependent. Fix the comment.
gcc/testsuite/
* g++.dg/conversion/cast3.C: New test.
From-SVN: r170897
2011-03-12 08:28:20 +01:00
Jason Merrill
ba7d31f68a
re PR c++/47125 (ICE occurs in combination with partial specialization and invalid template function.)
...
PR c++/47125
* pt.c (tsubst) [TYPENAME_TYPE]: Only give errors if tf_error.
From-SVN: r170896
2011-03-12 01:48:57 -05:00
Jerry DeLisle
8e71a20690
re PR libfortran/48047 (Incorrect output rounding of double precision numbers)
...
2011-03-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/48047
* io/write_float.def (write_float): Change MIN_FIELD_WIDTH to 48.
From-SVN: r170895
2011-03-12 00:49:51 +00:00
GCC Administrator
548c4e2bcd
Daily bump.
...
From-SVN: r170894
2011-03-12 00:18:58 +00:00
Jason Merrill
8318b14cae
re PR c++/47144 (Doesn't reject attempt to define type in template argument; results in weird parse)
...
PR c++/47144
* parser.c (cp_parser_template_type_arg): Set
type_definition_forbidden_message.
From-SVN: r170888
2011-03-11 17:47:59 -05:00
Jason Merrill
f231b5ff3f
attribs.c (lookup_attribute_spec): Take const_tree.
...
* attribs.c (lookup_attribute_spec): Take const_tree.
* tree.h: Adjust.
* c-family/c-common.c (attribute_takes_identifier_p): Add missing const.
From-SVN: r170887
2011-03-11 17:38:58 -05:00
Jason Merrill
1b9b91a68b
re PR c++/46803 (libstdc++ build errors on invalid OpenBSD system header attributes)
...
PR c++/46803
* c-common.c (attribute_takes_identifier_p): Assume that an
unknown attribute takes an identifier.
From-SVN: r170885
2011-03-11 16:36:02 -05:00
Joseph Myers
6a4e2bd556
sparc.c (sparc_option_override): Use PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2".
...
* config/sparc/sparc.c (sparc_option_override): Use
PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2".
From-SVN: r170879
2011-03-11 16:51:29 +00:00
Jason Merrill
e8d6ec55fd
re PR c++/47808 ([C++0x] internal compiler error: in tsubst_copy_and_build, at cp/pt.c:13326)
...
PR c++/47808
* decl.c (compute_array_index_type): Discard folding
if it didn't produce a constant.
From-SVN: r170878
2011-03-11 11:49:41 -05:00
Richard Guenther
a758fd670c
re PR tree-optimization/48067 (FMA with no add operand produced by convert_mul_to_fma)
...
2011-03-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/48067
* tree-ssa-math-opts.c (convert_mult_to_fma): Verify the
multiplication result will be only used once on the target
stmt.
* gcc.dg/pr48067.c: New testcase.
From-SVN: r170877
2011-03-11 16:36:16 +00:00
Richard Guenther
03dfda5453
invoke.texi (max-inline-insns-single): Adjust default value.
...
2011-03-11 Richard Guenther <rguenther@suse.de>
* doc/invoke.texi (max-inline-insns-single): Adjust default value.
From-SVN: r170876
2011-03-11 16:07:07 +00:00
Richard Guenther
5f11a50a53
re PR c++/48073 (ICE with -flto in templated C++ code)
...
2011-03-11 Richard Guenther <rguenther@suse.de>
PR lto/48073
* tree.c (find_decls_types_r): Do not walk types only reachable
from IDENTIFIER_NODEs.
* g++.dg/lto/20110311-1_0.C: New testcase.
From-SVN: r170875
2011-03-11 15:59:42 +00:00
Jakub Jelinek
e33eba7593
re PR c++/48035 (Mismatch on size of class when initializing hierarchy involving virtual inheritance and empty base classes)
...
PR c++/48035
* init.c (build_zero_init_1): Extracted from build_zero_init.
Add FIELD_SIZE argument, if non-NULL and field bit_position
as not smaller than that, don't add that field's initializer.
Pass DECL_SIZE as last argument to build_zero_init_1
for DECL_FIELD_IS_BASE fields.
(build_zero_init): Use build_zero_init_1.
* g++.dg/inherit/virtual8.C: New test.
From-SVN: r170874
2011-03-11 16:43:37 +01:00
Jakub Jelinek
4074f163fc
re PR middle-end/48044 (ICE in function_and_variable_visibility, at ipa.c:875)
...
PR middle-end/48044
* ipa.c (cgraph_remove_unreachable_nodes): Enqueue
all vnode->force_output nodes as needed.
* gcc.dg/torture/pr48044.c: New test.
From-SVN: r170873
2011-03-11 15:47:26 +01:00
Jason Merrill
30f7cdcde6
re PR c++/48069 (FAIL: g++.old-deja/g++.pt/spec26.C)
...
PR c++/48069
* tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not
COMPLETE_OR_UNBOUND_ARRAY_TYPE_P.
From-SVN: r170872
2011-03-11 09:44:49 -05:00
Janus Weil
0f2a6198d1
re PR fortran/47768 (ICE: printing a derived-type variable with proc-pointer components)
...
2011-03-11 Janus Weil <janus@gcc.gnu.org>
PR fortran/47768
* module.c (ab_attribute,attr_bits): Add AB_PROC_POINTER_COMP.
(mio_symbol_attribute): Handle attribute 'proc_pointer_comp'.
2011-03-11 Janus Weil <janus@gcc.gnu.org>
PR fortran/47768
* gfortran.dg/proc_ptr_comp_31.f90: New.
From-SVN: r170871
2011-03-11 15:13:49 +01:00
Martin Jambor
62ecfeb8b9
cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of cgraph_node.
...
2011-03-11 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of
cgraph_node.
From-SVN: r170870
2011-03-11 14:27:26 +01:00
Richard Guenther
dcb9e2c19a
re PR tree-optimization/47278 (hidden weak function not handled properly)
...
2011-03-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47278
* gcc.dg/torture/pr47278-1.c: New testcase.
* gcc.dg/torture/pr47278-2.c: Likewise.
From-SVN: r170869
2011-03-11 10:45:54 +00:00
Jakub Jelinek
e89e03ab8a
re PR tree-optimization/48063 (ICE: verify_stmts failed: conversion of register to a different size with -fno-early-inlining)
...
PR tree-optimization/48063
* ipa-inline.c (cgraph_decide_inlining): Don't try to
inline functions called once if !tree_can_inline_p (node->callers).
* gcc.dg/torture/pr48063.c: New test.
From-SVN: r170867
2011-03-11 11:04:30 +01:00
Eric Botcazou
efbe978b7a
Fix long lines
...
From-SVN: r170865
2011-03-11 07:02:40 +00:00
Chen Liqin
9d6193a7e2
config.gcc (score-*-elf): add extra_parts .., update tmake_file, extra_objs.
...
* config.gcc (score-*-elf): add extra_parts .., update tmake_file, extra_objs.
* config/score/score3.c: Delete.
* config/score/score3.h: Delete.
* config/score/mul-div.S: Delete.
* config/score/sfp-machine.h: Add new file.
* config/score/constraints.md: Add new file.
* config/score/t-score-softfp: Add new file.
* config/score/t-score-elf: Remove score3.o and multilib generate.
* config/score/score7.c (score7_const_ok_for_letter_p): Delete.
(score7_extra_constraint): Delete.
(score7_option_override): Remove unused code which mode to constraint.md.
* config/score/score.c: Remove score3 and score5 define and code.
* config/score/score.h: Remove score3 and score5 define and code.
* config/score/score.md: Remove score3 template and unusal insn generate.
* config/score/score.opt: Remove score3 and score5 options.
From-SVN: r170864
2011-03-11 05:59:07 +00:00
Chen Liqin
fdc1806ad1
MAINTAINERS: Update myself as score backend maintainer, updatemy e-mail address.
...
* MAINTAINERS: Update myself as score backend maintainer, updatemy e-mail address.
From-SVN: r170863
2011-03-11 03:12:48 +00:00
Ian Lance Taylor
d2822509df
Don't use intermediate .la files building libgo.
...
From-SVN: r170862
2011-03-11 01:00:15 +00:00
GCC Administrator
e6d54f3ad0
Daily bump.
...
From-SVN: r170860
2011-03-11 00:18:24 +00:00
John David Anglin
5de27cca46
pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT when _HPUX_SOURCE is defined.
...
* config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT
when _HPUX_SOURCE is defined.
(LIB_SPEC): Use -lc instead of -lc_r when -threads is specified.
From-SVN: r170855
2011-03-10 23:07:15 +00:00
Jason Merrill
18d920539d
re PR c++/48029 (ICE in finish_member_declaration() with --param ggc-min-expand=0 --param ggc-min-heapsize=0)
...
PR c++/48029
* stor-layout.c (layout_type): Don't set structural equality
on arrays of incomplete type.
* tree.c (type_hash_eq): Handle comparing them properly.
* cp/pt.c (iterative_hash_template_arg): Remove special case for
ARRAY_TYPE.
From-SVN: r170853
2011-03-10 17:37:22 -05:00
Jakub Jelinek
67a2f76d4c
re PR debug/48043 (pr47201: var-tracking loc_order_check fails for type punning examples)
...
PR debug/48043
* config/s390/s390.c (s390_delegitimize_address): Make sure the
result mode matches original rtl mode.
From-SVN: r170851
2011-03-10 19:10:14 +01:00
Jason Merrill
4999d9b013
re PR c++/47198 ([C++0x] ICE: tree check: expected var_decl or function_decl, have template_decl in check_bases_and_members, at cp/class.c:4654 on invalid code)
...
PR c++/47198
* parser.c (cp_parser_single_declaration): Just return if
cp_parser_parse_and_diagnose_invalid_type_name complained.
From-SVN: r170847
2011-03-10 10:21:00 -05:00
Nick Clifton
392426866e
rx.md (andsi3, [...]): Fix timings for three operand alternative.
...
* config/rx/rx.md (andsi3, andsi3_flags): Fix timings for three
operand alternative.
From-SVN: r170846
2011-03-10 11:30:33 +00:00
Nick Clifton
d845b2f96f
* config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings.
...
From-SVN: r170845
2011-03-10 11:25:02 +00:00
Ian Lance Taylor
25d5c0b020
re PR go/48020 (libgo flag test FAILs on Solaris 2)
...
PR go/48020
gotest: Pass -v to nm to avoid sorting on Solaris.
From-SVN: r170842
2011-03-10 00:51:14 +00:00
GCC Administrator
fec83c4fca
Daily bump.
...
From-SVN: r170841
2011-03-10 00:18:40 +00:00
Ian Lance Taylor
bef18456b7
Solaris specific syslog support.
...
From-SVN: r170837
2011-03-09 22:13:09 +00:00
Jakub Jelinek
db7ec03597
re PR rtl-optimization/47866 (gcc.dg/torture/vector-2.c fails on IA64)
...
PR rtl-optimization/47866
* expr.c (store_field): If MEM_SCALAR_P (target), don't use
MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx)
if target wasn't scalar.
* function.c (assign_stack_temp_for_type): Assert that neither
MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either
MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P
macro.
* rtl.h (MEM_SET_IN_STRUCT_P): Removed.
From-SVN: r170834
2011-03-09 21:49:00 +01:00
Ian Lance Taylor
0ad3134110
libgo/README.gcc: Mention GCCGO_RUN_ALL_TESTS.
...
From-SVN: r170828
2011-03-09 19:17:56 +00:00
Paolo Carlini
60c5236ed1
[multiple changes]
...
2011-03-09 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_rvalref.h: Minor tweaks.
2011-03-09 Jonathan Wakely <redi@gcc.gnu.org>
Chris Jefferson <chris@bubblescope.net>
Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/util/testsuite_rvalref.h (rvalstruct_compare_by_value):
New.
* testsuite/25_algorithms/sort_heap/check_compare_by_value.cc:
Likewise.
* testsuite/25_algorithms/partial_sort/check_compare_by_value:
Likewise.
* testsuite/25_algorithms/stable_sort/check_compare_by_value.cc:
Likewise.
* testsuite/25_algorithms/sort/check_compare_by_value: Likewise.
2011-03-09 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/48038
* include/bits/stl_algo.h (__merge_backward): Rename to
__move_merge_backward and change to always move rather than copy.
(__move_merge): New function similar to std::merge except values
are moved instead of copied.
(__merge_adaptive, __merge_sort_loop): Change from using std::merge
and __merge_backward to __move_merge and __move_merge_backward.
From-SVN: r170827
2011-03-09 18:30:11 +00:00
Jason Merrill
3a8face47e
re PR c++/44629 (ICE in unify, at cp/pt.c:15155)
...
PR c++/44629
* pt.c (unify): An unresolved overload is a nondeduced context.
From-SVN: r170824
2011-03-09 12:57:46 -05:00