Commit Graph

40279 Commits

Author SHA1 Message Date
Tom Tromey
bda1450543 ButtonPeer.java: Replace with Classpath version.
* java/awt/peer/ButtonPeer.java: Replace with Classpath version.
	* java/awt/peer/CanvasPeer.java: Replace with Classpath version.
	* java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
	version.
	* java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
	* java/awt/peer/ChoicePeer.java: Replace with Classpath version.
	* java/awt/peer/ComponentPeer.java: Replace with Classpath version.
	* java/awt/peer/ContainerPeer.java: Replace with Classpath version.
	* java/awt/peer/DialogPeer.java: Replace with Classpath version.
	* java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
	* java/awt/peer/FontPeer.java: Replace with Classpath version.
	* java/awt/peer/FramePeer.java: Replace with Classpath version.
	* java/awt/peer/LabelPeer.java: Replace with Classpath version.
	* java/awt/peer/LightweightPeer.java: Replace with Classpath version.
	* java/awt/peer/ListPeer.java: Replace with Classpath version.
	* java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
	* java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
	* java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
	* java/awt/peer/MenuPeer.java: Replace with Classpath version.
	* java/awt/peer/PanelPeer.java: Replace with Classpath version.
	* java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
	* java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
	* java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
	* java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
	* java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
	* java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
	* java/awt/peer/WindowPeer.java: Replace with Classpath version.
	* gnu/awt/xlib/XPanelPeer.java (insets): New method.
	* gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
	(minimumSize, preferredSize, reshape): Likewise.
	* gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
	getColorModel): New methods.
	* java/awt/PopupMenu.java: Merged with Classpath.
	* java/awt/MenuBar.java: Merged with Classpath.
	* java/awt/SystemColor.java: Replace with Classpath version.
	* java/awt/Panel.java: Merged with Classpath.
	* java/awt/PaintContext.java: Updated copyright.
	* java/awt/MenuShortcut.java: Merged with Classpath.
	* java/awt/MenuContainer.java: Merged with Classpath.
	* java/awt/Menu.java: Merged with Classpath.
	* java/awt/MediaEntry.java: New file from Classpath.
	* java/awt/MediaTracker.java: New file from Classpath.
	* java/awt/List.java: Merged with Classpath version.
	* java/awt/Insets.java: Merged with Classpath version.
	* java/awt/ImageMediaEntry.java: New file from Classpath.
	* java/awt/Image.java: Replaced with Classpath version.
	* java/awt/FontMetrics.java: Merged with Classpath version.
	* java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
	constant.
	* java/awt/Font.java: Merged with Classpath version.
	* java/awt/Dialog.java: Merged with Classpath version.
	* java/awt/Color.java: Merged with Classpath version.
	* java/awt/Choice.java: Merged with Classpath version.
	* java/awt/CheckboxMenuItem.java: Merged with Classpath version.
	* java/awt/Adjustable.java: Replace with Classpath version.
	* java/awt/MenuItem.java (paramString): Don't include class name
	or brackets.  Call superclass paramString.
	* java/awt/MenuComponent.java (toString): Call paramString.
	(paramString): Compute string; don't call toString.
	* java/awt/Label.java (paramString): Don't include class name
	or brackets.  Call superclass paramString.
	* java/awt/Checkbox.java (paramString): Don't include class name
	or brackets.  Call superclass paramString.
	* java/awt/Button.java (paramString): Don't include class name or
	brackets.  Call superclass paramString.
	* java/awt/MenuComponent.java (getTreeLock): Now protected.

From-SVN: r49099
2002-01-22 22:03:04 +00:00
Krister Walfridsson
e3b0efd1ee dwarfout.c (last_filename): Remove.
* dwarfout.c (last_filename): Remove.
        (output_compile_unit_die): Remove last_filename.

From-SVN: r49098
2002-01-22 13:58:41 -08:00
Krister Walfridsson
f66a004637 * dependence.c (build_def_use): Remove array_idx.
From-SVN: r49097
2002-01-22 13:57:22 -08:00
Roger Sayle
d8086cbb53 re PR rtl-optimization/3640 (small lost optimization of "x==0 || x==1")
PR opt/3640
        * fold-const.c (fold): Optimize unsigned comparisons against
        UINT_MAX (and similar unsigned constants).

From-SVN: r49096
2002-01-22 13:35:34 -08:00
Janis Johnson
11303d15ae Makefile.in (loop.o): Depend on OPTABS_H.
* Makefile.in (loop.o): Depend on OPTABS_H.
        * loop.c (expand_builtin_prefetch): Check the prefetch operand
        against the predicate.

From-SVN: r49095
2002-01-22 21:25:15 +00:00
Janis Johnson
3196dfde9a re PR target/5379 ([i386] internal error: Segmentation fault (prefetch related?))
PR target/5379
	* gcc.dg/20020122-2.c: New test.

From-SVN: r49094
2002-01-22 21:21:42 +00:00
Janis Johnson
e8d52ba03e re PR target/5379 ([i386] internal error: Segmentation fault (prefetch related?))
PR target/5379
	* config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
	for the address operand.

From-SVN: r49093
2002-01-22 21:19:27 +00:00
Richard Henderson
cc7b420e73 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
From-SVN: r49092
2002-01-22 12:54:32 -08:00
Tom Tromey
fec763fcfd decl.c (java_init_decl_processing): Use add_predefined_file.
* decl.c (java_init_decl_processing): Use add_predefined_file.
	Predefine RawData.java.
	(predef_filenames): Removed.
	(java_init_decl_processing): Don't register predef_filenames.
	* jcf-parse.c (add_predefined_file): New function.
	(predefined_filename_p): Rewrote.
	(predefined_filename_p): No longer static.
	* decl.c (java_init_decl_processing): Call initialize_builtins.
	* Make-lang.in (JAVA_OBJS): Added builtins.o.
	(java/builtins.o): New target.
	* builtins.c: New file.
	* parse.y (patch_invoke): Use build_call_or_builtin.
	* java-tree.h (build_call_or_builtin): Declare.
	(initialize_builtins): Declare.
	(java_set_exception_lang_code): Removed unused declaration.
	(PREDEF_FILENAMES_SIZE): Removed.
	(java_tree_index): Added JTI_PREDEF_FILENAMES.
	(predef_filenames): New define.
	(add_predefined_file): Declare.
	(predefined_filename_p): Declare.
	* expr.c (expand_invoke): Use build_call_or_builtin.

From-SVN: r49091
2002-01-22 20:23:46 +00:00
DJ Delorie
9ce3f7e5d3 Makefile.in (TESTLIB): New.
* Makefile.in (TESTLIB): New.  This library is for future
testsuites.
(CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
break down by letter.
(REQUIRED_OFILES): List long-to-compile files first.
(maint-deps): New, target for updating dependencies.
(dependencies): Update.
* maint-tool: Add dependency-generating option.
* configure.in: Check for _doprnt even if we're not providing it.
* configure: Regenerate.

* _doprnt.c: Modifications to allow compiling on any platform.
* copysign.c: Likewise.
* putenv.c: Likewise.
* setenv.c: Likewise.
* vsprintf.c: Likewise.

From-SVN: r49090
2002-01-22 15:03:29 -05:00
Craig Rodrigues
816e265a1b re PR other/5450 (__i386__ not defined on unixsware)
2002-01-22  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR other/5450
        * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU preprocessor flags.

From-SVN: r49088
2002-01-22 19:59:30 +00:00
Jason Thorpe
7c884404e0 config.gcc (x86_64-*-netbsd*): New target.
* config.gcc (x86_64-*-netbsd*): New target.
* config/i386/netbsd64.h: New file.

From-SVN: r49087
2002-01-22 19:48:27 +00:00
Bob Wilson
51fe14b531 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r49086
2002-01-22 19:13:23 +00:00
Kaveh R. Ghazi
cc586d706a * parse.y (patch_switch_statement): Fix format specifier.
From-SVN: r49084
2002-01-22 19:04:09 +00:00
Aldy Hernandez
1b21d6a004 fix conflicts
From-SVN: r49083
2002-01-22 18:35:50 +00:00
Aldy Hernandez
2b672c08f3 regrename.c (kill_value): Fix typo.
2002-01-22  Aldy Hernandez  <aldyh@redhat.com>

        * regrename.c (kill_value): Fix typo.

From-SVN: r49082
2002-01-22 18:34:56 +00:00
Loren J. Rittle
73249e331a Makefile.am (c_base_builddir): Remove redundant slash.
* include/Makefile.am (c_base_builddir): Remove redundant slash.
	(std_builddir): Likewise.
	(std_headers_rename): Fix cut-n-paste typo.
	(install-data-local): Concat path per element instead of once to
	first element of list.
	* include/Makefile.in: Rebuilt.

From-SVN: r49081
2002-01-22 17:35:37 +00:00
Nick Clifton
4b02997f47 Move body of HARD_REGNO_MODE_OK into a function: arm_hard_regno_mode_ok
From-SVN: r49080
2002-01-22 17:35:27 +00:00
Nick Clifton
c14a3a4578 Replace REG_MAYBE_DEAD notes with USEs.
From-SVN: r49079
2002-01-22 17:10:57 +00:00
Benjamin Kosnik
a0e073b266 ctype_noninline.h: Fix formatting.
2002-01-22  Benjamin Kosnik  <bkoz@redhat.com>

	* config/os/aix/bits/ctype_noninline.h: Fix formatting.
	* config/os/bsd/netbsd/bits/ctype_noninline.h: Fix typo.
	* config/os/bsd/freebsd/bits/ctype_noninline.h: Fix formatting.

From-SVN: r49078
2002-01-22 16:09:25 +00:00
Jason Merrill
8a827ab215 c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if this COMPOUND_STMT is scoped.
* c-semantics.c (genrtl_compound_stmt): Only check nesting consistency if
        this COMPOUND_STMT is scoped.

From-SVN: r49077
2002-01-22 11:05:50 -05:00
Jason Merrill
b58564754b parse.y (function_body): Suppress the block for the outermost curly braces.
* parse.y (function_body): Suppress the block for the outermost
        curly braces.
        * decl.c (pushdecl): Don't try to skip it.
        (begin_function_body): Keep the block we create, not the next one.
        * init.c (emit_base_init): Don't mess with keep_next_level.

From-SVN: r49076
2002-01-22 09:42:09 -05:00
Jason Merrill
6bc34b14ef * class.c (build_base_path): Tweak formatting.
From-SVN: r49075
2002-01-22 09:37:29 -05:00
Kazu Hirata
cf40364820 predict.c: Fix formatting.
* predict.c: Fix formatting.
	* print-tree.c: Likewise.
	* protoize.c: Likewise.
	* real.h: Likewise.
	* rtl.h: Likewise.
	* sbitmap.h: Likewise.
	* scan.c: Likewise.
	* sched-deps.c: Likewise.
	* sched-vis.c: Likewise.
	* sdbout.c: Likewise.
	* sibcall.c: Likewise.
	* ssa.c: Likewise.
	* ssa-ccp.c: Likewise.
	* ssa-dce.c: Likewise.
	* stmt.c: Likewise.
	* stor-layout.c: Likewise.
	* system.h: Likewise.

From-SVN: r49074
2002-01-22 14:33:35 +00:00
Richard Kenner
a8765ae7a0 tree.c (int_fits_type_p): If bounds of a subtype are variable, see if fits in bounds of base type.
* tree.c (int_fits_type_p): If bounds of a subtype are variable, see
	if fits in bounds of base type.

From-SVN: r49070
2002-01-22 07:01:54 -05:00
Richard Kenner
aea9695ca5 dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
* dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
	(loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
	(add_bound_info, default): If can't find a context, make a
	SAVE_EXPR.
	(dwarf2out_finish): Check for SAVE_EXPR in node->created_for.

From-SVN: r49069
2002-01-22 06:33:52 -05:00
GCC Administrator
ffe154a990 Daily bump.
From-SVN: r49067
2002-01-22 08:16:44 +00:00
Hans-Peter Nilsson
58bf601bae c-typeck.c (parser_build_binary_op): If result from build_binary_op is ERROR_MARK just return error_mark_node...
* c-typeck.c (parser_build_binary_op): If result from
	build_binary_op is ERROR_MARK just return error_mark_node without
	further processing.

From-SVN: r49066
2002-01-22 07:48:25 +00:00
Hans-Peter Nilsson
0c0c3c3995 * gcc.dg/20020122-1.c: New test.
From-SVN: r49065
2002-01-22 07:43:58 +00:00
Jason Thorpe
f982f8052a netbsd.h (TARGET_HAS_F_SETLKW): define.
* config/netbsd.h (TARGET_HAS_F_SETLKW): define.
Split a.out-specific bits into...
* config/netbsd-aout.h: ...this.
* config/netbsd-elf.h: New file.
* config/alpha/netbsd-elf.h: Remove.
* config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
* config/i386/netbsd-elf.h (LIB_SPEC): Remove.
(STARTFILE_SPEC): Remove redundant definition.
(ENDFILE_SPEC): Likewise.
(LINK_SPEC): Likewise.
(CPP_SPEC): Likewise.
(ASM_SPEC): Likewise.
(LIB_SPEC): Likewise.
(SWITCH_TAKES_ARG): Likewise.
(TARGET_MEM_FUNCTIONS): Likewise.
(CPP_PREDEFINES): Redefine.
(ASM_FINAL_SPEC): Remove redefinition.
(ASM_COMMENT_START): Redefine.
(FUNCTION_PROFILER): Define.
(TARGET_VERSION): Redefine.
Comment and formatting cleanup.
* config/i386/netbsd.h: Include <netbsd-aout.h>.
* config/m68k/netbsd.h: Include <netbsd-aout.h>.
* config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
big- or little-endian.
* config/ns32k/netbsd.h: Include <netbsd-aout.h>.
* config.gcc (*-*-netbsd*): Add definitions common to all
NetBSD configs.
(alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
gnu_ld definitions.  Add netbsd-elf.h to and remove
alpha/netbsd-elf.h from tm_file.  Remove alpha/t-crtfm from
tmake_file, and don't lose previous tmake_file contents.
(arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
(i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
gnu_ld definitions.  Add netbsd-elf.h to tm_file.
(mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
(mipsel-*-netbsd*): Rename this to...
(mips*-*-netbsd*): ...this.  Add elfos.h to tm_file.  Add
mips/little.h to tm_file for mips*el-*.
(powerpc-*-netbsd*): Remove redundant xm_defines definition.
(sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
(vax-*-netbsd*): Add netbsd-aout.h to tm_file.

From-SVN: r49064
2002-01-22 04:23:07 +00:00
Aldy Hernandez
58dbcf0581 tm.texi: Remove STARTING_FRAME_PHASE.
* doc/tm.texi: Remove STARTING_FRAME_PHASE.

        * config/rs6000/rs6000.h: Same.

        * function.c (instantiate_virtual_regs): Remove
        STARTING_FRAME_PHASE.
        (assign_stack_local_1): Same.
        Calculate frame phase.

From-SVN: r49063
2002-01-22 02:36:54 +00:00
Tom Tromey
1ec968465b ChangeLog rotation
From-SVN: r49061
2002-01-22 00:20:23 +00:00
David Billinghurst
75dbec30b8 attrib5.C: XFAIL cygwin too
2001-01-22  David.Billinghurst <David.Billinghurst@riotinto.com>

	* g++.old-deja/g++.ext/attrib5.C: XFAIL cygwin too

From-SVN: r49060
2002-01-21 23:40:44 +00:00
David Billinghurst
32abfc26ab 20010207-1.c: Restrict to i?86-*-[eflno]*
2002-01-22  David Billinghurst <David.Billinghurst@riotinto.com>

	* gcc.dg/20010207-1.c: Restrict to i?86-*-[eflno]*

From-SVN: r49059
2002-01-21 22:58:30 +00:00
John David Anglin
2e3964763a pa-protos.h (reg_before_reload_operand): New function prototype.
* pa-protos.h (reg_before_reload_operand): New function prototype.
	* pa.c (reg_before_reload_operand): New function implementation.
	* pa.md (decrement_and_branch_until_zero, movb): Use it.  Change "!*m"
	contraints to "*m".

From-SVN: r49058
2002-01-21 22:57:49 +00:00
Franz Sirl
3b5708e7e6 combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.

From-SVN: r49057
2002-01-21 22:19:55 +00:00
Franz Sirl
38e583fd25 20020121-1.c: New test.
2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.c-torture/compile/20020121-1.c: New test.

From-SVN: r49056
2002-01-21 22:16:04 +00:00
John David Anglin
e5f54c4567 g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.
* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
	ld_library_path.

From-SVN: r49055
2002-01-21 21:29:12 +00:00
John David Anglin
85e79f96ed pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
* pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
	(MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
	(MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
	(EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
	(ENDFILE_SPEC): Undefine.
	(STARTFILE_SPEC): Redefine for PA.

From-SVN: r49054
2002-01-21 21:22:19 +00:00
Franz Sirl
38abadee50 t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
2002-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.

From-SVN: r49048
2002-01-21 18:55:07 +00:00
Daniel Jacobowitz
94f1d97c48 config.gcc: Add entries to supported PowerPC --with-cpu types.
2002-01-21  Daniel Jacobowitz  <drow@mvista.com>

        * config.gcc: Add entries to supported PowerPC --with-cpu
        types.

From-SVN: r49047
2002-01-21 11:14:48 -05:00
Jakub Jelinek
0333394edf i386.c (ix86_function_arg_regno_p): Never return true for 64-bit mode only SSE registers in 32-bit mode.
* config/i386/i386.c (ix86_function_arg_regno_p): Never return
	true for 64-bit mode only SSE registers in 32-bit mode.

	* gcc.dg/20020218-1.c: New test.

From-SVN: r49046
2002-01-21 16:53:31 +01:00
Kazu Hirata
e9d1b155fc unwind-dw2.c: Fix formatting.
* unwind-dw2.c: Fix formatting.
	* unwind-dw2-fde.c: Likewise.
	* unwind-dw2-fde.h: Likewise.
	* unwind-pe.h: Likewise.
	* varasm.c: Likewise.
	* varray.h: Likewise.

From-SVN: r49045
2002-01-21 13:08:33 +00:00
David Billinghurst
e23baf78df prune.exp (prune_gcc_output): Prune "At global scope" messages
2002-01-21  David.Billinghurst <David.Billinghurst@riotinto.com>

	* lib/prune.exp (prune_gcc_output): Prune "At global scope"
	messages
	* g++.dg/other/deprecated.C: Remove dg-bogus comment for
	"At global scope" warning
	* g++.dg/ext/align1.C: Change cygwin test for alignment
	from db-bogus to dg-warning

From-SVN: r49044
2002-01-21 12:48:38 +00:00
Richard Kenner
93efb9de8c Properly indent two lines.
From-SVN: r49043
2002-01-21 07:35:58 -05:00
Zack Weinberg
a5cf3ccc22 * g77.f-torture/compile/cpp2.F: New test.
From-SVN: r49038
2002-01-21 08:37:49 +00:00
GCC Administrator
1bcdf4fe08 Daily bump.
From-SVN: r49036
2002-01-21 08:16:19 +00:00
Hans-Peter Nilsson
07338cf892 Remove workaround for register stack overwrite bug in mmix.
* config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
	support for TARGET_REG_STACK_FILL_BUG.
	* config/mmix/mmix.h: Remove member has_call_without_parameters.
	(TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
	Delete.
	(TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
	(TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
	-mno-reg-stack-fill-bug-workaround.
	* config/mmix/mmix.md ("call", "call_value"): Don't set struct
	machine member has_call_without_parameters.
	* doc/invoke.texi (Option Summary) <MMIX Options>: Remove
	-mreg-stack-fill-bug-workaround	and
	-mno-reg-stack-fill-bug-workaround.
	(MMIX Options): Ditto.

From-SVN: r49035
2002-01-21 07:25:48 +00:00
Kazu Hirata
7192cbf1e2 h8300.c (function_arg): Replace 0 with NULL_RTX as appropriate.
* config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
	as appropriate.
	Remove redundant code.

From-SVN: r49034
2002-01-21 07:06:37 +00:00
Joseph Myers
d1552d7b01 alpha.h, [...]: Remove commented out target macro definitions and non-target-specific comments...
* config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
	config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
	config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
	config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
	config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
	out target macro definitions and non-target-specific comments
	mostly taken from old versions of the manual.

From-SVN: r49033
2002-01-21 06:22:28 +00:00