1. 02 Oct, 2003 21 commits
    • ByteBufferHelper.java: Rewrote all methods by suggestions from Eric Blake. · a08a2b75
      2003-10-02  Michael Koch  <konqueror@gmx.de>
      
      	* java/nio/ByteBufferHelper.java:
      	Rewrote all methods by suggestions from Eric Blake.
      
      From-SVN: r72030
      Michael Koch committed
    • Waldek Hebisch <hebisch@math.uni.wroc.pl> PR/12072 · eae216e8
      	Waldek Hebisch <hebisch@math.uni.wroc.pl>
      	PR/12072
      	* varasm.c (compare_constant): Fix thinko.
      
      From-SVN: r72028
      Josef Zlomek committed
    • demangle.h (demangle<Allocator>::symbol(char const*)): Decode symbols that start… · 4a035cf7
      demangle.h (demangle<Allocator>::symbol(char const*)): Decode symbols that start with _GLOBAL_[ID]_ differently...
      
      * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
      Decode symbols that start with _GLOBAL_[ID]_ differently: the
      trailing part ends with a terminating zero and is not necessarily an
      encoding.
      * src/demangle.cc (): Same.
      * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
      
      From-SVN: r72027
      Carlo Wood committed
    • frv.c (frv_issue_rate): New function. · 28a60850
      	* config/frv/frv.c (frv_issue_rate): New function.
      	(frv_pack_insns): Use it.
      	(TARGET_SCHED_ISSUE_RATE): Define.
      
      From-SVN: r72026
      Richard Sandiford committed
    • Fixed a little mistake that got into last commit. · be4cee68
      From-SVN: r72025
      Michael Koch committed
    • 12438.cc: Use __gnu_test::try_named_locale(""). · 86b4ab73
      2003-10-02  Paolo Carlini  <pcarlini@unitus.it>
      
      	* testsuite/22_locale/locale/cons/12438.cc: Use
      	__gnu_test::try_named_locale("").
      
      From-SVN: r72024
      Paolo Carlini committed
    • 2003-10-02 Michael Koch <konqueror@gmx.de> · cb9b7827
      	* java/net/URL.java
      	(DEFAULT_SEARCH_PATH): New static variable.
      	(ph_cache): Made it a HashMap.
      	(getURLStreamHandler): Rename propVal to ph_search_path and use
      	DEFAULT_SEARCH_PATH.
      
      From-SVN: r72023
      Michael Koch committed
    • * g++.dg/opt/cond1.C: New test. · 7485f79f
      From-SVN: r72022
      Jakub Jelinek committed
    • mcore.c: Convert to ISO C90 function declarations and definitions. · 08903e08
      * config/mcore/mcore.c: Convert to ISO C90 function declarations and definitions.
      * config/mcore/mcore.h: Likewise.
      * config/mcore/mcore-protos.h: Likewise.
      
      From-SVN: r72020
      Steven Bosscher committed
    • 2003-10-02 Michael Koch <konqueror@gmx.de> · 16aae3d2
      	* javax/swing/table/AbstractTableModel.java
      	(findColumnName): Prevent from NullPointerException if argument
      	columnName is null.
      
      2003-10-02  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/table/AbstractTableModel.java:
      	This patch is based on a patch done by Arnaud Vandyck
      	<arnaud.vandyck@ulg.ac.be>.
      	(getColumnName): Fixed method documentation.
      	(findColumn): Likewise.
      	(getColumnClass): Likewise.
      	(isCellEditable): Likewise.
      	(setValueAt): Likewise.
      	(addTableModelListener): Likewise.
      	(removeTableModelListener): Likewise.
      	(getTableModelListeners): New method.
      
      2003-10-02  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/table/AbstractTableModel.java:
      	Reformated.
      
      From-SVN: r72019
      Michael Koch committed
    • frv.c (frv_use_dfa_pipeline_interface): New function. · ffb344c1
      	* config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
      	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
      
      From-SVN: r72018
      Richard Sandiford committed
    • cpplib.c (_cpp_pop_buffer): Do generate a _cpp_do_file_change callback even when… · 40de9f76
      cpplib.c (_cpp_pop_buffer): Do generate a _cpp_do_file_change callback even when popping the main file.
      
      
      	* cpplib.c (_cpp_pop_buffer):  Do generate a _cpp_do_file_change
      	callback even when popping the main file.
      
      	* cpplib.c (cpp_push_buffer):  Since we no longer set return_at_eof,
      	remove the unused return_at_eof parameter.
      	* cppfiles.c, cpplib.c, cppmacro.c, cpppch.c, fix-header.c:
      	Update callers of cpp_push_buffer.
      
      From-SVN: r72016
      Per Bothner committed
    • c-opts.c (c_common_post_options): Don't call cpp_find_main_file yet. · 31703a61
      
      	* c-opts.c (c_common_post_options):  Don't call cpp_find_main_file yet.
      	(c_common_parse_file):  No longer need to call cpp_read_main_file
      	when file_index > 0 (as in multi-file or server compiation).
      	(finish_options):  Change to <built-in> is an LC_ENTER, not LC_RENAME
      	as this now happens before cpp_push_main_file.
      	(push_command_line_include):  When done with options, pass LC_LEAVE
      	instead of LC_RENAME to cpp_change_file and finally cpp_push_main_file.
      	(fe_file_change):  Handle NULL new_map, and simplify.
      
      From-SVN: r72015
      Per Bothner committed
    • cppinit.c (cpp_read_main_file): Split into two functions: Distribute… · 4dc299fb
      cppinit.c (cpp_read_main_file): Split into two functions: Distribute _cpp_stack_file call over the two functions.
      
      
      	* cppinit.c (cpp_read_main_file):  Split into two functions:
      	Distribute _cpp_stack_file call over the two functions.
      	(cpp_find_main_file):  New function.
      	Don't call _cpp_do_file_change even if working_directory flag set.
      	(cpp_push_main_file):  New function.
      	* cppfiles.c (_cpp_find_failed):  New helper function.
      	(find_file):  Made non-static and renamed to _cpp_find_file.
      	(_cpp_stack_file):  No longer needed.  But note the following.
      	(stack_file):  Made non-static and renamed to _cpp_stack_file.
      	* fix-header.c (cpp_read_main_file):  Replace cpp_read_main_file
      	call with calls to cpp_find_main_file and cpp_push_main_file.
      	(search_path_head):  If there is no current buffer, use main_file.
      	* cpphash.h:  Update function declarations.
      	* cpplib.h:  Update function declarations.
      
      From-SVN: r72014
      Per Bothner committed
    • cpplex.c (_cpp_get_fresh_line): Revert my no-longer-needed 08-28 change... · a506c55c
      
      	* cpplex.c (_cpp_get_fresh_line):  Revert my no-longer-needed
      	08-28 change, since we're never called with a NULL buffer.
      	(_cpp_lex_direct):  Likewise.
      	* cpptrad.c (_cpp_read_logical_line_trad):  Likewise.
      	Return false if buffer is NULL at end.
      
      	* cpplex.c (_cpp_get_fresh_line):  Return value now just depends on
      	whether pfile->buffer is NULL after pop, ignoring return_at_eof.
      
      From-SVN: r72013
      Per Bothner committed
    • re PR libgcj/12475 (Stack traces leak memory) · fddb33d2
      	Fix PR libgcj/12475
      	* gnu/gcj/runtime/StackTrace.java (finalize): Declare.
      	* gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
      
      From-SVN: r72012
      Bryce McKinlay committed
    • c-lex.c (fe_file_change): Handle a NULL new_map. · f4b2bde7
      
      	* c-lex.c (fe_file_change):  Handle a NULL new_map.
      	* fix-header.c (cb_file_change):  Likewise.
      	* c-ppoutput.c (pp_file_change):  Likewise.
      
      From-SVN: r72011
      Per Bothner committed
    • c-lex.c (src_line): Remove unneeded static variable. · efef2a5f
      
      	* c-lex.c (src_line):   Remove unneeded static variable.
      	(cb_line_change):  Set input_line directly, instead of src_line.
      	(get_non_padding_token):  We no longer need to compensate for the
      	"horrible things" the C++ front-end does with the current line number,
      
      From-SVN: r72010
      Per Bothner committed
    • target.h (init_libfuncs): New hook. · c15c90bb
      	* target.h (init_libfuncs): New hook.
      	* target-def.h: Default TARGET_INIT_BUILTINS and
      	TARGET_INIT_LIBFUNCS to hook_void_void.  Add
      	TARGET_INIT_LIBFUNCS to TARGET_INITIALIZER.
      	* builtins.c (default_init_builtins): Delete.
      	* expr.h (default_init_builtins): Delete prototype.
      	* doc/tm.texi: Document TARGET_INIT_LIBFUNCS and US_SOFTWARE_GOFAST.
      	Tweak documentation of TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL.
      	Remove documentation of INIT_TARGET_OPTABS, MULSI3_LIBCALL,
      	DIVSI3_LIBCALL, UDIVSI3_LIBCALL, MODSI3_LIBCALL, UMODSI3_LIBCALL,
      	MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL, MODDI3_LIBCALL,
      	and UMODDI3_LIBCALL,
      
      	* Makefile.in (optabs.o): Depends on target.h.
      	* defaults.h: Provide default for FLOAT_LIB_COMPARE_RETURNS_BOOL.
      	* optabs.c: Include target.h.
      	(prepare_float_lib_cmp): No need for #ifdef around use of
      	FLOAT_LIB_COMPARE_RETURNS_BOOL.
      	(set_optab_libfunc): New function.
      	(init_optabs): Delete use of all *_LIBCALL defines.
      	Call targetm.init_libfuncs not INIT_TARGET_OPTABS.
      	* optabs.h: Prototype set_optab_libfunc.
      
      	* config.gcc: Remove all references to pa/long_double.h,
      	ia64/hpux_longdouble.h, and gofast.h.
      	(mips-*-*): When --enable-gofast, just add US_SOFTWARE_GOFAST
      	to tm_defines; don't set INIT_SUBTARGET_OPTABS or change tm_file.
      
      	* config/alpha/alpha.c, config/c4x/c4x.c, config/cris/cris.c
      	* config/frv/frv.c, config/h8300/h8300.c, config/i860/i860.c
      	* config/ia64/ia64.c, config/ip2k/ip2k.c, config/m68hc11/m68hc11.c
      	* config/mips/mips.c, config/pa/pa.c, config/rs6000/rs6000.c
      	* config/sparc/sparc.c, config/vax/vax.c:
      	Provide a definition for TARGET_INIT_LIBFUNCS.  Where
      	necessary, include optabs.h, libfuncs.h, and/or config/gofast.h.
      
      	* config/alpha/unicosmk.h, config/alpha/vms.h, config/c4x/c4x.h
      	* config/avr/avr.h, config/cris/cris.h, config/frv/frv.h
      	* config/h8300/h8300.h, config/i860/i860.h, config/ip2k/ip2k.h
      	* config/iq2000/iq2000.h, config/m68hc11/m68hc11.h, config/mips/mips.h
      	* config/rs6000/aix.h, config/rs6000/sysv4.h, config/sparc/elf.h
      	* config/sparc/lite.h, config/sparc/netbsd-elf.h, config/sparc/sol2.h
      	* config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h
      	* config/vax/elf.h: Don't define or use INIT_TARGET_OPTABS,
      	INIT_SUBTARGET_OPTABS, or any *_LIBCALL macros.
      
      	* config/ia64/hpux.h: Redefine INTEL_EXTENDED_IEEE_FORMAT to 0.
      	Set TARGET_INIT_LIBFUNCS and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
      	* config/pa/pa-hpux.h: Define LONG_DOUBLE_TYPE_SIZE,
      	HPUX_LONG_DOUBLE_LIBRARY, and FLOAT_LIB_COMPARE_RETURNS_BOOL here.
      	* config/ia64/hpux_longdouble.h, config/pa/long_double.h: Delete.
      
      	* config/rs6000/xcoff.h: Don't define RS6000_ITRUNC nor RS6000_UITRUNC.
      	* config/sparc/sparc.h: Default SUN_CONVERSION_LIBFUNCS and
      	SUN_INTEGER_MULTIPLY_64 to 0.
      	* config/sparc/sol2.h: Redefine SUN_CONVERSION_LIBFUNCS and
      	SUN_INTEGER_MULTIPLY_64 to 1.
      	* config/sparc/elf.h: Redefine SUN_CONVERSION_LIBFUNCS and
      	SUN_INTEGER_MULTIPLY_64 to 0.
      	* config/sparc/lite.h, config/sparc/liteelf.h, config/sparc/sp86x-elf.h:
      	Define US_SOFTWARE_GOFAST.
      	* config/vax/vax.h: Default TARGET_ELF to 0.
      	* config/vax/elf.h: Redefine TARGET_ELF to 1.
      
      	* config/gofast.h: Don't define any macros here.  Provide one
      	static function, gofast_maybe_init_libfuncs, which does what
      	INIT_GOFAST_LIBFUNCS used to do but only if US_SOFTWARE_GOFAST
      	is already defined.  Do not clear negation libfuncs.  Do
      	not mess with HFmode, XFmode, or TFmode libfuncs.
      
      	* config/avr/avr.c (avr_init_once): #if 0 out; mark FIXME.
      
      From-SVN: r72009
      Zack Weinberg committed
    • Daily bump. · d20a1e02
      From-SVN: r72007
      GCC Administrator committed
    • /tmp/cvs001644 · 2409cb37
      From-SVN: r72005
      Kelley Cook committed
  2. 01 Oct, 2003 19 commits