1. 16 Feb, 2005 13 commits
    • Subject.java (doAsPrivileged): If acc is null, create a new AccessControlContext. · 019dac32
      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
    • PersistentByteMap.java (name, values, fc): new fields. · d2638db6
      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
    • re PR tree-optimization/19967 (built-in folding causes excess diagnostics) · 5fcfe0b2
      	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
    • re PR target/20007 (error: too many arguments to function `find_basic_blocks) · de332a85
      	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
    • re PR middle-end/19857 (alignment check of SSE constant fails in simple test program) · 8940b3b2
      	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
    • 16728.cc: Remove redundant include <testsuite_performance.h>. · 838731b6
      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:… · b949d64b
      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. · aa47fcfa
      
      	* 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
    • re PR bootstrap/18810 (Darwin's as unlinks /dev/null) · 489ce9e7
      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
    • prims.cc (_Jv_CreateJavaVM): Add comment about initialization order. · 7e9534bc
      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
    • re PR libgcj/19823 (java fails with non-executable memory) · 5909b034
      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
    • re PR target/19924 ([AVR] MODES_TIEABLE incorrect) · 1dd8ce20
      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
    • Daily bump. · 66da8a21
      From-SVN: r95086
      GCC Administrator committed
  2. 15 Feb, 2005 25 commits
  3. 14 Feb, 2005 2 commits
    • tree-dump.c (dump_files): Update to reflect new member of dump_file_info. · f46fe224
      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
    • jawt.c: New file. · c36eda54
      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