Andrew Haley [Wed, 18 Apr 2007 17:13:20 +0000 (17:13 +0000)]
natVMProxy.cc (ncode_closure): Add method_index.
2007-04-18 Andrew Haley <aph@redhat.com>
* java/lang/reflect/natVMProxy.cc (ncode_closure): Add
method_index.
(generateProxyClass): Add field $Proxy0.m. Store methods array in
it.
(run_proxy): Retrieve the method to invoke from in $Proxy0.m.
* java/lang/Class.h: Remove _Jv_LookupProxyMethod.
* java/lang/natClass.cc: Likewise.
* headers.txt: Likewise.
* java/lang/reflect/Method.h: Likewise.
From-SVN: r123954
Andrew Haley [Wed, 18 Apr 2007 17:10:32 +0000 (17:10 +0000)]
natVMProxy.cc (ncode_closure): Add method_index.
2007-04-18 Andrew Haley <aph@redhat.com>
* java/lang/reflect/natVMProxy.cc (ncode_closure): Add
method_index.
(generateProxyClass): Add field $Proxy0.m. Store methods array in
it.
(run_proxy): Retrieve the method to invoke from in $Proxy0.m.
* java/lang/Class.h: Remove _Jv_LookupProxyMethod.
* java/lang/natClass.cc: Likewise.
* headers.txt: Likewise.
From-SVN: r123953
Andrew Haley [Wed, 18 Apr 2007 17:07:48 +0000 (17:07 +0000)]
UnicastConnectionManager.java (UnicastConnectionManager(int port, RMIServerSocketFactory)): Listen on "localhost", not localhost.
2007-04-17 Andrew Haley <aph@redhat.com>
* gnu/java/rmi/server/UnicastConnectionManager.java
(UnicastConnectionManager(int port, RMIServerSocketFactory)):
Listen on "localhost", not localhost.
From-SVN: r123952
Anatoly Sokolov [Wed, 18 Apr 2007 16:21:57 +0000 (20:21 +0400)]
avr.c (ptrreg_to_str): Replace error() with output_operand_lossage().
* config/avr/avr.c (ptrreg_to_str): Replace error() with
output_operand_lossage().
From-SVN: r123949
Dorit Nuzman [Wed, 18 Apr 2007 11:53:37 +0000 (11:53 +0000)]
tree-vect-transform.c (get_initial_def_for_reduction): Clean away the unused code for reduction without adjust-in-epilog to simplify...
* tree-vect-transform.c (get_initial_def_for_reduction): Clean away
the unused code for reduction without adjust-in-epilog to simplify the
function.
From-SVN: r123948
Wolfgang Gellerich [Wed, 18 Apr 2007 11:51:06 +0000 (11:51 +0000)]
s390.h (S390_TDC_POSITIVE_ZERO): New constant.
2007-04-18 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/s390.h (S390_TDC_POSITIVE_ZERO): New constant.
(S390_TDC_NEGATIVE_ZERO): New constant.
(S390_TDC_POSITIVE_NORMALIZED_NUMBER): New constant.
(S390_TDC_NEGATIVE_NORMALIZED_NUMBER): New constant.
(S390_TDC_POSITIVE_DENORMALIZED_NUMBER): New constant.
(S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): New constant.
(S390_TDC_POSITIVE_INFINITY): New constant.
(S390_TDC_NEGATIVE_INFINITY): New constant.
(S390_TDC_POSITIVE_QUIET_NAN): New constant.
(S390_TDC_NEGATIVE_QUIET_NAN): New constant.
(S390_TDC_POSITIVE_SIGNALING_NAN): New constant.
(S390_TDC_NEGATIVE_SIGNALING_NAN): New constant.
(S390_TDC_INFINITY): New constant.
* config/s390/s390.c (s390_canonicalize_comparison): Renamed
UNSPEC_CMPINT to UNSPEC_CCU_TO_INT, added a UNSPEC_CCU_TO_INT-like
optimization for UNSPEC_CCZ_TO_INT.
* config/s390/s390.md ("*TDC_insn_<mode>"): New insn.
("*ccz_to_int"): New insn.
("isinf<mode>2"): New insn.
(UNSPEC_CMPINT): Renamed to UNSPEC_CCU_TO_INT.
(UNSPEC_CCU_TO_INT): New constant, replaces UNSPEC_CMPINT.
(UNSPEC_CCZ_TO_INT): New constant.
From-SVN: r123947
Richard Guenther [Wed, 18 Apr 2007 11:45:09 +0000 (11:45 +0000)]
re PR tree-optimization/19431 (missed optimization with ifs and deferencing)
2007-04-18 Richard Guenther <rguenther@suse.de>
PR tree-optimization/19431
PR tree-optimization/21463
* tree-pass.h (pass_phiprop): Declare.
* passes.c (init_optimization_passes): New phiprop pass.
* tree-ssa-forwprop.c (struct phiprop_d): New structure.
(phivn_valid_p): New helper function.
(phiprop_insert_phi): Likewise.
(propagate_with_phi): Likewise.
(tree_ssa_phiprop): New propagator propagating loads
through phi nodes if profitable.
* gcc.c-torture/execute/
20070212-1.c: New testcase.
* gcc.c-torture/execute/
20070212-2.c: Likewise.
* gcc.c-torture/execute/
20070212-3.c: Likewise.
* gcc.dg/tree-ssa/pr19431.c: Likewise.
* gcc.dg/tree-ssa/pr21463.c: Likewise.
* g++.dg/tree-ssa/pr21463.C: Likewise.
* g++.dg/tree-ssa/pr30738.C: Likewise.
From-SVN: r123946
François-Xavier Coudert [Wed, 18 Apr 2007 08:54:40 +0000 (08:54 +0000)]
* ChangeLog: Forgot to include Tobias in the authors.
From-SVN: r123945
François-Xavier Coudert [Wed, 18 Apr 2007 08:47:28 +0000 (08:47 +0000)]
re PR libfortran/31286 (cshift uses uninitialized variables)
PR libfortran/31286
PR libfortran/31296
* intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
* intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
array structures we pass to unpack_internal.
From-SVN: r123944
Dorit Nuzman [Wed, 18 Apr 2007 07:55:34 +0000 (07:55 +0000)]
tree-vect-analyze.c (process_use): New function.
* tree-vect-analyze.c (process_use): New function.
(vect_mark_stmts_to_be_vectorized): Factor out code to process_use.
Check phis in all bbs.
* tree-vectorizer.c (vect_is_simple_use): Remove a no longer relavant
assert.
From-SVN: r123943
Tobias Schlüter [Wed, 18 Apr 2007 07:39:37 +0000 (09:39 +0200)]
Add ChangeLog entries missing from r123917
From-SVN: r123942
Mark Mitchell [Wed, 18 Apr 2007 03:36:18 +0000 (03:36 +0000)]
re PR c++/31513 (Miscompilation of Function Passing Bit Field Value to Function)
PR c++/31513
* call.c (convert_for_arg_passing): Convert bitfields to their
declared types.
PR c++/31513
* g++.dg/expr/bitfield8.C: New test.
From-SVN: r123939
Joseph Myers [Tue, 17 Apr 2007 23:55:07 +0000 (00:55 +0100)]
target-supports.exp (check_profiling_available): Return 0 for uClibc with -p or -pg.
2007-04-17 Joseph Myers <joseph@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* lib/target-supports.exp (check_profiling_available): Return 0
for uClibc with -p or -pg.
Co-Authored-By: Richard Sandiford <richard@codesourcery.com>
From-SVN: r123938
GCC Administrator [Tue, 17 Apr 2007 23:17:07 +0000 (23:17 +0000)]
Daily bump.
From-SVN: r123936
Eric Christopher [Tue, 17 Apr 2007 22:47:58 +0000 (22:47 +0000)]
Fix merge markers in ChangeLog.
From-SVN: r123933
Bernd Schmidt [Tue, 17 Apr 2007 22:35:47 +0000 (22:35 +0000)]
reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way we use REG_EQUAL.
* reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way
we use REG_EQUAL.
From-SVN: r123932
Francis Kung [Tue, 17 Apr 2007 20:15:53 +0000 (20:15 +0000)]
re PR awt/31311 (Quitting applet can hang X server)
2007-04-17 Francis Kung <fkung@redhat.com>
PR classpath/31311
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(dispose): Removed method.
(disposeSurface): Removed method.
* gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
after it is used to create a cairo context.
From-SVN: r123928
Anatoly Sokolov [Tue, 17 Apr 2007 20:08:46 +0000 (00:08 +0400)]
re PR target/30483 (Internal compiler error with inline volatile assembly on AVR)
PR target/30483
* config/avr/avr.c (ptrreg_to_str): Replace gcc_unreachable() with
error().
From-SVN: r123926
Tobias Schlüter [Tue, 17 Apr 2007 18:47:19 +0000 (20:47 +0200)]
trans-types.h (gfc_packed): New enum.
* trans-types.h (gfc_packed): New enum.
(gfc_get_nodesc_array_type): Change prototype to use new enum.
* trans-types.c (gfc_get_nodesc_array): Use gfc_packed for
argument packed. Adapt all references to values accordingly.
(gfc_sym_type): Use enum values in call to gfc_get_nodesc_array.
(gfc_get_derived_type): Likewise.
* trans-array.c (gfc_build_constant_array_constructor): Likewise.
* trans-expr.c (gfc_get_interface_mapping_charlen): Changed packed
argument to type gfc_packed.
(gfc_add_interface_mapping): Use enum values in call to
gfc_get_interface_mapping.
* trans-decl.c (gfc_build_dummy_array_decl): Adapt to use enum
values when determining packing.
From-SVN: r123924
Simon Martin [Tue, 17 Apr 2007 18:05:53 +0000 (18:05 +0000)]
re PR c++/31517 (ICE on invalid initialization of static member of a template class)
2007-04-17 Simon Martin <simartin@users.sourceforge.net>
PR c++/31517
* pt.c (value_dependent_expression_p): Handle MODOP_EXPRs.
From-SVN: r123923
H.J. Lu [Tue, 17 Apr 2007 17:30:40 +0000 (17:30 +0000)]
sse.md (sse_vmaddv4sf3): Use register_operand on "0".
2007-04-17 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/sse.md (sse_vmaddv4sf3): Use register_operand
on "0".
(sse_vmmulv4sf3): Likewise.
(sse2_vmaddv2df3): Likewise.
(sse2_vmmulv2df3): Likewise.
From-SVN: r123920
Zdenek Dvorak [Tue, 17 Apr 2007 16:42:29 +0000 (18:42 +0200)]
re PR rtl-optimization/31360 (RTL loop invariant is not aggressive enough)
PR rtl-optimization/31360
* cfgloopanal.c (target_small_cost, target_pres_cost): Removed.
(target_reg_cost): New.
(init_set_costs): Initialize target_reg_cost. Add comments
regarding the rationale of the costs.
(global_cost_for_size): Renamed to...
(estimate_reg_pressure_cost): ... and simplify. Decrease importance
of register pressure.
* tree-ssa-loop-ivopts.c (ivopts_global_cost_for_size): Use
estimate_reg_pressure_cost. Add number of ivs.
(determine_set_costs): Dump target_reg_cost.
* loop-invariant.c (gain_for_invariant): Use
estimate_reg_pressure_cost. Removed n_inv_uses argument.
(best_gain_for_invariant, find_invariants_to_move): Remove
n_inv_uses.
* cfgloop.h (target_small_cost, target_pres_cost): Removed.
(target_reg_cost): Declare.
(global_cost_for_size): Declaration removed.
(estimate_reg_pressure_cost): Declare.
* gcc.dg/loop-7.c: New test.
From-SVN: r123919
Tobias Schlüter [Tue, 17 Apr 2007 16:32:31 +0000 (18:32 +0200)]
trans-decl.c (gfc_finish_decl): Remove unused second argument 'init'.
* trans-decl.c (gfc_finish_decl): Remove unused second argument
'init'. Simplify code accordingly. Remove calls to
gfc_fatal_error in favor of gcc_assert.
(create_function_arglist): Remove second argument from calls to
gfc_finish-decl.
(gfc_trans_dummy_character): Likewise.
From-SVN: r123917
Peter Bergner [Tue, 17 Apr 2007 16:07:05 +0000 (11:07 -0500)]
rs6000.c (rs6000_hard_regno_mode_ok): Force TDmode regnos into even/odd register pairs.
* config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Force TDmode
regnos into even/odd register pairs.
* config/rs6000/rs6000.h [SLOW_UNALIGNED_ACCESS]: Treat DDmode and
TDmode similar to the other floating point modes.
[SECONDARY_MEMORY_NEEDED]: Treat DDmode similar to DFmode.
* config/rs6000/dfp.md (negdd2, absdd2, negtd2, abstd2): New
define_expand's.
(negdd2_fpr, absdd2_fpr, nabsdd2_fpr, negtd2_fpr, abstd2_fpr,
nabstd2_fpr, movdd_hardfloat64_mfpgpr): New define_insn's.
(movdd_hardfloat64): Use TARGET_MFPGPR.
From-SVN: r123916
Andreas Krebbel [Tue, 17 Apr 2007 15:59:24 +0000 (15:59 +0000)]
re PR ada/31576 (Ada bootstrap error)
2007-04-17 Andreas Krebbel <krebbel1@de.ibm.com>
PR ada/31576
* system-linux-alpha.ads: Disable constant condition warning for the
Default_Bit_Order variable.
* system-linux-s390.ads: Likewise.
* system-linux-s390x.ads: Likewise.
* system-linux-sparc.ads: Likewise.
From-SVN: r123915
Mark Mitchell [Tue, 17 Apr 2007 15:54:55 +0000 (15:54 +0000)]
linkage.exp: Do not run on remote hosts.
* gcc.misc-tests/linkage.exp: Do not run on remote hosts.
* lib/compat.exp (compat-run): Use file_on_host, not remote_file
build.
(compat-execute): Likewise.
* lib/copy-file.exp (gcc_copy_files): Use remote_download to copy
files to remote hosts.
* lib/c-ctorture.exp (c-torture-compile): Likewise.
(c-torture-execute): Likewise.
* lib/dg-pch.exp (dg-pch): Use file_on_host, not remote_file build
or plain file. Use remote_upload and remote_download to copy
files about.
* lib/scanasm.exp (dg-scan): Upload the file from the remote host
before scanning it.
From-SVN: r123914
Bernd Schmidt [Tue, 17 Apr 2007 15:29:34 +0000 (15:29 +0000)]
re PR rtl-optimization/10692 ([m68k] miscompilation of perl with -O2 -fPIC)
* reload1.c (delete_output_reload): Don't count output in n_inherited.
Revert
2005-01-05 Richard Henderson <rth@redhat.com>
PR rtl-opt/10692
* reload1.c (do_input_reload): Restrict the optimization deleteing
a previous output reload to RELOAD_FOR_INPUT.
From-SVN: r123913
Tobias Schlüter [Tue, 17 Apr 2007 13:33:31 +0000 (15:33 +0200)]
arith.h: Update copyright years.
* arith.h: Update copyright years.
* dependency.h: Likewise.
* gfortran.h: Likewise.
* lang-specs.h: Likewise.
* parse.h: Likewise.
* symbol.c: Likewise.
* trans.h: Likewise.
* trans.c: Likewise.
* trans-array.c: Likewise.
* trans-common.c: Likewise.
* trans-const.h: Likewise.
* trans-const.c: Likewise.
* trans-decl.c: Likewise.
* trans-expr.c: Likewise.
* trans-io.c: Likewise.
* trans-openmp.c: Likewise.
* trans-types.h: Likewise.
* types.def: Likewise.
From-SVN: r123911
Dorit Nuzman [Tue, 17 Apr 2007 07:31:45 +0000 (07:31 +0000)]
tree-vectorizer.h (stmt_vec_info_type): Add enum value induc_vec_info_type.
* tree-vectorizer.h (stmt_vec_info_type): Add enum value
induc_vec_info_type.
(vectorizable_induction): New function declaration.
* tree-vect-transform.c (get_initial_def_for_induction): No need to
check if already vectorized. Find first place in BB where new stmts
can be inserted. Takes only one argument.
(vectorizable_induction): New function.
(vect_transform_stmt): Add case for induc_vec_info_type to call
vectorizable_induction.
(vect_transform_loop): Consider phis for vectorization.
* tree-vect-analyze.c (vect_determine_vectorization_factor): Simplify
condition.
(analyze_operations): Call vectorizable_induction when analyzing phis.
Fix comment.
(vect_mark_stmts_to_be_vectorized): Remove redundant checks.
(vect_mark_relevant): Include phis in relevance analysis.
(vect_mark_stmts_to_be_vectorize): Likewise.
* tree-vect-patterns.c (widened_name_p): Remove obsolete asserts.
From-SVN: r123910
Lawrence Crowl [Tue, 17 Apr 2007 06:19:36 +0000 (06:19 +0000)]
invoke.texi (Debugging Options): Add documentation for the -femit-struct-debug options...
./: * doc/invoke.texi (Debugging Options): Add documentation for the
-femit-struct-debug options -femit-struct-debug-baseonly,
-femit-struct-debug-reduced, and
-femit-struct-debug-detailed[=...].
* c-opts.c (c_common_handle_option): Add
OPT_femit_struct_debug_baseonly, OPT_femit_struct_debug_reduced,
and OPT_femit_struct_debug_detailed_.
* c.opt: Add specifications for
-femit-struct-debug-baseonly, -femit-struct-debug-reduced,
and -femit-struct-debug-detailed[=...].
* opts.c (set_struct_debug_option): Parse the
-femit-struct-debug-... options.
* opts.c (matches_main_base, main_input_basename,
main_input_baselength, base_of_path, matches_main_base): Add
variables and functions to compare header base name to compilation
unit base name.
* opts.c (should_emit_struct_debug): Add to determine to emit a
structure based on the option.
(dump_struct_debug) Also disabled function to debug this
function.
* opts.c (handle_options): Save the base name of the
compilation unit.
* langhooks-def.h (LANG_HOOKS_GENERIC_TYPE_P): Define.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Add.
This hook indicates if a type is generic. Set it by default
to "never generic".
* langhooks.h (struct lang_hooks_for_types): Add a new hook
to determine if a struct type is generic or not.
* cp/cp-tree.h (class_tmpl_impl_spec_p): Declare a C++ hook.
* cp/tree.c (class_tmpl_impl_spec_p): Implement the C++ hook.
* cp/cp-lang.c (LANG_HOOKS_GENERIC_TYPE_P): Override null C hook
with live C++ hook.
* flags.h (enum debug_info_usage): Add an enumeration to describe
a program's use of a structure type.
* dwarf2out.c (gen_struct_or_union_type_die): Add a new parameter
to indicate the program's usage of the type. Filter structs based
on the -femit-struct-debug-... specification.
(gen_type_die): Split into two routines, gen_type_die and
gen_type_die_with_usage. gen_type_die is now a wrapper
that assumes direct usage.
(gen_type_die_with_usage): Replace calls to gen_type_die
with gen_type_die_with_usage adding the program usage of
the referenced type.
(dwarf2out_imported_module_or_decl): Suppress struct debug
information using should_emit_struct_debug when appropriate.
testsuite/:
* g++.dg/other/fesd-any.C: Test -femit-struct-debug-detailed=any.
* g++.dg/other/fesd-any.h: Test -femit-struct-debug-detailed=any.
* g++.dg/other/fesd-baseonly.C: Test -femit-struct-debug-baseonly.
* g++.dg/other/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
* g++.dg/other/fesd-none.C: Test -femit-struct-debug-detailed=none.
* g++.dg/other/fesd-none.h: Test -femit-struct-debug-detailed=none.
* g++.dg/other/fesd-reduced.C: Test -femit-struct-debug-reduced.
* g++.dg/other/fesd-reduced.h: Test -femit-struct-debug-reduced.
* g++.dg/other/fesd-sys.C: Test -femit-struct-debug-detailed=sys.
* g++.dg/other/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
* g++.dg/other/fesd.h: Common to -femit-struct-debug-... tests.
* gcc.dg/fesd-any.c: Test -femit-struct-debug-detailed=any.
* gcc.dg/fesd-any.h: Test -femit-struct-debug-detailed=any.
* gcc.dg/fesd-baseonly.c: Test -femit-struct-debug-baseonly.
* gcc.dg/fesd-baseonly.h: Test -femit-struct-debug-baseonly.
* gcc.dg/fesd-none.c: Test -femit-struct-debug-detailed=none.
* gcc.dg/fesd-none.h: Test -femit-struct-debug-detailed=none.
* gcc.dg/fesd-reduced.c: Test -femit-struct-debug-reduced.
* gcc.dg/fesd-reduced.h: Test -femit-struct-debug-reduced.
* gcc.dg/fesd-sys.c: Test -femit-struct-debug-detailed=sys.
* gcc.dg/fesd-sys.h: Test -femit-struct-debug-detailed=sys.
* gcc.dg/fesd.h: Common to -femit-struct-debug-... tests.
From-SVN: r123909
Ian Lance Taylor [Tue, 17 Apr 2007 05:33:38 +0000 (05:33 +0000)]
re PR tree-optimization/31522 (False overflow warning with phi nodes)
./: PR tree-optimization/31522
* tree-vrp.c (vr_phi_edge_counts): New static variable.
(vrp_initialize): Allocate vr_phi_edge_counts.
(vrp_visit_phi_node): Don't push to infinity if we saw a new
executable edge. Drop test for all constants.
(vrp_finalize): Free vrp_phi_edge_counts.
testsuite/:
PR tree-optimization/31522
* gcc.dg/Wstrict-overflow-16.c: New test.
From-SVN: r123908
Ian Lance Taylor [Tue, 17 Apr 2007 05:19:22 +0000 (05:19 +0000)]
cpp.texi (Common Predefined Macros): Clarify description of __GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
* doc/cpp.texi (Common Predefined Macros): Clarify description of
__GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__.
From-SVN: r123907
Ian Lance Taylor [Tue, 17 Apr 2007 05:16:07 +0000 (05:16 +0000)]
tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer predecessors at head rather than tail.
* tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer
predecessors at head rather than tail.
From-SVN: r123906
Kazu Hirata [Tue, 17 Apr 2007 02:07:40 +0000 (02:07 +0000)]
* gcc.dg/cpp/_Pragma6.c: Skip on fido-*-* and m68k-*-*.
From-SVN: r123905
Tobias Schlüter [Tue, 17 Apr 2007 00:09:34 +0000 (02:09 +0200)]
re PR fortran/31144 (gfortran module symbol names are not standard compliant)
PR fortran/31144
fortran/
* decl.c (gfc_sym_mangled_identifier): Use capital letters in name
mangling.
(gfc_sym_mangled_function_id): Likewise.
testsuite/
* gfortran.dg/module_naming_1.f90: New.
From-SVN: r123904
GCC Administrator [Mon, 16 Apr 2007 23:17:01 +0000 (23:17 +0000)]
Daily bump.
From-SVN: r123900
H.J. Lu [Mon, 16 Apr 2007 20:57:10 +0000 (13:57 -0700)]
Makefile.in (aclocal.m4): Depend on stdint.m4 instead of acx.m4.
2007-04-16 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (aclocal.m4): Depend on stdint.m4 instead of
acx.m4.
* aclocal.m4: Regenerated by aclocal 1.9.6.
From-SVN: r123895
Tom Tromey [Mon, 16 Apr 2007 20:15:00 +0000 (20:15 +0000)]
Committed up-to-date .class and .h files from an earlier commit
From-SVN: r123890
Tom Tromey [Mon, 16 Apr 2007 20:13:28 +0000 (20:13 +0000)]
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
(createSocket): Change order of delegation.
From-SVN: r123889
Matthias Klose [Mon, 16 Apr 2007 20:12:05 +0000 (20:12 +0000)]
linux.h (CPP_SPEC): Define.
2007-04-16 Matthias Klose <doko@debian.org>
* gcc/config/alpha/linux.h (CPP_SPEC): Define.
* gcc/config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend.
From-SVN: r123888
Matthias Klose [Mon, 16 Apr 2007 20:09:40 +0000 (20:09 +0000)]
configure.tgt (i[456]86-*-linux*): Only add ia32 specific flags if not building with -m64.
2007-04-16 Matthias Klose <doko@debian.org>
* configure.tgt (i[456]86-*-linux*): Only add ia32 specific
flags if not building with -m64.
* testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
flag for i?86-*-* targets, if current target matches -m64.
From-SVN: r123887
Aldy Hernandez [Mon, 16 Apr 2007 18:55:33 +0000 (18:55 +0000)]
* function.h: Remove sequence_stack extern declaration.
From-SVN: r123885
Kazu Hirata [Mon, 16 Apr 2007 18:01:12 +0000 (18:01 +0000)]
m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on TARGET_FIDOA.
* config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on
TARGET_FIDOA.
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Change to 64 if __mfido__ is
defined.
From-SVN: r123884
Anatoly Sokolov [Mon, 16 Apr 2007 17:50:26 +0000 (21:50 +0400)]
avr.c (avr_arch_types): Rearranging array.
* config/avr/avr.c (avr_arch_types): Rearranging array.
(enum avr_arch): Add.
(avr_mcu_types): Use avr_arch enumeration constants instead of
numbers.
* config/avr/avr.h (LINK_SPEC): Simplify.
From-SVN: r123882
Richard Sandiford [Mon, 16 Apr 2007 17:18:08 +0000 (17:18 +0000)]
target-supports.exp (check_profiling_available): Return false for m68k-*-uclinux.
* lib/target-supports.exp (check_profiling_available): Return
false for m68k-*-uclinux.
From-SVN: r123881
Seongbae Park [Mon, 16 Apr 2007 17:07:04 +0000 (17:07 +0000)]
Correct the misplaced ChangeLog.
From-SVN: r123880
Seongbae Park [Mon, 16 Apr 2007 16:49:02 +0000 (16:49 +0000)]
re PR c++/29365 (Unnecessary anonymous namespace warnings)
gcc/ChangeLog:
2007-04-16 Seongbae Park <seongbae.park@gmail.com>
PR c++/29365
* cp/decl2.c (constrain_class_visibility):
Do not warn about the use of anonymous namespace in the main input file.
gcc/testsuite/ChangeLog:
2007-04-16 Seongbae Park <seongbae.park@gmail.com>
PR c++/29365
Testcase for c++ anonymous namespace warning
* g++.dg/warn/anonymous-namespace-1.C: New test
* g++.dg/warn/anonymous-namespace-1.h: New test
From-SVN: r123879
Kazu Hirata [Mon, 16 Apr 2007 16:47:44 +0000 (16:47 +0000)]
m68k.h (FRAME_POINTER_REGNUM): Use A6_REG instead.
* config/m68k/m68k.h (FRAME_POINTER_REGNUM): Use A6_REG
instead.
(M68K_REGNAME): Use A6_REG.
* config/m68k/m68k.md (FP_REG): Rename to A6_REG.
From-SVN: r123878
Kazu Hirata [Mon, 16 Apr 2007 16:23:09 +0000 (16:23 +0000)]
m68k.c (m68k_libcall_value, [...]): Use macros for register names more.
* config/m68k/m68k.c (m68k_libcall_value,
m68k_function_value): Use macros for register names more.
From-SVN: r123877
Andrew Haley [Mon, 16 Apr 2007 15:29:55 +0000 (15:29 +0000)]
ObjectInputStream.java: (parseContent): Call (String, Object) version of dumpElementln.
2007-04-16 Andrew Haley <aph@redhat.com>
* java/io/ObjectInputStream.java: (parseContent): Call (String,
Object) version of dumpElementln.
(dumpElementln(String, Object)): New method.
* java/io/ObjectOutputStream.java (writeObject): Call (String,
Object) version of dumpElementln.
(dumpElementln(String, Object)): New method.
From-SVN: r123875
Maxim Kuvyrkov [Mon, 16 Apr 2007 15:04:18 +0000 (15:04 +0000)]
re PR middle-end/28071 (A file that can not be compiled in reasonable time/space)
PR middle-end/28071
* sched-int.h (struct deps): Split field 'pending_lists_length' into
'pending_read_list_length' and 'pending_write_list_length'. Update
comment.
* sched-deps.c (add_insn_mem_dependence): Change signature. Update
to handle two length counters instead of one. Update all uses.
(flush_pending_lists, sched_analyze_1, init_deps): Update to handle
two length counters instead of one.
* sched-rgn.c (propagate_deps): Update to handle two length counters
instead of one.
From-SVN: r123874
Andrew John Hughes [Mon, 16 Apr 2007 14:50:03 +0000 (14:50 +0000)]
2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/ObjectName.java:
(parse(String)): Catch multiple wildcards,
initialise with an empty string (so null isn't
appended), and emit comma even when wildcard
ends the list.
(checkComponents()): Catch newlines.
(quote(String)): Handle newlines and quotes
correctly.
From-SVN: r123873
H.J. Lu [Mon, 16 Apr 2007 14:03:33 +0000 (07:03 -0700)]
Fix a typo in comments in revision 123866.
From-SVN: r123871
Tobias Schlüter [Mon, 16 Apr 2007 14:00:41 +0000 (16:00 +0200)]
Indentation fix.
From-SVN: r123869
Andrew Haley [Mon, 16 Apr 2007 13:49:37 +0000 (13:49 +0000)]
BootClassLoader.java (getBootURLLoader): New method.
2007-04-16 Andrew Haley <aph@redhat.com>
* gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
method.
(bootGetResource): Use getBootURLLoader() to load resources.
(bootGetResources): Likewise.
* java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
check that the method's declaring class is accessible.
From-SVN: r123867
H.J. Lu [Mon, 16 Apr 2007 13:49:14 +0000 (06:49 -0700)]
re PR target/31582 (ix86_expand_vec_set_builtin modifies source)
2007-04-16 H.J. Lu <hongjiu.lu@intel.com>
PR target/31582
* config/i386/i386.c (ix86_expand_vec_set_builtin): Make a
copy of source, pass it to ix86_expand_vector_set and return
it as target.
From-SVN: r123866
Andrew Haley [Mon, 16 Apr 2007 13:48:26 +0000 (13:48 +0000)]
TaggedComponentHelper.java (read): Use read_octet_array(), not read().
2007-04-16 Andrew Haley <aph@redhat.com>
* org/omg/IOP/TaggedComponentHelper.java (read): Use
read_octet_array(), not read().
(write): Use write_octet_array(), not write().
* org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
delegate has been set.
* javax/management/ObjectName.java serialVersionUID: Declare.
Make all fields transient.
(parse): Break out from constructor.
(writeObject, readObject): New methods.
From-SVN: r123865
Andrew Haley [Mon, 16 Apr 2007 13:46:54 +0000 (13:46 +0000)]
TaggedComponentHelper.java (read): Use read_octet_array(), not read().
2007-04-16 Andrew Haley <aph@redhat.com>
* org/omg/IOP/TaggedComponentHelper.java (read): Use
read_octet_array(), not read().
(write): Use write_octet_array(), not write().
* org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
delegate has been set.
* javax/management/ObjectName.java serialVersionUID: Declare.
Make all fields transient.
(parse): Break out from constructor.
(writeObject, readObject): New methods.
From-SVN: r123864
David Ung [Mon, 16 Apr 2007 13:45:24 +0000 (13:45 +0000)]
mips.h (PROCESSOR_74KC, [...]): Define.
2007-04-16 David Ung <davidu@mips.com>
Joseph Myers <joseph@codesourcery.com>
* config/mips/mips.h (PROCESSOR_74KC, PROCESSOR_74KF,
PROCESSOR_74KX, TUNE_74K, GENERATE_MADD_MSUB): Define.
* config/mips/mips.c (mips_cpu_info_table, mips_rtx_cost_data):
Add 74K processor information.
* config/mips/mips.md: Include 74k.md.
(cpu): Add 74kc,74kf,74kx.
(ISA_HAS_MADD_MSUB): Change to GENERATE_MADD_MSUB throughout.
* config/mips/74k.md: New.
* doc/invoke.texi (MIPS Options): Document 74K support.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r123863
Andrew Haley [Mon, 16 Apr 2007 13:44:59 +0000 (13:44 +0000)]
BootClassLoader.java (getBootURLLoader): New method.
2007-04-16 Andrew Haley <aph@redhat.com>
* gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New
method.
(bootGetResource): Use getBootURLLoader() to load resources.
(bootGetResources): Likewise.
* java/lang/reflect/natMethod.cc (Method::invoke): In invoke also
check that the method's declaring class is accessible.
From-SVN: r123862
Dorit Nuzman [Mon, 16 Apr 2007 12:54:01 +0000 (12:54 +0000)]
tree-vect-analyze.c (vect_analyze_operations): Reorganize calls to vectorizable_* functions.
* tree-vect-analyze.c (vect_analyze_operations): Reorganize calls to
vectorizable_* functions.
* tree-vect-transform.c (vectorizable_call): Add check for
STMT_VINFO_RELEVANT_P, STMT_VINFO_DEF_TYPE and STMT_VINFO_LIVE_P.
(vectorizable_store): likewise.
(vectorizable_conversion): Add check for STMT_VINFO_DEF_TYPE.
Add comments.
(vectorizable_operation, vectorizable_type_demotion): Likewise.
(vectorizable_type_promotion, vectorizable_load): Likewise.
(vectorizable_live_operation, vectorizable_condition): Likewise.
(vectorizable_assignment): Add check for STMT_VINFO_DEF_TYPE and
STMT_VINFO_LIVE_P.
(vect_transform_stmt): Reorganize calls to vectorizable_* functions.
From-SVN: r123861
GCC Administrator [Sun, 15 Apr 2007 23:17:29 +0000 (23:17 +0000)]
Daily bump.
From-SVN: r123859
Andrew Pinski [Sun, 15 Apr 2007 21:38:47 +0000 (21:38 +0000)]
re PR testsuite/31578 (FAIL: gcc.dg/gnu89-init-4.c (test for excess errors))
2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR testsuite/31578
* gcc.dg/gnu89-init-4.c: Change to a compile only test.
From-SVN: r123854
Andrew Pinski [Sun, 15 Apr 2007 20:58:09 +0000 (13:58 -0700)]
Fix typo in my last changelog entry.
From-SVN: r123853
Jerry DeLisle [Sun, 15 Apr 2007 20:28:19 +0000 (20:28 +0000)]
warnings_are_errors_1.f90: Add -std=f95 to options.
2007-04-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* gfortran.dg/warnings_are_errors_1.f90: Add -std=f95 to options.
From-SVN: r123852
Mark Mitchell [Sun, 15 Apr 2007 18:58:57 +0000 (18:58 +0000)]
* cp-tree.h (current_template_parms): Fix typo in comment.
From-SVN: r123851
Kazu Hirata [Sun, 15 Apr 2007 15:54:36 +0000 (15:54 +0000)]
linux.h (FUNCTION_VALUE_REGNO_P): Use macros for register numbers more.
* config/m68k/linux.h (FUNCTION_VALUE_REGNO_P): Use macros for
register numbers more.
* config/m68k/m68k.h (STACK_POINTER_REGNUM,
FRAME_POINTER_REGNUM, STATIC_CHAIN_REGNUM,
M68K_STRUCT_VALUE_REGNUM, FUNCTION_VALUE, LIBCALL_VALUE,
FUNCTION_VALUE_REGNO_P): Likewise.
* config/m68k/m68kelf.h (M68K_STRUCT_VALUE_REGNUM,
STATIC_CHAIN_REGNUM): Likewise.
* config/m68k/m68kemb.h (FUNCTION_VALUE_REGNO_P): Likewise.
* config/m68k/netbsd-elf.h (M68K_STRUCT_VALUE_REGNUM,
STATIC_CHAIN_REGNUM, FUNCTION_VALUE_REGNO_P): Likewise.
* config/m68k/m68k.md (FP_REG): New.
From-SVN: r123850
Paul Thomas [Sun, 15 Apr 2007 15:28:06 +0000 (15:28 +0000)]
re PR fortran/31204 (wrong host association of implied loop variable)
2007-04-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31204
* primary.c (check_for_implicit_index): New function to check
that a host associated variable is not an undeclared implied
do loop index.
(gfc_match_rvalue, match_variable): Use it and reset the
implied_index attribute.
* gfortran.h : Add the implied_index field to symbol_attribute.
* match.c (gfc_match_iterator): Mark the iterator variable
with the new attribute.
* decl.c (build_sym): Reset the new attribute.
2007-04-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31204
* gfortran.dg/array_constructor_16.f90: New test.
From-SVN: r123849
Kazu Hirata [Sun, 15 Apr 2007 15:27:06 +0000 (15:27 +0000)]
m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit alignment on fido.
* config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit
alignment on fido.
From-SVN: r123848
Kazu Hirata [Sun, 15 Apr 2007 14:46:34 +0000 (14:46 +0000)]
i386.c, [...]: Fix comment typos.
* config/i386/i386.c, config/s390/s390.c, config/s390/s390.md,
tree-ssa-loop-niter.c, tree-ssa-structalias.c, tree-vrp.c: Fix
comment typos.
From-SVN: r123847
Kazu Hirata [Sun, 15 Apr 2007 14:37:02 +0000 (14:37 +0000)]
* cp-tree.h, error.c: Fix comment typos.
From-SVN: r123846
Kazu Hirata [Sun, 15 Apr 2007 14:28:43 +0000 (14:28 +0000)]
gfc-internals.texi: Fix typos.
* gfc-internals.texi: Fix typos.
* simplify.c: Fix a comment typo.
From-SVN: r123845
Kazu Hirata [Sun, 15 Apr 2007 13:58:40 +0000 (13:58 +0000)]
pr19340.c, [...]: XFAIL on fido-*-*.
* gcc.dg/pr19340.c, gcc.dg/tree-ssa/loop-1.c,
gcc.dg/weak/typeof-2.c: XFAIL on fido-*-*.
From-SVN: r123844
Zdenek Dvorak [Sun, 15 Apr 2007 03:36:25 +0000 (05:36 +0200)]
tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore cold loops.
* tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
cold loops.
From-SVN: r123843
Jerry DeLisle [Sun, 15 Apr 2007 01:53:43 +0000 (01:53 +0000)]
open.c (test_endfile): Revert changes for 31052, restoring this function.
2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/open.c (test_endfile): Revert changes for 31052, restoring this
function.
From-SVN: r123842
John David Anglin [Sun, 15 Apr 2007 01:17:41 +0000 (01:17 +0000)]
re PR rtl-optimization/31500 (FAIL: gcc.dg/Warray-bounds.c (internal compiler error))
PR rtl-optimization/31500
* gcc.dg/Warray-bounds.c: Skip on hppa*-*-*.
* g++.dg/warn/Warray-bounds.C: Likewise.
From-SVN: r123837
Andrew Pinski [Sun, 15 Apr 2007 00:59:15 +0000 (00:59 +0000)]
re PR c/31520 (Latent bug in finish_decl causing an errorous "array subscript is above array bounds")
2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR c/31520
* c-del.c (finish_decl): Grab the type of the decl after the call
to store_init_value.
2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C/31520
* testsuite/gcc.dg/gnu89-init-4.c: New testcase.
From-SVN: r123835
GCC Administrator [Sat, 14 Apr 2007 23:17:32 +0000 (23:17 +0000)]
Daily bump.
From-SVN: r123833
Steven Bosscher [Sat, 14 Apr 2007 22:38:16 +0000 (22:38 +0000)]
* common.opt (fforward-propagate): Fix "Optimization" annotation.
From-SVN: r123830
Steve Ellcey [Sat, 14 Apr 2007 19:52:27 +0000 (19:52 +0000)]
Makefile.am: Add -I ..
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
* Makefile.in: Regenerate.
From-SVN: r123829
Steve Ellcey [Sat, 14 Apr 2007 19:51:44 +0000 (19:51 +0000)]
configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
* configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
* configure: Regenerate.
From-SVN: r123828
Steve Ellcey [Sat, 14 Apr 2007 19:50:46 +0000 (19:50 +0000)]
Makefile.am: Add -I ..
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
* Makefile.in: Regenerate.
From-SVN: r123827
Steve Ellcey [Sat, 14 Apr 2007 19:49:42 +0000 (19:49 +0000)]
Makefile.am: Add -I ..
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
* Makefile.in: Regenerate.
From-SVN: r123826
Steve Ellcey [Sat, 14 Apr 2007 19:48:36 +0000 (19:48 +0000)]
* config-ml.in: Pass ${ml_config_env} to configure calls.
From-SVN: r123825
Jakub Jelinek [Sat, 14 Apr 2007 18:52:45 +0000 (20:52 +0200)]
re PR c++/25874 ([gomp] ICE in calc_dfs_tree())
PR c++/25874
* omp-low.c (expand_omp_parallel): If child_cfun->cfg, free dominators,
post dominators and cleanup cfg before returning.
* gcc.dg/gomp/pr25874.c: Add dg-options.
* g++.dg/gomp/pr25874.C: Add dg-options.
From-SVN: r123822
Bernhard Reutner-Fischer [Sat, 14 Apr 2007 18:43:20 +0000 (20:43 +0200)]
+2007-04-14 Bernhard Fischer
* primary.c: Commentary typo fix; Add question about redundant (?)
set.
* ChangeLog: Fix formatting of previous ChangeLog entry which did not
obey "'name" <name@there.tdl>' convention.
From-SVN: r123821
Bernhard Fischer [Sat, 14 Apr 2007 18:33:11 +0000 (20:33 +0200)]
2007-04-14 Bernhard Fischer
PR fortran/21061
* gfortran.dg/warnings_are_errors_1.f90: New testcase.
* gfortran.dg/warnings_are_errors_1.f: New testcase.
From-SVN: r123820
Bernhard Reutner-Fischer [Sat, 14 Apr 2007 17:59:28 +0000 (19:59 +0200)]
- commentary typo fix
From-SVN: r123819
Francois-Xavier Coudert [Sat, 14 Apr 2007 17:09:41 +0000 (17:09 +0000)]
re PR fortran/31561 (FAIL: gfortran.dg/vect/vect-4.f90)
PR fortran/31561
* gfortran.dg/vect/vect-4.f90: xfail on vect_no_align targets.
From-SVN: r123817
Paolo Carlini [Sat, 14 Apr 2007 16:40:51 +0000 (16:40 +0000)]
c_locale.cc: Include <limits>.
2007-04-14 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/c_locale.cc: Include <limits>.
From-SVN: r123816
Paul Thomas [Sat, 14 Apr 2007 14:09:57 +0000 (14:09 +0000)]
re PR fortran/29507 ([4.2 only] INDEX in an array initialization causes ICE)
2007-04-14 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29507
PR fortran/31404
* expr.c (scalarize_intrinsic_call): New function to
scalarize elemental intrinsic functions in initialization
expressions.
(check_init_expr): Detect elemental intrinsic functions
in initalization expressions and call previous.
2007-04-14 Paul Thomas <pault@gcc.gnu.org>
PR fortran/29507
PR fortran/31404
* gfortran.dg/initialization_6.f90: New test.
From-SVN: r123815
Bernd Schmidt [Sat, 14 Apr 2007 10:50:45 +0000 (10:50 +0000)]
bfin.h (MODES_TIEABLE_P): Allow more modes to be tied.
* config/bfin/bfin.h (MODES_TIEABLE_P): Allow more modes to be tied.
* config/bfin/bfin.md (movsi_insn): Delete two unused alternatives.
From-SVN: r123813
Kazu Hirata [Sat, 14 Apr 2007 02:15:45 +0000 (02:15 +0000)]
config.gcc: Recognize fido.
gcc/
* config.gcc: Recognize fido.
* config/m68k/m68k-devices.def (fidoa): New.
* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define
__mfido__.
(FL_FIDOA, TARGET_FIDOA): New.
* config/m68k/m68k.opt (mfidoa): New.
libgcc/
* config.host: Recognize fido.
From-SVN: r123811
Kazu Hirata [Sat, 14 Apr 2007 02:05:43 +0000 (02:05 +0000)]
target-supports.exp (check_gc_sections_available): Return false if ldflags includes -elf2flt.
* lib/target-supports.exp (check_gc_sections_available):
Return false if ldflags includes -elf2flt.
From-SVN: r123810
Kazu Hirata [Sat, 14 Apr 2007 02:04:15 +0000 (02:04 +0000)]
* gcc.c-torture/compile/pr27528.c: Require nonpic.
From-SVN: r123809
John David Anglin [Sat, 14 Apr 2007 00:17:41 +0000 (00:17 +0000)]
re PR middle-end/31322 (ld: Invalid symbol type for plabel (.libs/debug_list.o, __gxx_personality_v0).)
PR middle-end/31322
* dwarf2out.c (output_call_frame_info): Call assemble_external_libcall
when a personality function is used.
From-SVN: r123806
Jason Merrill [Fri, 13 Apr 2007 23:43:18 +0000 (19:43 -0400)]
re PR c++/31074 (Reference casting involving multiple inheritance produces bad pointer)
PR c++/31074
* call.c (reference_binding): Add c_cast_p parm. If true,
add quals to TO as needed to make it reference-compatible.
From-SVN: r123805
GCC Administrator [Fri, 13 Apr 2007 23:17:07 +0000 (23:17 +0000)]
Daily bump.
From-SVN: r123803
Paolo Carlini [Fri, 13 Apr 2007 22:22:56 +0000 (22:22 +0000)]
re PR libstdc++/31556 (find_if uses operator! instead of conversion to bool)
2007-04-13 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/31556
* include/bits/stl_algobase.h (equal(_InputIterator1, _InputIterator1,
_InputIterator2, _BinaryPredicate), mismatch(_InputIterator1,
_InputIterator1, _InputIterator2, _BinaryPredicate)): Convert
predicate return to bool.
* include/bits/stl_algo.h (__find_if(_InputIterator, _InputIterator,
_Predicate, input_iterator_tag), search(_ForwardIterator1,
_ForwardIterator1, _ForwardIterator2, _ForwardIterator2,
_BinaryPredicate), __search_n(_ForwardIterator, _ForwardIterator,
_Integer, const _Tp&, _BinaryPredicate, std::forward_iterator_tag),
__search_n(_RandomAccessIter, _RandomAccessIter, _Integer, const _Tp&,
_BinaryPredicate, std::random_access_iterator_tag),
search_n(_ForwardIterator, _ForwardIterator, _Integer, const _Tp&,
_BinaryPredicate), remove_copy_if(_InputIterator, _InputIterator,
_OutputIterator, _Predicate), __unique_copy(_ForwardIterator,
_ForwardIterator, _OutputIterator, _BinaryPredicate,
forward_iterator_tag, output_iterator_tag),
__unique_copy(_InputIterator, _InputIterator, _OutputIterator,
_BinaryPredicate, input_iterator_tag, output_iterator_tag),
__unique_copy(_InputIterator, _InputIterator, _OutputIterator,
_BinaryPredicate, input_iterator_tag, output_iterator_tag),
__unique_copy(_InputIterator, _InputIterator, _ForwardIterator,
_BinaryPredicate, input_iterator_tag, forward_iterator_tag),
unique(_ForwardIterator, _ForwardIterator, _BinaryPredicate),
__partition(_BidirectionalIterator, _BidirectionalIterator, _Predicate,
bidirectional_iterator_tag), binary_search(_ForwardIterator,
_ForwardIterator, const _Tp&, _Compare),
next_permutation(_BidirectionalIterator, _BidirectionalIterator,
_Compare), prev_permutation(_BidirectionalIterator,
_BidirectionalIterator, _Compare)): Likewise.
From-SVN: r123800
Mike Stump [Fri, 13 Apr 2007 20:44:30 +0000 (20:44 +0000)]
Fix whitespacing.
From-SVN: r123799