Commit Graph

55800 Commits

Author SHA1 Message Date
Kazuhiro Inaoka 91e736f994 (TARGET_M32R2). Test for TARGET_M32R2_MASK not TARGET_M32RX_MASK.
From-SVN: r76204
2004-01-20 10:17:23 +00:00
Eric Botcazou 4043d6fb40 re PR target/13557 (deviation from the psABI for small structures)
PR target/13557
	* config/sparc/sparc.c (function_arg): Reorder the cases.

From-SVN: r76202
2004-01-20 07:38:18 +00:00
Per Bothner 54020b29a8 Fix patch oops.
From-SVN: r76201
2004-01-19 23:35:21 -08:00
Stefan Olsson cec73eb50c mt_allocator.h: If a thread...
2004-01-19  Stefan Olsson  <stefan@snon.net>

	* include/ext/mt_allocator.h: If a thread, when it dies, still has
	memory on it's freelist this memory is not returned to global
	list. Simplification of deallocate so that memory is always
	returned to the calling thread id's freelist instead of to
	global. Fix typos. Add volatile where appropriate.

From-SVN: r76200
2004-01-20 06:35:21 +00:00
Per Bothner 50f59cd710 Move cpp_reader's line_maps field to a shared global.
* cpphash.h (cpp_reader):  Rename line_maps field to line_table
	and change the type to a pointer rather than a struct.
	* cppinit.c (cpp_push_main_field):  Adjust accordingly.
	* cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
	Likewise.
	* cppfiles.c (validate_pch):  Likewise.
	* cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
	Likewise.
	* cpperror.c (print_location):  Likewise.
	* cpplib.h (cpp_create_reader):  New line_maps pointer parameter.
	* cppinit.c (cpp_create_reader):  Handle new parameter.
	(cpp_destroy):  Don't free line_maps - that's no longer our job.
	* input.h (line_table):  New variable.
	* toplev.c (line_table):  Declare variable.
	(general_init):  Initialize line_table.
	* c-opts.c (c_common_init_options):  Pass line_table to
	cpp_create_reader.
	* fix-header.c (read_scan_file):  New local variable line_table.
	Initialize, and pass it to cpp_create_reader.
	* Makefile.in (LIBS, LIBDEPS):  Add libcpp.a.
	(C_AND_OBJC_OBJS, fix-header):  Remove redundant libcpp.a.

From-SVN: r76198
2004-01-19 21:30:18 -08:00
Per Bothner 9132fbb788 Implement a cache for linemap_lookup.
* line-map.h (struct_line_maps):  Add cache field.
	* line-map.c (linemap_init):  Zero cache field.
	(linemap_add):  Set cache field to offset of newly allocated map.
	(linemap_lookup):  Use and set cache field.

From-SVN: r76197
2004-01-19 21:17:48 -08:00
Kaz Kojima 26d107dba8 re PR rtl-optimization/13567 ([sh] miscompiling calls.c)
PR optimization/13567
	* cse.c (cse_basic_block): Call cse_insn with a non-null
	libcall_insn for the last SET insn of a no-confilict block.

From-SVN: r76195
2004-01-20 02:34:23 +00:00
James A. Morrison 9dfcd6092e treelang.exp: Fill out this file.
2004-01-18  James A. Morrison  <ja2morri@uwaterloo.ca>

        * lib/treelang.exp: Fill out this file.
        * lib/treelang-dg.exp: New File.

treelang:
2004-01-18  James A. Morrison  <ja2morri@uwaterloo.ca>

        * compile/compile.exp: New File.
        * compile/tabs.tree: Test whether the front end
        compiles code with tabs in it.

From-SVN: r76194
2004-01-20 01:57:58 +00:00
Kelley Cook e165d61b82 Makefile.in (target_noncanonical, [...]): Use immediate define instead of deferred.
gcc/
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in (target_noncanonical, program_transform_name): Use
	immediate define instead of deferred.
	(GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
	PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
	GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
	deferred backquote.

gcc/cp
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME,
	CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a
	immediate $(shell) instead of deferred backquote.

gcc/f
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell)
	instead of deferred backquote.

gcc/java
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME,
	GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell)
	instead of deferred backquote.

From-SVN: r76193
2004-01-20 01:52:02 +00:00
Joseph Myers 53cd18ec8e c-decl.c (c_init_decl_processing): Set pedantic_lvalues to true unconditionally.
* c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
	true unconditionally.
	* c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
	Remove.
	(build_unary_op, build_modify_expr): Don't handle extended
	lvalues.
	(build_component_ref, build_conditional_expr): Call non_lvalue
	instead of pedantic_non_lvalue.
	(build_c_cast): Don't condition use of non_lvalue on pedantic.
	* fold-const.c (fold): Don't check pedantic directly for
	COMPOUND_EXPR.  Ensure that results for COMPOUND_EXPR are
	passed to pedantic_non_lvalue.
	* doc/extend.texi: Remove documentation of extended lvalues.

testsuite:
	* gcc.c-torture/compile/981022-1.c: Remove.
	* gcc.dg/array-5.c: Remove XFAIL.
	* gcc.dg/sequence-pt-1.c: Remove test using extended lvalues.
	* gcc.dg/cast-lvalue-1.c, gcc.dg/compound-lvalue-1.c,
	gcc.dg/cond-lvalue-1.c: Update.
	* gcc.dg/cast-lvalue-2.c: New test.

From-SVN: r76192
2004-01-20 01:38:27 +00:00
Loren J. Rittle 87d11ccc82 10063-2.cc: Treat unbuffered.
* testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
	* testsuite/ext/stdio_filebuf/char/10063-3.cc: New test.  Like -2 but
	use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.

From-SVN: r76191
2004-01-20 01:30:03 +00:00
GCC Administrator ee395405c5 Daily bump.
From-SVN: r76187
2004-01-20 00:16:49 +00:00
Mark Mitchell be799b1e0a re PR c++/13651 (double error message when using incomplete types in a struct)
PR c++/13651
	* parser.c (cp_parser_postfix_expression): When encountering
	incomplete type on left-hand side of "->" or ".", treat the entire
	expression as erroneous.

From-SVN: r76180
2004-01-19 22:10:31 +00:00
Roger Sayle 9ce79a7a5e re PR rtl-optimization/5263 (a & b & ~a & ~b not optimized)
PR optimization/5263
	* simplify-rtx.c (associative_constant_p): Delete.
	(simplify_associative_operation): Rewrite to linearize terms, and
	attempt to simplify new term against both left and right subterms.
	(simplify_binary_operation): Call swap_commutative_operands_p on
	op0 and op1, not trueop0 and trueop1.  Move the initialization of
	trueop0 and trueop1 down to where first needed.
	(simplify_relational_operation): Likewise.
	* rtlanal.c (commutative_operand_precedence): Also order constant
	operands using avoid_constant_pool_reference.

From-SVN: r76179
2004-01-19 21:51:06 +00:00
Mark Mitchell 0916f87331 re PR c++/13592 (C++ parser regression)
PR c++/13592
	* g++.dg/other/error1.C (class foo): Tweak error message.

From-SVN: r76177
2004-01-19 21:24:46 +00:00
Mark Mitchell 9f880ef94a re PR c++/13592 (C++ parser regression)
PR c++/13592
	* call.c (build_field_call): Remove.
	(n_build_method_call): Likewise.
	(build_method_call): Likewise.
	(build_new_method_call): Do not call build_field_call.
	* class.c (n_build_method_call): Remove.
	(print_class_statistics): Do not print it.
	* cp-tree.h (build_method_call): Remove declaration.
	(finish_object_call_expr): Likewise.
	(build_new_1): Do not use build_method_call.
	* parser.c (cp_parser_postfix_expression): Use finish_call_expr
	when the function appearing on the right-hand-side of "." or "->"
	is not actually a function.
	* pt.c (tsubst_copy_and_build): Likewise.
	* semantics.c (finish_object_call_expr): Remove.

	PR c++/13592
	* g++.dg/template/call2.C: New test.

From-SVN: r76173
2004-01-19 20:33:29 +00:00
Richard Henderson 62e882937c alpha.c (aligned_memory_operand): Check MEM_ALIGN, don't check memory mode.
* config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
        don't check memory mode.
        (unaligned_memory_operand): Likewise.
        (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
        abort for op0 not MEM.

        * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
        is not a reg, copy to a scratch first.
        (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
        unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
        unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
        (reload_inqi, reload_inhi): Fix mode of op0.
        (reload_inqi_help, reload_inhi_help, reload_outqi_help,
        reload_outhi_help): Likewise.  Use define_insn_and_split.

        * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
        as well as $29 dead.

From-SVN: r76172
2004-01-19 11:49:33 -08:00
Eric Botcazou c9a5b62460 fnptr-by-value-1_x.c, [...]: Guard non-C99 tests with SKIP_COMPLEX_INT, SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY.
* gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
	scalar-by-value-3_x.c, scalar-by-value-3_y.c,
	scalar-by-value-4_x.c, scalar-by-value-4_y.c,
	scalar-return-1_x.c, scalar-return-2_y.c,
	scalar-return-3_x.c, scalar-return-3_y.c,
	scalar-return-4_x.c, scalar-return-4_y.c,
	struct-align-1.h, struct-align-1_x.c,
	struct-align-1_y.c, struct-align-2.h,
	struct-align-2_x.c, struct-align-2_y.c,
	struct-by-value-10_y.c, struct-by-value-11_x.c,
	struct-by-value-11_y.c, struct-by-value-12_x.c,
	struct-by-value-12_y.c, struct-by-value-13_x.c,
	struct-by-value-13_y.c, struct-by-value-14_x.c,
	struct-by-value-14_y.c, struct-by-value-15_x.c,
	struct-by-value-15_y.c, struct-by-value-16_y.c,
	struct-by-value-17_y.c, struct-by-value-18_y.c,
	struct-by-value-19_y.c, struct-by-value-1_x.c,
	struct-by-value-1_y.c, struct-by-value-20_y.c,
	struct-by-value-2_x.c, struct-by-value-2_y.c,
	struct-by-value-3_y.c, struct-by-value-4_x.c,
	struct-by-value-4_y.c, struct-by-value-5_y.c,
	struct-by-value-6_y.c, struct-by-value-7_y.c
	struct-by-value-8_x.c, struct-by-value-8_y.c
	struct-by-value-9_x.c, struct-by-value-9_y.c
	struct-return-10_x.c, struct-return-10_y.c,
	struct-return-19_x.c, struct-return-20_x.c
	struct-return-2_x.c, struct-return-2_y.c
	struct-return-3_x.c: Guard non-C99 tests with SKIP_COMPLEX_INT,
	SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY.  Turns SKIPVA into SKIP_VA.

From-SVN: r76170
2004-01-19 19:17:50 +00:00
Matthias Klose ee6d161908 libtool-version: Increased `current' to 6.
2004-01-19  Matthias Klose  <doko@debian.org>

	* libtool-version: Increased `current' to 6.

From-SVN: r76168
2004-01-19 19:01:59 +00:00
Kim Ho a2708c12b2 2004-01-19 Kim Ho <kho@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (connectJObject): Iterate through the vbox's children to find layout.

From-SVN: r76166
2004-01-19 18:41:52 +00:00
Fernando Nasser 6fdab8ccdb EventQueue.java (invokeAndWait): Use list-aware isDispatchThread method to replace wrong test condition.
* java/awt/EventQueue.java (invokeAndWait): Use list-aware
        isDispatchThread method to replace wrong test condition.

From-SVN: r76165
2004-01-19 18:22:29 +00:00
Paolo Carlini f18be892cb debug.cc: Make sure all the names are prefixed with double (or single) underscore.
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

	* src/debug.cc: Make sure all the names are prefixed with
	double (or single) underscore.

From-SVN: r76163
2004-01-19 18:10:55 +00:00
Fernando Nasser 605d10f7f2 EventQueue.java (pop): Prevent racing condition to add events to the queue out of order by acquiring...
* java/awt/EventQueue.java (pop): Prevent racing condition to add
        events to the queue out of order by acquiring locks in the proper
        order and not by releasing one before acquiring the other.

From-SVN: r76161
2004-01-19 17:38:36 +00:00
Fernando Nasser 8f9f8d71c7 TestAWT.java (DialogWindow): Make text not visible so that dialog can be reused.
* gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
        visible so that dialog can be reused.

From-SVN: r76160
2004-01-19 17:32:29 +00:00
Eric Botcazou 2194d8219f alias-1.c: Add dg-warning for unsupported visibility attribute on sparc*-sun-solaris2.*.
* gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
	attribute on sparc*-sun-solaris2.*.

From-SVN: r76158
2004-01-19 17:03:45 +00:00
Eric Botcazou 2f3321ca81 sol2.h (ASM_DECLARE_OBJECT_NAME): New.
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New.  Emit
	"tls_object" for thread-local objects.
	* config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
	"#tls" for thread-local sections.
	* configure.ac (thread-local checks): Specify --fatal-warnings in
	every binutils-specific checks.  For sparc*-*-*, test whether the
	OS is Solaris and the tools are native and act accordingly.
	* configure: Rebuild.

From-SVN: r76156
2004-01-19 16:57:05 +00:00
Jeff Law 6fe37bc4be contrib.texi: Update Paolo Carlini's entry.
* contrib.texi: Update Paolo Carlini's entry.  New entries for
        Jerry Quinn and Petur Runolfsson.

From-SVN: r76155
2004-01-19 09:30:05 -07:00
Roger Sayle 68f48f395a i386.md (*movhi_1, *movqi_1): When optimizing for size, don't use the larger zero-extending loads.
* config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
	size, don't use the larger zero-extending loads.

From-SVN: r76152
2004-01-19 15:15:56 +00:00
Paolo Carlini 7aed2ccc63 MAINTAINERS: Update my email address.
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

	* MAINTAINERS: Update my email address.

From-SVN: r76151
2004-01-19 15:10:17 +00:00
Fernando Nasser aadc6da0c4 EventQueue.java (getCurrentEvent): Consider that system events may be handled by any queue in the stack.
* java/awt/EventQueue.java (getCurrentEvent): Consider that system
        events may be handled by any queue in the stack.

From-SVN: r76150
2004-01-19 14:51:54 +00:00
Kim Ho 2c20a17152 GtkFramePeer.java (getMenuBarHeight): Added MenuBarPeer parameter.
2004-01-19  Kim Ho  <kho@redhat.com>

        * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
        MenuBarPeer parameter.
        (removeMenuBarPeer): New native method.
        (setMenuBar): Call remove if menu bar is null. Adjust insets
        appropriately.
        (postSizeAllocateEvent): New method. Called when menu bar size is
        allocated. Adjust insets and redo layout.
        (GtkFramePeer): Set menu bar during frame creation.
        (postConfigureEvent): Adjust position and size to accomodate
        menu bar.
        * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
        * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
        (addNotify): Create the peer if it doesn't exist and call addNotify
        for the menu's items.
        * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
        * java/awt/MenuItem.java (addNotify): Create the peer if it
        doesn't exist.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (removeMenuBarPeer): New method. Remove menu bar on the current
        frame.
        (setMenuBarPeer): Add the menu bar to the current frame and the
        callback for size-allocate events on the menu bar.
        (getMenuBarHeight): Add menu bar parameter.
        (menubar_resize_cb): New callback method for postSizeAllocate events.

        Also: Fix indentation on last ChangeLog entry.

From-SVN: r76149
2004-01-19 14:27:45 +00:00
Kim Ho 9543baba84 2004-01-16 Kim Ho <kho@redhat.com>
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
        (gtkWidgetGetDimensions): Remove.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (gtkWidgetGetDimensions): Remove.

From-SVN: r76148
2004-01-19 14:08:19 +00:00
Paolo Carlini 33d4e9b26c debug.cc: Trivial formatting change.
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

	* src/debug.cc: Trivial formatting change.

From-SVN: r76147
2004-01-19 12:11:50 +00:00
Arnaud Charlet c01a939151 [multiple changes]
2004-01-19  Arnaud Charlet  <charlet@act-europe.fr>

	* utils.c: Update copyright notice, missed in previous change.

2004-01-19  Vincent Celier  <celier@gnat.com>

	* mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
	args if Bind is True. Set First_ALI, if not already done.
	(Build_Library): For Stand Alone Libraries, extract from one ALI file
	an eventual --RTS switch, for gnatbind, and all backend switches +
	--RTS, for linking.

2004-01-19  Robert Dewar  <dewar@gnat.com>

	* sem_attr.adb, memtrack.adb: Minor reformatting

2004-01-19  Ed Schonberg  <schonberg@gnat.com>

	* exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
	that rename enumeration literals. This is properly done in sem_eval.

	* sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
	to functions that rename enumeration literals.

	* sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
	functions that rename enumeration literals.

From-SVN: r76146
2004-01-19 11:37:59 +01:00
Richard Henderson 5c9948f4e8 alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
* alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
        * alpha.md (UNSPEC_NT_LDA): Remove.
        (UNSPEC_CVTLQ, cvtlq): New.
        (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
        (extendsidi2_fix): Remove.
        (extendsidi2 splitter): Use cvtlq.
        (extendsidi2 fp peepholes): Remove.
        (cvtql): Use SFmode instead of SImode.
        (fix_trunc?fsi): Update to match.
        (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
        (movsi): Rename from movsi_nofix, remove f alternatives.
        (movsi_nt_vms): Similarly.
        (movsi_fix, movsi_nt_vms_fix): Remove.
        (nt_lda): Remove.
        * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.

From-SVN: r76145
2004-01-19 01:55:42 -08:00
Jan Hubicka 9b0436b739 cgraph.c (cgraph_remove_node): Fix removal from linked list.
* cgraph.c (cgraph_remove_node): Fix removal from linked list.
	* cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
	list.
	(cgraph_remove_unreachable_nodes): New function
	(cgraph_decide_inlining_of_small_function): Fix pasto.
	(cgraph_decide_inlining_incrementally): Fix pasto.
	(cgrpah_decide_inlining): Likewise; remove unreachable nodes.

From-SVN: r76142
2004-01-19 09:43:53 +00:00
Paolo Carlini 954b12d2dc basic_string.tcc (_S_construct(size_type, _CharT, const _Alloc&)): Remove redundant try/catch.
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.tcc (_S_construct(size_type,
	_CharT, const _Alloc&)): Remove redundant try/catch.
	(_M_mutate(size_type, size_type, size_type)): Ditto.
	(_M_clone(const _Alloc&, size_type)): Ditto.

From-SVN: r76141
2004-01-19 08:53:32 +00:00
Steven Bosscher 8c80adb754 gengtype.c (header_file): Make it static.
* gengtype.c (header_file): Make it static.
	(write_types_process_field, write_enum_defn): Minor whitespace fixes.
	* gengtype.h (header_file): No longer extern.

From-SVN: r76140
2004-01-19 08:38:38 +00:00
Kazu Hirata 0ede749d96 defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
* defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
	* expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
	* stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.

From-SVN: r76138
2004-01-19 03:08:14 +00:00
Mark Mitchell 0f18efe35a Fix incorrect PR number.
From-SVN: r76135
2004-01-19 00:51:56 +00:00
Mark Mitchell b830b74cd4 re PR c++/13635 (ICE in register_specialization for specific order of template specialization)
PR c++/13635
	* pt.c (tsubst): Use finish_typeof.

	PR c++/13635
	* g++.dg/ext/typeof7.C: New test.

From-SVN: r76131
2004-01-19 00:47:59 +00:00
GCC Administrator 60fa6554f5 Daily bump.
From-SVN: r76128
2004-01-19 00:16:13 +00:00
Kazu Hirata 41cbdcd0a2 stmt.c (HAVE_casesi): Define it not already defined.
* stmt.c (HAVE_casesi): Define it not already defined.
	(HAVE_tablejump): Likewise.
	(expand_end_case_type): Resort to the binary tree method if
	neither casesi or tablejump is available.

From-SVN: r76120
2004-01-18 22:49:23 +00:00
Daniel Jacobowitz 5cfc5f84fb final.c (final_scan_insn): Make non-static again.
* final.c (final_scan_insn): Make non-static again.
	* output.h (final_scan_insn): Re-add prototype.
	* config/arc/arc.c (arc_output_function_epilogue): Add NULL
	to final_scan_insn call.
	* config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
	* config/mips/mips.c (mips_output_conditional_branch): Likewise.
	* config/pa/pa.c (output_lbranch, output_call): Likewise.
	* config/sh/sh.c (print_slot): Likewise.
	* config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
	(output_sibcall, sparc_flat_function_epilogue): Likewise.

From-SVN: r76117
2004-01-18 22:37:29 +00:00
Jan Hubicka 3348b696a8 basic-block.h (try_redirect_by_replacing_jump): Declare.
* basic-block.h (try_redirect_by_replacing_jump): Declare.
	* cfgcleanup.c (try_optimize_cfg): Use it.
	* cfgrtl.c (try_redirect_by_replacing_jump): Export.
	(rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
	Kill hack.
	(cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.

	Revert:
	2004-01-16  Geoffrey Keating  <geoffk@apple.com>

		* cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
		even after reload, just don't remove the actual jump tables.

From-SVN: r76115
2004-01-18 21:51:30 +00:00
Kazu Hirata 72d89d359c * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
From-SVN: r76113
2004-01-18 21:36:34 +00:00
Kazu Hirata 07b50aadc1 defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of the size of a pointer in bytes.
* defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
	the size of a pointer in bytes.

From-SVN: r76112
2004-01-18 21:25:06 +00:00
Roger Sayle 6e46ab25d4 builtins.c (expand_builtin_expect_jump): Fix thinko of reusing live "next" variable, which can lead to an infinite loop.
* builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
	live "next" variable, which can lead to an infinite loop.

From-SVN: r76111
2004-01-18 20:04:59 +00:00
Andrew Pinski b4be9e8e86 altivec.h: Wrap C++ functions in extern "C++" block.
2004-01-18  Andrew Pinski  <pinskia@physics.uc.edu>

	* config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
	block.

From-SVN: r76109
2004-01-18 11:50:18 -08:00
James A. Morrison f25bebe1c0 MAINTAINERS: Add myself to write-after-approval.
2004-01-18  James A. Morrison  <ja2morri@uwaterloo.ca>

        * MAINTAINERS: Add myself to write-after-approval.

From-SVN: r76108
2004-01-18 19:49:34 +00:00