Commit Graph

53970 Commits

Author SHA1 Message Date
Josef Zlomek
4cabf776b3 20031031-2.c: New test.
PR/10239
	* gcc.c-torture/compile/20031031-2.c: New test.

From-SVN: r73146
2003-10-31 14:21:23 +00:00
Josef Zlomek
9295a326c0 cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.
PR/10239
	* cfgrtl.c (delete_insn): Decrease LABEL_NUSES for all REG_LABEL notes.

From-SVN: r73145
2003-10-31 14:19:03 +00:00
Josef Zlomek
739e6d58e7 20031031-1.c: New test.
PR/11640
	* gcc.c-torture/compile/20031031-1.c: New test.

From-SVN: r73143
2003-10-31 14:09:51 +00:00
Josef Zlomek
5d693491f0 cfgrtl.c (try_redirect_by_replacing_jump): Move jump immediatelly before BARRIER.
PR/11640
	* cfgrtl.c (try_redirect_by_replacing_jump): Move jump
	immediatelly before BARRIER.

From-SVN: r73142
2003-10-31 14:09:34 +00:00
Kelley Cook
c2edc52b76 C90 update
From-SVN: r73140
2003-10-31 12:55:36 +00:00
Kelley Cook
14df9585bb * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error.
From-SVN: r73139
2003-10-31 12:48:53 +00:00
Kelley Cook
a2ae4a3dd0 * Makefile.in (STRICT2_WARN): Add -Wold-style-definition
From-SVN: r73138
2003-10-31 12:41:34 +00:00
Andreas Schwab
acd8e9843f * raise.c (get_action_description_for): Fix typo in last change.
From-SVN: r73137
2003-10-31 12:37:54 +00:00
Richard Earnshaw
b1f9e3147f re PR rtl-optimization/11271 ([arm-elf] regex.c ICEs for thumb multilib)
PR target/11271
* reload.c (find_reloads_address): Handle any register in
(PLUS (PLUS (REG) (REG)) (CONST_INT).

From-SVN: r73136
2003-10-31 11:37:20 +00:00
Richard Earnshaw
c5d6d04a1e ggc-page.c (ggc_pch_read): Wrap call to poison_pages in ENABLE_GC_CHECKING not in GGC_POISON.
* ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
ENABLE_GC_CHECKING not in GGC_POISON.

From-SVN: r73135
2003-10-31 11:22:32 +00:00
Richard Earnshaw
35a59bd56f * include/private/gcconfig.h: Re-install change of 2003-04-16.
From-SVN: r73134
2003-10-31 11:03:00 +00:00
Richard Earnshaw
28765aad65 bprob.exp: Disable test on arm-elf configs.
* g77.dg/bprob/bprob.exp: Disable test on arm-elf configs.
* gcc.misc-tests/bprob.exp: Likewise.
* g77.dg/execute/20001201.x, 6367.x, io0.x, io1.x, u77-test.x: XFAIL
the execution test on arm-elf configs.
* g77.dg/execute/10197.x: New file.  XFAIL the execution test on
configs that don't support scratch files.
* g77.dg/execute/u77-test.x: XFAIL compilation on arm-elf configs.

From-SVN: r73133
2003-10-31 10:49:15 +00:00
Jakub Jelinek
65bb4a49e8 com.c (ffecom_sym_transform_): Set tree type of offset to ssizetype.
* com.c (ffecom_sym_transform_): Set tree type of offset
	to ssizetype.

From-SVN: r73127
2003-10-31 11:34:03 +01:00
Nathanael Nerode
2c4902b982 re PR bootstrap/9863 (Absence of awk isn't properly diagnosed at configure time)
PR bootstrap/9863
	* configure.in: Bail out if awk is missing.
	* configure: Regenerate.

From-SVN: r73126
2003-10-31 09:58:46 +00:00
Nathanael Nerode
b2c62c451f re PR ada/12761 ([3.3 only] Segmentation fault in gnat1 compiling a-except.adb)
(gcc)
	PR ada/12761
	* Makefile.in: Move default definitions of X_ADA_CFLAGS,
	T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from ada/Make-lang.in to here.
(gcc/ada)
	PR ada/12761
	* ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS,
	T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in.

From-SVN: r73125
2003-10-31 09:53:53 +00:00
Richard Henderson
c157f85cd5 c-objc-common.c (c_tree_printer): Handle types correctly.
* c-objc-common.c (c_tree_printer): Handle types correctly.
        Factor code a bit.

From-SVN: r73121
2003-10-30 23:14:43 -08:00
Andreas Jaeger
ad37274a97 * floatformat.c (floatformat_always_valid): Add unused attribute.
From-SVN: r73119
2003-10-31 06:29:37 +01:00
Mohan Embar
d6bc9793de re PR libgcj/12647 ([win32] wait() does not release monitor correctly)
PR libgcj/12647:
	* win32-threads.cc (_Jv_CondWait): Respect mutex's
	refcount when releasing and reacquiring it.

From-SVN: r73118
2003-10-31 03:36:38 +00:00
Mohan Embar
748e241eab win32.cc: (dirExists) Internal helper function to test for directory existence.
* win32.cc: (dirExists) Internal helper function to
	test for directory existence.
	(getUserHome) New helper function refactored out
	of _Jv_platform_initProperties. Uses USERPROFILE
	instead of HOMEDIR and attempts to support Win9X and NT.
	(_Jv_platform_initProperties) Use getUserHome.

From-SVN: r73117
2003-10-31 03:31:54 +00:00
Mohan Embar
76506a3ee3 re PR libgcj/11521 ([win32] can install server socket on same port twice)
PR libgcj/11521:
	* gnu/java/net/natPlainSocketImplWin32.cc
	(bind): Don't use SO_REUSEADDR

From-SVN: r73116
2003-10-31 03:19:51 +00:00
Mohan Embar
b82183ab3f re PR libgcj/6652 (new java.io.File("").getCanonicalFile() throws exception)
PR libgcj/6652:
	* java/io/natFileWin32.cc (getCanonicalPath): Treat "" like ".".

From-SVN: r73115
2003-10-31 03:02:47 +00:00
R. Kelley Cook
9373164a48 C90 prototype updates.
From-SVN: r73113
2003-10-31 01:08:43 +00:00
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