Commit Graph

45541 Commits

Author SHA1 Message Date
Michael Koch 7f73f46f93 ByteBuffer.java, [...]: New files, forgot to add these dummies.
2002-10-07  Michael Koch  <konqueror@gmx.de>

	* java/nio/ByteBuffer.java,
	java/nio/MappedByteBuffer.java:
	New files, forgot to add these dummies.
	* Makefile.am (java_native_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r57899
2002-10-07 13:12:42 +00:00
Richard Henderson de3beb7c7d i960.c (i960_setup_incoming_varargs): Create a new rtx for comparing the argument pointer against zero.
* config/i960/i960.c (i960_setup_incoming_varargs): Create a
        new rtx for comparing the argument pointer against zero.
        (i960_va_start): Similarly.

From-SVN: r57897
2002-10-07 03:22:49 -07:00
Richard Henderson 01f4137fea * decl2.c, pt.c: Revert c++/7754 fix.
From-SVN: r57895
2002-10-07 02:49:18 -07:00
Richard Henderson e0fbf84951 Fix entry formatting.
From-SVN: r57894
2002-10-07 02:47:23 -07:00
Richard Henderson 87cb2a87f8 i960.md (*): Use TFmode, not XFmode.
* config/i960/i960.md (*): Use TFmode, not XFmode.
        * config/i960/i960.c (*): Likewise.
        (i960_arg_size_and_align): Remove XFmode alignment hack.
        (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
        * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
        (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
        (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.

From-SVN: r57889
2002-10-07 01:54:09 -07:00
Richard Henderson 5ef38d2ac1 fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode entry points; use void return value and argument list.
* config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
        entry points; use void return value and argument list.

From-SVN: r57887
2002-10-07 01:47:09 -07:00
Naohiko Shimizu e7f9979a8f t-pdp11: Add MULTILIB support for msoft-float.
* t-pdp11: Add MULTILIB support for msoft-float.
        * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.

        * t-pdp11: Add LIB2FUNCS_EXTRA.
        * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
        add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
        'fldd' to 'ldd', rename 'fstd' to 'std'.
        (pdp11_output_function_epilogue): Likewise.
        (output_move_quad): Make the comment gas compatible.
        (output_ascii): Add preceding 0 to the octal constant.
        (print_operand_address): Add pre_modify, post_modify.
        (output_addr_const_pdp11): Add preceding 0 to the octal constant.
        * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
        with the indication of Paul Koning.
        (PRINT_OPERAND): Fix floating constant.
        * pdp11.md (movdi): Restrict matching pattern.
        (movqi): Generalize the matching pattern.
        (movdf): Restrict matching pattern.
        (zero_extendqihi2): Change constant representation.
        (floatsidf2): Fix wrong operands.
        (addqi3): Fix wrong instruction name.
        (subqi3): Fix wrong instruction name.
        (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
        (xorsi3): Fix wrong insn.
        (one_cmplqi2): Add two operand pattern.
        (lsrsi3): New.
        (negsi2): New.
        (call): Add register indirect case.
        (mod): Fix wrong subreg.

From-SVN: r57886
2002-10-07 01:21:21 -07:00
Michael Koch 0b6dfe3b83 AlreadyConnectedException.java, [...]: New file.
2002-10-07  Michael Koch  <konqueror@gmx.de>

	* java/nio/channels/AlreadyConnectedException.java,
	java/nio/channels/ClosedChannelException.java,
	java/nio/channels/ReadableByteChannel.java,
	java/nio/channels/InterruptibleChannel.java,
	java/nio/channels/Channel.java,
	java/nio/channels/ByteChannel.java,
	java/nio/channels/GatheringByteChannel.java,
	java/nio/channels/ScatteringByteChannel.java,
	java/nio/channels/WritableByteChannel.java,
	java/nio/charset/CharacterCodingException.java,
	java/nio/charset/IllegalCharsetNameException.java,
	java/nio/charset/MalformedInputException.java,
	java/nio/charset/UnmappableCharacterException.java,
	java/nio/charset/UnsupportedCharsetException.java,
	java/nio/charset/spi/CharsetProvider.java: New file.
	These files are exceptions or interfaces,
	no real or abstract classes.
	* Makefile.am (java_native_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r57885
2002-10-07 07:59:12 +00:00
Eric Botcazou 4ef7870a4d re PR c/7411 (cistore.c:392: Internal compiler error in instantiate_virtual_regs_1, at function.c:3974)
PR c/7411
 * expr.c (expand_expr) [PLUS]: Simplify after the operands
 have been expanded in EXPAND_NORMAL mode.

Co-Authored-By: Volker Reichelt <reichelt@igpm.rwth-aachen.de>

From-SVN: r57882
2002-10-07 00:37:12 -07:00
GCC Administrator fe736b6c2c Daily bump.
From-SVN: r57881
2002-10-07 07:19:04 +00:00
D.Venkatasubramanian a85cd14512 * gcc.dg/20020411-1.c: Disable for 16-bit "int".
From-SVN: r57875
2002-10-06 21:38:56 -07:00
Richard Henderson a290046011 * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
From-SVN: r57871
2002-10-06 21:19:39 -07:00
Richard Henderson ff025ab9ad re PR rtl-optimization/2960 (Duplicate loop conditions even with -Os)
PR optimization/2960
        * toplev.c (rest_of_compilation): Don't copy_loop_headers if
        optimize_size.

From-SVN: r57870
2002-10-06 20:01:39 -07:00
Andreas Jaeger 8d725537d4 c++98-pedantic.C: Moved to g++.dg/cpp.
* gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp.
	* gcc.dg/cpp/c++98.C: Likewise.

	* g++.dg/cpp/c++98-pedantic.C: Moved from gcc.dg/cpp to here.
	* g++.dg/cpp/c++98.C: Likewise.

	* g++.dg/README (Subdirectories): Mention cpp directory.

From-SVN: r57868
2002-10-06 21:35:34 +02:00
Andreas Jaeger f75369c87a re PR target/7559 (kdelibs miscompilation)
PR target/7559
	* gcc.dg/20021006-1.c: New test.

From-SVN: r57867
2002-10-06 21:30:37 +02:00
Andreas Jaeger de78f58bcf cplus-dem.c (ada_demangle): Get rid of unneeded variable and of strict-aliasing warning.
* libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
	variable and of strict-aliasing warning.
	(grow_vect): Use char as first parameter.

From-SVN: r57866
2002-10-06 21:29:24 +02:00
Alexandre Oliva 48b80d93d2 mips.h (SIZE_TYPE, [...]): Override previously definitions.
* config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
previously definitions.

From-SVN: r57865
2002-10-06 17:50:42 +00:00
Frank Ch. Eigler 7c7c549e2c cppinit.c (init_standard_includes, [...]): Use strncmp.
* cppinit.c (init_standard_includes, parse_option): Use strncmp.
	* c-opts.c (find_opt): Similarly.

From-SVN: r57864
2002-10-06 11:21:09 +00:00
GCC Administrator 23ee915993 Daily bump.
From-SVN: r57859
2002-10-06 07:17:10 +00:00
Bruce Korb ee15017cc2 The Linux variant of GCC has no need of defining "i386", so it doesn't.
That renders this test ineffective and the "defined( i386 )" remains
unaltered by fixinc.  This test is now, generally, a noop.

From-SVN: r57847
2002-10-05 18:58:14 +00:00
Jakub Jelinek c49d2df6cc gcc.c (set_multilib_dir): Don't access *end.
* gcc.c (set_multilib_dir): Don't access *end.
	Use memcpy instead of strncpy.  Don't write beyond malloced buffer.
	(print_multilib_info): Don't show paths starting with ".:".
	* genmultilib: Add new option, "yes" if multilibs are enabled.
	Update comments.  If multilibs not enabled, print .:${osdirout}
	for each directory.  If multilibs are enabled, always print
	${dirout}:${osdirout}, even if the two are the same.
	* Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
	Pass all MULTILIB_* variables to genmultilib even if
	--disable-multilib but MULTILIB_OSDIRNAMES is not empty.

From-SVN: r57846
2002-10-05 20:55:54 +02:00
Bruce Korb d758c1db6b add fixes for new hp/ux patch
From-SVN: r57845
2002-10-05 18:21:59 +00:00
Jan Hubicka b3dc87c570 * c-common.c (cb_register_builtins): Use really_no_inline.
From-SVN: r57844
2002-10-05 17:44:37 +00:00
Kriang Lerdsuwanakij eb55ce4b2f re PR c++/7804 (bad printing of fp constant in warning message)
PR c++/7804
	* error.c (dump_expr) [REAL_CST]: Output in decimal format.

	* g++.dg/other/warning1.C: New test.

From-SVN: r57843
2002-10-05 12:28:16 +00:00
Michael Koch f5b63cb6d7 2002-10-05 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java
	(getByAddress): Fixed documentation.
	(getByAddress): New method.
	* java/net/Inet4Address.java: New file.
	* java/net/URL.java
	(URL): Documentation added.
	(getContent): Documentation added.
	(getContent): New stubbed method.
	(getQuery): New method.
	(openConnection): Documentation added.
	(openStream): Documentation added.
	(setURLStreamHandlerFactory): Documentation added.
	* java/net/URI.java: New stub file.
	* Makefile.am
	(java_native_source_files): Added java/net/Inet4Address.java,
	java/net/Inet6Address.java and java/net/URI.java.
	* Makefile.in: Regenerated.

From-SVN: r57841
2002-10-05 07:49:08 +00:00
GCC Administrator fec836256e Daily bump.
From-SVN: r57840
2002-10-05 07:17:08 +00:00
David Edelsohn f7a21c70b1 unroll.c (copy_loop_body): Remove REG_EQUAL note attached to copied instruction if...
* unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
        copied instruction if the note is not loop invariant.

From-SVN: r57834
2002-10-05 00:06:17 -04:00
Loren J. Rittle 081d6fb956 * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
From-SVN: r57830
2002-10-04 21:16:07 +00:00
Mark Wielaard 7992cddd91 [multiple changes]
2002-10-04  C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>

	* java/lang/ProtectionDomain.java (linesep): Remove field.
	(toString): Use System.getProperty("line.separator").

2002-10-04  Michael Koch  <konqueror@gmx.de>

	* java/security/Identity.java: Added serialVersionUID.
	* java/security/KeyPair.java: Added serialVersionUID.
	* java/security/Provider.java: Added serialVersionUID.
	* java/security/SecureRandom.java: Added serialVersionUID.
	* java/security/SecureRandomSpi.java: Added serialVersionUID.
	* java/security/SignedObject.java: Added serialVersionUID.
	* java/security/cert/Certificate.java: Added serialVersionUID.

2002-10-04  Mark Wielaard <mark@klomp.org>

	* java/security/Security.java: Use java.home or gnu.classpath.home
	to load providers.
	(loadProviders): Extra dir argument.
	(getProvider): Return null when not found.

From-SVN: r57827
2002-10-04 20:17:26 +00:00
Steve Ellcey c5d3d49b58 invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld, and -mhp-ld options to list of options.
* doc/invoke.texi (HPPA):  Add -mlinker-opt, -mgnu-ld,
	and -mhp-ld options to list of options.  Add -mgnu-ld
	and -mhp-ld option descriptions.

From-SVN: r57824
2002-10-04 16:58:11 +00:00
Mark Wielaard 0a3fbe88bb * java/lang/Throwable.java: Remerge with Classpath.
From-SVN: r57823
2002-10-04 16:47:36 +00:00
Roger Sayle f91f86e7da re PR target/8087 (sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64)
* gcc.c-torture/execute/20020720-1.x:  XFAIL instead of skipping
	the test on failing platforms.  Mark sparcv9-*-*, sparc64-*-*
	and sparc-*-* with -m64 as expected failures.  See PR 8087.

From-SVN: r57822
2002-10-04 16:36:42 +00:00
Steve Ellcey 0fca111b3c inclhack.def (hpux11_abs): New.
* fixinc/inclhack.def (hpux11_abs):  New.
	(stdio_va_list): change __va_list__ to __gnuc_va_list.
	* fixinc/fixincl.x: Rebuild.

From-SVN: r57821
2002-10-04 16:13:12 +00:00
Roger Sayle 229b303adf i386.h (processor_costs): Add new fields fadd, fmul, fdiv, fabs, fchs and fsqrt to costs structure.
* config/i386/i386.h (processor_costs): Add new fields fadd,
	fmul, fdiv, fabs, fchs and fsqrt to costs structure.
	(RTX_COSTS): Use these fields to determine the RTX costs
	of floating point addition/subtraction, multiplication,
	division, fabs, negation and square root respectively.
	* config/i386/i386.c (size_cost): Provide instruction sizes
	for these new fields.
	(i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
	k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
	counts for these new fields for all x86 processor variants.

From-SVN: r57820
2002-10-04 16:08:18 +00:00
Michael Koch f42ee52fc0 gcj.texi (Standard properties): Change default of java.awt.toolkit to gnu.awt.gtk.GtkToolkit.
2002-10-03  Michael Koch  <konqueror@gmx.de>

	* gcj.texi (Standard properties):
	Change default of java.awt.toolkit to gnu.awt.gtk.GtkToolkit.

From-SVN: r57819
2002-10-04 15:36:12 +00:00
Kaveh R. Ghazi 6017ba03e9 * mips.c (mips_const_double_ok): Delete unused variable.
From-SVN: r57817
2002-10-04 13:50:40 +00:00
Kaveh R. Ghazi 481ed21ac3 * gengtype.c (rtx_next): Change type to int.
From-SVN: r57816
2002-10-04 13:41:45 +00:00
Michael Koch cc40c1e130 2002-10-04 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
	(isMulticastAddress): Added documentation.
	(getHostAddress): Added documentation.
	(toString): Added documentation.
	(getByAddress): Fixed documentation.
	(getByName): Added documentation.
	(getAllByName): Added documentation.
	(getLocalHost): Added documentation.

From-SVN: r57814
2002-10-04 08:49:26 +00:00
Michael Koch 9c826022f9 BeanContextChildSupport.java: Added serialVersionUID.
2002-10-04  Michael Koch  <konqueror@gmx.de>

	* java/beans/beancontext/BeanContextChildSupport.java:
	Added serialVersionUID.
	* java/text/Collator.java: (compare): Made documentation HTML-aware.
	* javax/naming/BinaryRefAddr.java: Added serialVersionUID.
	* javax/naming/Name.java: Added serialVersionUID.

From-SVN: r57813
2002-10-04 08:48:03 +00:00
Andreas Jaeger 635f468088 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
From-SVN: r57812
2002-10-04 10:05:38 +02:00
Richard Henderson ee6ff31927 real.h (SIGNIFICAND_BITS): Add one more word.
* real.h (SIGNIFICAND_BITS): Add one more word.
        (CONST_DOUBLE_FORMAT): Accomodate 6 words.
        * real.c (times_pten): New.
        (real_to_decimal, real_from_string): Use it.
        (sticky_rshift_significand): Use & to find modulus.
        (rshift_significand, lshift_significand): Likewise.
        (do_divide): Apply sticky bit after normalization.
        (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.

From-SVN: r57811
2002-10-04 01:01:12 -07:00
GCC Administrator 311b75739b Daily bump.
From-SVN: r57810
2002-10-04 07:17:11 +00:00
Andreas Jaeger 6d8dd94071 gengtype.c (adjust_field_rtx_def): Cast variables of type size_t to unsigned long, adjust printf format string.
* gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
	to unsigned long, adjust printf format string.
	(output_mangled_typename): Likewise.

From-SVN: r57804
2002-10-04 08:08:19 +02:00
Jason Thorpe 191fe2bba2 vax.c (vax_output_function_prologue): Use asm_fprintf.
* config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
* config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
(FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
(ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
(PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
* config/vax/elf.h (FUNCTION_PROFILER): Remove.
(VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".

From-SVN: r57801
2002-10-04 05:23:12 +00:00
Mark Mitchell bd9bb3d2b0 re PR c++/7931 (The compiler ices on some legal code)
PR c++/7931
	* pt.c (for_each_template_parm_r): Handle BASELINKs.

	PR c++/7754
	* decl2.c (finish_anon_union): Do not expand anonymous unions when
	procesing template functions.
	* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
	type. Call layout_decl.
	(tsubst_expr, case DECL_STMT): Handle anonymous unions.

	PR c++/7931
	* g++.dg/template/ptrmem3.C: New test.

	PR c++/7754
	* g++.dg/template/union1.C: New test.

From-SVN: r57800
2002-10-04 05:13:59 +00:00
Mark Mitchell 6397d80b75 re PR c++/8006 (ice in mangle_conv_op_name_for_type boost regression)
* doc/invoke.texi (-Wabi): Document mangling bug.

	PR c++/8006
	* mangle.c (CLASSTYPE_TEMPLATE_ID_P): Handle instances of template
	template parameters.
	(globals): Add entity and need_abi_warning.
	(decl_is_template_id): Use TYPE_TEMPLATE_INFO, not
	CLASSTYPE_TEMPLATE_INFO.
	(is_std_substitution): Use CLASSTYPE_TI_TEMPLATE, not
	TYPE_TI_TEMPLATE.
	(write_prefix): Handle typename types correctly.
	(write_template_prefix): Handle template template parameters
	correctly.
	(start_mangling): Add entity parameter.
	(finish_mangling): Warn about names whose mangling will change.
	(mangle_decl_string): Adjust.
	(mangle_type_string): Likewise.
	(mangle_special_for_type): Likewise.
	(mangle_ctor_vtbl_for_type): Likewise.
	(mangle_thunk): Likewise.
	(mangle_guard_variable): Likewise.
	(mangle_ref_init_variable): Likewise.

	PR c++/8006
	* g++.dg/abi/mangle9.C: New test.
	* g++.dg/abi/mangle10.C: New test.
	* g++.dg/abi/mangle11.C: New test.
	* g++.dg/abi/mangle12.C: New test.

From-SVN: r57799
2002-10-04 04:59:39 +00:00
Alan Modra 69c7591674 rs6000.c (rs6000_output_function_epilogue): Use a name for the tbtab label that depends on the function asm name.
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
	name for the tbtab label that depends on the function asm name.
	Don't output tbtab label unless optional_tbtab.
	(output_mi_thunk): Formatting.

From-SVN: r57798
2002-10-04 12:49:32 +09:30
Richard Henderson adf2ac3713 m68k.h (OVERRIDE_OPTIONS): Move additional code ...
* config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
        * config/m68k/m68k.c (override_options): ... here.
        * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
        * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
        * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
        * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.

From-SVN: r57797
2002-10-03 19:19:40 -07:00
Richard Henderson a751939354 * real.h (struct real_value): Use ENUM_BITFIELD.
From-SVN: r57796
2002-10-03 17:50:58 -07:00
Richard Henderson 415527360a * config/i960/i960.md (call, call_value): Use emit_call_insn.
From-SVN: r57795
2002-10-03 17:39:27 -07:00