- 04 Jan, 2003 2 commits
-
-
* java/io/ObjectStreamClass.java (lookup): Split method and call lookupForClassObject(). (lookupForClassObject): New method. (isProxyClass): New field. (setClass): Set isProxyClass, add object to classLookupTable, set superClass and calculateOffsets. (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable and not a proxy class. (setFields): Set accessible true for serialPersistentFields. (getClassUID): Same for suid. And check if suid is of type long. (hasClassInitializer): Don't throw NoSuchMethodError. From-SVN: r60867
Mark Wielaard committed -
* java/io/FileInputStream.java (finalize): Don't explicitly finalize FileDescriptor. From-SVN: r60863
Mark Wielaard committed
-
- 03 Jan, 2003 30 commits
-
-
From-SVN: r60862
Jeff Sturm committed -
* cvt.c, decl.c, decl2.c: This is the C++ front end, not the C front end. From-SVN: r60861
Nathanael Nerode committed -
Fix for PR java/8712: * expr.c (build_instanceof): Build an NE_EXPR, not a COND_EXPR, when simply checking against `null'. From-SVN: r60859
Tom Tromey committed -
2003-01-03 Dale Johannesen <dalej@apple.com> * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1, machopic_picsymbol_stub1. (EXTRA_SECTION_FUNCTIONS): Ditto. * rs6000/rs6000.c: Update copyright. (machopic_output_stub): Use them. Remove an insn from stub code. From-SVN: r60858
Dale Johannesen committed -
* include/ffi.h.in: Add closure defines for SPARC, SPARC64. * src/ffitest.c (main): Use static storage for closure. * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New. * src/sparc/v8.S (ffi_closure_v8): New. * src/sparc/v9.S (ffi_closure_v9): New. From-SVN: r60857
Jeff Sturm committed -
From-SVN: r60856
Tom Tromey committed -
2003-01-03 Dhek Bhun Kho <bhun@chello.nl> * gnu/java/rmi/server/UnicastServerRef.java (unexportObject): Don't throw RemoteException. * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't throw RemoteException. From-SVN: r60854
Dhek Bhun Kho committed -
2003-01-03 Bud Davis <bdavis11@directvinternet.com> * stc.c (ffestc_R810): Allow any kind integer in case statements. * ste.c (ffeste_R810): Give error message when case selector exceeds its valid values. From-SVN: r60852
Toon Moene committed -
* fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better. * integrate.c (copy_decl_for_inlining): Don't clear the rtl for static/external decls. cp/ * call.c (build_conditional_expr): Stabilize lvalues properly. * cvt.c (ocp_convert): Don't build NOP_EXPRs of class type. * tree.c (lvalue_p_1): Don't allow sloppy NOP_EXPRs as lvalues. Don't allow CALL_EXPR or VA_ARG_EXPR, either. * call.c (convert_like_real): Call decl_constant_value for an IDENTITY_CONV even if there are no more conversions. * cvt.c (build_up_reference): Don't push unnamed temps. * decl2.c (do_namespace_alias): Namespace aliases are DECL_EXTERNAL. * dump.c (cp_dump_tree): Don't try to dump class-specific fields for a backend struct. * except.c (wrap_cleanups_r, build_throw): Make MUST_NOT_THROW_EXPRs void. * init.c (expand_default_init): Update to handle MUST_NOT_THROW_EXPR. * init.c (build_vec_delete_1): Pre-evaluate the base address. * init.c (get_temp_regvar): Simplify logic. * tree.c (cp_copy_res_decl_for_inlining): Only do debug tweaks if our replacement is a decl. From-SVN: r60851
Jason Merrill committed -
* cp-tree.h (struct lang_type_class): add field for key method (cp_global_trees): rename dynamic_classes to keyed_classes (key_method): add definition * class.c (finish_struct_1): compute class's key method, and add the class to keyed_classes list if there is no key method. * decl.c (finish_function): add class to keyed_classes list if we see a definition of the class's key method. * pt.c (instantiate_class_template): add template specialization of a dynamic class to keyed_classes list. * decl2.c (key_method): remove (finish_file): iterate only through keyed_classes list when deciding whether to emit vtables, remove class from its list after we do the emission. From-SVN: r60850
Matt Austern committed -
* c-common.c (finish_fname_decls): Put the DECL_STMTs inside the outermost scope. * c-decl.c (c_make_fname_decl): Push the decls there, too. cp/ * decl.c (cp_make_fname_decl): Push the decls inside the outermost scope. From-SVN: r60848
Jason Merrill committed -
2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de> * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse, proxyHost): New static fields. (<clinit>): Initialize new fields. (connect): Use proxy if necessary. (usingProxy): Implement. From-SVN: r60846
Joerg Brunsmann committed -
* gcj.texi (Standard Properties): Document http.proxyHost and http.proxyPort. From-SVN: r60844
Tom Tromey committed -
From-SVN: r60840
Tom Tromey committed -
cp: PR c++/45, c++/3784 * tree.c (cp_tree_equal, TEMPLATE_PARM_INDEX): The types must be the same too. testsuite: * g++.dg/template/ntp2.C: New test. From-SVN: r60839
Nathan Sidwell committed -
2003-01-03 Eric Blake <ebb9@email.byu.edu> * java/util/TreeMap.java (fabricateTree): Fix off-by-one error. (TreeIterator.remove): Prefer IllegalStateException over ConcurrentModificationException, to match Sun. From-SVN: r60837
Eric Blake committed -
* config/h8300/h8300-protos.h: Add a prototype for h8300_current_function_interrupt_function_p. * config/h8300/h8300.c (interrupt_handler): Remove. (os_task): Likewise. (monitor): Likewise. (pragma_interrupt): New. (WORD_REG_USED): Use h8300_current_function_interrupt_function_p. (dosize): Likewise. (h8300_output_function_prologue): Likewise. Do not set interrupt_handler, os_task, monitor. (h8300_output_function_prologue): Use h8300_current_function_interrupt_function_p. Do not set interrupt_handler, os_task, monitor. (h8300_current_function_interrupt_function_p): New. (h8300_pr_interrupt): Set pragma_interrupt. (h8300_insert_attributes): Reset pragma_interrupt. From-SVN: r60836
Kazu Hirata committed -
From-SVN: r60835
Jason Merrill committed -
2002-12-22 Anthony Green <green@redhat.com> * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. From-SVN: r60834
Anthony Green committed -
From-SVN: r60833
Nathanael Nerode committed -
From-SVN: r60832
Nathanael Nerode committed -
From-SVN: r60831
Nathanael Nerode committed -
From-SVN: r60828
Nathanael Nerode committed -
* doc/install.texi (Configuration): Fix markup for reference to gcc/config.gcc. From-SVN: r60826
Gerald Pfeifer committed -
From-SVN: r60825
GCC Administrator committed -
gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends on gcc/cp/cfns.gperf and gcc/java/keyword.h depends... * gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends on gcc/cp/cfns.gperf and gcc/java/keyword.h depends on gcc/java/keyword.gperf From-SVN: r60817
Kaveh R. Ghazi committed -
From-SVN: r60814
Nathanael Nerode committed -
* parser.c (struct cp_parser): Add access_checks_lists field (cp_parser_simple_declaration): Use. (cp_parser_init_declarator): Likewise. From-SVN: r60813
Graham Stott committed -
* g++.old-deja/g++.bugs/900404_04.C: Remove XFAIL. * g++.old-deja/g++.jason/access8.C: Likewise. * g++.old-deja/g++.other/decl5.C: Likewise. From-SVN: r60811
Kaveh R. Ghazi committed -
* java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be public. (HTTP_USE_PROXY): Add field. (getResponseVals): Only set responseCode when not yet explicitly set by subclass. From-SVN: r60809
Mark Wielaard committed
-
- 02 Jan, 2003 8 commits
-
-
* config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add): *__mem is also an output. * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise. From-SVN: r60807
Jason Merrill committed -
From-SVN: r60805
Neil Booth committed -
* java/util/zip/ZipFile.java (entries): Now HashMap. (readLeShort(DataInput, byte[])): Read from given byte array. (readLeInt(DataInput, byte[]): Likewise. (readLeShort(byte[] b, int off)): New method. (readLeInt(byte[] b, int off)): Likewise. (readEntries): Use byte arrays to read info in bigger chunks. (getEntries): Return HashMap. (getEntry): Use HashMap. (locBuf): New private field. (checkLocalHeader): Use locBuf to read info in one chunk. (getInputStream): Use entries HashMap, wrap PartialInputStream in BufferedInputStream. (ZipEntryEnumeration): Use HashMap and Interator. Co-Authored-By: Mark Wielaard <mark@klomp.org> From-SVN: r60803
Artur Biesiadowski committed -
* parser.c (cp_parser_declaration): Accept the __extension__ keyword before the declaration. From-SVN: r60802
Mark Mitchell committed -
PR c++/2843 * parser.c (cp_parser_parameter_declaration): Allow attributes to appear after the declarator. PR c++/2843 * g++.dg/ext/attrib7.C: New test. From-SVN: r60801
Mark Mitchell committed -
* call.c (build_new_method_call): Fix typo in message format string. From-SVN: r60800
Mark Mitchell committed -
* parser.c (cp_lexer_next_token_is): Declare it inline. (cp_lexer_set_source_position_from_token): Likewise. (cp_lexer_debugging_p): Likewise. (cp_parser_parsing_tentatively): Likewise. (cp_parser_nested_name_specifier_opt): Reduce the number of calls to the cp_lexer_peek_token. From-SVN: r60797
Mark Mitchell committed -
From-SVN: r60795
Neil Booth committed
-