Commit Graph

51088 Commits

Author SHA1 Message Date
Devang Patel
3006aa689d Remove extra bits from my previous commit.
I am sorry for the way I handled this -gused commit.

From-SVN: r68587
2003-06-27 10:26:25 -07:00
Krister Walfridsson
2e8a523fa7 2003-06-27 Krister Walfridsson <cato@df.lth.se>
* config/os/bsd/netbsd/ctype_noninline.h
	(_C_ctype_): Declare.
	(ctype<char>::classic_table): Return _C_ctype_ + 1.
	(ctype<char>::ctype): Use classic_table.

From-SVN: r68584
2003-06-27 16:59:04 +00:00
Jan Hubicka
5c20c06c78 toplev.c (rest_of_decl_compilation): Only varpoolize argument when called before cgraph_optimize.
* toplev.c (rest_of_decl_compilation):  Only varpoolize argument
	when called before cgraph_optimize.

From-SVN: r68583
2003-06-27 16:37:41 +00:00
Mark Mitchell
3a73bcc687 re PR c++/11332 (Spurious error with casts in ?: expression)
PR c++/11332
	* typeck.c (build_static_cast): Avoid returning expressions with
	reference type.

	PR c++/11332
	* g++.dg/expr/static_cast2.C: New test.

From-SVN: r68580
2003-06-27 16:24:49 +00:00
Michael Koch
560d4c592f 2003-06-27 Michael Koch <konqueror@gmx.de>
* java/security/Certificate.java
	(getGuarantor): Removed wrong @deprecated tag.
	(getPrincipal): Likewise.
	(getPublicKey): Likewise.
	(encode): Likewise.
	(decode): Likewise.
	(getFormat): Likewise.
	(toString): Likewise.
	* java/security/cert/PolicyQualifierInfo.java
	(PolicyQualifierInfo): Made final.
	* javax/security/auth/x500/X500Principal.java
	(serialVersionUID): New member variable.

From-SVN: r68579
2003-06-27 16:11:27 +00:00
Zack Weinberg
720b7001a6 * config/darwin.h, config/elfos.h, config/i960/i960-coff.h
* config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
	be TARGET_ASM_FILE_START_FILE_DIRECTIVE.

From-SVN: r68578
2003-06-27 16:08:43 +00:00
Michael Koch
24ce2fe6cd 2003-06-27 Michael Koch <konqueror@gmx.de>
* java/rmi/server/SkeletonNotFoundException.java
	(SkeletonNotFoundException): Removed wrong @deprecated tag.
	* java/rmi/server/UnicastRemoteObject.java
	(exportObject): Made package-private.

From-SVN: r68577
2003-06-27 15:58:42 +00:00
Michael Koch
7e6ec0d8cc 2003-06-27 Michael Koch <konqueror@gmx.de>
* java/text/Format.java
	(serialVersionUID): Fixed value.

From-SVN: r68576
2003-06-27 15:49:36 +00:00
Michael Koch
6ced3f39f6 2003-06-27 Michael Koch <konqueror@gmx.de>
* java/net/Inet4Address.java
	(Inet4Address): Made package-private.
	* java/net/Inet6Address.java
	(Inet4Address): Made package-private.

From-SVN: r68575
2003-06-27 15:48:15 +00:00
Michael Koch
824d4a1036 2003-06-27 Michael Koch <konqueror@gmx.de>
* java/io/RandomAccessFile.java
	(readLine): Removed wrong @deprecated tag.
	(getChannel): Made final.

From-SVN: r68574
2003-06-27 15:46:59 +00:00
Jan Hubicka
67f2899de2 cgraph.c (cgraph_node, [...]): Avoid re-initializing of known_decls.
* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
	of known_decls.

From-SVN: r68573
2003-06-27 15:42:48 +00:00
Michael Koch
c938cb682b 2003-06-27 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/FileChannelImpl.java
	(write): Removed.

From-SVN: r68572
2003-06-27 13:41:25 +00:00
Michael Koch
1226b900dc 2003-06-27 Michael Koch <konqueror@gmx.de>
* java/nio/ByteBufferImpl.java
	(ByteBufferImpl): Made it a package-private class
	* java/nio/CharBufferImpl.java
	(CharBufferImpl): Made it a package-private class
	* java/nio/DirectByteBufferImpl.java
	(DirectByteBufferImpl): Made it a package-private class
	* java/nio/DoubleBufferImpl.java
	(DoubleBufferImpl): Made it a package-private class
	* java/nio/FloatBufferImpl.java
	(FloatBufferImpl): Made it a package-private class
	* java/nio/IntBufferImpl.java
	(IntBufferImpl): Made it a package-private class
	* java/nio/LongBufferImpl.java
	(LongBufferImpl): Made it a package-private class
	* java/nio/ShortBufferImpl.java
	(ShortBufferImpl): Made it a package-private class
	* java/nio/channels/FileChannel.java
	(write): Made final.
	* java/nio/channels/ServerSocketChannel.java
	(ServerSocketChanne): Made protected.

From-SVN: r68571
2003-06-27 13:34:12 +00:00
Michael Koch
7fc600fc4c 2003-06-27 Michael Koch <konqueror@gmx.de>
* javax/naming/CompositeName.java
	(serialVersionUID): New member variable.
	* javax/naming/CompoundName.java
	(serialVersionUID): New member variable.
	* javax/naming/InitialContext.java
	(InitialContext): Throws NamingException.
	(init): Likewise.
	* javax/naming/LinkRef.java
	(serialVersionUID): New member variable.
	(gteLinkName): Throws NamingException.
	* javax/naming/NamingException.java
	(serialVersionUID): New member variable.
	* javax/naming/NamingSecurityException.java
	(NamingSecurityException): Made abstract.
	(serialVersionUID): New member variable.
	* javax/naming/ReferralException.java
	(serialVersionUID): New member variable.
	* javax/naming/StringRefAddr.java
	(serialVersionUID): New member variable.
	* javax/naming/directory/BasicAttribute.java:
	Reworked imports.
	(serialVersionUID): New member variable.
	(get): Throws NamingException.
	(getAll): Throws NamingException.
	* javax/naming/directory/BasicAttributes.java:
	Reworked imports.
	(serialVersionUID): New member variable.
	* javax/naming/ldap/UnsolicitedNotificationEvent.java
	(serialVersionUID): New member variable.

From-SVN: r68570
2003-06-27 13:06:50 +00:00
Michael Koch
3556d877f8 2003-06-27 Michael Koch <konqueror@gmx.de>
* Makefile.am
	(awt_java_source_files): Added new files:
	javax/swing/Popup.java,
	javax/swing/PopupFactory.java
	* Makefile.in: Regenerated.

From-SVN: r68569
2003-06-27 12:48:39 +00:00
Michael Koch
1c9d1c5bb9 JWindow.java, [...]: New versions from classpath.
2003-06-27  Michael Koch  <konqueror@gmx.de>

	* javax/swing/JWindow.java,
	javax/swing/event/AncestorEvent.java,
	javax/swing/event/HyperlinkEvent.java,
	javax/swing/event/InternalFrameEvent.java,
	javax/swing/event/ListDataEvent.java,
	javax/swing/event/TableModelEvent.java,
	javax/swing/plaf/PopupMenuUI.java,
	javax/swing/plaf/SplitPaneUI.java,
	javax/swing/plaf/TabbedPaneUI.java,
	javax/swing/plaf/TextUI.java,
	javax/swing/plaf/TreeUI.java,
	javax/swing/plaf/basic/BasicTextUI.java,
	javax/swing/plaf/basic/BasicTreeUI.java:
	New versions from classpath.
	* javax/swing/Popup.java,
	javax/swing/PopupFactory.jav:
	New source files from classpath.
	* javax/swing/plaf/doc-files/TreeUI-1.png:
	New binary files from classpath.

From-SVN: r68568
2003-06-27 12:41:52 +00:00
Hans-Peter Nilsson
37706dd19d defaults.h (REGISTER_MOVE_COST): Define default here.
* defaults.h (REGISTER_MOVE_COST): Define default here.
	* regclass.c: Don't define default REGISTER_MOVE_COST here.
	* reload.c, reload1.c: Ditto.

From-SVN: r68567
2003-06-27 12:40:13 +00:00
Paolo Carlini
3461133d72 Nathan C.
2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan C. Myers  <ncm-nospam@cantrip.org>

	PR libstdc++/9178
	* include/bits/fstream.tcc (_M_underflow): Properly estimate
	the worst-case number of external bytes for a given get area.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.

2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
	    Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/11305
	* include/bits/fstream.tcc (overflow): Properly estimate the
	worst-case number of external bytes for a given put area
	(by using codecvt::max_length()).
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.

Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>

From-SVN: r68566
2003-06-27 12:33:49 +00:00
Nathan Sidwell
5648db5461 * config/linker-map.gnu: Remove ; after __numpunct_cache.
From-SVN: r68563
2003-06-27 11:01:27 +00:00
Richard Earnshaw
457515250c * flags.h: Really install previous change.
From-SVN: r68562
2003-06-27 09:51:22 +00:00
Nathan Sidwell
2e04021970 rtl.h (emit_note): Remove FILE parameter.
* rtl.h (emit_note): Remove FILE parameter.
	* emit-rtl.c (emit_line_note): Adjust emit_note call.
	(emit_note): Remove FILE parameter. Adjust.
	* builtins.c (expand_builtin_expect): Adjust emit_note call.
	* c-semantics.c (genrtl_scope_stmt): Likewise.
	(expand_stmt): Likewise.
	* cfglayout.c (reemit_insn_block_notes): Likewise.
	(duplicate_insn_chain): Likewise.
	* except.c (expand_eh_region_start, expand_eh_region_end,
	sjlj_emit_function_enter): Likewise.
	* explow.c (probe_stack_range): Likewise.
	* expr.c (emit_block_move_via_loop): Likewise.
	* function.c (init_function_start, expand_function_start,
	expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
	* integrate.c (expand_inline_function, copy_insn_list): Likewise.
	* reg-stack.c (compensate_edge): Likewise.
	* reload1.c (reload): Likewise.
	* rtlanal.c (hoist_insn_to_edge): Likewise.
	* stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
	expand_loop_continue_here, expand_end_loop, expand_continue_loop,
	expand_exit_loop_top_cond, expand_value_return,
	expand_start_bindings_and_block, expand_end_bindings,
	expand_decl_cleanup, expand_start_case): Likewise.
	* unroll.c (copy_loop_body
	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
	* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
	* config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
	rs6000_emit_allocate_stack, rs6000_output_function_prologue,
	rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
	* config/sh/sh.c (sh_output_mi_thunk): Likewise.
	* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.

	* ada/misc.c (record_code_position): Likewise.

From-SVN: r68561
2003-06-27 09:49:44 +00:00
Nathan Sidwell
bc4721b87e c-tree.h (grokfield): Remove unused filename and line parameters.
* c-tree.h (grokfield): Remove unused filename and line parameters.
	* c-decl.c (grokfield): Remove unused filename and line	parameters.
	* c-parse.in (component_decl): Adjust field grokking rules, adjust
	grokfield calls.
	(component_declarator): Likewise.
	(component_notype_declarator): Likewise.
	* objc/objc-act.c (build_module_descriptor): Adjust grokfield
	calls.
	(build_protocol_template, build_method_prototype_list_template,
	build_method_prototype_template, build_category_template,
	build_selector_template, build_class_template,
	build_super_template, build_ivar_template,
	build_ivar_list_template, build_method_list_template,
	build_method_template, add_instance_variable): Likewise.

From-SVN: r68560
2003-06-27 09:05:45 +00:00
Benjamin Kosnik
215f9e283a ios_base.h (ios_base::_M_getloc): Return reference to the imbued locale.
2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/ios_base.h (ios_base::_M_getloc): Return reference
	to the imbued locale.
	* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
	_M_getloc.
	(num_put::_M_convert_float): Use.

2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
	    Jerry Quinn  <jlquinn@optonline.net>

	* config/linker-map.gnu: Add __numpunct_cache.
	* config/locale/gnu/numeric_members.cc
	(numpunct::_M_initialize_numpunct): Account for _M_data, fill in
	all elements for "C" locale.
	(numpunct::~numpunct): Delete _M_data.
	* config/locale/generic/numeric_members.cc: Same.
	* include/bits/basic_ios.tcc
	(basic_ios::init): Remove __locale_cache bits.
	(basic_ios::_M_cache_locale): Same.
	* include/bits/ios_base.h: Same. Tweaks.
	* include/bits/locale_classes.h: Tweaks. Reorder classes.
	(__use_cache): Make friends with _Impl, locale.
	(_Impl::_M_caches): Add.
	(_Impl::_M_install_cache): Add.
	* include/bits/locale_facets.h (__numpunct_cache): New.
	(numpunct): Encapsulate data members in __numpunct_cache member,
	_M_data. Adjust virtuals.
	(numpunct::numpunct): New ctor for the same.
	(__locale_cache_base): Remove.
	(__locale_cache): Remove.
	* include/bits/locale_facets.tcc (__use_cache): New function,
	specializations.
	(num_put::_M_convert_int, _M_convert_float, do_put): Use it.
	* src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
	* src/ios.cc (ios_base::ios_base): Remove __locale_cache.
	* src/locale-inst.cc: Same. Add __numpunct_cache.
	* src/locale.cc: Tweak inlines.
	(__use_cache): Define specializations.
	* src/localename.cc: Use global bits.
	(_Impl::~Impl): Deal with __numpunct_cache destruction.
	(_Impl::_Impl): Same. Pre-cache standard numpunct facets.
	(_Impl::_M_init_facet): Take into account __numpunct_cache.
	* testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

Co-Authored-By: Jerry Quinn <jlquinn@optonline.net>

From-SVN: r68558
2003-06-27 07:25:38 +00:00
Kazu Hirata
d51d146fb0 stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and OP2 are known to be not equivalent.
* stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
	OP2 are known to be not equivalent.

From-SVN: r68557
2003-06-27 06:02:49 +00:00
Devang Patel
6a08f7b337 final.c (debug_flush_symbol_queue): New function.
* final.c (debug_flush_symbol_queue): New function.
        (debug_queue_symbol): New function.
        (debug_free_queue): New function.
        (debug_nesting): New variable.
        (symbol_queue): New variable.
        (symbol_queue_index): Same.
        (symbol_queue_size): Same.
        * debug.h (debug_flush_symbol_queue): New.
        (debug_queue_symbol): New.
        (debug_free_queue): New.
        (debug_nesting): New.
        (symbol_queue_index): New.
        * dbxout.c (DBXOUT_DECR_NESTING): New macro.
        (DBXOUT_DECR_NESTING_AND_RETURN): New macro.
        (dbxout_init): Delay symbol output.
        (dbxout_global_decl): Save, set and reset TREE_USED bit around dbxout_symbol()
        call.
        (dbxout_begin_function): Same.
        (dbxout_finish): Free symbol queue.
        (dbxout_type): Put appropriate symbols in queue.
        (dbxout_symbol): Put info for symbol's type in queue. Decrement/Increment
        nesting counts flush symbol queue appropriately.
        (dbxout_parms): Increment dbxout nesting.
        (dbxout_reg_parms): Same.
        * flags.h (flag_debug_only_used_symbols): New.
        * toplev.c (flag_debug_only_used_symbols): New variable.
        (lang_independent_options): Add entries for new option -feliminate-unused-debug-symbols.
        * common.opt: Add entry for -feliminate-unused-debug-symbols.
        * opts.c (common_handle_options): Same.
        * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as -feliminate-unused-debug-symbols.
        * doc/invoke.texi (Debugging Options): Document -feliminate-unused-debug-symbols.

From-SVN: r68556
2003-06-26 20:04:40 -07:00
Roger Sayle
6ba701c8e9 builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to obtain the format string instead of using...
* builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
	obtain the format string instead of using TREE_STRING_POINTER and
	TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
	return value is unused or the length of src is a known constant.

	* gcc.c-torture/execute/string-opt-16.c: Remove test for disabled
	sprintf(dst,"%s",src) optimization.
	* gcc.c-torture/execute/20030626-1.c: New test case.
	* gcc.c-torture/execute/20030626-2.c: New test case.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>

From-SVN: r68555
2003-06-27 02:50:19 +00:00
GCC Administrator
34cd7ff698 Daily bump.
From-SVN: r68552
2003-06-27 00:16:08 +00:00
Richard Henderson
4e14f1f90f ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
* config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
        (ia64_split_call): Only load descriptor for GP register inputs.
        (ia64_expand_epilogue): Check current_frame_info.mask not
        current_function_is_leaf to restore ar.pfs.

From-SVN: r68549
2003-06-26 13:51:54 -07:00
Richard Henderson
49b83932ae * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
From-SVN: r68548
2003-06-26 13:50:04 -07:00
Richard Henderson
f6a1f3f6ca emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE instead of replacing it.
* emit-rtl.c (try_split): Append to new CALL_INSN_FUNCTION_USAGE
        instead of replacing it.

From-SVN: r68547
2003-06-26 13:46:47 -07:00
Richard Henderson
99af0d26bd flow.c (propagate_one_insn): Kill function return value registers across tail calls.
* flow.c (propagate_one_insn): Kill function return value
        registers across tail calls.

From-SVN: r68546
2003-06-26 13:45:18 -07:00
Richard Henderson
d444b5e897 flow.c (propagate_one_insn): Preserve live-at-end registers across tail calls.
* flow.c (propagate_one_insn): Preserve live-at-end registers
        across tail calls.

From-SVN: r68544
2003-06-26 13:29:55 -07:00
Nathanael Nerode
4dbda6f04a configure.in: Rename 'target_libs' to 'target_libraries'.
* configure.in: Rename 'target_libs' to 'target_libraries'.
	Remove useless reference to 'target_libs'.
	* configure: Regenerate.

From-SVN: r68543
2003-06-26 20:18:34 +00:00
J"orn Rennecke
35d6034bcb reload.c (can_reload_into): New function.
* reload.c (can_reload_into): New function.
	(push_reload): Use it.

From-SVN: r68542
2003-06-26 21:07:23 +01:00
H.J. Lu
6f8507b13f demangle-expected: Add more GNU V3 testcases.
2003-06-26  H.J. Lu <hongjiu.lu@intel.com>

	* testsuite/demangle-expected: Add more GNU V3 testcases.

From-SVN: r68540
2003-06-26 12:09:56 -07:00
Kazu Hirata
343fd2c726 h8300.c (compute_a_rotate_length): Fix the references to the amount of a rotation.
* config/h8300/h8300.c (compute_a_rotate_length): Fix the
	references to the amount of a rotation.

From-SVN: r68539
2003-06-26 17:50:01 +00:00
Nathan C. Myers
8370378a24 filebuf_copy.cc: New, testing char by char file copy.
2003-06-26  Nathan C. Myers  <ncm-nospam@cantrip.org>
	    Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/performance/filebuf_copy.cc: New, testing char
	by char file copy.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r68538
2003-06-26 16:38:40 +00:00
Nathanael Nerode
10d6ea27dc coff.h: Don't include dbxcoff.h.
* config/sh/coff.h: Don't include dbxcoff.h.
	* config.gcc: List it here.

From-SVN: r68537
2003-06-26 16:34:32 +00:00
Nathan Sidwell
8d4ce38922 call.c (build_op_delete_call): Use strip_array_call.
* call.c (build_op_delete_call): Use strip_array_call. Correct
	error message to say 'delete' or 'delete[]'.

From-SVN: r68536
2003-06-26 15:23:54 +00:00
Kazu Hirata
d9e674f7f0 postreload.c (reload_cse_simplify_set): Call cselib_lookup earlier.
* postreload.c (reload_cse_simplify_set): Call cselib_lookup
	earlier.  Don't check if SRC is a constant.

From-SVN: r68534
2003-06-26 14:08:15 +00:00
Kazu Hirata
b2948a2caa postreload.c (reload_cse_simplify_set): Call cselib_lookup earlier.
* postreload.c (reload_cse_simplify_set): Call cselib_lookup
	earlier.  Don't check if SRC is a constant.

From-SVN: r68533
2003-06-26 13:42:33 +00:00
Kazu Hirata
15e35479eb Makefile.in (OBJS): Add postreload.o.
* Makefile.in (OBJS): Add postreload.o.
	Remove cselib.h from the dependency list for reload1.o.
	Add a dependency list for postreload.o.
	* reload.h: Change the comment for the prototype of
	reload_cse_regs.
	* reload1.c: Don't include cselib.h.
	(reload_cse_regs): Move to postreload.c
	(reload_cse_regs_1): Likewise.
	(reload_cse_noop_set_p): Likewise.
	(reload_cse_simplify_set): Likewise.
	(reload_cse_simplify_operands): Likewise.
	(RELOAD_COMBINE_MAX_USES): Likewise.
	(reload_combine_ruid): Likewise.
	(LABEL_LIVE): Likewise.
	(reload_combine): Likewise.
	(reload_combine_note_use): Likewise.
	(reload_combine_note_store): Likewise.
	(reg_set_luid): Likewise.
	(reg_offset): Likewise.
	(reg_base_reg): Likewise.
	(reg_mode): Likewise.
	(move2add_luid): Likewise.
	(move2add_last_label_luid): Likewise.
	(MODES_OK_FOR_MOVE2ADD): Likewise.
	(reload_cse_move2add): Likewise.
	(move2add_note_store): Likewise.
	(reload_cse_simplify): Likewise.
	* postreload.c: New.

From-SVN: r68532
2003-06-26 13:37:16 +00:00
Joern Rennecke
555c346adb simd-4.c (main): Added missing semicolon at end of union.
* gcc.c-torture/execute/simd-4.c (main):
	Added missing semicolon at end of union.

From-SVN: r68531
2003-06-26 14:15:38 +01:00
Kazu Hirata
0e8a9ede78 avr.c (final_prescan_insn): Remove support for -mrtl.
* config/avr/avr.c (final_prescan_insn): Remove support for
	-mrtl.
	* config/avr/avr.h (MASK_RTL_DUMP): Remove.
	(TARGET_RTL_DUMP): Likewise.
	(TARGET_SWITCHES): Remove -mrtl.

From-SVN: r68530
2003-06-26 13:11:09 +00:00
Joern Rennecke
4c43bcb0e1 Added missing semicolon at end of union.
From-SVN: r68529
2003-06-26 14:10:55 +01:00
Kazu Hirata
caf7f21af6 h8300-protos.h: Change emit_a_rotate to output_a_rotate.
* config/h8300/h8300-protos.h: Change emit_a_rotate to
	output_a_rotate.  Add a prototype for compute_a_rotate_length.
	* config/h8300/h8300.c (emit_a_rotate): Change to
	output_a_rotate.
	(compute_a_rotate_length): New.
	(h8300_adjust_insn_length): Remove.
	* config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
	* config/h8300/h8300.md (adjust_length): Remove.
	(*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
	(*rotlhi3_1): Likewise.
	(*rotlsi3_1): Likewise.

From-SVN: r68528
2003-06-26 13:04:09 +00:00
Giovanni Bajo
2f54a1db5e re PR c++/8266 (Explicit instantiation of a template outside its namespace is broken)
From  Giovanni Bajo  <giovannibajo@libero.it>
cp:
       PR c++/8266
        * pt.c (check_explicit_specialization): When looking up a
        template function from an identifier outside class-scope, bind
        it to CP_DECL_CONTEXT.
testsuite:
        PR c++/8266
        * g++.dg/template/explicit-instantiation3.C: New test.

From-SVN: r68527
2003-06-26 12:59:46 +00:00
Roger Sayle
f541609868 builtins.c (expand_builtin_mathfn): Always stabilize the argument list against re-evaluation.
* builtins.c (expand_builtin_mathfn): Always stabilize the argument
	list against re-evaluation.  If expand_unop fails, call expand_call
	with the stabilized argument list rather than return NULL_RTX.
	(expand_builtin_mathfn2): Likewise, always stabilize the argument
	list, and call expand_call ourselves if expand_binop fails.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r68526
2003-06-26 11:53:00 +00:00
Eric Botcazou
998c7773b5 * gcc.dg/20030626-1.c: Use signed char.
From-SVN: r68525
2003-06-26 11:40:58 +00:00
Eric Botcazou
6dc208a1ed re PR rtl-optimization/11210 (optimizer drops conditional with typecast from signed to unsigned char)
PR optimization/11210
	* fold-const (decode_field_reference): Strip only NOPs that
	don't affect the sign.

From-SVN: r68524
2003-06-26 10:37:35 +00:00