Commit Graph

27549 Commits

Author SHA1 Message Date
Jeff Law
2b38a1b12d Daily bump.
From-SVN: r33335
2000-04-22 01:45:07 -06:00
Alexandre Oliva
b32eba4a4d Whitespace change
From-SVN: r33332
2000-04-22 00:43:22 +00:00
Alexandre Petit-Bianco
a40d21da8f [multiple changes]
Thu Apr 20 17:41:28 2000  Mo DeJong  <mdejong@cygnus.com>

	* parse.h (INTERFACE_INNER_MODIFIERS): New macro.
	* parse.y (check_class_interface_creation): Fixed comments. Select
 	permitted modifiers for (inner) interfaces. Changed error message
 	to report rejected modifiers used with local classes.

2000-04-20  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Immediate inner classes
	of directly inherited type considered in scope.
	* parse.y (do_resolve_class): Search inherited classes for inner
	classes.

(This fixes the PR #194 and #197:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00008.html
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00011.html)

From-SVN: r33330
2000-04-21 16:03:19 -07:00
Michael Sokolov
7277f72df9 Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems.
2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

        * Makefile.in (*-subdir): Revamp slightly to avoid losing on
        4.3BSD systems.

From-SVN: r33329
2000-04-21 16:20:20 -06:00
Tom Tromey
6cd167e1a7 PipedInputStream.java, [...]: Yet another new version from Classpath.
* java/io/PipedInputStream.java, java/io/PipedOutputStream.java:
	Yet another new version from Classpath.

From-SVN: r33328
2000-04-21 21:41:32 +00:00
Alexandre Oliva
7f13af23a5 mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0.
* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
of explicit 0.

From-SVN: r33327
2000-04-21 21:34:19 +00:00
Alexandre Oliva
df6aa9bce7 mn10300.h (REGISTER_MOVE_COST): Provide more accurate data about SP moves.
* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
accurate data about SP moves.

From-SVN: r33326
2000-04-21 21:32:24 +00:00
Alexandre Oliva
a46ef28535 mn10300.h (ADDITIONAL_REGISTER_NAMES): Added aliases to AM33 registers.
* config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
aliases to AM33 registers.

From-SVN: r33325
2000-04-21 21:29:46 +00:00
Alexandre Oliva
ac99a3efd0 mn10300.h (REG_CLASS_CONTENTS): Added register 16 to all EXTENDED bitmaps.
* config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
to all EXTENDED bitmaps.

From-SVN: r33324
2000-04-21 21:27:20 +00:00
Alexandre Oliva
460ad32502 mn10300-protos.h (mn10300_address_cost): Declare.
* config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
* config/mn10300/mn10300.h (ADDRESS_COST): New macro.
* config/mn10300/mn10300.c (mn10300_address_cost): New function.

From-SVN: r33323
2000-04-21 21:19:55 +00:00
Jeff Law
40a20da422 Update. Build with the same version of bison.
From-SVN: r33322
2000-04-21 15:16:54 -06:00
Alexandre Oliva
8ca173309f mn10300.md (movdi, movdf): Do not use `movu' when the operand is not constant.
* config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
the operand is not constant.

From-SVN: r33321
2000-04-21 21:14:13 +00:00
Denis Chertykov
aad2919fae reload.c (find_equiv_reg): Checks all valueno and regno regs as a call-clobbered regs.
* reload.c (find_equiv_reg): Checks all valueno and regno regs
        as a call-clobbered regs.

From-SVN: r33320
2000-04-21 15:00:09 -06:00
Tom Tromey
7f6e0fe6f7 re GNATS libgcj/15 (_REENTRANT should be defined more consistently)
Fix for PR libgcj/15:
	* java/util/natGregorianCalendar.cc (_REENTRANT,
	_POSIX_PTHREAD_SEMANTICS): Don't define.
	* java/net/natInetAddress.cc (_REENTRANT): Don't define.
	* java/lang/natSystem.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS):
	Don't define.
	* java/io/natFile.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't
	define.
	* configure: Rebuilt.
	* configure.in: If using POSIX threads, define _REENTRANT if
	needed.  Define _POSIX_PTHREAD_SEMANTICS.  Don't define
	GETHOSTBYNAME_R_NEEDS_REENTRANT.

From-SVN: r33319
2000-04-21 20:46:11 +00:00
Tom Tromey
7234f9bc03 re GNATS libgcj/15 (_REENTRANT should be defined more consistently)
Fix for PR libgcj/15:
	* java/util/natGregorianCalendar.cc (_REENTRANT,
	_POSIX_PTHREAD_SEMANTICS): Don't define.
	* java/net/natInetAddress.cc (_REENTRANT): Don't define.
	* java/lang/natSystem.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS):
	Don't define.
	* java/io/natFile.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't
	define.
	* configure: Rebuilt.
	* configure.in: If using POSIX threads, define _REENTRANT if
	needed.  Define _POSIX_PTHREAD_SEMANTICS.  Don't define
	GETHOSTBYNAME_R_NEEDS_REENTRANT.

From-SVN: r33318
2000-04-21 20:38:43 +00:00
Benjamin Kosnik
b2dad0e372 libstdc++-v3: New directory.
2000-04-21  Benjamin Kosnik  <bkoz@redhat.com>

	* libstdc++-v3: New directory.

From-SVN: r33317
2000-04-21 20:33:34 +00:00
Tom Tromey
051d082b26 PipedInputStream.java, [...]: New version from Classpath.
* java/io/PipedInputStream.java, java/io/PipedReader.java,
	java/io/PipedOutputStream.java, java/io/PipedWriter.java: New
	version from Classpath.

From-SVN: r33316
2000-04-21 20:12:05 +00:00
Tom Tromey
473e7b07f1 re GNATS gcj/124 (protected constructor for InvocationTargetException still visible)
* parse.y (not_accessible_p): Use member's class, not current
	class, when doing inheritance check for protected reference.
	Fixes PR gcj/124.

From-SVN: r33315
2000-04-21 19:53:15 +00:00
Richard Kenner
b3b42a4db6 rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
* rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
	* rtl.h: Likewise.
	* rtl.def: Update comment.
	* function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
	* integrate.c (expand_inline_function): Likewise.
	* profile.c (branch_prob): Likewise.
	* ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
	* print-rtl.c (print_rtx): Likewise.
	* haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
	(reemit_notes): Likewise; also use enum insn_note.

From-SVN: r33314
2000-04-21 15:32:10 -04:00
Richard Kenner
c5e1237fde Add missing blank
From-SVN: r33313
2000-04-21 15:21:50 -04:00
Richard Kenner
4b6bf620d4 stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
* stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
	(place_field): Properly compute know and actual alignment.

From-SVN: r33312
2000-04-21 15:19:24 -04:00
Richard Kenner
cdd83c3137 gengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format.
* gengenrtl.c (gencode): Write obstack_alloc_rtx function start
	in proper format.

From-SVN: r33311
2000-04-21 15:09:18 -04:00
Richard Kenner
403e25d0ba cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1.
* cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
	note for REG1.

From-SVN: r33310
2000-04-21 14:46:01 -04:00
Zack Weinberg
9e62c8114f cpphash.c (struct arg, [...]): Const-ify strings.
* cpphash.c (struct arg, struct arglist): Const-ify strings.
	(warn_trad_stringify, duplicate_arg_p): New helper functions.
	(collect_expansion): Rewrite to scan over a token list.
	Remove -traditional support.
	(collect_formal_parameters): Rename to collect_params; rewrite
	to scan over a token list.
	(_cpp_create_definition): Adjust to scan a token list.
	(_cpp_macroexpand): Remove -traditional support.
	(_cpp_compare_defs): Whitespace is now canonicalized.
	(comp_def_part): Delete function.

	* cpphash.h: Update prototypes.
	* cpplex.c (init_token_list): Don't set lineno if there is no
	buffer.
	(pedantic_whitespace): New function.
	(_cpp_scan_line): Mark tokens that had hspace before.  Don't
	consume a newline.  Use pedantic_whitespace.
	(_cpp_lex_token): Remove support for -traditional macros.
	(_cpp_get_define_token): Delete.
	(_cpp_get_directive_token): Do the real work here.  Use
	pedantic_whitespace.
	(_cpp_init_input_buffer): Initialize pfile->directbuf.

	* cpplib.c (get_macro_name): Delete.
	(do_define): Read the entire line into pfile->directbuf, then
	feed the token list to _cpp_create_definition.
	* cpplib.h (HSPACE_BEFORE): new define.
	(struct cpp_reader): Add a toklist member, "directbuf".

From-SVN: r33309
2000-04-21 17:18:50 +00:00
Zack Weinberg
152897b152 predict.c (estimate_probability): New heuristic...
* predict.c (estimate_probability): New heuristic: if a jump
	branches around a block with no successors, predict it taken.
	Disentangle control flow.

From-SVN: r33308
2000-04-21 16:19:20 +00:00
Tom Tromey
93bc735f86 re GNATS libgcj/213 (Another parallel build error)
Fix for PR libgcj/213:
	* Makefile.in: Rebuilt.
	* Makefile.am (gij_SOURCES): Added gij.cc.
	(EXTRA_gij_SOURCES): Removed.
	(gij_LDADD): Removed gij.lo.
	(gij_DEPENDENCIES): Likewise.
	($(gij_OBJECTS)): Depend on nat_headers.

From-SVN: r33307
2000-04-21 14:23:44 +00:00
Tom Tromey
ab8d774e06 Handler.java (openConnection): Use setURL', not url.set'.
* gnu/gcj/protocol/file/Handler.java (openConnection): Use
	`setURL', not `url.set'.

From-SVN: r33306
2000-04-21 14:18:49 +00:00
Alexandre Oliva
8493cfcb76 typo
From-SVN: r33305
2000-04-21 13:10:46 +00:00
Jeff Law
616adbe214 Daily bump.
From-SVN: r33304
2000-04-21 01:45:07 -06:00
Richard Henderson
9e52563514 * loop.c (emit_iv_add_mult): Revert last change.
From-SVN: r33302
2000-04-20 19:56:58 -07:00
Jason Schroeder
c52fbf0f79 jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.
Thu Apr 20 18:20:58 2000  Jason Schroeder  <shrode@subnature.com>

	* jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.

From-SVN: r33301
2000-04-20 18:24:17 -07:00
Tom Tromey
d3474943bf Fix for PR java.io/204:
* java/io/PipedInputStream.java, java/io/PipedReader.java,
	java/io/PipedOutputStream.java, java/io/PipedWriter.java: Imported
	from Classpath.

From-SVN: r33300
2000-04-21 01:18:16 +00:00
Greg McGary
21caf59006 20000420-2.c: New test for stack misalignment when optimizing...
* compile/20000420-2.c: New test for stack misalignment
	when optimizing, but without sibling-call optimizations (-O1).

From-SVN: r33299
2000-04-21 01:02:57 +00:00
Alexandre Petit-Bianco
f0c0bdf5e0 block.java: New file.
* libjava.compile/block.java: New file.
	* libjava.compile/block.out: New file.

From-SVN: r33298
2000-04-21 00:53:14 +00:00
Tom Tromey
18fcc4961b re GNATS libgcj/212 (build is broken on Linux/Alpha)
Fix for PR libgcj/212:
	* gcj/javaprims.h (_Jv_word, _Jv_word2): Removed definitions.
	* include/jvm.h (_Jv_word, _Jv_word2): Define.
	* java/lang/Class.h (_Jv_word): Declare.

From-SVN: r33292
2000-04-20 22:24:33 +00:00
Tom Tromey
dea4b2db61 throwit.out: Fixed output to be correct.
* libjava.jni/throwit.out: Fixed output to be correct.

	* libjava.jni/noclass.java (main): `find_it' throws an exception.

From-SVN: r33291
2000-04-20 19:49:14 +00:00
Zack Weinberg
1368ee700d cpplib.h (enum cpp_ttype): Add token types for all punctuators.
* cpplib.h (enum cpp_ttype): Add token types for all
	punctuators.  Distinguish pp-numbers from valid C numbers.
	Give some tokens better names.  Initialize from macro.
	(struct cpp_name, cpp_token, cpp_toklist): New data
	structures.
	Update prototypes.
	* cpplex.c (bump_column, expand_name_space,
	expand_token_space, init_token_list, cpp_output_list,
	_cpp_scan_line):  New functions.
	(output_line_command): Add third argument, new line number.
	* cpphash.h: Update prototypes.
	* cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
	token names.

From-SVN: r33289
2000-04-20 19:33:11 +00:00
Richard Henderson
70994f3039 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
From-SVN: r33288
2000-04-20 12:10:40 -07:00
Jeffrey A Law
404e6b792e * gcc.dg/20000420-1.c: New test.
From-SVN: r33286
2000-04-20 11:57:19 -06:00
Tom Tromey
6e84eab83f * jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.
From-SVN: r33285
2000-04-20 17:39:30 +00:00
Zack Weinberg
06a50fff5b c-common.c (decl_attributes): Set TREE_USED on the object pointed to.
* c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
	object pointed to.

From-SVN: r33284
2000-04-20 16:09:27 +00:00
Jan Hubicka
ba2b25ecac loop.c (emit_iv_add_mult): Simplify it's input and emit REG_EQUAL note explaining the calculated value.
* loop.c (emit_iv_add_mult):  Simplify it's input and emit
	REG_EQUAL note explaining the calculated value.

From-SVN: r33283
2000-04-20 14:40:09 +00:00
Nathan Sidwell
a33b40d2a3 ptrflags.C: New test.
* g++.abi/ptrflags.C: New test.
	* g++.eh/catchptr1.C: Test incomplete pointer chains.

From-SVN: r33282
2000-04-20 14:27:59 +00:00
Nathan Sidwell
0a2409728b rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi.
* rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi.
	(target_incomplete_p): New function.
	(tinfo_base_init): Create comdat NTBS name variable.
	(ptr_initializer): Add non_public parameter. Calculate it.
	(ptmd_initializer): Likewise.
	(synthesize_tinfo_var): Adjust. Emit incomplete class tinfo.
	(create_real_tinfo_var): Add non_public parameter. Use it.
	Push proxy into global namespace.
	* inc/cxxabi.h (__pointer_type_info::incomplete_class_mask):
	New enumeration.
	* inc/typeinfo (type_info::before, type_info::operator==):
	Compare __name addresses.

	* tinfo2.cc: Remove new-abi builtins comment.

From-SVN: r33281
2000-04-20 14:25:33 +00:00
Jan Hubicka
f8a097cd17 calls.c (expand_call): Avoid unnecesary precalculation and outgoing parameters space guarding for...
* calls.c (expand_call): Avoid unnecesary precalculation
	and outgoing parameters space guarding for sibling calls.
	(store_one_arg): Likewise.

From-SVN: r33280
2000-04-20 12:20:38 +00:00
Richard Kenner
48d9ade562 toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
* toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
	(rest_of_compilation): Write sibling dump file and account
	for time as jump time.
	* invoke.texi: Update documentation on dump flags.

From-SVN: r33279
2000-04-20 08:06:58 -04:00
Richard Kenner
5d14e3560c Fix copuyright notice
From-SVN: r33278
2000-04-20 06:55:19 -04:00
Richard Kenner
3ded6d9120 Fix whitespace in one place
From-SVN: r33277
2000-04-20 06:54:51 -04:00
Jeff Law
048b209e4d Daily bump.
From-SVN: r33276
2000-04-20 01:45:07 -06:00
Jason Merrill
68489c4d5a update
From-SVN: r33275
2000-04-20 02:54:02 -04:00