53931 Commits

Author SHA1 Message Date
John David Anglin
24a5216069 pa.c (pa_select_section): Use new style declaration.
* pa.c (pa_select_section): Use new style declaration.
	* som.h (readonly_data): Likewise.

From-SVN: r73160
2003-10-31 22:08:55 +00:00
Kelley Cook
38f391a52e * config/rs6000/rs6000.c: Update to C90 prototypes.
From-SVN: r73159
2003-10-31 21:47:01 +00:00
Richard Earnshaw
4a3a957b8a Bah! Missed PR no again!
PR target/7513
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.

From-SVN: r73158
2003-10-31 21:44:35 +00:00
Richard Earnshaw
fb14bc892c arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb code.
* arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
code.

From-SVN: r73157
2003-10-31 21:42:23 +00:00
Andreas Jaeger
a30794da51 2003-10-31 Andreas Jaeger <aj@suse.de>,
Zack Weinberg  <zack@codesourcery.com>


        * crtstuff.c (__register_frame_info, __register_frame_info_bases)
        (__deregister_frame_info, __deregister_frame_info_bases):
        Constify void * argument.
        * unwind-dw2-fde.h (struct fde_vector):
        Constify 'orig_data' and 'array' fields.
        (__register_frame_info, __register_frame_info_bases)
        (__deregister_frame_info, __deregister_frame_info_bases):
        Constify void * argument.
        (get_cie, next_fde, _Unwind_Find_FDE): Constify arguments,
        return values, and casts of type fde *, struct dwarf_fde *,
        and struct dwarf_cie *.
        * unwind-dw2-fde.c (__register_frame_info, __register_frame_info_bases)
        (__deregister_frame_info, __deregister_frame_info_bases):
        Constify void * argument.
        (get_cie_encoding, ): Constify struct dwarf_cie * argument.
        (get_fde_encoding, fde_unencoded_compare, fde_single_encoding_compare)
        (fde_mixed_encoding_compare, fde_compare_t, start_fde_sort, fde_insert)
        fde_split, SWAP, frame_downheap, frame_heapsort)
        (classify_object_over_fdes, add_fdes, linear_search_fdes,
        binary_search_unencoded_fdes, binary_search_single_encoding_fdes,
        binary_search_mixed_encoding_fdes, search_object, _Unwind_Find_FDE):
        Constify arguments, local variables, return values, and casts
        of type fde *, fde **, struct dwarf_fde *, and struct dwarf_cie *.
        Use const pointer types in sizeof expressions, for clarity.
        * unwind-dw2-fde-glibc.c
        (_Unwind_find_registered_FDE, _Unwind_find_FDE): Constify return value.
        (struct unw_eh_callback_data): Constify 'ret' field.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>

From-SVN: r73155
2003-10-31 21:46:26 +01:00
Richard Earnshaw
f3dd79b90f * g++.dg/bprob/bprob.exp: Disable test on arm-elf configs.
From-SVN: r73153
2003-10-31 16:04:21 +00:00
Fariborz Jahanian
8159dc2024 Add UNITS_PER_ARG missed in patch.
Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r73152
2003-10-31 10:58:39 -05:00
Fariborz Jahanian
b78d48ddc2 rs6000.c (rs6000_mixed_function_arg): New.
2003-10-31  Fariborz Jahanian  <fjahanian@apple.com>
            David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_mixed_function_arg): New.
        (function_arg): Call it.
        (rs6000_function_value): Widen integral return value to mode based
        on TARGET_32BIT, not word_mode.
        * config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r73151
2003-10-31 10:50:49 -05:00
Gerald Pfeifer
3dc5f34a79 cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c, and gengtype-yacc.h.
* .cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c,
	and gengtype-yacc.h.

From-SVN: r73150
2003-10-31 15:38:37 +00:00
Richard Earnshaw
79b535431a Add PR to:
PR optimization/8896
* postreload.c (reload_combine): Check that REGY doesn't die in an
insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.

From-SVN: r73149
2003-10-31 15:14:19 +00:00
Richard Earnshaw
71c1543c4b postreload.c (reload_combine): Check that REGY doesn't die in an insn of the form (set (regx) (plus (regx)...
* postreload.c (reload_combine): Check that REGY doesn't die in an
insn of the form (set (regx) (plus (regx) (regy))), ie REGX != REGY.

From-SVN: r73148
2003-10-31 15:11:37 +00:00
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