- 01 Apr, 2001 5 commits
-
-
* DeflaterOutputStream.java (deflate): Loop while def.needsInput. (finish): def.deflate needs to be called in a loop. (inbuf, inbufLength): New private fields. (write(int)): Use inbuf. (write(byte[],int,int): Check if pending output in inbuf. * ZipOutputStream.java: Don't use Deflater if stored. Use a Checksum object directly, not via a CheckedOutputStream. (uncompressed_size): New field, (closeEntry): Only write data_directory if needed. (write): If STORED, write directly. Always update crc, and uncompressed_size. (write_entry): Fix lots of protocol erors. From-SVN: r40988
Per Bothner committed -
* tests_flags.in: Use test a = b, not test a == b which is not portable. From-SVN: r40986
Zack Weinberg committed -
* java/lang/natSystem.cc (init_properties): Get "file.separator", "path.separator", and "java.io.tmpdir" from the File class, instead of setting them explicitly. * java/io/File.java: Do not canonicalize paths for security manager checks. Call init_native() from static initializer. Do not pass path argument to native methods. New native method declarations. Some security manager checks moved to checkWrite(). (equals): Check file system case sensitivity and act appropriatly. (hashCode): Likewise. (isHidden): New method implemented. (performList): Changed prototype. Now takes a class argument specifying the class of the returned array: Strings or File objects. Also added FileFilter argument. (listFiles): New variants with "File" return type implemented. (createTempFile): Use createNewFile(). Use maxPathLen. (setReadOnly): New method implemented. (listRoots): Likewise. (compareTo): Likewise. (setLastModified): Likewise. (checkWrite): New method. (setPath): Removed. * java/io/natFile.cc: Various functions no longer take canonical path argument. (stat): Handle ISHIDDEN query. (isAbsolute): Remove WIN32 cruft. (performList): New arguments. Handle returning either File[] or String[] arrays. Check with FileFilter or FilenameFilter arguments as appropriate. Use an ArrayList, not a Vector, for the temporary list. (performSetReadOnly): New method implemented. (performListRoots): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (init_native): New initialization function. * java/io/natFileWin32.cc: Various functions no longer take canonical path argument. (stat): Add FIXME about ISHIDDEN query. (performList): New arguments. Handle returning either File[] or String[] arrays. Check with FileFilter or FilenameFilter arguments as appropriate. Use an ArrayList, not a Vector, for the temporary list. (performSetReadOnly): New. Stubbed. (performListRoots): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (init_native) New initialization function. * configure.in: Check for utime() and chmod(). * configure: Rebuilt. * include/config.h.in: Rebuilt. Resolves PR libgcj/1759. From-SVN: r40985
Bryce McKinlay committed -
* i386.md: remove obsoleted comments. (adddi_?): Rename to adddi_?_rex64; disable for 32bit. (x86_movsicc_0_m1_rex64): Rename to x86_movdicc_0_m1_rex64; fix output template. From-SVN: r40982
Jan Hubicka committed -
From-SVN: r40980
GCC Administrator committed
-
- 31 Mar, 2001 4 commits
-
-
2001-03-31 Benjamin Kosnik <bkoz@redhat.com> * configure.target: Remove duplicate aix entry. 2001-03-30 Benjamin Kosnik <bkoz@redhat.com> * include/ext/stl_bvector.h: Move to... * include/bits/stl_vector.h: ...here. * include/ext/bvector: Move to... * include/backward/bvector.h: ...here. * include/bits/std_vector.h: Change stl_bvector include. * include/bits/std_queue.h: Remove bvector include. * include/ext/tree: Insert using rb_tree, move to... * include/backward/tree.h: ...here. * include/backward/hash_map.h: Include ext/hash_map. * include/backward/hash_set.h: Include ext/hash_set. * include/backward/queue.h: New file. * include/backward/stack.h: Edit. * include/backward/algo.h: Same. * include/backward/algobase.h: Same. * include/backward/alloc.h: Same. * include/backward/function.h: Same. * include/backward/iomanip.h: Same. * include/backward/istream.h: Same. * include/backward/iterator.h: Same. * include/backward/list.h: Same. * include/backward/map.h: Same. * include/backward/multimap.h: Same. * include/backward/multiset.h: Same. * include/backward/ostream.h: Same. * include/backward/pair.h: Same * include/backward/rope.h: Same. * include/backward/set.h: Same. * include/backward/stream.h: Same. * include/backward/strstream.h: Same. * include/backward/tempbuf.h: Same. * src/Makefile.am (ext_headers): Edit. * src/Makefile.in: Regenerate. * testsuite/ext/headers.cc (main): Fix. * mkcheck.in: Fix. From-SVN: r40979
Benjamin Kosnik committed -
From-SVN: r40978
Kaveh R. Ghazi committed -
From-SVN: r40976
Marek Michalkiewicz committed -
From-SVN: r40974
GCC Administrator committed
-
- 30 Mar, 2001 6 commits
-
-
2001-03-30 Phil Edwards <pme@sources.redhat.com> * tests_flags.in (LIBS): Pass correct path for installed testing. From-SVN: r40973
Phil Edwards committed -
2001-03-28 Benjamin Kosnik <bkoz@redhat.com> * mkcheck.in (LIBTOOL): Don't construct -B argument here... * tests_flags.in (CXX): Construct here. (static_fail): Don't remove compile.out. Format with spaces. (INCLUDES): Deal with xcompiling. * configure.in (xcompiling): Substitute. * testsuite/Makefile.am: Snake libjava configury. * testsuite/Makefile.in: Regenerate. * testsuite/23_containers/map_operators.cc: Tweaks. * testsuite/23_containers/set_operators.cc: Tweaks. From-SVN: r40972
Benjamin Kosnik committed -
From-SVN: r40971
Bernd Schmidt committed -
i386.c (ix86_split_long_move): Use change address to compensate stack pointer change in push instruction. * i386.c (ix86_split_long_move): Use change address to compensate stack pointer change in push instruction. From-SVN: r40968
Jan Hubicka committed -
From-SVN: r40961
GCC Administrator committed -
2001-03-28 Benjamin Kosnik <bkoz@redhat.com> * mkcheck.in (LIBTOOL): Don't construct -B argument here... * tests_flags.in (CXX): Construct here. (static_fail): Don't remove compile.out. Format with spaces. (INCLUDES): Deal with xcompiling. * configure.in (xcompiling): Substitute. * testsuite/Makefile.am: Snake libjava configury. * testsuite/Makefile.in: Regenerate. * testsuite/23_containers/map_operators.cc: Tweaks. * testsuite/23_containers/set_operators.cc: Tweaks. 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com> Enable dejagnu testing framework. * configure.in: Generate testsuite/Makefile. * configure: Regenerate. * Makefile.am (check-install): Change rule from this... (check-script-install): ...to this. (check): Change rule from this... (check-script):...to this. * Makefile.in: Regenerate. From-SVN: r40960
Benjamin Kosnik committed
-
- 29 Mar, 2001 5 commits
-
-
* i386.md (sse_movdfcc_eq): Fix constraint (sse_mov?fcc splitter): Use operands_match_p instead of rtx_equal_p; fix the output template. From-SVN: r40959
Jan Hubicka committed -
* i386.c (ix86_expand_setcc): Support 64bit. (ix86_expand_int_movcc): Likewise. * i386.md (movdicc_rex64, x86_movsicc_0_m1_rex64, movdicc_c_rex64): New patterns. * i386.md (allocate_stack_worker): Turn to expander. (allocate_stack_worker_1, allocate_stack_worker_rex64): New insns. * i386.c (print_reg): Do not print x86_64 style regs on IA-32 From-SVN: r40958
Jan Hubicka committed -
From-SVN: r40957
Richard Henderson committed -
2001-03-28 Matthew Hiller <hiller@redhat.com> * config/mn10300/mn10300.md (cmpsi): Fix first alternative's output template. * MAINTAINERS: Added self. From-SVN: r40956
Matthew Hiller committed -
* configure.in: Use different syntax for subdirectory creation. * configure: Rebuilt. From-SVN: r40955
Bryce McKinlay committed
-
- 28 Mar, 2001 20 commits
-
-
* Makefile.in (cs-tconfig.h): Depend on CONFIG_H, not GCONFIG_H. Use ALL_CFLAGS not HOST_CFLAGS for sjlj detection. From-SVN: r40952
Richard Henderson committed -
* config/ia64/ia64.md (movtf): Change DImode to TFmode in calls to operand_subword. From-SVN: r40951
Jim Wilson committed -
* libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after --tag CXX. (LIBTOOL): Let automake take care of its definition. * libsupc++/Makefile.in: Rebuilt. From-SVN: r40947
Alexandre Oliva committed -
From-SVN: r40946
Loren J. Rittle committed -
From-SVN: r40943
Loren J. Rittle committed -
* expr.c (pop_type_0): Call `concat' rather than building the string manually. (pop_type): Add format specifier in call to `error'. * parse.y (patch_method_invocation): Avoid casting away const-ness. From-SVN: r40940
Kaveh R. Ghazi committed -
* toplev.h (fatal_error): Add ATTRIBUTE_NORETURN. * tradcif.y (yyerror): Likewise. Add format specifier in call to `error'. * tradcpp.c (macroexpand): Likewise for call to `error_with_line'. From-SVN: r40939
Kaveh R. Ghazi committed -
2001-03-21 Alexandre Petit-Bianco <apbianco@redhat.com> * parse.y (qualify_ambiguous_name): Broaden `length' recognition. Help MODIFY_EXPR be resolved as expression names. Fixes PR java/2066. Fixes PR java/2400. (http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01935.html) From-SVN: r40938
Alexandre Petit-Bianco committed -
2001-03-28 Jeffrey Oldham <oldham@codesourcery.com> * jvgenmain.c (do_mangle_classname): End string constant with '\0'. From-SVN: r40936
Jeffrey Oldham committed -
From-SVN: r40935
DJ Delorie committed -
2001-03-28 Philip Blundell <philb@gnu.org> * gcc.c-torture/compile/20010328-1.c: New test. From-SVN: r40934
Philip Blundell committed -
* config/avr/libgcc.S (__mulhi3): Correct tests to exit the loop when multiplier or multiplicand is zero. From-SVN: r40933
Marek Michalkiewicz committed -
From-SVN: r40932
Bernd Schmidt committed -
From-SVN: r40931
Bernd Schmidt committed -
* config/rs6000/rs6000.h (EPILOGUE_USES): Use TARGET_AIX, not TARGET_TOC for special toc restore handling. * config/rs6000/rs6000.md (eh_return): Likewise. From-SVN: r40930
Richard Henderson committed -
From-SVN: r40929
Richard Henderson committed -
* config/sparc/sparc.c (eligible_for_epilogue_delay): False if current_function_calls_eh_return. (output_function_epilogue): Handle eh_return. * config/sparc/sparc.h (DOESNT_NEED_UNWINDER): Remove. (EH_RETURN_DATA_REGNO): New. (EH_RETURN_STACKADJ_RTX): New. (EH_RETURN_HANDLER_RTX): New. * config/sparc/sparc.md (call/short branch peepholes): Check can_throw_internal instead of in_same_eh_region. From-SVN: r40928
Richard Henderson committed -
* config/rs6000/rs6000.c (rs6000_stack_info): Allocate space for eh_return data registers. (rs6000_emit_prologue): Save eh_return data registers. (rs6000_emit_epilogue): Force inline restores if eh_return. Restore eh_return data registers. Mind EH_RETURN_STACKADJ_RTX. * config/rs6000/rs6000.h (rs6000_stack_t): Add ehrd_offset. (EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX): New. (EPILOGUE_USES): True for TOC_REGISTER if calls_eh_return and the target uses one. * config/rs6000/rs6000.md (eh_epilogue, eh_reg_restore): Remove. (return_eh_si, return_eh_di): Remove. (eh_return): New, from corpse of eh_epilogue. (eh_set_lr_si, eh_set_lr_di): New. From-SVN: r40927
Richard Henderson committed -
* config/i386/i386.c (general_no_elim_operand): Disallow virtual regs. (ix86_save_reg): If maybe_eh_return, true for EH_RETURN_DATA_REGNOs. True for pic register if current_function_calls_eh_return. (ix86_expand_epilogue): Change "emit_return" argument into "style". Handle eh_return requirements. * config/i386/i386.h (EH_RETURN_DATA_REGNO): New. (EH_RETURN_STACKADJ_RTX): New. * config/i386/i386.md (exception_receiver): Remove. (eh_return, eh_return_1): New. * config/i386/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. From-SVN: r40926
Richard Henderson committed -
* config/alpha/alpha.c (alpha_sa_mask): Add EH_RETURN_DATA_REGNOs. (alpha_mark_machine_status): No eh_epilogue_sp_ofs ... (alpha_expand_epilogue): ... use EH_RETURN_STACKADJ_RTX instead. * config/alpha/alpha.h (machine_function): Remove eh_epilogue_sp_ofs. (EH_RETURN_DATA_REGNO): New. (EH_RETURN_STACKADJ_RTX, EH_RETURN_HANDLER_RTX): New. * config/alpha/alpha.md (eh_epilogue): Remove. (exception_receiver): Use $26 for ldgp input. * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New. From-SVN: r40925
Richard Henderson committed
-