Commit Graph

44849 Commits

Author SHA1 Message Date
GCC Administrator
9837dc8d68 Daily bump.
From-SVN: r56788
2002-09-04 07:17:08 +00:00
Michael Koch
268cecf97c SocketOptions.java: added static variables to be JDK 1.4 compatible (SO_BROADCAST...
2002-09-04  Michael Koch  <konqueror@gmx.de>

       * java/net/SocketOptions.java: added static variables to be JDK 1.4
       compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
       IP_MULTICAST_LOOP, IP_TOS)

From-SVN: r56782
2002-09-04 05:34:12 +00:00
David Edelsohn
2cc9fb4ca3 varasm.c (default_section_type_flags): Append _1 to name with shlib parameter.
* varasm.c (default_section_type_flags): Append _1 to name with
        shlib parameter.  Use original name to call new function with
        implicit flag_pic.
        (decl_readonly_section): Likewise.
        (default_elf_select_section): Likewise.
        (default_unique_section): Likewise.
        (default_bind_local_p): Likewise.
        (categorize_decl_for_section): Add shlib parameter to use in place
        of implicit flag_pic.
        * output.h: Declare new functions with _1 and shlib argument.

From-SVN: r56780
2002-09-03 21:56:12 -04:00
Janis Johnson
8c085f6ff4 install.texi: Fix typos, formatting problems, and obvious overfull/underfull boxes.
2002-09-03  Janis Johnson  <janis187@us.ibm.com>

	* doc/install.texi: Fix typos, formatting problems, and obvious
	overfull/underfull boxes.

From-SVN: r56777
2002-09-03 23:52:06 +00:00
Janis Johnson
7c19f81682 Makefile.in (TEXI_GCC_FILES): Add compat.texi.
2002-09-03  Janis Johnson  <janis187@us.ibm.com>

	* Makefile.in (TEXI_GCC_FILES): Add compat.texi.
	* doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
	include its file, compat.texi.
	* doc/compat.texi: New file with new chapter, Binary Compatibility.

From-SVN: r56774
2002-09-03 22:47:41 +00:00
Neil Booth
79ba5e3b9e Debian BTS Bug #
Debian BTS Bug #
	* cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
	* cpplib.c (destringize_and_run): Kludge around getting
	tokens from in-progress macros.
	(_cpp_do__Pragma): Simplify.
testsuite:
	* gcc.dg/cpp/_Pragma4.c: New test.

From-SVN: r56773
2002-09-03 21:55:40 +00:00
Tom Tromey
f470196114 Class.h (_getDeclaredMethod): Declare.
* java/lang/Class.h (_getDeclaredMethod): Declare.
	(_getMethod): Now private.
	* java/lang/natClass.cc (_getDeclaredMethod): Renamed from
	getDeclaredMethod.  Now returns NULL on failure.
	* java/lang/Class.java (_getDeclaredMethod): Declare.
	(getDeclaredMethod): No longer native; implements access checks.

From-SVN: r56772
2002-09-03 21:33:46 +00:00
Steve Ellcey
57016b4723 ia64.h (EXTRA_SPECS): Remove cpp_cpu.
* config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
	(CPP_CPU_SPEC): Remove.
	(TARGET_CPU_CPP_BUILTINS): New.
	* config/ia64/hpux.h (CPP_PREDEFINES): Remove.
	(CPP_SPEC): Remove.
	(TARGET_OS_CPP_BUILTINS): New.
	* config/ia64/linux.h (CPP_PREDEFINES): Remove.
	(TARGET_OS_CPP_BUILTINS): New.
	* config/ia64/aix.h (CPP_SPEC): Move some stuff to
	TARGET_OS_CPP_BUILTINS.
	(CPP_PREDEFINES): Remove.
	(CPLUSPLUS_CPP_SPEC): Remove.
	(TARGET_OS_CPP_BUILTINS): New.

From-SVN: r56771
2002-09-03 21:09:54 +00:00
Richard Henderson
5e25fa2263 std_limits.h (__glibcpp_f32_min, [...]): Remove macros.
* include/std/std_limits.h (__glibcpp_f32_min, __glibcpp_f32_max,
	__glibcpp_f32_digits, __glibcpp_f32_digits10, __glibcpp_f32_radix,
	__glibcpp_f32_epsilon, __glibcpp_f32_min_exponent,
	__glibcpp_f32_min_exponent10, __glibcpp_f32_max_exponent,
	__glibcpp_f32_max_exponent10, __glibcpp_f64_min, __glibcpp_f64_max,
	__glibcpp_f64_digits, __glibcpp_f64_digits10, __glibcpp_f64_radix,
	__glibcpp_f64_min_exponent, __glibcpp_f64_min_exponent10,
	__glibcpp_f64_max_exponent, __glibcpp_f64_max_exponent10,
	__glibcpp_f80_min, __glibcpp_f80_max, __glibcpp_f80_digits,
	__glibcpp_f80_digits10, __glibcpp_f80_radix, __glibcpp_f80_epsilon,
	__glibcpp_f80_min_exponent, __glibcpp_f80_min_exponent10,
	__glibcpp_f80_max_exponent, __glibcpp_f80_max_exponent10,
	__glibcpp_f96_min, __glibcpp_f96_max, __glibcpp_f96_digits,
	__glibcpp_f96_digits10, __glibcpp_f96_radix, __glibcpp_f96_epsilon,
	__glibcpp_f96_min_exponent, __glibcpp_f96_min_exponent10,
	__glibcpp_f96_max_exponent, __glibcpp_f96_max_exponent10,
	__glibcpp_f128_min, __glibcpp_f128_max, __glibcpp_f128_digits,
	__glibcpp_f128_digits10, __glibcpp_f128_radix, __glibcpp_f128_epsilon,
	__glibcpp_f128_min_exponent, __glibcpp_f128_min_exponent10,
	__glibcpp_f128_max_exponent, __glibcpp_f128_max_exponent10,
	__glibcpp_float_min, __glibcpp_float_max, __glibcpp_float_digits,
	__glibcpp_float_digits10, __glibcpp_float_radix,
	__glibcpp_float_epsilon, __glibcpp_float_min_exponent,
	__glibcpp_float_min_exponent10, __glibcpp_float_max_exponent,
	__glibcpp_float_max_exponent10, __glibcpp_double_min,
	__glibcpp_double_max, __glibcpp_double_digits,
	__glibcpp_double_digits10, __glibcpp_double_radix,
	__glibcpp_double_epsilon, __glibcpp_double_min_exponent,
	__glibcpp_double_min_exponent10, __glibcpp_double_max_exponent,
	__glibcpp_double_max_exponent10, __glibcpp_long_double_min,
	__glibcpp_long_double_max, __glibcpp_long_double_digits,
	__glibcpp_long_double_digits10, __glibcpp_long_double_radix,
	__glibcpp_long_double_epsilon, __glibcpp_long_double_min_exponent,
	__glibcpp_long_double_min_exponent10,
	__glibcpp_long_double_max_exponent,
	__glibcpp_long_double_max_exponent10): Remove macros.
	(std::numeric_limits<float>, std::numeric_limits<double>,
	std::numeric_limits<long double>): Use protected float.h macros.

From-SVN: r56770
2002-09-03 13:22:06 -07:00
Richard Henderson
d57a4b98c4 Makefile.in (USER_H): Add ginclude/float.h.
* Makefile.in (USER_H): Add ginclude/float.h.
        (FLOAT_H): Remove.
        (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
        (mostlyclean): Don't remove float.h intermediate files.
        (distclean): Don't remove float.h.
        * config.gcc: Remove all float_format references.
        * configure.in (float_format, float_h_file): Remove.

        * c-common.c: Include tree-inline.h.
        (builtin_define_with_int_value): New.
        (builtin_define_type_precision): Use it.
        (builtin_define_float_constants): New.
        (cb_register_builtins): Use it.  Define __FLT_RADIX__ and
        __FLT_EVAL_METHOD__.
        * defaults.h (TARGET_FLT_EVAL_METHOD): New.
        * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
        * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
        * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
        (TARGET_FLT_EVAL_METHOD): New.

        * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
        config/float-i386.h, config/float-i64.h, config/float-m68k.h,
        config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
        * ginclude/float.h: New.

From-SVN: r56769
2002-09-03 13:21:35 -07:00
Stan Shebs
527347f04d darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
* config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
        (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
        (PREFERRED_DEBUGGING_TYPE): Ditto.
        (ASM_OUTPUT_IDENT): Remove empty definition.

From-SVN: r56768
2002-09-03 20:09:18 +00:00
Steve Ellcey
34c1864f43 config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and cxx_target.
* config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
	cxx_target.
	* config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
	handling routine for builtin pragma.
	* config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
	Registered pragma handling routine.
	* ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
	(ia64_hpux_add_pragma_builtin) New subroutine used by above.
	If builtin pragma seen for math routine and C89 conformance is
	requested use different math function in order to set errno.
	* t-ia64 (ia64-c.o): Add new rule for new file.

From-SVN: r56767
2002-09-03 19:47:10 +00:00
Ulrich Weigand
9b7c75b993 s390.md ("movti"): Add Q->Q alternative.
* config/s390/s390.md ("movti"): Add Q->Q alternative.
	("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
	"movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.

	("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
	"*movsf_ss"): Remove.

From-SVN: r56765
2002-09-03 18:33:56 +00:00
John David Anglin
710ba35f4f pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, [...]): Delete macros.
* pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
	Delete macros.

From-SVN: r56764
2002-09-03 18:01:23 +00:00
Arati Dikey
ff970081c5 * h8300.c (asm_file_start): Corrected optimization comment.
From-SVN: r56761
2002-09-03 11:25:02 -06:00
Stan Shebs
b50d021d86 c-lang.c (recognize_objc_keyword): Remove, no longer used.
* c-lang.c (recognize_objc_keyword): Remove, no longer used.
        * c-tree.h (recognize_objc_keyword): Remove decl.
        * c-typeck.c (comp_target_types): Update a comment.

From-SVN: r56760
2002-09-03 16:40:29 +00:00
Ulrich Weigand
b808c04c9d s390.c (s390_decompose_address): Remove STRICT parameter and register validity checks.
* config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
	and register validity checks.
	(general_s_operand): Adapt to s390_decompose_address interface change.
	(q_constraint): Likewise.
	(s390_expand_plus_operand): Likewise.
	(legitimiate_address_p): Likewise.
	(legitimate_la_operand_p): Likewise.
	(legitimize_la_operand): Likewise.
	(print_operand_address): Likewise.
	(print_operand): Likewise.

From-SVN: r56759
2002-09-03 16:30:32 +00:00
Nicola Pero
ee453219a9 Fixed typo causing bloat when compiling ObjC programs with GNU runtime
From-SVN: r56753
2002-09-03 10:39:40 +00:00
Nicola Pero
64f3ecb1b3 New testcase
From-SVN: r56752
2002-09-03 10:27:36 +00:00
GCC Administrator
871b8583dc Daily bump.
From-SVN: r56751
2002-09-03 07:17:18 +00:00
Graham Stott
d82283d599 * config/i386/i386.md ("femms"): Add "memory" attr "none".
From-SVN: r56745
2002-09-03 00:43:17 +00:00
Graham Stott
c7a009a25e * expr.c (expand_expr): Remove extraneous comment and code.
From-SVN: r56744
2002-09-03 00:33:34 +00:00
Mark Wielaard
4d5c703ec0 NameFinder.java (remove_interpreter): New field.
* gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
       (sanitizeStack): Correctly reset unknown and interpreter counters,
       detect interpreter runtime frames.
       (demangleInterpreterMethod): New method.
       * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
       * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
       filling in addrs[].

From-SVN: r56741
2002-09-02 15:55:57 +00:00
Mark Wielaard
f60518c8de gcj.texi: Add chapter about system properties.
* gcj.texi: Add chapter about system properties.
       Fixed some typos.

From-SVN: r56740
2002-09-02 15:36:07 +00:00
Michael Koch
603f86d7db DatagramPacket.java, [...]: re-indented documentation.
2002-09-02  Michael Koch  <konqueror@gmx.de>

	* java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
	re-indented documentation.

From-SVN: r56739
2002-09-02 09:19:08 +00:00
GCC Administrator
e53fbf8a3c Daily bump.
From-SVN: r56737
2002-09-02 07:17:12 +00:00
GCC Administrator
e98169839b Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56736.3
2002-09-02 07:17:10 +00:00
Phil Edwards
5ec62d440b Makefile.am: Use LD_RUN_PATH when linking abi_check.
2002-09-01  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/Makefile.am:  Use LD_RUN_PATH when linking abi_check.
	Fix spelling in comment.
	* testsuite/Makefile.in:  Regenerate.
	* testsuite/abi_check.cc:  Use string literals to build 'cmd' rather
	than 'quote' and 'bslash'.

From-SVN: r56722
2002-09-01 18:09:18 +00:00
Nicola Pero
0475ed26cb Call [Object class], not [Object initialize]
From-SVN: r56721
2002-09-01 11:20:59 +00:00
Jason Merrill
d99f015cc5 cp-lang.c (cp_expr_size): Allow initialization from a CONSTRUCTOR.
* cp-lang.c (cp_expr_size): Allow initialization from a
        CONSTRUCTOR.

From-SVN: r56720
2002-09-01 03:46:38 -04:00
GCC Administrator
ad5aa77eec Daily bump.
From-SVN: r56718
2002-09-01 07:17:08 +00:00
GCC Administrator
d716c030b2 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r56717.3
2002-09-01 07:17:07 +00:00
Phil Edwards
51122a4242 acinclude.m4: Minor comment tweaks.
2002-08-31  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4:  Minor comment tweaks.

	* docs/html/makedoc.awk:  New file...
	* docs/html/Makefile:  ...called from here...
	* docs/html/documentation.html:  ...to help generate this.

	* docs/html/21_strings/howto.html:  Prepare for new entry.
	* include/bits/basic_string.h:  Initial basic_stirng hook for
	doxygen.  Remove trailing whitespace.
	* include/bits/char_traits.h:  Point to onlinedocs for new entry.
	* include/bits/stringfwd.h:  Add doxygen hooks for string and
	wstring typedefs.

From-SVN: r56711
2002-09-01 00:33:53 +00:00
Richard Henderson
98c0d8d105 * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
From-SVN: r56710
2002-08-31 14:11:54 -07:00
John David Anglin
a5f3f0ab8e * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
From-SVN: r56709
2002-08-31 19:47:07 +00:00
Roger Sayle
c8ffe46fda 20020720-1.x: Skip test on mmix-knuth-mmixware.
* gcc.c-torture/execute/20020720-1.x: Skip test on
	mmix-knuth-mmixware.  Correct comment.

Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com>

From-SVN: r56708
2002-08-31 17:49:00 +00:00
Toon Moene
39abf68d8c com.c: Don't set flag_finite_math_only by default.
2002-08-31  Toon Moene  <toon@moene.indiv.nluug.nl>

	* com.c: Don't set flag_finite_math_only by default.
	* invoke.texi: Reverse the documentation of option
	-ffinite-math-only to reflect the new default.

From-SVN: r56707
2002-08-31 14:40:23 +00:00
Toon Moene
cf7b9de4fb re PR libf2c/6367 (multiple repeat counts confuse namelist read into array)
2002-08-31  Toon Moene  <toon@moene.indiv.nluug.nl>

	PR fortran/6367
	* libI77/rsne.c (x_rsne): Use local variable no2 to count further
	list elements to read.

From-SVN: r56706
2002-08-31 14:38:57 +00:00
GCC Administrator
ea9405c080 Daily bump.
From-SVN: r56702
2002-08-31 07:17:13 +00:00
Jesse Rosenstock
42417be496 re PR libgcj/7785 (Calendar.getTimeInMillis/setTimeInMillis should be public)
2002-08-30  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

	* java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
	public, per 1.4 spec.  Fixes PR libgcj/7785.

From-SVN: r56696
2002-08-31 05:27:15 +00:00
Bruce Korb
157c4da237 AAB_solaris_sys_varargs_h was misplaced
From-SVN: r56694
2002-08-31 03:33:09 +00:00
Richard Henderson
c9989d0946 Mark pr last change.
From-SVN: r56693
2002-08-30 19:43:49 -07:00
Richard Henderson
8a3c918078 tree.c: Include target.h.
* tree.c: Include target.h.
        (cp_cannot_inline_tree_fn): Don't auto-inline functions that
        don't bind locally.
        * Makefile.in (tree.o): Update.

From-SVN: r56692
2002-08-30 19:37:09 -07:00
Richard Henderson
38ec83b17a c-objc-common.c: Include target.h.
* c-objc-common.c: Include target.h.
        (c_cannot_inline_tree_fn): Don't auto-inline functions that
        don't bind locally.  Factor setting DECL_UNINLINABLE.
        * Makefile.in (c-objc-common.o): Update.

From-SVN: r56691
2002-08-30 19:29:20 -07:00
Jeff Sturm
03296d1c22 Makefile.in: Rebuilt.
2002-08-30  Jeff Sturm  <jsturm@one-point.com>

	* Makefile.in: Rebuilt.
	* Makefile.am (ZIP, GCJH): Remove $(EXEEXT).

From-SVN: r56690
2002-08-30 23:08:52 +00:00
Janis Johnson
4c64396e68 install.texi (Configuration, Building): Fix a typo and some formatting directives.
2002-08-30  Janis Johnson  <janis187@us.ibm.com>

	* doc/install.texi (Configuration, Building): Fix a typo and
	some formatting directives.

From-SVN: r56689
2002-08-30 20:48:14 +00:00
Paul Koning
341f05750f * MAINTAINERS: (Write After Approval): Add myself.
From-SVN: r56688
2002-08-30 16:02:03 -04:00
Paul Koning
4226378aef c-tree.texi (RDIV_EXPR): Fix typo.
* doc/c-tree.texi (RDIV_EXPR): Fix typo.
	* doc/rtl.texi (post_modify): Remove misplaced text, remove "not
	implemented" note.
	* doc/md.texi (IP2K): Move machine-specific constraints before MIPS
	for alphabetic order.
	* doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
	VAX_FLOAT_FORMAT.  Remove reference to HOST_FLOAT_FORMAT.
	(VAX_HALFWORD_ORDER): Document.
	(LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
	IEEE float format.
	(TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
	(ASM_OUTPUT_LABEL_REF): Fix font.
	(CASE_VECTOR_SHORTEN_MODE): Ditto.

From-SVN: r56687
2002-08-30 15:18:51 -04:00
Denis Chertykov
b8074dbe8a ip2k.c (ip2k_set_compare): Remove all const_double stuff.
* config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
	stuff.
	(ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
	CONST_DOUBLE constants.

From-SVN: r56686
2002-08-30 22:31:44 +04:00
Tom Tromey
4c322bff29 JarURLConnection.java (getCertificates): New method from Classpath.
* java/net/JarURLConnection.java (getCertificates): New method
	from Classpath.
	* java/net/URLClassLoader.java (URLClassLoader): Extends
	SecureClassLoader.
	(definePackage): New method from Classpath.
	(getPermissions): Likewise.
	(newInstance): Likewise.
	(findClass): Construct CodeSource for new class (from Classpath).
	* java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
	methods.
	* java/net/URL.java (getUserInfo): New method.
	(set(String,String,int,String,String,String,String,String)): New
	method.
	* java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
	(shutdownInput, shutdownOutput): Declare.
	* java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
	Define.
	* java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
	(getOption): Likewise.
	(shutdownInput): New method.
	(shutdownOutput): Likewise.
	* java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
	keepalive.
	(getOption): Likewise.
	* java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
	* java/net/Socket.java (setKeepAlive): New method.
	(getKeepAlive): Likewise.
	(shutdownInput, shutdownOutput): New methods.

From-SVN: r56685
2002-08-30 18:16:00 +00:00