- 16 Feb, 2005 13 commits
-
-
2005-02-08 Andrew Haley <aph@redhat.com> * javax/security/auth/Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext. * java/security/SecureClassLoader.java (protectionDomainCache): new field. (defineClass): Create a new protection domain and add it to our cache. * java/rmi/server/UnicastRemoteObject.java (exportObject): Call addStub() to keep track of the stub we've exported. (unexportObject): Call deleteStub(). * java/rmi/server/RemoteObject.java (stubs): New field. (addStub): New method. (deleteStub): New method. (toStub): Rewrite. * java/lang/VMCompiler.java (loadSharedLibrary): Pass true to findHelper (tryParents). * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader): Likewise. * java/net/URLClassLoader.java (SoURLLoader): Likewise. * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass ProtectionDomain. If tryParents is false, don't scan parent class loaders. * java/security/Permissions.java (PermissionsHash.implies): Iterate over the collection and invoke implies() on each element. From-SVN: r95111
Andrew Haley committed -
2005-02-16 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new fields. (PersistentByteMap): Set name Magic number changed to 0x67636a64 ("gcjd"). (init): Force the map to be prime. (emptyPersistentByteMap): File name was a string, now a File. (addBytes): Share srings between entries. (stringTableSize): New method. (capacity): Scale by load factor. (force): New method. (getFile): New method. (close): New method. (putAll): New method. (ByteWrapper): New class. * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field. (main): Guess the average string size as 32, not 64. Copy a database before modifying it, so that we can update a database in a running system. If a database isn't big enough, resize it. "-m": new option: merges databases. "-a": Create a new detabase if it doesn't exist. (usage): Correct, add new option. (addJar): Copy a database before modifying it. (resizeMap): New method. From-SVN: r95110
Andrew Haley committed -
PR tree-optimization/19967 * builtins.c (expand_builtin_strstr, expand_builtin_strpbrk, expand_builtin_strchr, expand_builtin_strrchr): Take a new argument TYPE. Adjust calls to fold_builtin_XXX. (expand_builtin, fold_builtin_1): Adjust calls to expand_builtin_XXX. (fold_builtin_strchr, fold_builtin_strpbrk, fold_builtin_strstr, fold_builtin_strrchr): Convert the folded result to a requested type TYPE. * testsuite/gcc.dg/pr19967.c: New. From-SVN: r95109
Kazu Hirata committed -
PR target/20007 * config/ip2k/ip2k.c (ip2k_reorg): Adjust calls to find_basic_blocks. * config/sh/sh.c (sh_output_mi_thunk): Likewise. From-SVN: r95108
Kazu Hirata committed -
PR middle-end/19857 * fold-const.c (fold): Don't optimize (T)(x & cst) to (T)x & (T)cst if (T)cst overflows. * convert.c (convert_to_integer) <case POINTER_TYPE>: Pass TYPE_UNSIGNED (type) as type_for_size's UNSIGNEDP argument. * gcc.dg/tree-ssa/20050215-1.c: New test. * gcc.c-torture/execute/20050215-1.c: New test. From-SVN: r95106
Jakub Jelinek committed -
2005-02-16 Paolo Carlini <pcarlini@suse.de> * testsuite/23_containers/set/modifiers/16728.cc: Remove redundant include <testsuite_performance.h>. From-SVN: r95105
Paolo Carlini committed -
re PR libstdc++/19829 (cris-elf testsuite failure: 21_strings/basic_string/find/char/3.cc execution test) 2005-02-16 Paolo Carlini <pcarlini@suse.de> PR libstdc++/19829 * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test at line #66 to not access str_lit01 beyond its end. * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise. From-SVN: r95103
Paolo Carlini committed -
* gcse.c (blocks_with_calls): New bitmap. (alloc_gcse_mem): Allocate it. (free_gcse_mem): Free it. (clear_modifY_mem_tables): Clear it. (record_last_mem_set_info): Set the proper bit in BLOCK_WITH_CALLS when we encounter CALL_INSNs. (compute_transp, case MEM): Handle blocks with calls separate from blocks without calls. Use bitmap iterators rather than FOR_EACH_BB. From-SVN: r95097
Jeff Law committed -
2005-02-15 Peter O'Gorman <peter@pogma.com> PR bootstrap/18810 * mklibgcc.in (vis_hide): Use a temporary object file, not -o /dev/null. From-SVN: r95096
Peter O'Gorman committed -
2005-02-15 David Daney <ddaney@avtrex.com> Bryce McKinlay <mckinlay@redhat.com> * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order. * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to ensure that GC threads inherit the new signal mask. (block_sigchld): Call JvFail rather than throwing exception if pthread_sigmask() fails. Co-Authored-By: Bryce McKinlay <mckinlay@redhat.com> From-SVN: r95095
David Daney committed -
2005-02-15 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/19823 * configure.host: Set gc_use_mmap on *-linux*. * configure.ac: Define USE_MMAP if gc_use_mmap is set. * include/private/gc_priv.h: Include gc_config.h. * configure, include/gc_config.h.in: Rebuilt. From-SVN: r95094
Bryce McKinlay committed -
2005-02-15 Andy Hutchinson <HutchinsonAndy@netscape.net> PR target/19924 * config/avr/avr.h (MODES_TIEABLE_P): Define to 1 to allow subreg access optimization. From-SVN: r95092
Andy Hutchinson committed -
From-SVN: r95086
GCC Administrator committed
-
- 15 Feb, 2005 25 commits
-
-
re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype<char>::do_narrow()) 2005-02-15 Paolo Carlini <pcarlini@suse.de> Jon Grimm <jgrimm2@us.ibm.com> PR libstdc++/19955 * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()): Fix the logic setting _M_narrow_ok: first check whether the transformation is trivial with a dflt == 0, then deal with the special case of zero. * testsuite/22_locale/ctype/narrow/char/19955.cc: New. * include/bits/locale_facets.h (ctype<char>::_M_widen_init()): Tweak consistently to use memcmp; minor formatting fixes. Co-Authored-By: Jon Grimm <jgrimm2@us.ibm.com> From-SVN: r95082
Paolo Carlini committed -
From-SVN: r95081
David Edelsohn committed -
2005-02-15 Eric Christopher <echristo@redhat.com> PR preprocessor/19077 * macro.c (cpp_macro_definition): Move handling of whitespace to PREV_WHITE conditional. Remove overloading of len variable. 2005-02-15 Eric Christopher <echristo@redhat.com> * gcc.dg/cpp/20050215-1.c: New file. From-SVN: r95080
Eric Christopher committed -
PR target/19019 * config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd. (_xlqsub): Rename to __gcc_qsub. (_xlqmul): Rename to __gcc_qmul. (_xlqdiv): Rename to __gcc_qdiv. Provide versioned symbol aliases with old names. * config/rs6000/libgcc-ppc64.ver: Rename symbols. * config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols. * config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New. * config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New. * config/rs6000/t-newas (LIB2FUNCS_EXTRA): New. From-SVN: r95079
David Edelsohn committed -
2005-02-15 Mark Wielaard <mark@klomp.org> * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that file path elements are separated by spaces. 2005-02-15 Mark Wielaard <mark@klomp.org> * java/util/jar/Attributes.java (Attributes.Name): Add documentation to describe attributes without a constant field value in this class. 2005-02-15 Michael Koch <konqueror@gmx.de> * java/util/jar/Attributes.java (CREATED_BY, JAVA_BEAN, MAGIC): Removed. From-SVN: r95078
Mark Wielaard committed -
* java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use space for parsing CLASS_PATH attribute. From-SVN: r95077
Mark Wielaard committed -
URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look aside for "GCJLIBS" in directory where jarfiles are loaded. * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look aside for "GCJLIBS" in directory where jarfiles are loaded. (JarURLLoader.getClass): Removed method. (JarURLLoader.toString): Removed method. (FileResource.toString): Removed method. From-SVN: r95076
Mark Wielaard committed -
* javax/net/ssl/SSLContext.java (getInstance): Add exception message and/or cause before throwing. From-SVN: r95075
Mark Wielaard committed -
2005-02-15 James A. Morrison <phython@gcc.gnu.org> * fold-const.c (fold): Fold -(~A) to A + 1. Fold ~(-A) to A - 1. Fold ~(A - 1) and ~(A + -1) to -A. From-SVN: r95074
James A. Morrison committed -
2005-02-15 James A. Morrison <phython@gcc.gnu.org> PR pch/14940 PR target/19300 * config/host-linux.c (linux_gt_pch_use_address): Copy from config/pa/pa-host.c:pa_gt_pch_use_address. From-SVN: r95073
James A. Morrison committed -
tree-vn.c (get_value_handle): Make sure that given an is_gimple_min_invariant expression, we always return it. 2005-02-15 Daniel Berlin <dberlin@dberlin.org> * tree-vn.c (get_value_handle): Make sure that given an is_gimple_min_invariant expression, we always return it. From-SVN: r95072
Daniel Berlin committed -
gcc/cp/ChangeLog: PR c++/17788 * class.c (add_implicitly_declared_members, check_field_decl) (check_field_decls, check_bases): Remove arguments, tests and assignments of cant_have_default_ctor-related variables. gcc/testsuite/ChangeLog: PR c++/17788 * g++.dg/init/ctor4.C: New. * g++.old-deja/g++.bugs/900205_04.C: Adjust. From-SVN: r95071
Alexandre Oliva committed -
* decl2.c (mark_used): Set the source location of the used decl to the current input location here... * method.c (synthesize_method): ... not here. Set input_location from the decl instead. From-SVN: r95070
Alexandre Oliva committed -
From-SVN: r95069
Kazu Hirata committed -
* gcc.dg/overflow-warn-1.c, gcc.dg/overflow-warn-2.c, gcc.dg/overflow-warn-3.c, gcc.dg/overflow-warn-4.c: New tests. From-SVN: r95068
Joseph Myers committed -
* gcse.c (canon_modify_mem_set_list_set): Kill unnecessary bitmap. (alloc_gcse_mem, free_gcse_mem): Corresponding changes. (canon_list_insert, record_last_mem_set_info): Similarly. (clear_modify_mem_tables): Similarly. From-SVN: r95067
Jeff Law committed -
* Makefile.am (libgcj_la_SOURCES): Move all sources ... (libgcj0_convenience_la_SOURCES): ... here. (libgcj_la_LIBADD): Add libgcj0_convenience.la. (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD. * Makefile.in: Regenerate. From-SVN: r95066
Richard Henderson committed -
* ada/acats/tests/cxb/cxb30131.c: Include <stdlib.h> to properly declare malloc. From-SVN: r95065
Andreas Schwab committed -
* bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c, tree-dump.h, tree-ssa-loop-manip.c, value-prof.c, config/mips/mips.md, config/rs6000/aix.h, config/rs6000/beos.h, config/rs6000/sysv4.h: Update copyright. From-SVN: r95064
Kazu Hirata committed -
2005-02-15 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.misc-tests/linkage.exp (s390): Check for 64bit added. From-SVN: r95063
Andreas Krebbel committed -
* bb-reorder.c (find_traces_1_round): Force fallthru edge from a call to be best_edge. From-SVN: r95062
Richard Henderson committed -
* flow.c (recompute_reg_usage): Remove all arguments. * passes.c (rest_of_compilation): Adjust the call to recompute_reg_usage. * rtl.h: Adjust the prototype for recompute_reg_usage. From-SVN: r95058
Kazu Hirata committed -
* basic-block.h: Adjust the prototype for find_basic_blocks. * cfgbuild.c (find_basic_blocks): Remove unused arguments. * passes.c (rest_of_handle_loop_optimize): Adjust the call to find_basic_blocks. From-SVN: r95057
Kazu Hirata committed -
From-SVN: r95055
GCC Administrator committed -
PR libstdc++/19946 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13 demangler change. * testsuite/demangle/abi_examples/02.cc (main): Likewise. From-SVN: r95050
Jakub Jelinek committed
-
- 14 Feb, 2005 2 commits
-
-
2005-02-14 Daniel Berlin <dberlin@dberlin.org> * tree-dump.c (dump_files): Update to reflect new member of dump_file_info. (dump_register): Add new argument. Set glob name. (dump_switch_p_1): Check against glob name if doglob was passed. (dump_switch_p): Check against regular first, then glob if we didn't have any hits on the dump name. * tree-optimize.c (register_one_dump_file): Pass in glob name as well. * tree-pass.h (struct dump_file_info): Add glob member. From-SVN: r95048
Daniel Berlin committed -
2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com> * jawt.c: New file. * include/jawt.h: Likewise. * include/jawt_md.h: Likewise. * include/Makefile.am (tool_include__HEADERS): Add jawt.h and jawt_md.h files. * include/Makefile.in: Regenerate. * jni/classpath/classpath_jawt.h: Likewise. * jni/gtk-peer/gtk_jawt.c: Likewise. * Makefile.am: Build libjawt.so. * Makefile.in: Regenerate. From-SVN: r95047
Thomas Fitzsimmons committed
-