Commit Graph

32332 Commits

Author SHA1 Message Date
Herman A.J. ten Brugge
d092a92533 safe-ctype.h: Make code work on all targets and not just on targets where a char is 8 bits.
* safe-ctype.h: Make code work on all targets and not just on
        targets where a char is 8 bits.

From-SVN: r38312
2000-12-16 11:12:06 -08:00
Tom Tromey
68c7dea8ed libjava.exp (test_libjava_from_javac): Strange quoting trick for `.class' link case.
* lib/libjava.exp (test_libjava_from_javac): Strange quoting trick
	for `.class' link case.
	(bytecompile_file): Change directory outside of `catch'.

	* libjava.lang/Thread_1.java: Removed.
	* libjava.lang/Thread_1.out: Likewise.

	* libjava.lang/N19990310_4.xfail: New file.
	* libjava.lang/stub.xfail: Added new failure modes.
	* libjava.lang/stringconst.xfail: New file.
	* libjava.lang/PR162.xfail: New file.
	* libjava.lang/Final.xfail: Removed.

From-SVN: r38311
2000-12-16 19:02:54 +00:00
Jan Hubicka
2bed339138 i386.md (ashrsi3_cmpno, [...]): Remove redundant '@' from the template.
* i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
	lshrhi3_cmpno): Remove redundant '@' from the template.

	* i386.md (cmpstrsi_1): Fix type of the compare.

	* genattrtab.c (attr_rtx_cost): New function.
	(simplify_test_exp): Avoid overactive inlining; use temporary
	obstacks for tests.

From-SVN: r38310
2000-12-16 19:00:57 +00:00
Richard Kenner
43db5b3c2c diagnostic.c (finish_abort): Deleted.
Sat Dec 16 10:41:11 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* diagnostic.c (finish_abort): Deleted.
	(fatal): Add code from fninish_abort.
	(error_recursion, fancy_abort): Call fatal, not finish_abort.
	(trim_filename): Remove leading "../".
	* diagnostic.h (finish_abort): Deleted.
	* toplev.c (crash_signal): Call fatal, not finish_abort.

	* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
	as if size were variable.

	* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.

From-SVN: r38309
2000-12-16 11:23:46 -05:00
Diego Novillo
112550d37d unix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
2000-12-15  Diego Novillo  <dnovillo@redhat.com>

	* i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
	_GLOBAL_OFFSET_TABLE_ when using Intel syntax.

From-SVN: r38308
2000-12-16 11:07:25 -05:00
Richard Kenner
67011d8196 stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT as if size were variable.
* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
	as if size were variable.

From-SVN: r38307
2000-12-16 10:46:00 -05:00
Richard Kenner
23cb454af9 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
From-SVN: r38306
2000-12-16 10:43:55 -05:00
Neil Booth
3244472df9 tradcpp.c: T_WARNING: New.
* tradcpp.c: T_WARNING: New.
        (do_warning): New function.
        (finclude): Skip past the newline and increase the line number
        before calling output_line_command.
        (do_line): Skip the new line after output_line_command.  Don't
        pre-decrement the line number.

From-SVN: r38305
2000-12-16 10:41:56 +00:00
Jeff Law
c978ecd3ed Daily bump.
From-SVN: r38304
2000-12-16 01:45:11 -07:00
Kriang Lerdsuwanakij
a472a8887b Remove conflict marker.
From-SVN: r38303
2000-12-16 08:16:09 +00:00
Kriang Lerdsuwanakij
221c7a7ff7 tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE.
* tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of
	IS_AGGR_TYPE.

	* g++.old-deja/g++.oliva/template5.C: Remove XFAILs.

From-SVN: r38302
2000-12-16 08:06:04 +00:00
Kriang Lerdsuwanakij
b429fdf002 pt.c (unify): Handle when both ARG and PARM are BOUND_TEMPLATE_TEMPLATE_PARM.
* pt.c (unify): Handle when both ARG and PARM are
	BOUND_TEMPLATE_TEMPLATE_PARM.

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

From-SVN: r38301
2000-12-16 07:57:21 +00:00
Kriang Lerdsuwanakij
c2beae77c6 pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and DECL_TEMPLATE_PARM_P.
* pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and
	DECL_TEMPLATE_PARM_P.

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

From-SVN: r38300
2000-12-16 07:47:22 +00:00
Tom Tromey
3cd4948faf * libjava.lang/instinit.out: Removed erroneous line.
From-SVN: r38299
2000-12-16 06:45:22 +00:00
Tom Tromey
fabd67f907 * libjava.lang/Thread_1.out: Expect `0' active count.
From-SVN: r38298
2000-12-16 06:41:04 +00:00
Tom Tromey
3a9e1959df stub.xfail: New file.
* libjava.lang/stub.xfail: New file.
	* libjava.lang/pr83.xfail: New file.
	* libjava.lang/err8.xfail: New file.
	* libjava.lang/err7.xfail: New file.
	* libjava.lang/Shazam.xfail: New file.
	* libjava.lang/err11.xfail: New file.

	* libjava.lang/instinit2.java: Renamed class to `instinit2'.

	* libjava.lang/anon3.out: Fixed typo.

	* libjava.lang/Class_1.java (main): Uncommented out previously
	failing code; now it works

From-SVN: r38297
2000-12-16 05:59:45 +00:00
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