Commit Graph

53898 Commits

Author SHA1 Message Date
GCC Administrator
6587cd2b21 Daily bump.
From-SVN: r73110
2003-10-31 00:16:07 +00:00
Eric Christopher
d796429e8f fix date on changelog from last checkin.
From-SVN: r73108
2003-10-30 23:52:53 +00:00
Eric Christopher
69e4e6e99c function.c (purge_addressof_1): Add case for REG_RETVAL notes when modes are unequal.
2003-10-25  Eric Christopher  <echristo@redhat.com>

	* function.c (purge_addressof_1): Add case for REG_RETVAL
        notes when modes are unequal.

From-SVN: r73107
2003-10-30 23:50:53 +00:00
Jan Hubicka
ac3ef3f506 * i386-modes.def: Add XFmode format adjustment.
From-SVN: r73106
2003-10-30 23:27:30 +00:00
Jan Hubicka
1199470c69 * real.c (encode_ieee_extended): Back out previous patch.
From-SVN: r73105
2003-10-30 22:59:45 +00:00
Bryce McKinlay
f56228e73f natMethod.cc (_Jv_CallAnyMethodA): Don't use vtable dispatch for final methods.
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Don't use
	vtable dispatch for final methods.

From-SVN: r73101
2003-10-30 21:09:45 +00:00
Jan Hubicka
f8a1ebc603 real.c (encode_ieee_extended): Initialize whole array.
* real.c (encode_ieee_extended): Initialize whole array.
	* reg-stack.c (move_for_stack_reg0: Use always XFmode.
	* i386-modes.def: Change definitions of TFmode and XFmode.
	* i386.c (classify_argument): Rename TFmodes to XFmodes; add new TFmode code.
	(construct_container): Allow constructing of TFmode integer containers.
	(ix86_return_in_memory):  XFmode is not returned in memory.
	(init_ext_80387_constants): Always use XFmode.
	(print_operand): Likewise.
	(ix86_prepare_fp_compare_regs): Likewise.
	(split_to_parts): Deal with TFmode.
	(split_long_move): Simplify.
	(ix86_init_mmx_sse_builtins): Add __float80, __float128.
	(ix86_memory_move_cost): Do not confuse TFmode.
	* i386.h (LONG_DOUBLE_TYPE_SIZE): Set to 96.
	(IS_STACK_MODE): TFmode is not stack mode.
	(HARD_REGNO_NREGS, CLASS_MAX_NREGS): Deal nicely with XFmode.
	(VALID_SSE_REG_MODE): Allow TFmode.
	(VALID_FP_MODE_P): Disallow TFmode.
	(VALID_INT_MODE_P): Allow TFmode in 64bit mode.
	* i386.md (TFmode patterns): Kill.
	(movtf, motf_rex64): New patterns.

From-SVN: r73099
2003-10-30 21:01:16 +00:00
Josef Zlomek
27eb8ab145 Jan Hubicka <jh@suse.cz>
Jan Hubicka <jh@suse.cz>
	* vasprintf.c (int_vasprintf): Pass va_list by value.
	Use va_copy for copying va_list.
	(vasprintf): Pass va_list by value.

From-SVN: r73098
2003-10-30 20:18:13 +00:00
Richard Sandiford
00d4a6d40e * config/mips/mips.md (adddi3): Fix typo in mips16 stack pointer code.
From-SVN: r73096
2003-10-30 18:13:43 +00:00
Richard Sandiford
2e1648b8b7 mips.md (mov_lwl): Use memory_operand where appropriate.
* config/mips/mips.md (mov_lwl): Use memory_operand where appropriate.
	(mov_lwr, mov_swl, mov_swr): Likewise.
	(mov_ldl, mov_ldr, mov_sdl, mov_sdr): Likewise.

From-SVN: r73095
2003-10-30 18:11:27 +00:00
Richard Sandiford
db964bded7 * config/mips/mips.c (mips_global_pointer): Don't try to use $25.
From-SVN: r73094
2003-10-30 18:07:38 +00:00
Thomas Fitzsimmons
54ab330316 gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on word wrapping.
2003-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on
	word wrapping.

From-SVN: r73093
2003-10-30 17:37:33 +00:00
Josef Zlomek
e0432c1c14 hashtab.c (htab_find_slot_with_hash): Decrease n_deleted instead of increasing n_elements when inserting to deleted slot.
* hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
	instead of increasing n_elements when inserting to deleted slot.

From-SVN: r73090
2003-10-30 17:00:51 +00:00
Richard Henderson
4f1cad002d mips.c (mips_build_builtin_va_list): Use runtime test for irix6 rather than preprocessor test.
* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
        test for irix6 rather than preprocessor test.

From-SVN: r73089
2003-10-30 08:48:13 -08:00
Richard Henderson
671ca9ec83 * cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.
From-SVN: r73087
2003-10-30 08:36:27 -08:00
Arnaud Charlet
99e7f13175 Complete previous check in.
From-SVN: r73086
2003-10-30 17:24:40 +01:00
Arnaud Charlet
1d915eda9a run_all.sh: Do not print PASS messages to stdout, as done by dejagnu.
* ada/acats/run_all.sh: Do not print PASS messages to stdout, as
	done by dejagnu.

From-SVN: r73085
2003-10-30 17:22:26 +01:00
Ulrich Weigand
545d16ffb6 s390.c (struct machine_function): Use save_return_addr_p as a general flag that the return address register needs...
* config/s390/s390.c (struct machine_function): Use save_return_addr_p
	as a general flag that the return address register needs to be saved,
	not necessarily because of __builtin_return_addr (0).
	(s390_split_branches): Remove TEMP_REG and TEMP_USED arguments,
	remove special handling of zSeries machines.
	(s390_optimize_prolog): Remove TEMP_USED argument, treat the return
	register as a regular register on zSeries machines.
	(s390_reorg): Adjust calls to s390_split_branches and
	s390_optimize_prolog.
	(s390_frame_info): On zSeries machines, do not assume the return
	register is always used.  Update regs_ever_live with current data
	for the special registers.
	(s390_emit_epilogue): Use save_return_addr_p to determine whether
	the return register was saved.
	* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Do not mark
	RETURN_REGNUM fixed on zSeries machines.
	(REG_ALLOC_ORDER): Use RETURN_REGNUM last.
	* config/s390/s390.md ("*doloop_si"): Handle branch overflow
	via ahi-jgne pair on zSeries machines.
	("*doloop_di"): Likewise.
	("*doloop_di_long"): Remove.

From-SVN: r73084
2003-10-30 14:11:34 +00:00
Arnaud Charlet
bde58e3208 3vtrasym.adb: Demangle Ada symbols returned by TBK$SYMBOLIZE.
* 3vtrasym.adb:
	Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line
	numbers when symbol name is too long.

	* g-signal.ads, g-signal.adb: New files

	* impunit.adb: (Non_Imp_File_Names): Added "g-signal"

	* Makefile.rtl: Introduce GNAT.Signals

	* freeze.adb: Minor reformatting

	* lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified

	* par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb,
	par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb:
	New handling of Id_Check parameter to improve recognition of keywords
	used as identifiers.
	Update copyright notice to include 2003

From-SVN: r73083
2003-10-30 12:50:12 +01:00
Richard Earnshaw
577d63287a arm.c (arm_override_options): Revert change of arm_constant_limit when optimizing for size.
* arm.c (arm_override_options): Revert change of arm_constant_limit
when optimizing for size.

From-SVN: r73082
2003-10-30 10:26:04 +00:00
Paolo Carlini
08b9183d62 locale_facets.tcc (time_get::_M_extract_via_format): __mod is only assigned, never used its value, remove it.
2003-10-30  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
	__mod is only assigned, never used its value, remove it.

From-SVN: r73081
2003-10-30 09:03:01 +00:00
Richard Henderson
e7824b3ed5 fold-const.c (fold_single_bit_test): Convert the input to the operational intermediate type.
* fold-const.c (fold_single_bit_test): Convert the input to the
        operational intermediate type.

From-SVN: r73077
2003-10-29 18:26:29 -08:00
Richard Henderson
c35d187fc3 builtins.c (std_build_builtin_va_list): New.
* builtins.c (std_build_builtin_va_list): New.
	* expr.h (std_build_builtin_va_list): Declare.
	* defaults.h (BUILD_VA_LIST_TYPE): New.
	* system.h (BUILD_VA_LIST_TYPE): Poison.
	* target-def.h (TARGET_BUILD_BUILTIN_VA_LIST): New.
	* target.h (struct gcc_target): Add build_builtin_va_list.
	* tree.c (build_common_tree_nodes_2): Use it.

	* config/alpha/alpha-protos.h, config/alpha/alpha.c,
	config/alpha/alpha.h, config/alpha/unicosmk.h,
	config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h,
	config/i386/i386-protos.h, config/i386/i386.c, config/i386/i386.h,
	config/i860/i860-protos.h, config/i860/i860.c, config/i860/i860.h,
	config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h,
	config/mips/iris6.h, config/mips/mips-protos.h, config/mips/mips.c,
	config/mips/mips.h, config/rs6000/rs6000-protos.h,
	config/rs6000/rs6000.c, config/rs6000/rs6000.h,
	config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
	config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
	config/xtensa/xtensa-protos.h, config/xtensa/xtensa.c,
	config/xtensa/xtensa.h: Rename foo_build_va_list to
	foo_build_builtin_va_list; make it static.  Define
	TARGET_BUILD_BUILTIN_VA_LIST.  Remove BUILD_VA_LIST_TYPE.
	Update protos.

	* config/i386/i386.c (ix86_expand_carry_flag_compare): Make static.
	* config/iq2000/iq2000.h (BUILD_VA_LIST_TYPE): Remove.

From-SVN: r73076
2003-10-29 18:02:49 -08:00
Thomas Fitzsimmons
12d104a2b9 gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return scrolled window's size request.
2003-10-29  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return
	scrolled window's size request.

From-SVN: r73075
2003-10-30 01:49:39 +00:00
James E Wilson
3b6c3bb05d Fix problem noticed by Dale Johannesen on the gcc list.
* recog.c (asm_operand_ok): Add missing break after case 'X'.
	Change if statements to else if statements in default case.
	(extract_constrain_insn_cached): Fix misspelling of constrain_operands
	in comment.
	(constrain_operands_cached): Likewise.
	(constrain_operands): Change if statements to else if statements in
	default case.
	* reload.c (find_reloads): Likewise.

From-SVN: r73074
2003-10-29 17:40:48 -08:00
Richard Henderson
a126dc3a79 m68k.c (notice_update_cc): Clear cc status for shifts and rotates.
* config/m68k/m68k.c (notice_update_cc): Clear cc status for
        shifts and rotates.

From-SVN: r73073
2003-10-29 16:55:15 -08:00
John David Anglin
03d1cb6dc6 * pa.md: Missed update in previous commit.
From-SVN: r73072
2003-10-30 00:30:37 +00:00
GCC Administrator
2df99aea86 Daily bump.
From-SVN: r73070
2003-10-30 00:16:07 +00:00
Alan Modra
9b731bbb30 * config/rs6000/rs6000.md: Remove duplicate pattern.
From-SVN: r73068
2003-10-30 10:01:54 +10:30
Hans-Peter Nilsson
c4361cd741 * real.c (do_divide): Initialize result with a 0.
From-SVN: r73066
2003-10-29 22:33:54 +00:00
Hans-Peter Nilsson
a207b59445 configure.in: Look for <valgrind/memcheck.h> first.
* configure.in <enable-checking for valgrind>: Look for
	<valgrind/memcheck.h> first.  AC_DEFINE HAVE_VALGRIND_MEMCHECK_H
	if it exists.
	* configure, config.in: Regenerate.
	* ggc-common.c [ENABLE_VALGRIND_CHECKING &&
	HAVE_VALGRIND_MEMCHECK_H]: Include <valgrind/memcheck.h>.  Use
	#elif for other alternatives.
	* ggc-page.c: Ditto.
	* ggc-zone.c: Don't assume <valgrind/memcheck.h>; instead copy
	include structure from ggc-common.c.

From-SVN: r73065
2003-10-29 22:13:59 +00:00
John David Anglin
cb4d476cf4 pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.
* pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.
	(ASM_OUTPUT_ADDR_DIFF_ELT): Use label difference in big switch ELTs.
	* pa.c (pa_adjust_insn_length): Check for btable branches using
	attribute TYPE_BTABLE_BRANCH.
	(pa_reorg): Simplify.
	* pa.h (CASE_VECTOR_MODE): Change big switch mode to SImode.
	(ASM_OUTPUT_ADDR_VEC_ELT): As above.
	(ASM_OUTPUT_ADDR_DIFF_ELT): As above.
	* pa.md (btable_branch): New instruction type.
	(in_branch_delay, in_nullified_branch_delay, in_call_delay): Disallow
	btable branches.
	(define_delay): Add btable branches to insn types that may have an
	insn in the delay position.
	(Z2, Z3): Add btable branch to list.
	Simplify unamed pattern set copy pic_label_operand to register.  Add
	PA 2.0 variant.
	(short_jump): New jump for use in branch tables.
	(casesi, casesi0): Revise for new branch table formats.
	(casesi32, casesi32p, casesi64p): New casesi patterns.
	(indirect_jump): Move.

From-SVN: r73064
2003-10-29 21:44:16 +00:00
David Edelsohn
c1aa3958b1 rs6000.h (UNITS_PER_WORD): Revert to !TARGET_POWERPC64.
* config/rs6000/rs6000.h (UNITS_PER_WORD): Revert to
        !TARGET_POWERPC64.
        (UNITS_PER_GPR_WORD): Delete.
        (HARD_REGNO_NREGS): Revert to UNITS_PER_WORD.
        (HARD_REGNO_MODE_OK): Same.
        (CLASS_MAX_NREGS): Same.

From-SVN: r73060
2003-10-29 16:02:14 -05:00
John David Anglin
e08fde98b7 * pa.h (ASM_COMMENT_START): Define.
From-SVN: r73059
2003-10-29 20:17:50 +00:00
Arnaud Charlet
7d213ecc72 run_all.sh: Redirect mv output to /dev/null Avoid non pure sh syntax.
* ada/acats/run_all.sh: Redirect mv output to /dev/null
	Avoid non pure sh syntax. Add more logging.

	* ada/acats/norun.lst: Disable cdd2a03, since it is expected to
	fail.

From-SVN: r73052
2003-10-29 18:04:38 +01:00
Zack Weinberg
9fcc6bf64a genmodes.c (complete_mode): Record MODE_CC...
* genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
	MODE_FLOAT, and MODE_PARTIAL_INT modes as having one
	component, not zero.

From-SVN: r73051
2003-10-29 17:01:27 +00:00
Andreas Schwab
9585b0f7a1 * config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c.
From-SVN: r73050
2003-10-29 16:21:36 +00:00
Paolo Carlini
f1e7988ac1 locale_facets.tcc (time_get::do_get_year): Absolutely avoid dereferencing end iterators.
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (time_get::do_get_year):
	Absolutely avoid dereferencing end iterators.
	(time_put::put): Minor clean up.

	* include/bits/locale_facets.tcc: Cosmetic reformattings.

From-SVN: r73049
2003-10-29 16:20:34 +00:00
Sascha Brawer
45967a8a28 CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

        * java/awt/geom/CubicCurve2D.java (contains): Docfix for URL of embedded drawing.
        * java/awt/geom/QuadCurve2D.java: Likewise.

2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/geom/CubicCurve2D.java: Added documentation.
	* java/awt/geom/QuadCurve2D.java: Likewise.

	* java/awt/geom/doc-files/QuadCurve2D-4.png,
	java/awt/geom/doc-files/QuadCurve2D-5.png,
	java/awt/geom/doc-files/CubicCurve2D-4.png,
	java/awt/geom/doc-files/Cubicurve2D-5.png: New illustrations.

2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/geom/CubicCurve2D.java (getFlatnessSq): Implement.
	(subdivide(CubicCurve2D, CubicCurve2D)): Avoid useless object allocation.
	(subdivide(double[],int,double[],int,double[],int)): Implement.

2003-10-29  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/geom/doc-files/CubicCurve2D-1.png,
	java/awt/geom/doc-files/CubicCurve2D-2.png,
	java/awt/geom/doc-files/CubicCurve2D-3.png: New illustrations.

From-SVN: r73048
2003-10-29 16:17:51 +00:00
Ito Kazumitsu
4b6be8de93 Forgot to add one ChangeLog entry from classpath.
From-SVN: r73047
2003-10-29 16:11:22 +00:00
Michael Koch
8b941eec31 [multiple changes]
2003-10-29  Mark Wielaard  <mark@klomp.org>

	From Guilhem Lavaux  <guilhem.lavaux@free.fr>
	* java/text/DateFormat.java (Field): New public static inner class.
	* java/text/Format.java (Field): Likewise.
	(formatToCharacterIterator): New method.
	* java/text/FormatCharacterIterator.java: New file.

2003-10-29  Mark Wielaard  <mark@klomp.org>

	From Guilhem Lavaux  <guilhem.lavaux@free.fr>
	* java/util/Currency.java: New file.

2003-10-29  Michael Koch  <konqueror@gmx.de>

	* Makefile.am (ordinary_java_source_files): Added
	java/text/FormatCharacterIterator.java and java/util/Currency.java.
	* Makefile.in: Regenerated.

From-SVN: r73046
2003-10-29 16:07:59 +00:00
Eric Botcazou
f2225d74aa Added a missing word.
From-SVN: r73045
2003-10-29 15:40:57 +00:00
Eric Botcazou
6949414817 sparc.c (function_arg_partial_nregs): Never return 1 for complex integral modes whose size is lesser or equal to a word.
* config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
	Never return 1 for complex integral modes whose size is lesser or
	equal to a word.
	(function_arg_pass_by_reference) [TARGET_ARCH64]: Mention CTImode
	in the comment.
	(function_arg_advance) [TARGET_ARCH64]: Don't special-case complex
	modes.
	(sparc_va_arg) [TARGET_ARCH64]: Handle any types whose is greater
	than 16 bytes by reference.

From-SVN: r73044
2003-10-29 15:36:12 +00:00
Dalibor Topic
2035efe7fb IntrospectionIncubator.java (addMethod): Add public static methods.
2003-10-29  Dalibor Topic  <robilad@kaffe.org>

	* gnu/java/beans/IntrospectionIncubator.java (addMethod): Add public
	static methods.

From-SVN: r73043
2003-10-29 15:22:01 +00:00
Paolo Carlini
58c9703fe3 locale_facets.tcc (num_get::_M_extract_float): Revert the last commit, is incorrect, sorry.
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

        * include/bits/locale_facets.tcc (num_get::_M_extract_float):
	Revert the last commit, is incorrect, sorry.

From-SVN: r73042
2003-10-29 15:02:40 +00:00
Julian Dolby
f0dc1eface NamingManager.java (getContinuationContext): Call getObjectInstance() with Object...
2003-10-29  Julian Dolby  <dolby@us.ibm.com>

	* javax/naming/spi/NamingManager.java (getContinuationContext): Call
	getObjectInstance() with Object, Name, Context and environment
	Hashtable from exception. Call fillInStackTrace() on exception when
	rethrown.
	* javax/naming/InitialContext.java (lookup(Name)): When a
	CannotProceedException is thrown use the ContinuationContext.
	(lookup(String)): Likewise.
	(close): Clear myProps and defaultInitCtx.

From-SVN: r73041
2003-10-29 14:54:00 +00:00
Michael Koch
119d34b273 Somehow this didnt got commited due to full hard disk.
From-SVN: r73040
2003-10-29 14:44:51 +00:00
Richard Kenner
b6a41a622f ia64.c (ia64_assemble_integer): Test POINTER_SIZE, not TARGET_ILP32.
* config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE,
	not TARGET_ILP32.
	(ia64_initialize_trampoline): Use globalize_label target call.

From-SVN: r73039
2003-10-29 09:23:45 -05:00
Arnaud Charlet
24c98faeff * ada/acats/run_all.sh: Redirect mv output to /dev/null
From-SVN: r73037
2003-10-29 14:48:35 +01:00
Paolo Carlini
4f36323260 c_locale.cc: Add back <cmath> and <cstdlib>.
2003-10-29  Paolo Carlini  <pcarlini@suse.de>

	* config/locale/generic/c_locale.cc: Add back <cmath>
	and <cstdlib>.

	* include/bits/locale_facets.tcc
	(num_get::_M_extract_float): Clean up.

From-SVN: r73036
2003-10-29 13:34:04 +00:00