Bryce McKinlay
5b0b42ed61
Forgot this file in last commit.
...
From-SVN: r46284
2001-10-16 12:18:03 +01:00
Bryce McKinlay
4c7726b172
Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes.
...
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1
and merged local changes.
From-SVN: r46283
2001-10-16 10:01:40 +01:00
Bryce McKinlay
107abb2f61
Eliminate use of C++ static constructors.
...
* interpret.cc: Remove static Utf8Consts. Use namespace gcj.
* jni.cc: Likewise.
* resolve.cc: Likewise.
* defineclass.cc: Likewise.
(_Jv_ClassReader::handleClassBegin): Synchronize call to
_Jv_RegisterClass.
* include/jvm.h (void_signature, clinit_name, init_name, finit_name):
Declare in namespace gcj.
* java/lang/Class.h (Class): Remove initialization for primitive
types.
(friend void _Jv_InitPrimClass): This is in prims.cc.
* prims.cc (_Jv_InitPrimClass): Do primitive type initialization
here instead.
(void_signature, clinit_name, init_name, finit_name): Define in
namespace gcj.
(_Jv_CreateJavaVM): Call _Jv_InitThreads, _Jv_InitGC, and
_Jv_InitializeSyncMutex from here. Initialize Utf8 constants.
Initialize primitive types.
* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Don't call
initialization routines. Don't synchronize.
* java/lang/natRuntime.cc (_load): Synchronize on java.lang.Class
across dlopen call.
From-SVN: r46282
2001-10-16 09:35:17 +01:00
Bryce McKinlay
6fd617e3e1
* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.
...
From-SVN: r46280
2001-10-16 08:36:12 +01:00
GCC Administrator
d3a1246b2d
Daily bump.
...
From-SVN: r46278
2001-10-16 07:16:11 +00:00
Bryce McKinlay
41878ce27e
[multiple changes]
...
2001-10-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/util/HashMap.java (HashEntry.clone): Removed.
(HashMap(Map)): Use putAllInternal.
(clone): Likewise.
(putAllInternal): New method. Efficient counterpart to putAll which
does not call put().
* java/util/LinkedHashMap.java (rethread): Removed.
(putAllInternal): New method. Clear "head" and "tail".
(addEntry): New argument "callRemove". Don't call removeEldestEntry()
if callRemove == false.
* Makefile.am: Add new classes RandomAccess and LinkedHashMap.
* Makefile.in: Rebuilt.
2001-10-15 Eric Blake <ebb9@email.byu.edu>
* java/util/Collection.java: Updated javadoc.
* java/util/Comparator.java: Updated javadoc.
* java/util/Enumeration.java: Updated javadoc.
* java/util/Iterator.java: Updated javadoc.
* java/util/List.java: Updated javadoc.
* java/util/ListIterator.java: Updated javadoc.
* java/util/Map.java: Updated javadoc.
* java/util/RandomAccess.java: New file.
* java/util/Set.java: Updated javadoc.
* java/util/SortedMap.java: Updated javadoc.
* java/util/SortedSet.java: Updated javadoc.
From-SVN: r46277
2001-10-16 06:47:01 +01:00
Alan Modra
ffb5e2e21f
* recog.c: Formatting and comment typo fixes.
...
From-SVN: r46276
2001-10-16 13:49:26 +09:30
Alan Modra
0936a455f3
configure.in (gcc_cv_as_bfd_srcdir): New.
...
* configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
version in single tree build.
* configure: Regenerate.
From-SVN: r46275
2001-10-16 13:03:48 +09:30
DJ Delorie
aac04c15d7
Makefile.in (TEXIFILES): Add fnmatch.txh.
...
* Makefile.in (TEXIFILES): Add fnmatch.txh.
(maint-undoc): New.
maint-tool: Add "undoc" tool.
* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
documentation.
* fnmatch.txh: New.
* functions.texi: Regenerate.
From-SVN: r46274
2001-10-15 22:50:13 -04:00
David Edelsohn
2d4368e6cd
rs6000.md (cr_logical): Swap order of CODE and MODE arguments to
...
gen_rtx and compare operand with const0_rtx.
From-SVN: r46273
2001-10-15 20:43:21 -04:00
Tom Tromey
0e91d38470
AccessibleObject.java (checkPermission): Implemented.
...
* java/lang/reflect/AccessibleObject.java (checkPermission):
Implemented.
Updated copyright information.
From-SVN: r46272
2001-10-15 22:45:03 +00:00
Hans Boehm
3a8da0244a
natObject.cc (heavy_lock): Moved fields old_client_data, old_finalization_proc near beginning.
...
2001-10-15 Hans Boehm <Hans_Boehm@hp.com>
* java/lang/natObject.cc (heavy_lock): Moved fields
old_client_data, old_finalization_proc near beginning.
(heavy_lock_finalization_proc): Now inline; changed type of
argument.
(JV_SYNC_TABLE_SZ): Now 2048.
(mp): New global.
(spin): `mp' now global.
(heavy_lock_obj_finalization_proc): Updated to correctly handle
heavy lock finalization.
(remove_all_heavy): New function.
(maybe_remove_all_heavy): Likewise.
(_Jv_MonitorEnter): Throw exception if object is NULL.
(_Jv_MonitorExit): Likewise. Also, clear long lists of unlocked
heavy locks.
* include/jvm.h (_Jv_AllocTraceTwo): Declare.
* nogc.cc (_Jv_AllocTraceTwo): New function.
* boehm.cc (trace_two_vtable): New global.
(_Jv_AllocTraceTwo): New function.
From-SVN: r46271
2001-10-15 22:42:42 +00:00
Alexandre Petit-Bianco
c83303d8a4
lang.c (langhooks.h): Included.
...
2001-10-15 Alexandre Petit-Bianco <apbianco@redhat.com>
* lang.c (langhooks.h): Included.
(LANG_HOOKS_INIT): Redefined.
(LANG_HOOKS_INIT_OPTIONS): Likewise.
(LANG_HOOKS_DECODE_OPTION): Likewise.
(struct lang_hooks lang_hooks): New initialization.
( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00692.html )
From-SVN: r46270
2001-10-15 15:10:56 -07:00
Neil Booth
41441dc7ff
system.h: Poison old unused target macros.
...
* system.h: Poison old unused target macros.
* config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
* config/stormy16/stormy16.c: Update references to obsolete macros.
* config/stormy16/stormy16.h: Similarly.
* config/stormy16/stormy16.md: Similarly.
* config/cris/cris.h: Similarly.
From-SVN: r46269
2001-10-15 20:10:13 +00:00
Tom Tromey
7d6fd8fd4c
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/beans/AppletInitializer.java: New file.
From-SVN: r46267
2001-10-15 17:46:06 +00:00
Tom Tromey
e94f5bac70
SocketPermission.java (hostport, actions): Now private.
...
* java/net/SocketPermission.java (hostport, actions): Now
private.
From-SVN: r46266
2001-10-15 16:32:51 +00:00
GCC Administrator
7c4f13fd46
Daily bump.
...
From-SVN: r46264
2001-10-15 07:16:13 +00:00
Mark Wielaard
06c0908ba6
Double.java: Partial merge with Classpath
...
* java/lang/Double.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Double (String)): call parseDouble()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Double(String) directly
(compare (double,double)): new 1.4 method
(compareTo (Double)): call new compare(double,double) method
(initIDs): new private method (not used in libgcj)
* java/lang/Float.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Float (String)): call parseFloat()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Float(String) directly
(compare (float,float)): new 1.4 method
(compareTo (Float)): call new compare(double,double) method
From-SVN: r46263
2001-10-15 06:31:13 +00:00
Bryce McKinlay
dd87cbbf65
This commit was generated by cvs2svn to compensate for changes in r46260,
...
which included commits to RCS files with non-trunk default branches.
From-SVN: r46261
2001-10-15 05:58:04 +01:00
Bryce McKinlay
8a1dcd96e7
Initial revision
...
From-SVN: r46258
2001-10-15 05:57:59 +01:00
Neil Booth
4b115ff0ea
cpplib.c (struct pragma_entry): Store the name as a hashnode.
...
* cpplib.c (struct pragma_entry): Store the name as a hashnode.
(lookup_pragma_entry, insert_pragma_entry, do_pragma,
cpp_register_pragma): Update accordingly.
From-SVN: r46255
2001-10-14 23:04:13 +00:00
Neil Booth
a5da89c6a8
c-pragma.h (cpp_register_pragma_space): Remove.
...
* c-pragma.h (cpp_register_pragma_space): Remove.
* cpplib.h (cpp_register_pragma_space): Remove.
* cpplib.c (lookup_pragma_entry, insert_pragma_entry): New.
(cpp_register_pragma_space): Remove.
(cpp_register_pragma): Simplify using lookup_pragma_entry,
add sanity checks.
(do_pragma): Similarly.
(_cpp_init_internal_pragmas): Don't register namespaces.
* config/v850/v850.h (REGISTER_TARGET_PRAGMAS):
Don't register namespaces.
* cp/lex.c (init_cp_pragma): Similarly.
* doc/tm.texi: Update.
From-SVN: r46254
2001-10-14 17:44:00 +00:00
GCC Administrator
7c3e4ebb84
Daily bump.
...
From-SVN: r46252
2001-10-14 07:16:41 +00:00
Craig Rodrigues
0cb13cd21c
re PR c/4157 (space missing in gcc-3.0.1/gcc/config/i386/cygwin.h)
...
PR c/4157
* config/i386/cygwin.h: Add missing space to MINGW_INCLUDES
From-SVN: r46250
2001-10-14 04:24:26 +00:00
Michael Collison
c54db4c997
Added changes for dsp16xx port.
...
From-SVN: r46249
2001-10-14 02:16:53 +00:00
Michael Collison
dff06f62c9
dsp16xx.md: Rewrite for more efficient code and add scheduling support.
...
* config/dsp16xx/dsp16xx.md: Rewrite for more efficient code and
add scheduling support.
* config/dsp16xx/dsp16xx.h: Rewrite for more efficient code.
* config/dsp16xx/dsp16xx.c: Rewrite for more efficient code.
* config/dsp16xx/dsp16xx-protos.h: Add new function prototypes.
From-SVN: r46248
2001-10-14 02:14:28 +00:00
Tom Tromey
48d24deb4e
* java/lang/SecurityManager.java (SecurityManager): Now public.
...
From-SVN: r46247
2001-10-13 23:23:50 +00:00
Tom Tromey
41bd2b1cc2
AccessController.java (checkPermission): Now throws AccessControlException.
...
* java/security/AccessController.java (checkPermission): Now
throws AccessControlException.
* java/security/AllPermission.java: Class now final.
* java/security/Permission.java (getName): Now final.
(name): Now private.
(equals): New abstract method.
* java/security/PermissionCollection.java (linesep): Now private.
* java/security/Permissions.java: Class now final.
* java/security/Security.java (Security): New private
constructor.
* java/security/UnresolvedPermission.java: Import
java.security.cert.Certificate. Class now final.
* java/security/acl/Group.java: Now extends Principal.
(isMember): Added Principal argument.
* java/security/spec/X509EncodedKeySpec.java (getFormat): Now
final.
* java/security/spec/PKCS8EncodedKeySpec.java (getFormat): Now
final.
From-SVN: r46246
2001-10-13 23:21:07 +00:00
Kriang Lerdsuwanakij
4f96ff63b3
pt.c (lookup_template_class): Build complete template arguments for BOUND_TEMPLATE_TEMPLATE_PARM.
...
* pt.c (lookup_template_class): Build complete template arguments
for BOUND_TEMPLATE_TEMPLATE_PARM.
From-SVN: r46245
2001-10-13 15:00:44 +00:00
Kriang Lerdsuwanakij
11e74ea6c6
cp-tree.h (TYPE_BINFO): Update comment.
...
* cp-tree.h (TYPE_BINFO): Update comment.
(BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): New macro.
(TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Use template_info.
(TYPENAME_TYPE_FULLNAME): Use TYPE_FIELDS.
(copy_type): Prototype new function.
* lex.c (copy_lang_decl): Gather tree node statistics.
(copy_lang_type): New function.
(copy_type): Likewise.
(cp_make_lang_type): Create lang_type for
BOUND_TEMPLATE_TEMPLATE_PARM. Set TYPE_BINFO for TYPENAME_TYPE
and BOUND_TEMPLATE_TEMPLATE_PARM.
* pt.c (tsubst): Use copy_type instead of copy_node.
* search.c (lookup_field_1): Ignore TYPENAME_TYPE.
From-SVN: r46244
2001-10-13 13:24:34 +00:00
Kriang Lerdsuwanakij
f5d47abdf7
pt.c (determine_specialization): Ignore functions without DECL_TEMPLATE_INFO.
...
* pt.c (determine_specialization): Ignore functions without
DECL_TEMPLATE_INFO.
From-SVN: r46243
2001-10-13 13:11:09 +00:00
GCC Administrator
45701819ce
Daily bump.
...
From-SVN: r46242
2001-10-13 07:17:10 +00:00
Tom Rix
e2ccde7b44
XFAIL these tests on AIX when using -msoft-float
...
From-SVN: r46240
2001-10-13 06:16:29 +00:00
Hans-Peter Nilsson
5e3db92d6b
cris.c (cris_legitimate_pic_operand): Kludge around missing CONSTANT_P test in core GCC.
...
* config/cris/cris.c (cris_legitimate_pic_operand): Kludge around
missing CONSTANT_P test in core GCC.
From-SVN: r46239
2001-10-13 01:54:37 +00:00
Loren J. Rittle
cb580d5cac
index.html (Is libstdc++-v3 thread-safe?): Update based on Nathan's review.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
based on Nathan's review. Use Nathan's words.
From-SVN: r46238
2001-10-13 00:06:21 +00:00
Neil Booth
0c34509f6d
cppmain.c (struct printer): New member source.
...
* cppmain.c (struct printer): New member source.
(scan_translation_unit): Fix spacing at start of lines.
(cb_line_change): Update.
* gcc.dg/cpp/spacing2.c: New test.
From-SVN: r46237
2001-10-12 22:31:04 +00:00
Tom Tromey
42273f3225
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (rmi_java_source_files): Added new files.
* gnu/java/rmi/rmic/RMIC.java (compile): Uncommented; fixed to use
new Compiler class.
* gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Updated.
* gnu/java/rmi/rmic/Compile_gcj.java: New file.
* gnu/java/rmi/rmic/CompilerProcess.java: New file.
* gnu/java/rmi/rmic/Compiler.java: New file.
From-SVN: r46235
2001-10-12 22:04:07 +00:00
Hans-Peter Nilsson
44a4ca5e4f
arit.c: Use __builtin_labs, not abs.
...
* config/cris/arit.c: Use __builtin_labs, not abs.
* config/cris/cris.h (SET_STRIPPABLE_EXECUTABLE): Don't define.
* config/cris/cris.c (cris_target_asm_function_epilogue): Move
misplaced sprintf and fprintf argument.
From-SVN: r46234
2001-10-12 19:44:38 +00:00
Zack Weinberg
71a9457763
ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
...
top:
* ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
* configure.in, Makefile.in: Take out obsolete check-po logic.
* configure, config.in: Regenerate.
intl:
* Update entire directory from gettext 0.10.40.
* cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
Removed.
* config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
ref-add.sin, ref-del.sin: New.
po:
* Makefile.in.in: Upgrade to gettext-0.10.40.
* cat-id-tbl.c: Remove file.
* stamp-cat-id: Remove file.
From-SVN: r46233
2001-10-12 17:24:30 +00:00
Ziemowit Laski
7e21622e0e
objc-act.c (finish_objc): Correct precondition for emitting symtab declarations.
...
2001-10-12 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (finish_objc): Correct precondition for emitting
symtab declarations.
From-SVN: r46232
2001-10-12 16:01:16 +00:00
Stan Shebs
592696ddc8
rs6000.c: Remove uses of "register" specifier in declarations of arguments and local...
...
* config/rs6000/rs6000.c: Remove uses of "register" specifier in
declarations of arguments and local variables.
From-SVN: r46231
2001-10-12 13:46:50 +00:00
Christopher Faylor
4717f6c17c
cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC definition.
...
* config/i386/cygwin.h: Revert erroneous checkin of crtbegin and ENDFILE_SPEC
definition.
From-SVN: r46230
2001-10-12 13:15:34 +00:00
Kazu Hirata
71287280a2
gthr-dce.h: Fix comment formatting.
...
* gthr-dce.h: Fix comment formatting.
* gthr-posix.h: Likewise.
* gthr-single.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-vxworks.h: Likewise.
* gthr-win32.h: Likewise.
From-SVN: r46229
2001-10-12 13:10:33 +00:00
Jakub Jelinek
8554d9a464
final.c (output_asm_insn): Make sure assembly dialects are terminated, not nested.
...
* final.c (output_asm_insn): Make sure assembly dialects are
terminated, not nested. Output `|' and `}' characters if they
don't appear inside assembly dialect selection.
* config/i386/i386.md (rep_movdi_rex64, rep_movsi, rep_movsi_rex64,
rep_movqi, rep_movqi_rex64, rep_stosdi_rex64, rep_stossi,
rep_stossi_rex64, rep_stosqi, rep_stosqi_rex64, strsetsi_1,
strsetsi_rex_1): Add {} braces.
* testsuite/gcc.dg/20011009-1.c: New test.
From-SVN: r46227
2001-10-12 12:51:17 +02:00
Nathan Sidwell
e60505a59d
re PR c++/4476 (g++ does not parse the definition of friend function within a class properly)
...
cp:
PR g++/4476
* typeck2.c (abstract_virtuals_error): Ignore incomplete classes.
testsuite:
PR g++/4476
* g++.dg/other/friend1.C: New test.
From-SVN: r46226
2001-10-12 09:06:32 +00:00
GCC Administrator
a77776205c
Daily bump.
...
From-SVN: r46224
2001-10-12 07:41:11 +00:00
Zack Weinberg
7cb4ff28b1
toplev.c (compile_file): Ignore return value from yyparse.
...
* toplev.c (compile_file): Ignore return value from yyparse.
Always pop any nested binding levels after yyparse returns.
From-SVN: r46223
2001-10-12 03:34:39 +00:00
Ed Schonberg
b14127e691
exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in renaming of discriminant for mutable record type.
...
* exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in
renaming of discriminant for mutable record type.
From-SVN: r46222
2001-10-12 03:11:33 +02:00
Robert Dewar
e70ee92a44
* validsw.adb: Properly save -gnatVn status.
...
From-SVN: r46221
2001-10-12 02:59:14 +02:00
Bryce McKinlay
ac43be7309
jatool.c (extract_jar): Account for null termination when determining whether to expand "filename".
...
* jatool.c (extract_jar): Account for null termination when
determining whether to expand "filename".
From-SVN: r46220
2001-10-12 01:49:42 +01:00