Jason Merrill
511b60ffc0
fix thinko in last change
...
From-SVN: r28598
1999-08-08 14:11:15 -04:00
Anthony Green
58eb6e7cef
[multiple changes]
...
1999-08-09 Anthony Green <green@cygnus.com>
* gij.cc: New file.
* include/config.h.in: Rebuilt.
* acconfig.h: Add INTERPRETER.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (libffi_files): Identify the libffi object files for
inclusion in libgcj.
(LIBFFIINCS): Define.
* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Dummy definition for configurations without an interpreter.
* java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
java::lang::Boolean constructor.
* include/java-interp.h: Always include java-cpool.h.
* java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
when INTERPRETER not defined.
* java/lang/Class.h (finalize): Define.
* gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
IOException from File.getCanonicalPath.
(getStream): Likewise.
* NEWS: More news.
* THANKS: More thanks.
1999-08-09 Kresten Krab Thorup <krab@gnu.org>
* resolve.cc (get_ffi_type_from_signature): Generate uint16 for
jchar type.
(_Jv_PrepareClass): Allow non-abstract classes to
have abstract subclasses.
(_Jv_ResolvePoolEntry): Revert subclass check for protected
fields and methods.
* interpret.cc (continue1/perform_invoke): Don't sign extend
uint16 return val.
(continue1/lshl,lshr): Push long, not int.
(continue1/ulshr): Use UINT64, not long long.
* defineclass.cc (handleFieldsEnd): Handle case when all fields
are static.
* java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
* java/lang/FirstThread.java (run): Add top-level exception
handler.
(run0): Renamed from run.
1999-08-08 Kresten Krab Thorup <krab@gnu.org>
* configure.in (--with-interpreter): Added.
* include/config.h.in (INTERPRETER): Added.
* java/lang/ClassLoader.java: File replaced.
* java/lang/VMClassLoader.java: New file.
* java/lang/natClassLoader.cc: New file.
* gnu/gcj/runtime/MethodInvocation.java: New file.
* gnu/gcj/util/path/SearchPath.java: New file.
* gnu/gcj/util/path/PathEntry.java: New file.
* gnu/gcj/util/path/DirectoryPathEntry.java: New file.
* gnu/gcj/util/path/ZipPathEntry.java: New file.
* gnu/gcj/util/path/URLPathEntry.java: New file.
* gnu/gcj/util/path/CacheEntry.java: New file.
* include/java-interp.h: New file.
* include/java-cpool.h: New file.
* include/java-insns.h: New file.
* defineclass.cc: New file.
* interpret.cc: New file.
* resolve.cc: New file.
* java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
_Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
_Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
(finalize): New.
(STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
prefix.
(initializeClass): Use new JV_ prefixed names. Also, call
ClassLoader::resolveClass instead of _Jv_ResolveClass.
* java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
JV_STATE_LINKED): New.
(_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
_Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
(_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
_Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
_Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
_Jv_InterpMethodInvocation): New friends for interpreter.
(finalize): New.
(CONSTANT_Class, CONSTANT_String, etc.): Moved to
include/java-cpool.h and renamed with JV_ prefix.
* include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
decls.
(_Jv_UnregisterClass): New decl.
* java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
class loader argument.
(_Jv_FindClass): Use class loader.
* prims.cc (_Jv_makeUtf8Const): New function.
(_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
(_Jv_NewPrimArray): Ditto.
(_Jv_FindClassFromSignature): Ditto.
* java/lang/reflect/natArray.cc (newInstance): Ditto.
* java/lang/reflect/natMethod.cc (getType): Ditto.
* include/java-field.h (_Jv_Field::isRef): Make robust for
non-resolved contexts.
* boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
Also, don't mark class->next field.
* java/lang/VirtualMachineError.java: Added FIXME note.
* configure.in (INTERPSPEC): New spec.
* libgcj.spec.in: Added INTERPSPEC.
* Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
gnu/gcj/runtime/MethodInvocation.
(libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
(ordinary_java_source_files): Added above mentioned java classes.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
From-SVN: r28597
1999-08-08 14:06:23 +00:00
Anthony Green
63e5e3e0db
Initial revision
...
From-SVN: r28593
1999-08-08 13:27:18 +00:00
Richard Henderson
108c535a0c
Revert last change until I figure out what's wrong with it.
...
From-SVN: r28592
1999-08-08 02:09:06 -07:00
Jeff Law
22ccea1ba4
Daily bump.
...
From-SVN: r28591
1999-08-08 01:45:07 -06:00
Bruce Korb
94cc603610
IRIX 5.2's <sys/asm.h> contains an asm comment with an apostrophe
...
From-SVN: r28589
1999-08-07 22:42:56 +00:00
Kaveh R. Ghazi
9c0758dde6
class.c (count_fields, [...]): Add static prototype.
...
* class.c (count_fields, add_fields_to_vec): Add static prototype.
* cp-tree.h (opname_tab, assignop_tab, operator_name_string,
get_id_2, composite_pointer_type, dump_node_to_file): Constify a
char*.
* decl.c (named_label_list, cp_finish_decl, grokdeclarator):
Constify a char*.
* decl2.c (finish_static_data_member_decl, grokfield): Constify a
char*.
* dump.c (queue_and_dump_index, dump_int, dump_string,
dump_string_field, dequeue_and_dump, dump_node_to_file): Constify
a char*.
(dump_stmt): Add static prototype.
* errfn.c (cp_thing): Constify a char*.
* error.c (dump_unary_op, dump_binary_op, aggr_variety,
dump_aggr_type, dump_global_iord, dump_decl, dump_function_name,
dump_expr): Constify a char*.
* lex.c (extend_token_buffer_to, pragma_getc, pragma_ungetc,
read_line_number): Add static prototype.
(opname_tab, assignop_tab, operator_name_string): Constify a char*.
(real_yylex): Move label `letter' into the scope where it is used.
* method.c (build_mangled_template_parm_index, build_overload_int,
build_decl_overload_real, get_id_2): Constify a char*.
* search.c (check_final_overrider): Make static.
* typeck.c (composite_pointer_type): Constify a char*.
From-SVN: r28588
1999-08-07 22:28:52 +00:00
Jason Merrill
b5df0cedb5
revert
...
From-SVN: r28587
1999-08-07 17:53:40 -04:00
Richard Henderson
5c7675e906
function.c (init_function_start): Clear prologue & epilogue.
...
* function.c (init_function_start): Clear prologue & epilogue.
(prologue_epilogue_contains): New function.
* alias.c (init_alias_analysis): Use it.
* rtl.h (prologue_epilogue_contains): Declare it.
From-SVN: r28585
1999-08-07 11:39:03 -07:00
Richard Henderson
d0e8071928
jump.c (onlyjump_p): New function.
...
* jump.c (onlyjump_p): New function.
* rtl.h: Declare it.
* flow.c (delete_unreachable_blocks): Use onlyjump_p instead
of condjump_p in calling tidy_fallthru_edge and merge_blocks.
From-SVN: r28584
1999-08-07 11:36:15 -07:00
Richard Henderson
021d167782
global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET to invert loops.
...
* global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
to invert loops. Simplify block scanning.
From-SVN: r28583
1999-08-07 10:05:46 -07:00
Bernd Schmidt
05f6f07cc6
gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
...
* gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
(cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
From-SVN: r28582
1999-08-07 02:13:28 -06:00
Jonathan Larmour
28df416855
liteelf.h: New file to support sparclite-elf target
...
* config/sparc/liteelf.h: New file to support sparclite-elf target
* config/sparc/t-sp86x: New file to support sparc86x targets
* config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
* config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
* configure.in: Support above target triplets
* configure: Regenerated
From-SVN: r28581
1999-08-07 01:58:07 -06:00
Jeff Law
2d9f9cf176
Forgot to commit earlier.
...
From-SVN: r28580
1999-08-07 01:51:09 -06:00
Jeff Law
f4262e8f52
Daily bump.
...
From-SVN: r28579
1999-08-07 01:45:09 -06:00
Philippe De Muyter
4bc49b4998
server.c (server_setup): Do not prefix function used as parameter with `&'.
...
* fixinc/server.c (server_setup): Do not prefix function used as
parameter with `&'.
From-SVN: r28578
1999-08-07 01:41:17 -06:00
Jeffrey A Law
cf52b2f739
Makefile.in (TAROUTOPTS): Kill.
...
* Makefile.in (TAROUTOPTS): Kill.
(install-headers-tar): Use "xpf" for tar headerfile extraction
* i370/x-oe (TAROUTOPTS): Delete.
* m68k/x-apollo68 (TAROUTOPTS): Delete.
* m68k/x-hp320 (TAROUTOPTS): Delete.
* m68k/x-hp320g (TAROUTOPTS): Delete.
From-SVN: r28577
1999-08-07 01:39:28 -06:00
Richard Henderson
8608bd5665
alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
...
* alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
Remove fp reg alternatives.
From-SVN: r28576
1999-08-06 23:38:33 -07:00
Jeffrey A Law
80d255306b
* gcc.texi: Update bug reporting text.
...
From-SVN: r28574
1999-08-07 00:08:58 -06:00
Andreas Schwab
ff76d1ee86
iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream.
...
* iostream.cc: Add missing calls to isfx and setup a cleanup
region for the locked stream.
* iostream.h: Likewise.
* isgetline.cc: Likewise.
* isgetsb.cc: Likewise.
* isscan.cc: Likewise.
From-SVN: r28573
1999-08-07 00:02:05 -06:00
Herman A.J. ten Brugge
80832cf27b
1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
...
* reg-stack.c (change_stack) Fixed problem with negative array index.
From-SVN: r28570
1999-08-06 23:57:14 -06:00
Daniel Jacobowitz
76632dd06d
Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir.
...
* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
libdir, libsubdir and tooldir.
Applied in libchill, libf2c, libiberty and libobjc
From-SVN: r28569
1999-08-06 23:37:16 -06:00
Jeffrey A Law
4a21803f6b
* extend.texi, install.texi: Fix spelling mistakes.
...
From-SVN: r28567
1999-08-06 23:26:41 -06:00
Jeffrey A Law
5b4146bd4d
Makefile.in (PREMADE_ATTRTAB_MD, [...]): Delete.
...
* Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
(s-attrtab); No longer try to use pre-made insn-attrtab file.
* mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
PREMADE_ATTRTAB_MD.
* mips/t-ecoff: Likewise.
* mips/t-elf: Likewise.
* mips/t-mips: Likewise.
* mips/t-osfrose: Likewise.
* mips/t-r3900: Likewise.
* mips/t-svr3: Likewise.
* mips/t-svr4: Likewise.
* mips/t-ultrix: Likewise.
From-SVN: r28566
1999-08-06 23:19:55 -06:00
Jeffrey A Law
8490b53362
gcc.texi: Document recommend means to provide software floating point libraries in libgcc.a
...
* gcc.texi: Document recommend means to provide software floating
point libraries in libgcc.a
From-SVN: r28565
1999-08-06 23:11:19 -06:00
Jason Merrill
f8e55f3465
decl.c (bad_specifiers): It's OK to have an EH spec on a function pointer.
...
* decl.c (bad_specifiers): It's OK to have an EH spec on a function
pointer.
* pt.c (maybe_get_template_decl_from_type_decl): Make sure that
we're looking at a class.
From-SVN: r28562
1999-08-06 21:22:26 -04:00
Jason Merrill
adace60011
* c-lex.c (yylex): We can have a number with no digits.
...
From-SVN: r28561
1999-08-06 21:02:18 -04:00
Jason Merrill
6ad073329c
decl.c (lookup_name_real): Set the complain flag if we're looking for a namespace member.
...
* decl.c (lookup_name_real): Set the complain flag if we're
looking for a namespace member.
* lex.c (real_yylex): We can have a number with no digits.
* cvt.c (cp_convert_to_pointer): Don't force pmf conversions.
* search.c (binfo_from_vbase): New fn.
* cp-tree.h: Declare it.
* cvt.c (cp_convert_to_pointer): Use it to diagnose conversion
from pointer to member of virtual base.
* typeck.c (get_delta_difference): Likewise.
From-SVN: r28560
1999-08-06 21:01:54 -04:00
Jason Merrill
446588abcb
new
...
From-SVN: r28559
1999-08-06 20:32:24 -04:00
John Wehle
cfe2d2e7f5
jump.c (delete_prior_computation): New function, broken out of delete_computation.
...
* jump.c (delete_prior_computation): New function, broken
out of delete_computation. Check for side effects with
side_effects_p instead of FIND_REG_INC_NOTE. Handle
multi-word hard registers.
(delete_computation): Use it. Check for side effects with
side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
missing REG_DEAD note for a register which is both set and
used by an insn.
From-SVN: r28558
1999-08-06 20:55:42 +00:00
Alexandre Oliva
3fabe028e0
dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86.
...
* dwarf2.C, dwarf3.C: Added XFAIL for Solaris/x86. Removed
-gdwarf.
* dwarf1.C: Removed -gdwarf.
From-SVN: r28557
1999-08-06 20:55:13 +00:00
Alexandre Oliva
f05f680ac0
pt.c (tsubst): Use build_index_type to build in-template array index type.
...
* pt.c (tsubst): Use build_index_type to build in-template array
index type. Fixes g++.oliva/dwarf1.C.
* decl.c (grokdeclarator): Likewise, just for consistency, as it
doesn't seem to trigger the bug without it.
From-SVN: r28556
1999-08-06 20:44:44 +00:00
Tom Tromey
7339705d94
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Look for sched_yield in -lrt.
From-SVN: r28554
1999-08-06 20:36:46 +00:00
Jason Merrill
76554ea3ab
* typeck2.c (add_exception_specifier): Use complete_type.
...
From-SVN: r28552
1999-08-06 15:01:13 -04:00
Mark Mitchell
8402fd4f4c
tree.c (cp_build_qualified_type_real): Handle pointer-to-member-function types correctly.
...
* tree.c (cp_build_qualified_type_real): Handle
pointer-to-member-function types correctly.
From-SVN: r28551
1999-08-06 18:25:40 +00:00
Mark Mitchell
2adeacc9b5
error.c (dump_expr): Handle EXACT_DIV_EXPR.
...
* error.c (dump_expr): Handle EXACT_DIV_EXPR.
(dump_binary_op): Bulletproof.
* lex.c (init_parse): Set opname_tab[EXACT_DIV_EXPR].
* tree.c (search_tree): Don't enumerate all the nodes of classes
`1', `2', and `<'; handle them generically. Don't be sorry about
"unrecognized tree codes"; just abort.
(no_linkage_check): Don't do linkage checks for templates.
* tree.c (cp_build_qualified_type_real): Handle
pointer-to-member-function types correctly.
From-SVN: r28550
1999-08-06 18:20:27 +00:00
Jeffrey A Law
e7eacc8e27
elf.h (TEXT_SPACE_P, [...]): Delete.
...
* elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
(ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
(ASM_FILE_START): Import _mcount with the right type.
(ASM_DECLARE_FUNCTION_NAME): Define.
(ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
* pa.c (output_function_prologue): Always emit the function's label
here.
* pa.h (TEXT_SPACE_P): Define.
(FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
(ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
* som.h (TEXT_SPACE_P): Delete.
(FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
(ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
From-SVN: r28549
1999-08-06 11:08:29 -06:00
Mojo Jojo
3a6bdebaa0
Locale.java (CHINESE, [...]): New locales.
...
1999-08-06 Mojo Jojo <mojojojo@pacbell.net>
* java/util/Locale.java, CHINESE, ENGLISH, FRENCH, GERMAN,
ITALIAN, JAPANESE, KOREAN, CANADA_FRENCH, GERMANY, ITALY, KOREA,
SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE, PRC, TAIWAN, CHINA): New
locales.
(toString): Print correctly when `country' is empty.
From-SVN: r28548
1999-08-06 08:38:50 +00:00
Jeff Law
2dbd129523
Daily bump.
...
From-SVN: r28547
1999-08-06 01:45:09 -06:00
Jim Wilson
7c4a6db023
Allow PARALLEL return value for complex type represented as a CONCAT.
...
* expr.c (emit_group_load): Allow src to be a CONCAT.
From-SVN: r28546
1999-08-05 19:30:39 -07:00
Jason Merrill
9d29e7afe1
decl.c (pushdecl): Only give an error for shadowing a parm from *this* function.
...
* decl.c (pushdecl): Only give an error for shadowing a parm
from *this* function.
From-SVN: r28545
1999-08-05 20:07:50 -04:00
Joern Rennecke
75b36a2cc0
Fix typo.
...
From-SVN: r28544
1999-08-05 22:51:30 +01:00
Alexandre Oliva
8a07ed3363
* g++.old-deja/g++.other/local3.C: Removed XFAIL.
...
From-SVN: r28543
1999-08-05 21:38:39 +00:00
Alexandre Oliva
ecd7226f3b
new1.C, [...]: Removed XFAIL.
...
* new1.C, template8.C: Removed XFAIL.
* template3.C: Re-introduced XFAIL. :-(
From-SVN: r28542
1999-08-05 21:32:21 +00:00
J"orn Rennecke
b28f69a0a0
lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
...
* config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
(___mulsi3): Use '!' comment character.
From-SVN: r28541
1999-08-05 22:29:00 +01:00
Alexandre Oliva
cdad18a543
Missing doubled @s in e-mail address
...
From-SVN: r28539
1999-08-05 21:02:47 +00:00
Bernd Schmidt
6b9c6f4fe0
Warning fix
...
From-SVN: r28538
1999-08-05 12:43:04 +00:00
Jeffrey A Law
7fc2d503b7
* typeck2.c: Update URLs and mail addresses.
...
From-SVN: r28537
1999-08-05 03:20:18 -06:00
Jeffrey A Law
5b281b2133
g77spec.c: Update URLS and mail addresses.
...
* g77spec.c: Update URLS and mail addresses.
* root.texi: Update URLS and mail addresses.
From-SVN: r28536
1999-08-05 03:18:29 -06:00
Jeffrey A Law
82fb18dd27
gcc.c: Update URLs and mail addresses.
...
* gcc.c: Update URLs and mail addresses.
* gcc.texi: Likewise.
From-SVN: r28535
1999-08-05 03:16:27 -06:00