David Edelsohn [Thu, 14 Oct 2004 18:29:17 +0000 (18:29 +0000)]
 
opts.c (common_handle_option): Do not enable flag_speculative_prefetching for -fprofile-generate/use.
        * opts.c (common_handle_option): Do not enable
        flag_speculative_prefetching for -fprofile-generate/use.
From-SVN: r89046
Devang Patel [Thu, 14 Oct 2004 18:19:47 +0000 (11:19 -0700)]
 
tree-if-conv.c (process_phi_nodes): Process latch block.
       * tree-if-conv.c (process_phi_nodes): Process latch block.
       (combine_blocks): Process latch block and update loop structure.
       * gcc.dg/pr17635.c : New test.
From-SVN: r89045
Dhruv Matani [Thu, 14 Oct 2004 17:52:18 +0000 (17:52 +0000)]
 
bitmap_allocator.h: Clean-up add/remove functions.
2004-10-14  Dhruv Matani  <dhruvbird@gmx.net>
	* ext/bitmap_allocator.h: Clean-up add/remove functions.
	* src/bitmap_allocator.cc: New file. Contains the out-of-line
	function definitions, static initialization of variables, and
	explicit instantiations needed for the allocator.
	* src/Makefile.am: Add.
	* src/Makefile.in: Regenerate.
	* config/linker.map.gnu: Add the necessary symbols.
From-SVN: r89042
Olga Golovanevsky [Thu, 14 Oct 2004 17:21:35 +0000 (17:21 +0000)]
 
2004-10-14  Olga Golovanevsky  <olga@il.ibm.com>
        * tree-vectorizer.c (vect_generate_tmps_on_preheader):
        (vect_update_ivs_after_vectorizer):
        (vect_transform_for_unknown_loop_bound):
        (tree_duplicate_loop_to_edge):
        (allocate_new_names):
        (rename_use_op):
        (rename_def_op):
        (rename_variables_in_bb):
        (free_new_names):
        (rename_variables_in_loop):
        (copy_phi_nodes):
        (update_phis_for_duplicate_loop):
        (update_phi_nodes_for_guard):
        (make_loop_iterate_ntimes):
        (tree_duplicate_loop_to_edge_cfg):
        (add_loop_guard):
        (vect_analyze_loop_with_symbolic_num_of_iters):
        (verify_loop_for_duplication):
        (vect_gen_niters_for_prolog_loop):
        (vect_update_niters_after_peeling):
        (vect_update_inits_of_dr):
        (vect_update_inits_of_drs):
        (vect_build_loop_niters):
        (vect_do_peeling_for_alignment): New functions.
        (vect_transform_loop): Add unknown and known but indivisible loop
        bound support; add peeling for unalignment support.
        (vect_analyze_loop_form): Support symbolic number of iterations.
        (vect_transform_loop_bound): New input parameter.
        (vect_get_loop_niters): Change input parameter type.
        (new_loop_vec_info): LOOP_VINFO_NITERS is tree now.
        (vectorizable_store): Allow unaligned access.
        (vectorize_loops): Add rewrite_into_loop_closed_ssa.
        (vect_analyze_data_refs_alignment): Allowed one unaligned
        store.
        * tree-vectorizer.h (LOOP_VINFO_NITERS_KNOWN_P): Redefined
        to use tree.
        (LOOP_VINFO_INT_NITERS): New macro.
        (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): New define.
        (do_peeling_for_alignment):
        (unaligned_drs): New members of _loop_vec_info.
        (LOOP_DO_PEELING_FOR_ALIGNMENT): New macro.
From-SVN: r89040
Ranjit Mathew [Thu, 14 Oct 2004 16:44:43 +0000 (16:44 +0000)]
 
tree.h (TREE_STRING_POINTER): Wrap in "const char *".
	* tree.h (TREE_STRING_POINTER): Wrap in "const char *".
	(struct tree_string): Remove "const" qualifier for "str".
From-SVN: r89039
Ira Rosen [Thu, 14 Oct 2004 16:39:07 +0000 (16:39 +0000)]
 
tree-vectorizer.c (vect_analyze_data_refs): Call vect_get_base_and_bit_offset to get memory tag for array ref.
2004-10-14  Ira Rosen  <irar@il.ibm.com>
        * tree-vectorizer.c (vect_analyze_data_refs): Call
        vect_get_base_and_bit_offset to get memory tag for array ref.
        (vect_create_addr_base_for_vector_ref): Remove redundant checks.
From-SVN: r89038
Andrew Haley [Thu, 14 Oct 2004 15:21:13 +0000 (15:21 +0000)]
 
interpret.cc (_Jv_InterpMethod::run): Initialize _Jv_StartOfInterpreter.
2004-10-13  Andrew Haley  <aph@redhat.com>
        * interpret.cc (_Jv_InterpMethod::run): Initialize
        _Jv_StartOfInterpreter.
        (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
        (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
        * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
        _Unwind_FindEnclosingFunction to discover whether PC is within the
        interpreter.
From-SVN: r89037
Richard Earnshaw [Thu, 14 Oct 2004 13:10:56 +0000 (13:10 +0000)]
 
configure.ac: Use $LN_S for creating symlinks (not $LN).
* configure.ac: Use $LN_S for creating symlinks (not $LN).
* configure: Regenerate.
From-SVN: r89036
Kaveh R. Ghazi [Thu, 14 Oct 2004 12:18:15 +0000 (12:18 +0000)]
 
install.texi (*-*-solaris2*): Update with info about kernel patches to solve spurious testsuite failures.
	* doc/install.texi (*-*-solaris2*): Update with info about kernel
	patches to solve spurious testsuite failures.
From-SVN: r89033
Dorit Naishlos [Thu, 14 Oct 2004 08:36:09 +0000 (08:36 +0000)]
 
tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.
        * tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.
        Added check that vectype is VECTOR_MODE_P, instead of check for BLKmode.
        (vect_analyze_operations): Make sure the vectorization factor > 1. Add
        gcc_assert under ENABLE_CHECKING.
        (vectorizable_operation): Remove check for VECTOR_MODE_P (moved to
        get_vectype_for_scalar_type).
        (vect_get_vec_def_for_operand): Remove redundant variables.
        (vect_transform_loop): Likewise.
From-SVN: r89032
Richard Sandiford [Thu, 14 Oct 2004 07:37:11 +0000 (07:37 +0000)]
 
arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and global for -mcaller-super-interworking.
	* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and
	global for -mcaller-super-interworking.
	(CALLER_INTERWORKING_SLOT_SIZE): New macro.
	* config/arm/arm.c (thumb_compute_save_reg_mask): Save r11 if
	CALLER_INTERWORKING_SLOT_SIZE is nonzero and the function does
	not need a frame pointer.
	(arm_get_frame_offsets): Add CALLER_INTERWORKING_SLOT_SIZE bytes to
	the soft frame pointer offset.
	(thumb_expand_prologue): Set up r11 for -mcaller-super-interworking.
	* config/arm/arm.md (*call_reg_thumb, *call_value_reg_thumb): Use
	_interwork_{r7,r11}_call_via_rN if some arguments are passed on
	the stack.  Use frame_pointer_needed to choose between them.
	* config/arm/lib1funcs.asm (_arm_return_{r7,r11}): New functions.
	(interwork_with_frame): New macro.
	(interwork): Add _interwork_{r7,r11}_call_via_rN().
From-SVN: r89031
Ben Elliston [Thu, 14 Oct 2004 07:15:37 +0000 (07:15 +0000)]
 
re PR other/17900 (GCC's source path in ICE is wrong)
	PR other/17900
	* diagnostic.c (trim_filename): Fix logic bug in walking backwards
	up the filename looking for a previous directory separator.
From-SVN: r89029
Joseph Myers [Thu, 14 Oct 2004 00:56:22 +0000 (01:56 +0100)]
 
errors.c (_cpp_begin_message): Print "error: " for errors.
libcpp:
	* errors.c (_cpp_begin_message): Print "error: " for errors.
gcc/testsuite:
	* gcc.dg/cpp/error-1.c: New test.
From-SVN: r89025
Joseph Myers [Thu, 14 Oct 2004 00:34:01 +0000 (01:34 +0100)]
 
c-tree.h (enum c_typespec_kind, [...]): New.
	* c-tree.h (enum c_typespec_kind, struct c_typespec,
	parser_xref_tag): New.
	(struct c_declspecs): Add tag_defined_p.  Adjust definition of
	typedef_p.
	(declspecs_add_type): Adjust prototypes.
	* c-parse.in (%union): Add tstype.
	(typespec_nonattr, typespec_attr, typespec_reserved_nonattr,
	typespec_reserved_attr, typespec_nonreserved_nonattr,
	structsp_attr, structsp_nonattr): Change to tstype.  Update
	actions.
	* c-decl.c (build_null_declspecs): Initialize tag_defined_p.
	(declspecs_add_type): Update to take struct c_typespec argument.
	Set tag_defined_p and typedef_p as appropriate.
	(xref_tag): Rename to parser_xref_tag and replace by wrapper.
	Update to return struct c_typespec.
	(shadow_tag_warned): Don't let empty declarations with qualifiers
	or storage class specifiers redeclare a tag if a previous
	declaration is visible.
testsuite:
	* gcc.dg/c99-tag-3.c, gcc.dg/declspec-14.c: New tests.
From-SVN: r89021
GCC Administrator [Thu, 14 Oct 2004 00:16:29 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89019.2
GCC Administrator [Thu, 14 Oct 2004 00:16:22 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89018.2
Richard Henderson [Wed, 13 Oct 2004 23:43:56 +0000 (16:43 -0700)]
 
re PR debug/15860 (No DW_AT_location debug info is emitted for formal arguments to a function that uses "register" qualifiers)
        PR debug/15860
        * dwarf2out.c (rtl_for_decl_location): Apply big-endian correction
        for DECL_INCOMING_RTL.
From-SVN: r89012
Hans-Peter Nilsson [Wed, 13 Oct 2004 23:35:03 +0000 (23:35 +0000)]
 
re PR target/17984 (Recent peephole2:s may cause internal compiler errors (2))
	PR target/17984
	* config/cris/cris.md (asrandb, asrandw, lsrandb, lsrandw): Apply
	trunc_int_for_mode for constants used in shortened mode.
From-SVN: r89011
Hans-Peter Nilsson [Wed, 13 Oct 2004 23:32:15 +0000 (23:32 +0000)]
 
re PR target/17984 (Recent peephole2:s may cause internal compiler errors (2))
	PR target/17984
	* gcc.dg/cris-peep2-xsrand2.c: New test.
From-SVN: r89010
Richard Henderson [Wed, 13 Oct 2004 23:31:23 +0000 (16:31 -0700)]
 
re PR c/17384 (ICE with mode attribute on structures)
        PR c/17384
        * c-common.c (handle_mode_attribute): Disallow mode changes that
        alter the CODE of the top-level type.
        * crtstuff.c (__FRAME_END__): Remove mode attribute.  Find 32-bit
        integer from internal limits macros.
        * config/i386/mm3dnow.h (__v2sf): Fix base type.
From-SVN: r89009
Richard Henderson [Wed, 13 Oct 2004 23:25:13 +0000 (16:25 -0700)]
 
re PR debug/13841 (missing debug info for _Complex function arguments)
        PR debug/13841
        * function.c (instantiate_decl): Recurse for CONCAT.
From-SVN: r89007
David Edelsohn [Wed, 13 Oct 2004 22:41:36 +0000 (22:41 +0000)]
 
(extzvdi_internal1): Add attribute "compare".
        (extzvdi_internal2): Same.
From-SVN: r89004
Tobias Schlüter [Wed, 13 Oct 2004 22:37:12 +0000 (00:37 +0200)]
 
trans-decl.c (generate_local_decl): Simplify logic, fix comment typo.
* trans-decl.c (generate_local_decl): Simplify logic, fix comment
typo.
(gfc_generate_function_code): Fix formatting issue.
From-SVN: r89003
David Edelsohn [Wed, 13 Oct 2004 22:20:24 +0000 (22:20 +0000)]
 
rs6000.md (andsi3): Add attribute "compare" for andi./andis.
        * config/rs6000/rs6000.md (andsi3): Add attribute "compare" for
        andi./andis.
	(anddi3): Same.
From-SVN: r89002
Tom Tromey [Wed, 13 Oct 2004 20:53:43 +0000 (20:53 +0000)]
 
* doc/md.texi (Insn Canonicalizations): Removed extraneous quote.
From-SVN: r89001
Dale Johannesen [Wed, 13 Oct 2004 19:14:44 +0000 (19:14 +0000)]
 
extend.texi (Extended Asm): Rewrite asm volatile description.
2004-10-13  Dale Johannesen  <dalej@apple.com>
       * doc/extend.texi (Extended Asm):  Rewrite asm volatile description.
From-SVN: r88999
Frank Ch. Eigler [Wed, 13 Oct 2004 18:27:16 +0000 (18:27 +0000)]
 
configure.ac: Check for more headers, functions.
2004-10-12  Frank Ch. Eigler  <fche@redhat.com>
	* configure.ac: Check for more headers, functions.
	* mf-hooks2.c (mkbuffer, unmkbuffer): New helper functions for
	tracking overridden FILE buffers.
	(fopen, setvbuf): New/revised hook functions for buffer overriding.
	(setbuf,setlinebuf,fdopen,freopen,fopen64,freopen64,fclose): Ditto.
	(fflush): Accept given NULL stream (means "all streams").
	* mf-runtime.h.in:
	* mf-runtime.c (__mfu_check): Accept accesses that span adjacent
	HEAP/GUESS objects.
	(LOOKUP_CACHE_SIZE_MAX): Raise to 64K entries tentatively.
	(__mf_adapt_cache): Use them all.
	* testsuite/libmudflap.c/pass35-frag.c: Update warning message.
	* testsuite/libmudflap.c++/ctors.exp: Ditto.
	* testsuite/libmudflap.c/{pass51,pass52}-frag.c: New tests.
	* configure, config.h.in: Regenerated.
From-SVN: r88996
Frank Ch. Eigler [Wed, 13 Oct 2004 18:18:18 +0000 (18:18 +0000)]
 
toplev.c (compile_file): Call mudflap_finish_file from here ...
2004-10-13  Frank Ch. Eigler  <fche@redhat.com>
	* toplev.c (compile_file): Call mudflap_finish_file from here ...
	* c-decl.c (c_write_global_declarations): ... instead of here ...
	* cp/decl.c (cp_finish_file): ... and here.
	* tree-mudflap.c (mudflap_enqueue_decl): Reword a warning message.
From-SVN: r88995
Andrew Pinski [Wed, 13 Oct 2004 17:27:31 +0000 (17:27 +0000)]
 
tree-ssa-dom.c (record_range): Free the element if we are not going to use it.
2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>
        * tree-ssa-dom.c (record_range): Free the element if we are not
        going to use it.
From-SVN: r88994
Kazuhiro Inaoka [Wed, 13 Oct 2004 17:20:24 +0000 (17:20 +0000)]
 
Makefile.am: Add m32r support.
* Makefile.am: Add m32r support.
* configure.ac: Likewise.
* Makefile.in: Regenerate.
* confiugre: Regenerate.
* src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF
 (uint64, sint64, double, longdouble)
* src/m32r: New directory.
* src/m32r/ffi.c: New file.
* src/m32r/sysv.S: Likewise.
* src/m32r/ffitarget.h: Likewise.
From-SVN: r88993
Andrew Pinski [Wed, 13 Oct 2004 17:18:16 +0000 (17:18 +0000)]
 
re PR c++/17661 (ICE in create_tmp_var)
2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>
        PR c++/17661
        * testsuite/g++.dg/expr/for2.C: New test.
2004-10-13  Andrew Pinski  <pinskia@physics.uc.edu>
        PR c++/17661
        * semantics.c (finish_for_expr): Convert expression to void
        so that we don't create temporaries for a?b:c.
From-SVN: r88992
Tom Tromey [Wed, 13 Oct 2004 17:04:57 +0000 (17:04 +0000)]
 
re PR java/15578 (gcj doesn't support -extdirs)
	PR java/15578:
	* lang.opt (--extdirs): Document.
	* jvspec.c (lang_specific_driver): Recognize -encoding and
	-extdirs.
From-SVN: r88991
Tom Tromey [Wed, 13 Oct 2004 17:03:56 +0000 (17:03 +0000)]
 
re PR java/15578 (gcj doesn't support -extdirs)
	PR java/15578:
	* gcc.c (option_map): Added --extdirs and --encoding.
From-SVN: r88990
Eric Botcazou [Wed, 13 Oct 2004 14:09:05 +0000 (14:09 +0000)]
 
Fix incomplete commit.
From-SVN: r88986
Eric Botcazou [Wed, 13 Oct 2004 14:04:32 +0000 (16:04 +0200)]
 
re PR target/14454 (virtual function with vararg won't compile)
	PR target/14454
	* config/sparc/sparc.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Set to
	sparc_can_output_mi_thunk.
	(sparc_output_mi_thunk): Simplify handling of delta offset.  Add
	handling of vcall offset.
	(sparc_can_output_mi_thunk): New predicate.
	* doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Document VCALL_OFFSET.
	(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Delete.
	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): New target hook.
	* config/sparc/sparc.c (emit_and_preserve): Preserve stack alignment.
	* config/sparc/sparc.md (movdi): Remove redundant test.
From-SVN: r88985
Paolo Bonzini [Wed, 13 Oct 2004 13:48:16 +0000 (13:48 +0000)]
 
tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL, TDF_IPA from -fdump-tree-*-all.
2004-10-13  Paolo Bonzini  <bonzini@gnu.org>
	* tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL,
	TDF_IPA from -fdump-tree-*-all.
From-SVN: r88984
Paul Brook [Wed, 13 Oct 2004 12:48:03 +0000 (12:48 +0000)]
 
arm-protos.h (arm_load_pic_register): Update prototype.
	* config/arm/arm-protos.h (arm_load_pic_register): Update prototype.
	* config/arm/arm.c (thumb_find_work_register): Update comments.
	(arm_load_pic_register): Add argument for scratch register.
	(arm_expand_prologue, thumb_expand_prologue): Pass extra argument.
	* config/arm/arm.md (builtin_setjmp_receiver): Ditto.
From-SVN: r88982
Kazu Hirata [Wed, 13 Oct 2004 12:02:25 +0000 (12:02 +0000)]
 
* search.c: Fix a comment typo.
From-SVN: r88981
Kazu Hirata [Wed, 13 Oct 2004 11:58:10 +0000 (11:58 +0000)]
 
* tree-data-ref.c: Fix comment typos.
From-SVN: r88980
Jakub Jelinek [Wed, 13 Oct 2004 11:27:01 +0000 (13:27 +0200)]
 
re PR tree-optimization/17724 (wrong dominator (eh/fold all builtins) related)
	PR tree-optimization/17724
	* tree-cfg.c (tree_purge_dead_eh_edges): Free dominance info.
	* g++.dg/opt/pr17724-1.C: New test.
	* g++.dg/opt/pr17724-2.C: New test.
	* g++.dg/opt/pr17724-3.C: New test.
	* g++.dg/opt/pr17724-4.C: New test.
	* g++.dg/opt/pr17724-5.C: New test.
	* g++.dg/opt/pr17724-6.C: New test.
Co-Authored-By: Zdenek Dvorak <dvorakz@suse.cz>
From-SVN: r88979
Dorit Naishlos [Wed, 13 Oct 2004 11:04:24 +0000 (11:04 +0000)]
 
rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()).
2004-10-13  Dorit Naishlos  <dorit@il.ibm.com>
        * rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()).
        (altivec_builtin_mask_for_store): Likewise.
        (altivec_init_builtins): Use lang_hooks.builtin_function to
        create the decls for builtin_altivec_mask_for_load/store.
From-SVN: r88978
Nick Clifton [Wed, 13 Oct 2004 10:50:30 +0000 (10:50 +0000)]
 
Remove inclusion of loop.h
From-SVN: r88977
Kazuhiro Inaoka [Wed, 13 Oct 2004 10:34:21 +0000 (10:34 +0000)]
 
Add support for M32R
From-SVN: r88976
Paolo Carlini [Wed, 13 Oct 2004 08:58:41 +0000 (08:58 +0000)]
 
basic_string.tcc (_S_create): Use consistently the exponential policy, simplify.
2004-10-13  Paolo Carlini  <pcarlini@suse.de>
	* include/bits/basic_string.tcc (_S_create): Use consistently
	the exponential policy, simplify.
	* testsuite/performance/21_strings/string_append_2.cc: New.
	* include/ext/array_allocator.h (allocate): Fix bad_alloc check.
	* testsuite/ext/array_allocator/2.cc: Fix wrt 64-bit archs (in
	that case sizeof(_Rep) == 24).
From-SVN: r88972
Ben Elliston [Wed, 13 Oct 2004 04:33:28 +0000 (04:33 +0000)]
 
basic-block.h (edge_iterator): Keep the address of VEC(edge) *.
	* basic-block.h (edge_iterator): Keep the address of VEC(edge) *.
	(ei_container): New; renamed.
	(ei_start, ei_last): New macros.
	(ei_start_1, ei_last_1): Renamed from ei_start.
	(ei_last_1, ei_end_p): Use ei_container() where applicable.
	(ei_one_before_end_p, ei_next, ei_edge): Likewise.
	* gcse.c (remove_reachable_equiv_notes): Use ei_container().
From-SVN: r88966
Sebastian Pop [Wed, 13 Oct 2004 03:48:03 +0000 (05:48 +0200)]
 
Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h.
2004-10-11  Sebastian Pop  <pop@cri.ensmp.fr>
	* Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h.
	* cfgloop.c (initialize_loops_parallel_p): New.
	(flow_loops_find): Initialize the parallel_p field to true for all
	the loops.
	* tree-ssa-loop-niter.c: Include "tree-data-ref.h".
	(estimate_numbers_of_iterations_loop): Infers the loop bounds from
	the size of the data accessed in the loop.
	(struct nb_iter_bound): Moved...
	* cfgloop.h (struct nb_iter_bound): ... here.
	(estimated_nb_iterations, parallel_p): New fields in struct loop.
	(record_estimate): Declare extern here.
	* tree-chrec.c: Fix comments.
	(nb_vars_in_chrec): New function.
	* tree-chrec.h (nb_vars_in_chrec): Declared here.
	* tree-data-ref.c: Don't include lambda.h, that is already included
	in tree-data-ref.h.
	(tree_fold_divides_p): Don't check for integer_onep.
	(tree_fold_bezout): Removed.
	(gcd): New static duplicated function.
	(int_divides_p, dump_subscript): New.
	(dump_data_dependence_relation): Use dump_subscript.
	(dump_dist_dir_vectors, dump_ddrs, compute_estimated_nb_iterations,
	estimate_niter_from_size_of_data): New.
	(analyze_array_indexes, analyze_array): Call
	estimate_niter_from_size_of_data during	the detection of array
	references.  Pass in a pointer to the statement that contains the
	array reference.
	(all_chrecs_equal_p): New.
	(compute_distance_vector): Renamed compute_subscript_distance.
	Deal with multivariate conflict functions.
	(initialize_data_dependence_relation): Initialize DDR_AFFINE_P,
	DDR_SIZE_VECT, DDR_DIST_VECT, and DDR_DIR_VECT.
	(non_affine_dependence_relation): New.
	(analyze_ziv_subscript, analyze_siv_subscript_cst_affine,
	analyze_siv_subscript, analyze_miv_subscript,
	analyze_overlapping_iterations, subscript_dependence_tester):
	Initialize and return last_conflicts function.
	(initialize_matrix_A, FLOOR, compute_overlap_steps_for_affine_univar,
	compute_overlap_steps_for_affine_1_2): New.
	(analyze_siv_subscript_affine_cst): Removed.
	(analyze_subscript_affine_affine): Disprove dependences based on the
	iteration domains.  Solve the univariate dependence case as before,
	but use lambda_matrix_right_hermite instead of tree_fold_bezout.
	Implement the multivariate case of 2 versus 1 variables.
	(build_classic_dist_vector, build_classic_dir_vector): Implement some
	unhandled cases.
	(find_data_references_in_loop): Compute and initialize
	loop->estimated_nb_iterations and loop->parallel_p.
	(analyze_all_data_dependences): Modify the debug dump order.
	* tree-data-ref.h (SUB_LAST_CONFLICT_IN_A, SUB_LAST_CONFLICT_IN_B,
	subscript->last_conflict_in_a, subscript->last_conflict_in_b): Removed.
	(SUB_LAST_CONFLICT, subscript->last_conflict,
	data_dependence_relation->affine_p, data_dependence_relation->size_vect,
	DDR_AFFINE_P, DDR_SIZE_VECT): New.
	(find_data_references_in_loop, initialize_data_dependence_relation,
	dump_subscript, dump_ddrs, dump_dist_dir_vectors): Declared here.
From-SVN: r88965
Kelley Cook [Wed, 13 Oct 2004 00:55:22 +0000 (00:55 +0000)]
 
configure: Regenerate.
2004-10-12  Kelley Cook  <kcook@gcc.gnu.org>
	* configure: Regenerate.
From-SVN: r88962
GCC Administrator [Wed, 13 Oct 2004 00:16:45 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88960.2
GCC Administrator [Wed, 13 Oct 2004 00:16:40 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88958.2
Paolo Carlini [Wed, 13 Oct 2004 00:11:14 +0000 (00:11 +0000)]
 
[multiple changes]
2004-10-12  Paolo Carlini  <pcarlini@suse.de>
	PR libstdc++/17948
	* include/bits/stl_tree.h (erase(iterator, iterator)): Revert
	wrong commit of 2004-10-07.
2004-10-12  Scott Snyder  <snyder@fnal.gov>
	PR libstdc++/17948
	* testsuite/23_containers/set/modifiers/17948.cc: New.
From-SVN: r88956
Kelley Cook [Tue, 12 Oct 2004 22:49:34 +0000 (22:49 +0000)]
 
configure.in (*-*-cygwin*): Supress warning if newlib not present.
2004-10-12  Kelley Cook  <kcook@gcc.gnu.org>
	* configure.in (*-*-cygwin*): Supress warning if newlib not present.
	* configure: Regenerate.
From-SVN: r88954
Fariborz Jahanian [Tue, 12 Oct 2004 20:51:50 +0000 (20:51 +0000)]
 
Restored acciddental check-in.
From-SVN: r88951
Fariborz Jahanian [Tue, 12 Oct 2004 20:50:08 +0000 (20:50 +0000)]
 
re PR tree-optimization/17892 (gcc-4.0 should not reassociate floating point add or multiplication)
PR 17892.
OKed by Roger Sayle.
From-SVN: r88950
Ulrich Weigand [Tue, 12 Oct 2004 20:37:15 +0000 (20:37 +0000)]
 
s390.c (s390_va_start): Use build_va_arg_indirect_ref.
	* config/s390/s390.c (s390_va_start): Use build_va_arg_indirect_ref.
	(s390_gimplify_va_arg): Likewise.
From-SVN: r88949
Daniel Jacobowitz [Tue, 12 Oct 2004 19:28:56 +0000 (19:28 +0000)]
 
* defaults.h (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P)
	(MODE_BASE_REG_REG_CLASS, REGNO_MODE_OK_FOR_REG_BASE_P)
	(REG_MODE_OK_FOR_REG_BASE_P): Provide default definitions.
	* regclass.c (record_address_regs): Remove ifdef.  Use
	REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS.
	* regrename.c (REG_MODE_OK_FOR_BASE_P): Remove unnecessary
	definition.
	(scan_rtx_address, replace_oldest_value_addr): Use
	REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS.
	* reload.c (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P): Remove
	unnecessary definitions.
	(find_reloads_address_1): Support REG_MODE_OK_FOR_REG_BASE_P
	and MODE_BASE_REG_REG_CLASS.
	* config/arm/arm.h (MODE_BASE_REG_CLASS): Don't check reload_completed.
	(MODE_BASE_REG_REG_CLASS): Define.
	(REGNO_MODE_OK_FOR_REG_BASE_P): Define.
	(REG_MODE_OK_FOR_REG_BASE_P): Define.
	* doc/tm.texi (Register Classes): Document MODE_BASE_REG_REG_CLASS,
	REG_MODE_OK_FOR_REG_BASE_P, and REGNO_MODE_OK_FOR_REG_BASE_P.
From-SVN: r88948
Daniel Berlin [Tue, 12 Oct 2004 18:31:42 +0000 (18:31 +0000)]
 
The apostrophe was there to signal that the s was coming
From-SVN: r88946
Daniel Berlin [Tue, 12 Oct 2004 18:24:45 +0000 (18:24 +0000)]
 
tree-ssa-alias.c (verify_name_tags): New function.
2004-10-12  Daniel Berlin <dberlin@dberlin.org>
	* tree-ssa-alias.c (verify_name_tags): New function.
	(verify_flow_sensitive_alias_info): Remove code that used to check name tags.
	(verify_alias_info): Call verify_name_tags.
From-SVN: r88945
Kazu Hirata [Tue, 12 Oct 2004 17:14:42 +0000 (17:14 +0000)]
 
re PR rtl-optimization/17931 (andl and testb are not combined)
	PR rtl-optimization/17931
	* config/i386/i386.c (ix86_rtx_costs): Handle COMPARE with
	ZERO_EXTRACT in it.
From-SVN: r88943
Richard Earnshaw [Tue, 12 Oct 2004 16:43:56 +0000 (16:43 +0000)]
 
arm.c (arm_print_operand): Use output_operand_lossage where possible rather than aborting.
* arm.c (arm_print_operand): Use output_operand_lossage where possible
rather than aborting.
From-SVN: r88940
Nathan Sidwell [Tue, 12 Oct 2004 16:04:24 +0000 (16:04 +0000)]
 
class.c (dfs_modify_vtables): Simplify condition.
	* class.c (dfs_modify_vtables): Simplify condition. Return
	dfs_skip_bases as appropriate.
	(modify_all_vtables): Walk in pre-order.
	* search.c (dfs_walk_all, dfs_walk_once_r,
	dfs_walk_once_accessible_r): Assert post order function never
	returns dfs_skip_bases.
From-SVN: r88939
Paul Brook [Tue, 12 Oct 2004 15:38:30 +0000 (15:38 +0000)]
 
config.gcc: Add armv6{k,z,zk}
	* config.gcc: Add armv6{k,z,zk}
	* config/arm/arm-cores.def: Add arm1176 and mpcore.
	* config/arm/tune.md: Regenerate.
	* config/arm/arm.c (FL_FOR_ARCH6K, FL_FOR_ARCH6Z, FL_FOR_ARCH6ZK):
	Define.
	(all_architectures): Add armv6k, armv6z, armv6zk.
	* config/arm/lib1funcs.asm: Recognise new arm arcitectures.
	* doc/invoke.texi: Document new arch and cpu values.
From-SVN: r88937
Nathan Sidwell [Tue, 12 Oct 2004 14:23:39 +0000 (14:23 +0000)]
 
search.c (struct lookup_base_data_s): New.
	* search.c (struct lookup_base_data_s): New.
	(lookup_base_r): Replace with ...
	(dfs_lookup_base): ... this.
	(lookup_base): Use dfs_walk_all.
From-SVN: r88934
Paul Brook [Tue, 12 Oct 2004 14:10:39 +0000 (14:10 +0000)]
 
bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Change meabi=3 to meabi=4.
	* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Change meabi=3 to
	meabi=4.
[[Split portion of a mixed commit.]]
From-SVN: r88930.2
Paul Brook [Tue, 12 Oct 2004 13:56:03 +0000 (13:56 +0000)]
 
arm.md (addsi3_cbranch_scratch): Correct constraints.
	* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.
	Handle negative constants.
From-SVN: r88929
Paul Brook [Tue, 12 Oct 2004 13:54:06 +0000 (13:54 +0000)]
 
arm.md (addsi3_cbranch_scratch): Correct constraints.
	* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.
	Handle negative constants.
[[Split portion of a mixed commit.]]
From-SVN: r88928.2
Kazu Hirata [Tue, 12 Oct 2004 13:24:18 +0000 (13:24 +0000)]
 
* search.c: Fix comment typos.
From-SVN: r88927
Rutger Ovidius [Tue, 12 Oct 2004 10:13:39 +0000 (10:13 +0000)]
 
re PR libgcj/17903 (Incorrect SHA result)
2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
	PR libgcj/17903:
	* testsuite/libjava.lang/md5test.java: New file.
	* testsuite/libjava.lang/md5test.out: Likewise.
	* testsuite/libjava.lang/shatest.java: Likewise.
	* testsuite/libjava.lang/shatest.out: Likewise.
From-SVN: r88922
Joseph Myers [Tue, 12 Oct 2004 08:32:17 +0000 (09:32 +0100)]
 
re PR c/17301 (ICE on wrong usage of __builtin_stdarg_start)
	PR c/17301
	* c-typeck.c (convert_arguments): Return error_mark_node if there
	are too few arguments.
	(build_function_call): Handle error_mark_node return from
	convert_arguments.
testsuite:
	* gcc.dg/pr17301-2.c: New test.
From-SVN: r88921
Paolo Bonzini [Tue, 12 Oct 2004 08:22:31 +0000 (08:22 +0000)]
 
configure.ac (symbolic_link): Replace with $LN_S.
2004-10-06  Paolo Bonzini  <bonzini@gnu.org>
	* configure.ac (symbolic_link): Replace with $LN_S.
	(Assembler/Linker): Hard link from gas and binutils trees.
	* aclocal.m4 (gcc_AC_PROG_LN_S): Try "cp -p" before cp.
	* configure: Regenerate.
From-SVN: r88920
Mark Mitchell [Tue, 12 Oct 2004 01:52:19 +0000 (01:52 +0000)]
 
re PR c++/15786 (Bad error message for frequently occuring error.)
	PR c++/15786
	* parser.c (cp_parser_declarator): Add member_p parameter.
	(cp_parser_condition): Adjust calls to cp_parser_declarator.
	(cp_parser_explicit_instantiation): Likewise.
	(cp_parser_init_declarator): Likewise.
	(cp_parser_direct_declarator): Add member_p parameter.  Do not
	parse tentatively when parsing the parameters to a member.
	(cp_parser_type_id): Adjust calls to cp_parser_declarator.
	(cp_parser_parameter_declaration): Likewise.
	(cp_parser_member_declaration): Likewise.
	(cp_parser_exception_declaration): Likewise.
	PR c++/15876
	* g++.dg/parse/error22.C: New test.
From-SVN: r88914
Benjamin Kosnik [Tue, 12 Oct 2004 01:10:39 +0000 (01:10 +0000)]
 
re PR libstdc++/17937 (Critical ~__pool troubles)
2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
	* include/bits/stl_deque.h: Correct for over-long lines.
2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
	PR libstdc++/17937
	* include/ext/mt_allocator.h (__pool::_M_destroy): New.
	* src/mt_allocator.cc (__pool::~__pool): Change definitions to
	_M_destroy.
	* acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT.
	* acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove.
	* configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT.
	* configure: Regenerate.
	* config/linker-map.gnu: Tweak exports.
	* docs/html/ext/mt_allocator.html: Update docs.
	* testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix.
	* testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix.
	* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix.
	* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix.
	* testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix.
	* testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix.
	* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix.
	* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix.
From-SVN: r88913
GCC Administrator [Tue, 12 Oct 2004 00:16:25 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88911.2
GCC Administrator [Tue, 12 Oct 2004 00:16:20 +0000 (00:16 +0000)]
 
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r88910.2
Paul Brook [Mon, 11 Oct 2004 23:29:52 +0000 (23:29 +0000)]
 
configure.ac: Don't look for host assembler when building a canadian cross.
	* configure.ac: Don't look for host assembler when building a canadian
	cross.
	* configure: Regenerate.
From-SVN: r88907
Roger Sayle [Mon, 11 Oct 2004 22:57:53 +0000 (22:57 +0000)]
 
re PR other/17361 (gcc driver complains about C++ options when assembling)
	PR other/17361
	* c-opts.c (permit_fortran_options): Delete/obsolete global variable.
	(c_common_init_options): Remove #ifdef CL_F77 code.  Scan command
	line options for "-lang-asm" and if found allow any of the C-family
	front-end options.
	(c_common_handle_option): Remove last use of permit_fortran_options.
From-SVN: r88906
Mark Mitchell [Mon, 11 Oct 2004 22:50:00 +0000 (22:50 +0000)]
 
re PR c++/17936 (Declaration of specialization rejected)
	PR c++/17936
	* cp-tree.h (CLASSTYPE_TEMPLATE_SPECIALIZATION): Add a comment.
	* pt.c (optimize_specialization_lookup_p): Do not optimize lookups
	for members of partial or explicit specializations.
	PR c++/17936
	* g++.dg/template/spec18.C: New test.
From-SVN: r88905
Steve Ellcey [Mon, 11 Oct 2004 21:02:48 +0000 (21:02 +0000)]
 
ia64-asm-1.c: Add prototype for abort
	* testsuite/gcc.dg/ia64-asm-1.c: Add prototype for abort
	* testsuite/gcc.dg/ia64-sync-1.c: Add prototype for abort and
	memcpy.
	* testsuite/gcc.dg/ia64-sync-2.c: Ditto.
	* testsuite/gcc.dg/ia64-sync-3.c: Ditto.
From-SVN: r88904
Ulrich Weigand [Mon, 11 Oct 2004 20:54:07 +0000 (20:54 +0000)]
 
s390.c (print_operand): Support 'S' format flag.
	* config/s390/s390.c (print_operand): Support 'S' format flag.
	* config/s390/s390.md ("*tmqi_mem"): Use 'S' format flag.
	("*tstsi", "*tstsi_cconly", "*tstsi_cconly2"): Likewise.
	("*tsthiCCT", "*tsthiCCT_cconly", "*tsthi", "*tsthi_cconly"): Likewise.
	("*tstqiCCT", "*tstqiCCT_cconly", "*tstqi", "*tstqi_cconly"): Likewise.
	("*cmphi_ccu", "*cmpqi_ccu", "*clc"): Likewise
	("movti", "*movdi_31", "*movqi", "*movdf_31", "*mvc"): Likewise.
	("*movstricthi"): Likewise.
	("*load_multiple_di", "*load_multiple_si"): Likewise.
	("*store_multiple_di", "*store_multiple_si"): Likewise.
	("*sethiqisi", "*sethihisi"): Likewise.
	("*sethiqidi_64", "*sethiqidi_31"): Likewise.
	("*andqi3_zarch", "*andqi3_esa", "*nc"): Likewise.
	("*iorqi3_zarch", "*iorqi3_esa", "*oc"): Likewise.
	("*xorqi3", "*xc", "*xc_zero"): Likewise.
	("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): Likewise.
	("*tmhi_full"): Fix incorrect op_type attribute.
	("*adddi3_alc_cc", "*adddi3_alc"): Remove double backslash.
	("*subdi3_slb_cc", "*subdi3_slb"): Likewise.
	("*addsi3_alc_cc", "*addsi3_alc"): Likewise.
	("*subsi3_slb_cc", "*subsi3_slb"): Likewise.
From-SVN: r88903
Benjamin Kosnik [Mon, 11 Oct 2004 20:26:53 +0000 (20:26 +0000)]
 
PR libstdc++/16614 continued.
2004-10-11  Benjamin Kosnik  <bkoz@redhat.com>
	PR libstdc++/16614 continued.
	* include/ext/mt_allocator.h
	(__per_type_pool_policy::_S_get_pool): Use saner defaults based on
	specific type characteristics.
	(__pool_base): Add constructor that takes a _Tune argument.
	(__pool): Same.
	* testsuite/ext/mt_allocator/tune-2.cc: Adjust default.
	* testsuite/ext/mt_allocator/tune-4.cc: Same.
	* testsuite/ext/mt_allocator/tune-3.cc: Same.
From-SVN: r88902
Tom Tromey [Mon, 11 Oct 2004 18:45:43 +0000 (18:45 +0000)]
 
re PR libgcj/14856 (Update bundled zlib)
	PR libgcj/14856:
	* Imported zlib 1.2.1; merged local changes.
From-SVN: r88898
Tom Tromey [Mon, 11 Oct 2004 18:45:11 +0000 (18:45 +0000)]
 
ChangeLog file for zlib
Changes in 1.2.1 (17 November 2003)
From-SVN: r88897
Andrew Pinski [Mon, 11 Oct 2004 18:32:40 +0000 (11:32 -0700)]
 
re PR middle-end/16266 (gcc.dg/c99-intconst-1.c compilation is very slow)
2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu
        PR middle-end/16266
        * function.c (temp_slots_at_level): Fix typo which creates too
        many temp stack slots levels.
From-SVN: r88896
Ulrich Weigand [Mon, 11 Oct 2004 18:28:25 +0000 (18:28 +0000)]
 
s390.c (s390_trampoline_template): Generate shorter trampoline code.
	* config/s390/s390.c (s390_trampoline_template): Generate shorter
	trampoline code.
	(s390_trampoline_instantiate): Adapt.
	* config/s390/s390.h (TRAMPOLINE_SIZE): Adapt to new code.
From-SVN: r88895
Richard Henderson [Mon, 11 Oct 2004 17:49:39 +0000 (10:49 -0700)]
 
posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
        * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
        (_Jv_ThreadSelf): Use __builtin_thread_pointer.
From-SVN: r88894
Tom Tromey [Mon, 11 Oct 2004 17:44:11 +0000 (17:44 +0000)]
 
Initial revision
From-SVN: r88890
Andrew Pinski [Mon, 11 Oct 2004 17:20:16 +0000 (17:20 +0000)]
 
cleanup5.C: Add dg-options "".
2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
        * g++.dg/eh/cleanup5.C: Add dg-options "".
From-SVN: r88888
Mark Mitchell [Mon, 11 Oct 2004 16:59:23 +0000 (16:59 +0000)]
 
re PR c++/17929 (ICE with qualified name in template specialization)
	PR c++/17929
	* decl2.c (finish_anon_union): Robustify.
From-SVN: r88886
Nathan Sidwell [Mon, 11 Oct 2004 16:36:03 +0000 (16:36 +0000)]
 
cp-tree.h (get_dynamic_cast_base_type): Rename to ...
	* cp-tree.h (get_dynamic_cast_base_type): Rename to ...
	(dcast_base_hint): ... here.
	* rtti.c (build_dynamic_cast_1): Use dcast_base_hint.
	* search.c (struct dcast_data_s): New.
	(dynamic_cast_base_recurse): Remove. Replace with ...
	(dfs_dcast_hint_pre, dfs_dcast_base_post): ... these. New.
	(get_dynamic_cast_base_type): Rename to ...
	(dcast_base_hint): ... here.  Use dfs_walk_once_accessible.
	(accessible_r): Remove.
	(dfs_accessible_post): New, broken out of accessible_r.
	(accessible_p): Use dfs_walk_once_accessible.
	(dfs_walk_once_accessible_r): New. From accessible_r.
	(dfs_walk_once_accessible): New. From acessible_p.
From-SVN: r88884
Roger Sayle [Mon, 11 Oct 2004 16:11:35 +0000 (16:11 +0000)]
 
re PR middle-end/17657 (ICE in expand_case)
	PR middle-end/17657
	* stmt.c (add_case_node): Add additional type argument.  Declare
	as static to match prototype.  Convert the upper and lower bounds
	to the specified index type.  Optimize away case ranges/values
	that are outside the index type's bounds.  Truncate case ranges
	that span the index type's bounds.
	(expand_case): Avoid unnessary computation and memory allocation
	when index type is error_mark_node.  Pass index_type as required
	by change to add_case_node API.  No need to convert case range
	bounds to index_type, this is now done by add_case_node.
	* gcc.dg/switch-4.c: New test case.
From-SVN: r88881
Nathan Sidwell [Mon, 11 Oct 2004 15:38:23 +0000 (15:38 +0000)]
 
cp-tree.h (SAME_BINFO_TYPE_P): New.
	* cp-tree.h (SAME_BINFO_TYPE_P): New.
	* class.c (build_base_path): Use SAME_BINFO_TYPE_P to compare
	binfo types.
	(convert_to_base_statically, determine_primary_bases,
	update_vtable_entry_for_fn, dfs_modify_vtables, build_vtt_inits,
	dfs_build_secondary_vptr_vtt_inits, build_ctor_vtbl_group,
	accumulate_vtbl_inits, dfs_accumulate_vtbl_inits,
	build_vtbl_initializer, add_vcall_offset_vtbl_entries_1): Likewise.
	* init.c (expand_member_init): Likewise.
	* search.c (lookup_base_r, dynamic_cast_base_recurse,
	binfo_via_virtual, copied_binfo, binfo_for_vbase,
	original_binfo): Likewise.
	* tree.c (copy_binfo): Likewise.
From-SVN: r88880
Ulrich Weigand [Mon, 11 Oct 2004 14:33:25 +0000 (14:33 +0000)]
 
s390-protos.h (s390_offset_p): Add prototype.
	* config/s390/s390-protos.h (s390_offset_p): Add prototype.
	* config/s390/s390.c (s390_offset_p): New function.
	* config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccu",
	"*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use splitter to
	transform Q->Q alternatives to *clc pattern.
	("*clc"): Move.
	("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa",
	"*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf"): Use splitter
	to transform Q->Q alternatives to *mvc pattern.
	("*mvc"): Move.  Add peephole to merge adjacent MVCs.
	("*anddi3", "*andsi3_zarch", "*andsi3_esa", "*andhi3_zarch",
	"*andhi3_esa", "*andqi3_zarch", "*andqi3_esa"): Use splitter to
	transform Q->Q alternatives to *nc pattern.
	("*nc"): New insn.  New peephole to merge adjacent NCs.
	("*iordi3", "*iorsi3_zarch", "*iorsi3_esa", "*iorhi3_zarch",
	"*iorhi3_esa", "*iorqi3_zarch", "*iorqi3_esa"): Use splitter to
	transform Q->Q alternatives to *oc pattern.
	("*oc"): New insn.  New peephole to merge adjacent OCs.
	("*xordi3", "*xorsi3", "*xorhi3", "*xorqi3"): Use splitter to
	transform Q->Q alternatives to *xc pattern.
	("*xc"): New insn.  New peephole to merge adjacent XCs.
	("*xc_zero"): Move.  Add peephole to merge adjacent XCs.
From-SVN: r88878
Andrew Pinski [Mon, 11 Oct 2004 12:57:09 +0000 (12:57 +0000)]
 
gimplify.c (gimple_push_condition): Make sure that we don't have any saved condition cleanup if...
2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu>
        * gimplify.c (gimple_push_condition): Make sure that we don't
        have any saved condition cleanup if we were at the top level.
From-SVN: r88877
Richard Sandiford [Mon, 11 Oct 2004 12:13:43 +0000 (12:13 +0000)]
 
frv.md (*adddi3_internal): Change name to...
	* config/frv/frv.md (*adddi3_internal): Change name to...
	(adddi3): ...replacing the exisiting define_expand.  Combine
	alternatives.  Fix the range of the constant constraints ('J' instead
	of 'NOP').  Remove bogus operands[2] check.  Use simplify_gen_subreg
	to extract the lower and upper halves of the DImode operands.
	Always use addi3_lower and adddi3_upper, not the subdi3 forms.
	(adddi3_lower): Fix the range of the constant constraints and
	remove the bogus operands[2] check.
	(adddi3_upper): Use gpr_or_int10_operand as the predicate for
	operand 2.  Use addxi to handle constant operands.
	(subdi3_lower, subdi3_upper): Don't handle constant operands.
From-SVN: r88876
Kazu Hirata [Mon, 11 Oct 2004 11:47:11 +0000 (11:47 +0000)]
 
* semantics.c: Fix comment typos.
From-SVN: r88875
Nathan Sidwell [Mon, 11 Oct 2004 08:55:23 +0000 (08:55 +0000)]
 
gengtype-lex.l: Add commented } & ) characters to unconfuse editor's paren matching.
	* gengtype-lex.l: Add commented } & ) characters to unconfuse
	editor's paren matching. Allow #define inside a struct.
From-SVN: r88873
Joachim Kuebart [Mon, 11 Oct 2004 08:19:35 +0000 (08:19 +0000)]
 
pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk): Deal properly with exceptions thrown by ::operator new(size_t).
2004-10-11  Joachim Kuebart  <kuebart@mathematik.uni-ulm.de>
	    Paolo Carlini  <pcarlini@suse.de>
	* src/pool_allocator.cc (__pool_alloc_base::_M_allocate_chunk):
	Deal properly with exceptions thrown by ::operator new(size_t).
	* testsuite/ext/pool_allocator/allocate_chunk.cc: New.
	* include/ext/pool_allocator.h: Include <cstdlib>.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r88872
Andreas Jaeger [Mon, 11 Oct 2004 05:29:17 +0000 (07:29 +0200)]
 
Remove extra whitespace.
From-SVN: r88871
Andreas Jaeger [Mon, 11 Oct 2004 05:19:48 +0000 (07:19 +0200)]
 
makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
	* makedepend.c: Include mkdeps.h for prototype of deps_add_vpath.
	* Makefile.in (makedepend.o): Add dependency on mkdeps.h.
From-SVN: r88870
Andrew Pinski [Mon, 11 Oct 2004 03:42:09 +0000 (03:42 +0000)]
 
re PR c++/17554 (crashes in on kopete build (KDE's kdenetwork))
2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>
        PR c++/17554
        part of c++/17657
        middle-end/17703
        * semantics.c (maybe_cleanup_point_expr): Call
        fold_build_cleanup_point_expr.
        (maybe_cleanup_point_expr_void): New function.
        (add_decl_expr): Call maybe_cleanup_point_expr_void.
        (finish_expr_stmt): Likewise.
        (finish_return_stmt): Likewise.
        (finish_for_expr): Likewise.
        (finish_asm_stmt): Likewise.
        * typeck.c (condition_conversion): Call
        fold_build_cleanup_point_expr.
2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>
        PR middle-end/17703
        part of PR c++/17657
        * fold-const.c (fold_build_cleanup_point_expr): New function.
        * tree.h (fold_build_cleanup_point_expr): Prototype.
2004-10-10  Andrew Pinski  <pinskia@physics.uc.edu>
        PR c++/17554
        * g++.dg/init/for3.C: New test.
        PR c++/17657
        * g++.dg/opt/switch2.C: New test.
        PR middle-end/17703
        * g++.dg/warn/Wreturn-2.C: New test.
From-SVN: r88869
Eric Christopher [Mon, 11 Oct 2004 03:22:28 +0000 (03:22 +0000)]
 
dwarf2out.c: Move attribute to subprogram declaration instead of subroutine type.
2004-10-10  Eric Christopher  <echristo@redhat.com>
	* dwarf2out.c: Move attribute to subprogram declaration
	instead of subroutine type.
From-SVN: r88868