Commit Graph

48480 Commits

Author SHA1 Message Date
Steven Bosscher 54098126af return-type-3.c: New test.
2003-03-11  Steven Bosscher  <s.bosscher@student.tudelft.nl>

        * gcc.dg/return-type-3.c: New test.

From-SVN: r64181
2003-03-11 20:00:39 +00:00
Carlo Wood 8fe857758f cplus-dem.c (demangle_integral_value): Correction to reflect patch of 2002-01-10 in order to also make negative...
* cplus-dem.c (demangle_integral_value): Correction to reflect
patch of 2002-01-10 in order to also make negative multi-digits
without leading underscore work.

From-SVN: r64179
2003-03-11 14:55:46 -05:00
Hans-Peter Nilsson d2f55c5c66 cris.md: Remove lingering EGCS reference.
* config/cris/cris.md: Remove lingering EGCS reference.
	("*extopqihi_side_biap"): For HI operation, match
	cris_additive_operand_extend_operator, not
	cris_operand_extend_operator.  Adjust condition.
	("*extopqihi_side", "*extopqihi"): Ditto.
	("*extopqisi_side_biap"): Correct operand numbers in condition.
	("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
	("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
	("*extophisi_swap"): Ditto.
	("*extopqihi_swap_side_biap"): For HI operation, match a simple
	PLUS, not cris_operand_extend_operator.  Adjust condition and
	output template.
	("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
	* config/cris/cris.h (PREDICATE_CODES): Add
	cris_additive_operand_extend_operator.
	* config/cris/cris.c (cris_additive_operand_extend_operator):
	New predicate.

From-SVN: r64174
2003-03-11 15:43:25 +00:00
Mark Mitchell 436f8a4ce0 re PR c++/8700 (unhelpful error message for binding temp to reference)
PR c++/8700
	* call.c (convert_class_to_reference): Adjust usage of
	splice_viable.
	(any_viable): Remove.
	(splice_viable): Combine with any_viable.
	(print_z_candidates): Avoid printing duplicates.
	(build_user_type_conversion_1): Adjust usage of splice_viable.
	(build_new_function_call): Likewise.
	(build_operator_new_call): Likewise.
	(build_object_call): Likewise.
	(build_conditional_expr): Likewise.
	(build_new_op): Likewise.
	(build_new_method_call): Likewise.
	(joust): Remove spurious comment.
	* cp-tree.h (DECL_FRIENDLIST): Correct documentation.
	* decl2.c (arg_assoc_class): Simplify.
	* friend.c (add_friend): Likewise.

From-SVN: r64173
2003-03-11 15:43:14 +00:00
Carlo Wood 1be4def3c6 demangle.h: Prepend accessors of class qualifier with 'get_' in order to fix warnings when...
2003-03-11  Carlo Wood  <carlo@alinoe.com>

	* include/bits/demangle.h: Prepend accessors of
	class qualifier with 'get_' in order to fix warnings
	when compiling with -Wshadow.

From-SVN: r64172
2003-03-11 13:48:16 +00:00
D.Venkatasubramanian bff6a7c25d bprob.exp: Disable test cases for h8300-*-* as profiling options are not supported.
* gcc.misc-tests/bprob.exp: Disable test cases for h8300-*-* as
	profiling options are not supported.

From-SVN: r64171
2003-03-11 12:32:26 +00:00
Andrew Haley 3d874dea12 jcf-io.c (caching_stat): Initialize origsep to remove compiler warning.
2003-03-11  Andrew Haley  <aph@redhat.com>

        * jcf-io.c (caching_stat): Initialize origsep to remove compiler
        warning.

From-SVN: r64169
2003-03-11 11:10:05 +00:00
Jason Merrill 220dd8ca34 re PR c++/8660 (template overloading ICE in tsubst_expr, at cp/pt.c:7644)
PR c++/8660
        * decl2.c (check_classfn): A member template only matches a
        member template.

[[Split portion of a mixed commit.]]

From-SVN: r64167.2
2003-03-11 05:34:45 -05:00
Jason Merrill 5b8e011cf6 re PR c++/8660 (template overloading ICE in tsubst_expr, at cp/pt.c:7644)
PR c++/8660
        * decl2.c (check_classfn): A member template only matches a
        member template.

From-SVN: r64166
2003-03-11 05:33:28 -05:00
Michael Koch b772d2f592 2003-03-11 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java
	(putInt): Use limit() instead of limit.
	* gnu/java/nio/CharBufferImpl.java
	(slice): Fixed implementation.
	(subSequence): Better bounds checking.
	* gnu/java/nio/MappedByteFileBuffer.java:
	Import all needed classes directly.
	* java/nio/ByteBuffer.java
	(hashCode): New dummy method.
	* java/nio/CharBuffer.java
	(array_offset): New member variable.
	(hasArray): Fixed documentation.
	(arrayOffset): Return array_offset.

From-SVN: r64165
2003-03-11 10:30:52 +00:00
Hartmut Penner 37bd08f8df df.c (read_modify_subreg_p): Change from static to global.
* df.c (read_modify_subreg_p): Change from static to global.
        * df.h (read_modify_subreg_p): Add prototype.
        * sched-deps.c (sched_analyze_1): Generate true dependency for
        strict_low_part, certain subregs and zero/sign_extract.

From-SVN: r64164
2003-03-11 09:17:38 +00:00
Loren J. Rittle b0649028b4 ctype_inline.h: Support _M_table when so installed.
* config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
	when so installed.
	* testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.

From-SVN: r64163
2003-03-11 07:07:25 +00:00
Neil Booth cb60f38d5b Makefile.in: Update.
* Makefile.in: Update.
	* c-common.c: Don't include real.h or except.h.
	(REGISTER_PREFIX): Remove.
	(builtin_define_std, builtin_define_with_value,
	builtin_define_with_int_value, builtin_define_with_hex_fp_value,
	builtin_define_type_max, builtin_define_type_precision,
	builtin_define_float_constants): Move to c-cppbuiltin.c.
	(c_stddef_cpp_builtins): New.
	* c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
	* c-cppbuiltin.c: New, extracted from c-common.c.
	(define__GNUC__): New.
	* cppspec.c (lang_specific_driver): Remove support of -no-gcc.
	* gcc.c: Remove support of %v1, %v2 and %v3 specs.
	(cpp_unique_options): Don't support no-gcc.
	(do_spec_1): Remove support of version specs.
	* doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
	* doc/passes.texi: Update.
	* doc/tm.texi: Update.
cp:
	* Make-lang.in (CXX_C_OBJS): Update.
	* lang-specs.h: Don't define __GNUG__ here.

From-SVN: r64162
2003-03-11 06:42:21 +00:00
Loren J. Rittle 5858cd26b2 testsuite_hooks.h (run_tests_wrapped_env): Do not report lack of setenv().
* testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
	report lack of setenv().

From-SVN: r64161
2003-03-11 05:32:56 +00:00
Mark Mitchell 125e65945c 16077.C: Adjust warnings.
* g++.old-deja/g++.benjamin/16077.C: Adjust warnings.
	* g++.old-deja/g++.warn/impint2.C: Likewise.

	* call.c (perform_overload_resolution): New function.
	(build_new_function_call): Use it.
	(build_operator_new_call): Likewise.
	(add_candidates): Add explicit_targs and template_only parameters.
	(build_new_op): Adjust accordingly.
	* cp-tree.h (build_operator_new_call): New function.
	(build_function_call_real): Remove.
	(build_function_call_maybe): Likewise.
	* init.c (build_new_1): Use build_operator_new_call.
	* typeck.c (build_function_call_real): Rename to ...
	(build_function_call): ... this.

From-SVN: r64159
2003-03-11 02:37:17 +00:00
Aldy Hernandez 31ca36354c * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
From-SVN: r64158
2003-03-11 02:01:41 +00:00
Andrew Pinski ab82a49f4e darwin.c (machopic_function_base_name): If dynamic-no-pic is on should not get here.
2003-03-10  Andrew Pinski  <apinski@apple.com>

	* config/darwin.c (machopic_function_base_name): If dynamic-no-pic
	is on should not get here.
	(machopic_indirect_data_reference): If dynamic-no-pic is on just
	generate high/low parts of the address.
	(machopic_legitimize_pic_address): Change MACHOPIC_PURE to
	MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
	symbol and labels with a new reg.  Dynamic-no-pic does not have a
	pic_offset_table_rtx.
	(machopic_select_section): Change references of flag_pic to
	MACHOPIC_INDIRECT.
	(machopic_asm_out_destructor): Likewise.
	* config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
	reference of flag_pic to MACHOPIC_INDIRECT.
	(MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
	(MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
	(MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
	(MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
	* config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
	0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
	* config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
	(TARGET_DYNAMIC_NO_PIC): Define.
	(SUBTARGET_SWITCHES): Define, have sub-target switches for
	dynamic-no-pic.
	(SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
	rs6000_override_options to here. Dynamic-no-pic overrides
	pic.
	(CC1_SPEC): Change from not static then pic to not static and not
	dynamic-no-pic then pic.
	* config/rs6000/rs6000.c (rs6000_override_options): Move the
	check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
	(rs6000_legitimize_reload_address): Add case for loading floating in
	dynamic-no-pic.
	(rs6000_emit_move): Add case for dynamic-no-pic.  Change reference
	of flag_pic to MACHOPIC_INDIRECT.
	(secondary_reload_class): Conditional change the reference of
	flag_pic to MACHOPIC_INDIRECT.
	(rs6000_output_mi_thunk): Change reference of flag_pic to
	MACHOPIC_INDIRECT.
	(output_profile_hook): Likewise.
	(machopic_output_stub):	Non-pure (dynamic-no-pic) is now supported.
	* config/rs6000/rs6000.md (movdf_low): Add the case for
	MACHO_DYNAMIC_NO_PIC_P.
	(call): Change references for flag_pic in TARGET_MACHO to
	MACHOPIC_INDIRECT.
	(SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
	-mdynamic-no-pic is on.	 Also move case for -fpic from rs6000.c.
	* doc/invoke.texi (-mdynamic-no-pic): Document.

From-SVN: r64157
2003-03-11 01:41:11 +00:00
Devang Patel 8c12473040 Remove extra bits I included, by mistake, in my previous check-in
for PR/9394 fix.

From-SVN: r64156
2003-03-10 17:25:12 -08:00
GCC Administrator 3c6a9be30f Daily bump.
From-SVN: r64153
2003-03-11 00:17:05 +00:00
Devang Patel 87d7d780ea gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
PR/9394
        * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
        * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
        * cppspec.c (DEFAULT_SWTICH_TAKES_ARG): Remove.
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.

cp
        * g++spec.c (lang_specific_driver): Use DEFAULT_WORD_SWITCH_TAKES_ARG.

testsuite

        * g++.dg/cpp/c++_cmd_1.C: New test.
        * g++.dg/cpp/c++_cmd_1.h: New file.

From-SVN: r64144
2003-03-10 15:41:42 -08:00
Steven Bosscher 6b856d1594 re PR rtl-optimization/7189 (gcc -O2 -Wall does not print ``control reaches end of non-void function'' warning)
2003-03-10  Steven Bosscher  <s.bosscher@student.tudelft.nl>

        PR optimization/7189
        * toplev.c (rest_of_compilation):  Move
        check_function_return_warnings up to just after
        delete_unreachable_blocks.

From-SVN: r64143
2003-03-10 23:33:15 +00:00
Roger Sayle f75b407f90 * com.c (duplicate_decls): Synchronize with C's duplicate_decls.
From-SVN: r64142
2003-03-10 23:28:08 +00:00
Stephane Carrez 2d8d15b762 m68hc11.h (HARD_REGNO_RENAME_OK): Define.
* config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
	* config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
	Declare.
	* config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
	for reg rename optimization to avoid using Z and Y registers.

From-SVN: r64134
2003-03-10 23:10:37 +01:00
Jason Merrill 70f0e2883a re PR c++/9798 (Infinite recursion (segfault) in cp/decl.c:push_using_directive with recusive using directives)
PR c++/9798
        * decl.c (push_using_directive): Push before recursing.

From-SVN: r64133
2003-03-10 17:04:09 -05:00
Jason Merrill f3d2c79d41 add xfail
From-SVN: r64131
2003-03-10 16:57:02 -05:00
Stephane Carrez 0e01d661aa m68hc11.md ("*addhi3_68hc12"): Accept any constant when adding to X and Y since leax/leay are fast.
* config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
	when adding to X and Y since leax/leay are fast.
	("*addhi3"): Accept 'I' constraint when adding to address register.
	("rotlhi3"): Operand 1 must be a register_operand.
	(peephole2): New peephole to optimize some adds.
	* config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
	to represent -2 .. 2 small integer range.

From-SVN: r64127
2003-03-10 22:51:02 +01:00
Stephane Carrez ae5b570e57 m68hc11.c (m68hc11_gen_rotate): Set carry before each 16-bit rotation.
* config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
	each 16-bit rotation.

From-SVN: r64125
2003-03-10 22:27:46 +01:00
Jason Merrill 88849449f3 re PR c++/9868 (ICE in c_expand_expr when qualifying member variable)
PR c++/9868
        * call.c (resolve_scoped_fn_name): Handle the case of a function
        pointer member.

From-SVN: r64124
2003-03-10 16:11:48 -05:00
Jason Merrill 6e9554e198 re PR c++/9868 (ICE in c_expand_expr when qualifying member variable)
PR c++/9868
        * call.c (resolve_scoped_fn_name): Handle the case of a function
        pointer member.

From-SVN: r64122
2003-03-10 16:10:37 -05:00
Segher Boessenkool ebb780f296 altivec-9.c: New file.
2003-03-10  Segher Boessenkool  <segher@koffie.nl>

        * testsuite/gcc.dg/altivec-9.c: New file.

From-SVN: r64120
2003-03-10 20:52:31 +00:00
Franz Sirl 88a7a0c921 ppc-sdata-1.c: New test.
2003-03-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* gcc.dg/ppc-sdata-1.c: New test.
	* gcc.dg/ppc-sdata-2.c: New test.

From-SVN: r64119
2003-03-10 20:42:23 +00:00
Zack Weinberg 529997387b c-opts.c (add_prefixed_path): Don't use concat.
* c-opts.c (add_prefixed_path): Don't use concat.  When
	prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
	cpp_GCC_INCLUDE_DIR_len characters.

From-SVN: r64114
2003-03-10 20:02:27 +00:00
Mohan Embar a489d8b084 dostime.c: add #include <stddef.h> for definition of NULL
2003-03-10  Mohan Embar  <gnustuff@thisiscool.com>

        * dostime.c: add #include <stddef.h> for definition of NULL

From-SVN: r64112
2003-03-10 19:52:15 +00:00
Andrew Haley c068c63834 [multiple changes]
2003-03-10  2003-02-27  Mohan Embar  <gnustuff@thisiscool.com>

        * include/jvm.h: removed declaration of _Jv_ThisExecutable()
        setter; made return value of getter const char* instead of char*
        * prims.cc: removed all references to _Jv_ThisExecutable().
        These are in the platform-specific sections now.
        * posix.cc: define platform-specific _Jv_ThisExecutable().
        Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
        * win32.cc: define platform-specific _Jv_ThisExecutable()
        using GetModuleFilename()
        * java/lang/natRuntime.cc: set gnu.gcj.progname property
        to argv[0] instead of _Jv_ThisExecutable()

2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>

        * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
        that is set if we are using addr2name.awk instead of addr2line.
        (NameFinder): Set usingAddr2name if using addr2name.awk.
        (getExternalLabel): New native method to convert a method
        name to an external label.
        (lookup): Convert name given by addr2line to an external label
        before demangling.

        * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
        constant representing the prefix attached to method names to
        convert them to an external label.
        (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
        using LABEL_PREFIX.

From-SVN: r64111
2003-03-10 19:45:30 +00:00
Ranjit Mathew 630287af48 jcf-io.c (caching_stat): Account for both DIR_SEPARATOR and DIR_SEPARATOR_2 for a target.
2003-03-10  Ranjit Mathew  <rmathew@hotmail.com>

        * jcf-io.c (caching_stat): Account for both DIR_SEPARATOR
        and DIR_SEPARATOR_2 for a target.
        Correct minor typos.

        * jcf-write.c (make_class_file_name): Take both DIR_SEPARATOR
        and DIR_SEPARATOR_2 for a target into account.

From-SVN: r64110
2003-03-10 19:39:18 +00:00
Segher Boessenkool 5c2424217a altivec-9.c: New file.
2003-03-10  Segher Boessenkool  <segher@koffie.nl>

        * testsuite/gcc.dg/altivec-9.c: New file.

        * config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
        (rs6000_emit_prologue): Use rs6000_frame_related instead.

From-SVN: r64109
2003-03-10 19:36:26 +00:00
Andreas Tobler 70144e9c6c Andreas Tobler <a.tobler@schweiz.ch>
* src/powerpc/darwin_closure.S: Recode to fit dynamic libraries.

From-SVN: r64106
2003-03-10 20:10:26 +01:00
Aldy Hernandez b405370260 spe.h: Define __ev64_*64__ to use single element vectors.
2003-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Define __ev64_*64__ to use single element
        vectors.
        (__ev_convert_u64): Remove macro.  Define as inline.
        (__ev_convert_s64): Same.

From-SVN: r64104
2003-03-10 18:46:35 +00:00
Jan Hubicka 912b79e7e9 * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
From-SVN: r64103
2003-03-10 18:32:17 +00:00
Aldy Hernandez c19de7aa68 rs6000.h (DWARF_FRAME_REGISTERS): Define.
2003-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
        (rs6000_stack_t): Add spe_64bit_regs_used.

        * config/rs6000/rs6000.c (rs6000_stack_info): Calculate
        spe_64bit_regs_used, and use it to determine the size of the
        frame.
        (spe_func_has_64bit_regs_p): New.
        (spe_synthesize_frame_save): New.
        (rs6000_frame_related): Handle SPE synthetic registers.
        (rs6000_emit_prologue): Only save in 64-bits if the function used
        any registers in 64-bit mode.
        (rs6000_emit_epilogue): Same, but for restore.

From-SVN: r64102
2003-03-10 18:03:17 +00:00
Richard Earnshaw 29ad969430 arm.h (enum floating_point_type): Delete.
* arm.h (enum floating_point_type): Delete.  Replace with...
(enum fputype): ... new.
(FPUTYPE_DEFAULT): Renamed from FP_DEFAULT.  Values reworked.
* linux-elf.h (FPUTYPE_DEFAULT): Likewise.
* arm.md (attr fpu): Reworked for new underlying enum values.
* arm.c	(arm_fpu_arch): Now enum fputype.
(arm_fpu_tune): Renamed from arm_fpu.  Now enum fputype.
(arm_override_options, arm_output_epilogue, arm_expand_prologue):
Update uses of arm_fpu_arch and arm_fpu_tune.

From-SVN: r64099
2003-03-10 17:53:19 +00:00
Tom Tromey c94432c550 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
	(JC1FLAGS): Removed -Wno-deprecated.

From-SVN: r64097
2003-03-10 17:28:21 +00:00
Josef Zlomek 398111844b cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
* cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
	(try_crossjump_to_edge): Replace refereces to one jump table by
	references to identical jump table.
	* loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
	(replace_label): Moved to rtlanal.c.
	(struct rtx_pair): Moved to rtl.h.
	* rtl.h (struct rtx_pair): Moved from loop.c.
	(replace_label): New extern function.
	(subrtx_p): New extern function.
	(tablejump_p): New extern function.
	* rtlanal.c (replace_label): Moved from loop.c.
	(subrtx_p_1): New static function.
	(subrtx_p): New function.
	(tablejump_p): New function.

From-SVN: r64096
2003-03-10 17:23:44 +00:00
Tom Tromey 8f474219ec * libjava.jacks/jacks.xfail: Updated to reflect reality.
From-SVN: r64093
2003-03-10 16:39:15 +00:00
Michael Koch 2e65e47e26 2003-03-10 Michael Koch <konqueror@gmx.de>
* java/nio/ByteOrder.java
	(nativeOrder): Working implementation, added documentation.
	(toString): Added documentation.

From-SVN: r64085
2003-03-10 15:31:03 +00:00
Michael Koch 7507403ae5 Forgot to add them to the commit command line before
From-SVN: r64084
2003-03-10 15:16:52 +00:00
Michael Koch 1f5f81da4e DatagramSocket.java, [...]: Fixed some documentation tags to make javadoc and friends happy.
2003-03-10  Michael Koch  <konqueror@gmx.de>

	* java/net/DatagramSocket.java,
	java/net/MulticastSocket.java,
	java/net/Socket.java,
	java/net/URL.java,
	java/net/URLConnection.java:
	Fixed some documentation tags to make javadoc and friends happy.

From-SVN: r64083
2003-03-10 14:48:09 +00:00
Michael Koch 4c5154c0c6 BeanContextServicesSupport.java, [...]: New files.
2003-03-10  Michael Koch  <koqnueror@gmx.de>

	* java/beans/beancontext/BeanContextServicesSupport.java,
	java/beans/beancontext/BeanContextSupport.java: New files.
	* Makefile.am
	(awt_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r64080
2003-03-10 14:33:47 +00:00
Jan Hubicka ec3ae3da7f cfgcleanup.c (merge_blocks): Return where to iterate next.
* cfgcleanup.c (merge_blocks): Return where to iterate next.
	(try_optimize_cfg): Use return value of merge_blocks

From-SVN: r64079
2003-03-10 14:31:10 +00:00
Michael Koch 76c16dd4c2 2003-03-10 Michael Koch <konqueror@gmx.de>
* java/awt/FocusTraversalPolicy.java
	(FocusTraversalPolicy): Documentation added.
	(getComponentAfter): Documentation added.
	(getComponentBefore): Documentation added.
	(getFirstComponent): Documentation added.
	(getLastComponent): Documentation added.
	(getDefaultComponent): Documentation added.
	(getInitialComponent): Documentation added.
	* java/awt/ScrollPaneAdjustable.java
	(sp): New member variable.
	(orientation): New member variable.
	(value): New member variable.
	(minimum): New member variable.
	(maximum): New member variable.
	(visibleAmount): New member variable.
	(unitIncrement): New member variable.
	(blockIncrement): New member variable.
	(adjustmentListener): New member variable.
	(ScrollPaneAdjustable): Rewrote.
	(addAdjustmentListener): New method.
	(removeAdjustmentListener): New method.
	(getAdjustmentListeners): New method.
	(getBlockIncrement): New method.
	(getMaximum): New method.
	(getMinimum): New method.
	(getOrientation): New method.
	(getUnitIncrement): New method.
	(getValue): New method.
	(getVisibleAmount): New method.
	(setBlockIncrement): New method.
	(setUnitIncrement): New method.
	(setMaximum): Implemented.
	(setMinimum): Implemented.
	(setValue): New method.
	(setVisibleAmount): Implemented.
	(paramString): New method.
	* java/awt/Window.java
	(show): Use setVisible(true) instead of super.show().
	(hide): Use sevVisible(false) instead of super.hide().
	(processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
	WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
	(postEvent): Deprecated.
	(applyResourceBundle): Deprecated.
	(processWindowFocusEvent): New method.
	(processWindowStateEvent): New method.
	* java/awt/datatransfer/DataFlavor.java: Reindented.
	* java/awt/font/TextHitInfo.java
	(charIndex): New member variable.
	(leadingEdge): New member variable.
	(TextHitInfo): New constructor.
	(getCharIndex): Implemented.
	(isLeadingEdge): Implemented.
	(getInsertionIndex): Implemented.
	(hashCode): Access charIndex directly.
	(equals): Reformated.
	(leading): Implemented.
	(trailing): Implemented.
	(beforeOffset): Implemented.
	(afterOffset): Implemented.
	(getOtherHit): Implemented.
	(getOffsetHit): Implemented.
	(toString): Implemented.
	* java/awt/image/BufferedImage.java
	(BufferedImage): Implements WritableRenderedImage.
	(observers): New member variable.
	(addTileObserver): New method.
	(removeTileObserver): New method.

From-SVN: r64078
2003-03-10 13:21:38 +00:00