Commit Graph

62571 Commits

Author SHA1 Message Date
Richard Henderson
0ba6c56d92 re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031)
PR debug/14492
        * dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR.

From-SVN: r89066
2004-10-14 16:30:18 -07:00
Richard Henderson
559f2da552 re PR c/17023 (ICE with nested functions in parameter declaration)
PR c/17023
        * c-decl.c (store_parm_decls_oldstyle): Care for parameter type
        as error_mark_node.
        * c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null
        instaed of current_function_decl non-null.

From-SVN: r89063
2004-10-14 16:20:58 -07:00
Matt Austern
0c58f841a5 Speed up walk_tree by introducing a special-purpose hash table.
* pointer-set.c: New file, special-purpose hash table.
	* pointer-set.h: New file.
	* tree.h (struct pointer_set_t): Declare as opaque type.
	(tree_walk): Last argument is pointer_set_t* now.
	* tree-inline.c (WALK_SUBTREE): Convert from htab to pset.
	(walk_type_fields):
	(walk_tree): Convert from htab_t to pointer_set_t for keeping
	track of which nodes have already been visited.
	(walk_tree_without_duplicates): Convert from htab_t to pointer_set_t.
	* cgraphunit.c (cgraph_create_edges): Likewise.
	(cgraph_characterize_statics_local): Likewise.
	* tree-dfa.c (collect_dfa_stats): Likewise.
	* langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is
	pointer_set_t* now.
	* langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise.
	* langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type
	of walk_subtrees is pointer_set_t* now.
	* Makefile.in (OBJS-common): add pointer-set.o
	(tree-inline.o): Depends on pointer-set.h
	(tree-dfa.o): Likewise
	(cgraphunit.o): Likewise
	* cp/Make-lang.in (pt.o): depends on pointer-set.h
	* cp/cp-tree.h (cp_walk_subtrees): Last argument is pointer_set_t* now.
	* cp/pt.c (struct pair_fn_data): Use pointer_set_t, not htab_t
	(for_each_template_parm): Convert from htab_t to pointer_set_t.
	* cp/tree.c (cp_walk_subtrees): Last argument is pointer_set_t* now.
	* java/lang.c (java_tree_inlining_walk_subtrees): Last arg is struct
	pointer_set_t* now.

From-SVN: r89062
2004-10-14 23:15:29 +00:00
Benjamin Kosnik
5d1b2a1e42 mt_allocator.h (__mt_alloc::deallocate): Check for null pointer.
2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
	null pointer.
	* include/ext/pool_allocator.h (debug_allocator::deallocate):
	Check pointer value.
	* include/ext/debug_allocator.h (debug_allocator::deallocate):
	Throw exceptions, don't abort.
	* include/ext/array_allocator.h
	(array_allocator_base::deallocate): Remove unused parameters.
	* testsuite/testsuite_allocator.h (check_deallocate_null): New.
	* testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
	* testsuite/ext/array_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/new_allocator/check_deallocate_null.cc: New.
	* testsuite/ext/pool_allocator/check_deallocate_null.cc: New.

	* testsuite/testsuite_allocator.h (check_new): Add instance argument.
	* testsuite/ext/array_allocator/check_new.cc: New.

From-SVN: r89060
2004-10-14 23:03:26 +00:00
Geoffrey Keating
c4e18b1c3e darwin.h (ASM_SPEC): Delete.
2004-10-14  Geoffrey Keating  <geoffk@apple.com>

	* config/rs6000/darwin.h (ASM_SPEC): Delete.
	(TARGET_ASM_FILE_START): Define.
	* config/darwin.h (ASM_SPEC): Define.
	* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply
	-mlong-double-128, it's the default.  Update comment about reason
	for force_cpusubtype_ALL.
	* config/rs6000/darwin-vecsave.asm: Supply .machine.
	* config/rs6000/darwin-world.asm: Likewise.
	* config/rs6000/rs6000.c (rs6000_darwin_file_start): New.
	(symbolic_operand): Delete #if 0ed code.

Index: testsuite/ChangeLog
2004-10-14  Geoffrey Keating  <geoffk@apple.com>

	* gcc.dg/darwin-misaligned.c: Don't supply -force_cpusubtype_ALL.
	* gcc.dg/macho-lo-sum.c: Likewise.

From-SVN: r89059
2004-10-14 22:30:47 +00:00
Andrew Pinski
b77aa1f774 stmt.c (add_case_node): Make sure that we have integer constant before calling tree_int_cst_compare.
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * stmt.c (add_case_node): Make sure that we have integer
        constant before calling tree_int_cst_compare.

From-SVN: r89058
2004-10-14 15:01:45 -07:00
Andrew Pinski
4965c1630e re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))
2004-10-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17967
        Revert:
                * tree-cfg.c (remove_usless_stmts_cond):  Fold statement.
                (remove_useless_stmts_1):  Fold trees we know how to fold.

From-SVN: r89057
2004-10-14 15:00:04 -07:00
Paolo Carlini
cff1f8d41e bitmap_allocator.h (bitmap_allocator::_Alloc_block): Rename __unused to __M_unused.
2004-10-14  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/bitmap_allocator.h (bitmap_allocator::_Alloc_block):
	Rename __unused to __M_unused.

From-SVN: r89056
2004-10-14 21:44:13 +00:00
Benjamin Kosnik
1f042340f1 headers.cc: Add includes, compile only.
2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/ext/headers.cc: Add includes, compile only.
	* testsuite/ext/hash_map.cc: Move to...
	* testsuite/ext/hash_map/1.cc: ...here.
	* testsuite/ext/14648.cc: Move to...
	* testsuite/ext/hash_map/14648.cc: ...here.
	* testsuite/ext/hash_map/instantiate.cc: Add.
	* testsuite/ext/hash_set.cc: Move to...
	* testsuite/ext/hash_set/1.cc: ...here.
	* testsuite/ext/hash_set_explicit_instantiation.cc: Move to...
	* testsuite/ext/hash_set/instantiate.cc: ...here.
	* testsuite/ext/hash_check_construct_destroy.cc: Move to...
	* testsuite/ext/hash_set/check_construct_destroy.cc: ...here.
	* testsuite/ext/slist_check_construct_destroy.cc: Move to...
	* testsuite/ext/slist/check_construct_destroy.cc: ...here.
	* testsuite/ext/slist_explicit_instantiation.cc: Move to...
	* testsuite/ext/slist/instantiate.cc: ...here.

From-SVN: r89054
2004-10-14 21:34:52 +00:00
Benjamin Kosnik
11aaaa84ae mt_allocator.h: Tweaks.
2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/mt_allocator.h: Tweaks.
	* src/mt_allocator.cc: Same.

From-SVN: r89052
2004-10-14 21:05:24 +00:00
Ulrich Weigand
ed67425158 jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
	ffi_raw_call if FFI_NATIVE_RAW_API is not defined.

From-SVN: r89051
2004-10-14 20:36:37 +00:00
Joseph Myers
b419bac764 eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS), [...]): Disallow -m64.
* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
	config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
	-m64.

testsuite:
	* gcc.dg/ppc-spe64-1.c: New test.

From-SVN: r89048
2004-10-14 20:49:34 +01:00
Ulrich Weigand
d58005c7d6 reload.c (find_reloads): When reloading a PLUS with constant operand...
* reload.c (find_reloads): When reloading a PLUS with constant
	operand, make sure the constant is pushed to the constant pool
	if required.
	* config/s390/s390.c (s390_secondary_input_reload_class): Remove
	reload bug workaround.
	(s390_expand_plus_operand): Likewise.

From-SVN: r89047
2004-10-14 18:32:04 +00:00
David Edelsohn
3020563ae2 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
2004-10-14 14:29:17 -04:00
Devang Patel
0ecf0d5f41 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
2004-10-14 11:19:47 -07:00
Dhruv Matani
1399eca190 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
2004-10-14 17:52:18 +00:00
Olga Golovanevsky
a023975e42 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
2004-10-14 17:21:35 +00:00
Ranjit Mathew
7238c5ec25 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
2004-10-14 16:44:43 +00:00
Ira Rosen
322ae40b1a 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
2004-10-14 16:39:07 +00:00
Andrew Haley
180a373d0d 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
2004-10-14 15:21:13 +00:00
Richard Earnshaw
b79187bb54 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
2004-10-14 13:10:56 +00:00
Kaveh R. Ghazi
c7525a642e 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
2004-10-14 12:18:15 +00:00
Dorit Naishlos
f09232570b 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
2004-10-14 08:36:09 +00:00
Richard Sandiford
a25036452a 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
2004-10-14 07:37:11 +00:00
Ben Elliston
ef9af07733 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
2004-10-14 17:15:37 +10:00
Joseph Myers
ac24fc258d 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
2004-10-14 01:56:22 +01:00
Joseph Myers
81da229b08 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
2004-10-14 01:34:01 +01:00
GCC Administrator
599a049f76 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89019.2
2004-10-14 00:16:29 +00:00
GCC Administrator
5dba7f2df3 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89018.2
2004-10-14 00:16:22 +00:00
Richard Henderson
d8cb061445 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
2004-10-13 16:43:56 -07:00
Hans-Peter Nilsson
bf6ac87cc8 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
2004-10-13 23:35:03 +00:00
Hans-Peter Nilsson
5a78838a41 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
2004-10-13 23:32:15 +00:00
Richard Henderson
61f03abaa5 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
2004-10-13 16:31:23 -07:00
Richard Henderson
32e66afd7f re PR debug/13841 (missing debug info for _Complex function arguments)
PR debug/13841
        * function.c (instantiate_decl): Recurse for CONCAT.

From-SVN: r89007
2004-10-13 16:25:13 -07:00
David Edelsohn
9a3c428bc0 (extzvdi_internal1): Add attribute "compare".
(extzvdi_internal2): Same.

From-SVN: r89004
2004-10-13 18:41:36 -04:00
Tobias Schlüter
19e4c59dbf 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
2004-10-14 00:37:12 +02:00
David Edelsohn
520308bcb8 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
2004-10-13 18:20:24 -04:00
Tom Tromey
090359d60e * doc/md.texi (Insn Canonicalizations): Removed extraneous quote.
From-SVN: r89001
2004-10-13 20:53:43 +00:00
Dale Johannesen
2f59e40ed6 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
2004-10-13 19:14:44 +00:00
Frank Ch. Eigler
ddfabf89bb 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
2004-10-13 18:27:16 +00:00
Frank Ch. Eigler
ccab73c3b7 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
2004-10-13 18:18:18 +00:00
Andrew Pinski
163075a027 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
2004-10-13 10:27:31 -07:00
Kazuhiro Inaoka
a472e9d4e6 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
2004-10-13 17:20:24 +00:00
Andrew Pinski
bcd46a7c65 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
2004-10-13 10:18:16 -07:00
Tom Tromey
38467a0deb 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
2004-10-13 17:04:57 +00:00
Tom Tromey
e89f282171 re PR java/15578 (gcj doesn't support -extdirs)
PR java/15578:
	* gcc.c (option_map): Added --extdirs and --encoding.

From-SVN: r88990
2004-10-13 17:03:56 +00:00
Eric Botcazou
65e71cd635 Fix incomplete commit.
From-SVN: r88986
2004-10-13 14:09:05 +00:00
Eric Botcazou
b9bf58e5fa 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
2004-10-13 14:04:32 +00:00
Paolo Bonzini
2a10039cc9 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
2004-10-13 13:48:16 +00:00
Paul Brook
fe01343558 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
2004-10-13 12:48:03 +00:00