Commit Graph

32316 Commits

Author SHA1 Message Date
Tom Tromey 0254608834 libjava.compile test fixes.
* lib/libjava.exp (libjava_tcompile): New proc.
	(test_libjava_from_source): Use it.
	(test_libjava_from_javac): Likewise.
	(find_javac): New proc.
	(bytecompile_file): Use it.
	(test_libjava_from_javac): Handle `xfail-gcjC' tag.  If no-exec
	set, then don't link even if program has a `main'.

	* libjava.compile/static_3.xfail: New file.
	* libjava.compile/weirddecl.xfail: New file.
	* libjava.compile/static_2.xfail: New file.
	* libjava.compile/not_a_redef.xfail: New file.
	* libjava.compile/inner_1.xfail: New file.
	* libjava.compile/assignment_2.xfail: New file.
	* libjava.compile/assignment.xfail: New file.
	* libjava.compile/abstr.xfail: New file.
	* libjava.compile/PR375.xfail: New file.
	* libjava.compile/PR374.java: New file.
	* libjava.compile/PR238.xfail: New file.
	* libjava.compile/PR208.xfail: New file.
	* libjava.compile/PR207.xfail: New file.

From-SVN: r38296
2000-12-16 02:06:29 +00:00
Tom Tromey 325de66c4c jcf-parse.c (jcf_parse_source): Set wfl_operator if not already set.
* jcf-parse.c (jcf_parse_source): Set wfl_operator if not already
	set.

From-SVN: r38295
2000-12-16 01:51:51 +00:00
Tom Tromey 6bd1914e10 jargrep.c: Include getopt.h if it exists.
* jargrep.c: Include getopt.h if it exists.
	(optind): Declare.
	* configure, config.h: Rebuilt.
	* configure.in: Check for getopt.h.

Co-Authored-By: Kelley Cook <kelleycook@home.com>

From-SVN: r38294
2000-12-15 18:45:09 +00:00
Andrew Haley e35990c441 boehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.
2000-12-14  Andrew Haley  <aph@redhat.com>

        * boehm.c (mark_reference_fields): Change test to correctly detect
        bitmap overflow.

From-SVN: r38293
2000-12-15 17:35:03 +00:00
Jason Merrill 967900711f * init.c (build_new_1): Reorganize. Now with 100% fewer SAVE_EXPRs!
From-SVN: r38292
2000-12-15 11:36:00 -05:00
Jason Merrill 8d42565b84 * init.c (build_new_1): Don't strip quals from type.
From-SVN: r38291
2000-12-15 11:23:26 -05:00
Jason Merrill fab09a2494 * decl.c (pushdecl): Don't check for linkage on a non-decl.
From-SVN: r38290
2000-12-15 11:15:52 -05:00
Tom Tromey 1e185c02d4 ResourceBundle.java (trySomeGetBundle): Pass class loader to Class.forName.
* java/util/ResourceBundle.java (trySomeGetBundle): Pass class
	loader to Class.forName.

From-SVN: r38289
2000-12-15 15:49:50 +00:00
Jakub Jelinek be76805509 gcc.c (cpp_options): Pass -fno-operator-names.
* gcc.c (cpp_options): Pass -fno-operator-names.
	* cpplib.h (struct cpp_options): Add operator_names.
	* cppinit.c (cpp_create_reader): Initialize it.
	(initialize_builtins): If -fno-operator-names, don't add
	C++ alternate operator names.
	(COMMAND_LINE_OPTIONS): Add -fno-operator-names.
	(cpp_handle_option): Clear operator_names.

From-SVN: r38288
2000-12-15 16:49:28 +01:00
Jason Merrill c3e899c125 call.c (build_op_delete_call): See through ARRAY_TYPEs.
* call.c (build_op_delete_call): See through ARRAY_TYPEs.

        * call.c (build_new_function_call): Lose space before paren in
        error message.
        (build_new_method_call): Likewise.

        * typeck2.c (build_m_component_ref): Propagate quals from datum.

From-SVN: r38287
2000-12-15 10:43:11 -05:00
Jason Merrill 745b909395 jump.c (jump_optimize_1): Don't delete the line note after the prologue even if it seems redundant.
* jump.c (jump_optimize_1): Don't delete the line note after the
        prologue even if it seems redundant.

        * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
        on all insns used to adjust the stack.

From-SVN: r38286
2000-12-15 10:10:30 -05:00
Jan Hubicka ad334b5169 combine.c (cant_combine_insn_p): Get around SUBREGs when determining hardreg<->reg moves.
* combine.c (cant_combine_insn_p): Get around SUBREGs when determining
	hardreg<->reg moves.

From-SVN: r38285
2000-12-15 14:33:32 +00:00
Jan Hubicka 29360e5681 genrecog.c (add_to_sequence): Remove special case for const_int_operand.
* genrecog.c (add_to_sequence): Remove special case for
	const_int_operand.
	(maybe_both_true): Return 1 when falling out of sequence when
	trying to find common possition in the pattern.

From-SVN: r38284
2000-12-15 13:50:32 +00:00
Jan Hubicka dde068d924 * integrate.c (copy_rtx_and_substitute): Copy mode too.
From-SVN: r38283
2000-12-15 13:46:51 +00:00
Jan Hubicka 0bf7d71a78 * flow.c (notice_stack_pointer_modification_1): Cleanup.
From-SVN: r38282
2000-12-15 13:14:37 +00:00
Andreas Jaeger 3896f13e30 configure.in: Handle lang_dirs.
2000-12-15  Andreas Jaeger  <aj@suse.de>

	* configure.in: Handle lang_dirs.

From-SVN: r38281
2000-12-15 10:52:41 +01:00
Andreas Jaeger 53714cda80 config-lang.in (lang_dirs): Added.
2000-12-15  Andreas Jaeger  <aj@suse.de>

	* config-lang.in (lang_dirs): Added.

From-SVN: r38280
2000-12-15 10:51:52 +01:00
Alexandre Oliva b33493e3f3 function.c (adjust_trampoline_addr): New function.
* function.c (adjust_trampoline_addr): New function.
(trampoline_address): Call it instead of round_trampoline_addr().
* tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.

From-SVN: r38279
2000-12-15 09:09:41 +00:00
Alexandre Petit-Bianco 1e0cdc1036 parse.y (end_artificial_method_body): Fixed undefined behavior.
2000-12-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (end_artificial_method_body): Fixed undefined behavior.
	Credits go to rth for finding it.

(http://gcc.gnu.org/ml/gcc/2000-12/msg00495.html)

From-SVN: r38278
2000-12-15 00:50:12 -08:00
Jeff Law 40244a2757 Daily bump.
From-SVN: r38277
2000-12-15 01:45:08 -07:00
Bryce McKinlay 315d4c2711 * Makefile.dist: Renamed from Makefile.orig.
From-SVN: r38276
2000-12-15 08:13:12 +00:00
Tom Tromey cd84842395 * java/util/ResourceBundle.java
(getBundle(String,Locale,ClassLoader)): New method.
	(trySomeGetBundle): Added `loader' argument.
	(partialGetBundle): Likewise.

From-SVN: r38275
2000-12-15 06:51:07 +00:00
Tom Tromey 13b7bc8a56 NumberFormat.java (groupingUsed, [...]): Now package-private.
* java/text/NumberFormat.java (groupingUsed, parseIntegerOnly,
	maximumFractionDigits, maximumIntegerDigits,
	minimumFractionDigits, minimumIntegerDigits): Now
	package-private.

From-SVN: r38274
2000-12-15 06:23:28 +00:00
Tom Tromey 8eb1306fb7 * java/lang/Thread.java (checkAccess): Now final.
From-SVN: r38273
2000-12-15 06:15:49 +00:00
Tom Tromey 4ca70ccd2a * java/lang/RuntimePermission.java: Class now final.
From-SVN: r38272
2000-12-15 06:13:35 +00:00
Tom Tromey 49c24f00aa * java/io/StringWriter.java (StringWriter(int)): Now public.
From-SVN: r38271
2000-12-15 06:08:55 +00:00
Tom Tromey f2edab0e90 * java/io/SerializablePermission.java (legal_names): Now private.
From-SVN: r38270
2000-12-15 05:59:31 +00:00
Tom Tromey 9acffced80 Character.java: Updated UnicodeBlock constants.
* java/lang/Character.java: Updated UnicodeBlock constants.
	* scripts/blocks.pl: Special case private use and surrogate
	areas.  Updated URL.

From-SVN: r38269
2000-12-15 05:53:39 +00:00
Zack Weinberg 0eda43cee4 cppfiles.c (hack_vms_include_specification): Delete function (not used since 1998).
* cppfiles.c (hack_vms_include_specification): Delete function
	(not used since 1998).

From-SVN: r38268
2000-12-15 04:48:39 +00:00
J"orn Rennecke 4cf37b4a68 * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
From-SVN: r38267
2000-12-15 03:40:57 +00:00
Kriang Lerdsuwanakij edac124d95 pt.c (check_explicit_specialization): Propagate default function arguments to explicit specializations.
* pt.c (check_explicit_specialization): Propagate default
	function arguments to explicit specializations.

	* g++.old-deja/g++.pt/spec33.C: New test.

From-SVN: r38266
2000-12-15 01:11:38 +00:00
Benjamin Kosnik 07467d31de Makefile.am (myinstallheaders): Install backwards headers in prefix, not prefix/backward.
2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* src/Makefile.am (myinstallheaders): Install backwards headers in
	prefix, not prefix/backward.
	* src/Makefile.in: Regenerate.

From-SVN: r38265
2000-12-15 00:55:02 +00:00
Jim Wilson 1d79fd2c8a Fix ia64-linux glibc miscompilation reported by H.J. Lu.
* alias.c (get_alias_set): Call record_component_aliases for
	COMPLEX_TYPE.
	(record_component_aliases): Handle COMPLEX_TYPE.

From-SVN: r38264
2000-12-14 16:04:28 -08:00
Benjamin Kosnik 21c2ca6c2f acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes touching copysignf, atan2f, expf.
2000-12-14  Benjamin Kosnik  <bkoz@haight.redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
	touching copysignf, atan2f, expf.
	(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

2

From-SVN: r38263
2000-12-14 23:42:27 +00:00
Benjamin Kosnik 2e7e7828d8 configure.in (CXX): Exit out if mknumeric_limits fails.
2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* configure.in (CXX): Exit out if mknumeric_limits fails.
	* mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
	path. Consistency with tests_flags.in.

From-SVN: r38262
2000-12-14 22:53:59 +00:00
Ovidiu Predescu 2e82aa0fd9 Added.
From-SVN: r38261
2000-12-14 22:02:18 +00:00
Kaveh R. Ghazi c097fab647 warn_summary: Fix subdirectory filtering.
* warn_summary: Fix subdirectory filtering.  Add -intl and -fixinc
	subdirectory flags.  Add source directory prefix filtering.
	Redirect diagnostic output to stderr.

From-SVN: r38260
2000-12-14 20:09:41 +00:00
Kaveh R. Ghazi e7103ad298 * fixinc/gnu-regex.c: Disable NLS.
From-SVN: r38259
2000-12-14 19:58:39 +00:00
Jason Merrill 2be678ffb7 comment
From-SVN: r38258
2000-12-14 14:31:49 -05:00
Jason Merrill 7dfa399da1 typo
From-SVN: r38257
2000-12-14 14:30:43 -05:00
Benjamin Kosnik 3d182b4c2a *.h: Remove include_next...
2000-12-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c/bits/*.h: Remove include_next, replace with include,
	as include_next does not work host-x-host, and include_next not
	necessary.

From-SVN: r38256
2000-12-14 19:06:57 +00:00
Kaveh R. Ghazi 37729557c9 configure.in (fastjar_warn_cflags): Set when using gcc.
* configure.in (fastjar_warn_cflags): Set when using gcc.

	* Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.

From-SVN: r38255
2000-12-14 18:49:11 +00:00
Kaveh R. Ghazi 990bee10e7 Warning fixes:
* compress.c: Include stdlib.h and compress.h.
	(rcsid): Delete.
	(report_str_error): Make static.
	(ez_inflate_str): Delete unused variable.  Add parens in if-stmt.
	(hrd_inflate_str): Likewise.

	* compress.h (init_compression, end_compression, init_inflation,
	end_inflation): Prototype void arguments.

	* dostime.c (rcsid): Delete.

	* jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
	Make functions static.  Cast ctype function argument to `unsigned
	char'.  Add parens in if-stmts.  Constify.
	(Usage): Change into a macro.
	(jargrep): Remove unused parameter.

	* jartool.c: Constify.  Add parens in if-stmts.  Align
	signed/unsigned char pointers in functions calls using casts.
	(rcsid): Delete.
	(list_jar): Fix printf format specifier.
	(usage): Chop long string into bits.  Reformat.

	* pushback.c (rcsid): Delete.

From-SVN: r38254
2000-12-14 18:45:35 +00:00
Tom Tromey ad46e8819b * MAINTAINERS: Removed brads.
From-SVN: r38253
2000-12-14 18:23:49 +00:00
Tom Tromey 90a1041848 * MAINTAINERS: Added gcj developers.
From-SVN: r38252
2000-12-14 17:51:52 +00:00
Catherine Moore eb9461fb98 920501-7.c: Check for NO_TRAMPOLINES.
* gcc.c-torture/execute/920501-7.c: Check for NO_TRAMPOLINES.
        * gcc.c-torture/execute/920612-2.c: Likewise.
        * gcc.c-torture/execute/920428-2.c: Likewise.
        * gcc-c-torture/execute/va-arg-11.c: Call exit.
        * gcc.c-torture/execute/va-arg-21.c: Likewise.

From-SVN: r38251
2000-12-14 10:31:26 -05:00
Benjamin Kosnik 0c3a231d2f locale_facets.h (ctype<char>): Remove throw specs not in base class signature.
2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
	base class signature.
	* config/os/*/bits/ctype_inline.h (is): Same.

From-SVN: r38250
2000-12-14 09:19:56 +00:00
Benjamin Kosnik 65b66e1f90 locale_facets.h (ctype<char>): Remove throw specs not in base class signature.
2000-12-13  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
	base class signature.

From-SVN: r38249
2000-12-14 09:07:01 +00:00
Jeff Law dfd24dbc4e Daily bump.
From-SVN: r38248
2000-12-14 01:45:08 -07:00
Richard Henderson c53f9f5bda alpha.c (alpha_emit_conditional_move): Do not swap comparison operands when that would create non-canonical rtl.
* config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
        comparison operands when that would create non-canonical rtl.

From-SVN: r38247
2000-12-14 00:18:57 -08:00