1. 05 Feb, 2004 30 commits
    • Scrollbar.java (next_scrollbar_number): New field. · bc1ec7f7
      2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* java/awt/Scrollbar.java (next_scrollbar_number): New field.
      	(Scrollbar (int, int, int, int, int)): Make default page
      	increment 10.
      	(setValues): Only call peer.setValues if one of the values has
      	changed.
      	(generateName): New method.
      	(getUniqueLong): New method.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
      	(range_scrollbar): Remove structure.
      	(post_adjustment_event): Remove function.
      	(post_change_event): Accept jobject argument.
      	(create): Cast jints to gdoubles.  Round scrollbar values to the
      	nearest integer.  Clamp min, max and value settings.
      	(connectJObject): Connect hook to widget->window.
      	(connectSignals): Remove range_scrollbar structure variables.
      	Remove "move-slider" connection.  Pass global peer reference to
      	"value-changed" callback.
      	(setLineIncrement): Cast jint value to gdouble.
      	(setPageIncrement): Likewise.
      	(setValues): Likewise.  Clamp min, max and value settings.
      
      From-SVN: r77332
      Thomas Fitzsimmons committed
    • tree.c (cp_cannot_inline_tree_fn): Allow inlining of comdat functions. · 6039a93d
      
      	* tree.c (cp_cannot_inline_tree_fn):  Allow inlining of comdat
      	functions.
      
      From-SVN: r77330
      Jan Hubicka committed
    • 2004-02-05 Michael Koch <konqueror@gmx.de> · 693dcd3d
      	* javax/swing/AbstractCellEditor.java
      	(getCellEditorValue): Removed.
      	* javax/swing/Box.java: Reformated.
      	(serialVersionUID): New field.
      	* javax/swing/ButtonGroup.java:
      	Removed some weird whitespace.
      	* javax/swing/CellEditor.java: Reformated.
      	* javax/swing/CellRendererPane.java
      	(serialVersionUID): New field.
      	(AccessibleCellRendererPaneserialVersionUID): New field.
      	* javax/swing/DefaultListModel.java
      	(serialVersionUID): New field.
      	* javax/swing/JEditorPane.java
      	(serialVersionUID): New field.
      	(setPage): Throws IOException.
      	(addHyperlinkListener): Implemented.
      	(removeHyperlinkListener): Implemented.
      	(getHyperlinkListener): New method.
      	* javax/swing/JFileChooser.java
      	(serialVersionUID): New field.
      	(AccessibleJFileChooser.serialVersionUID): New field.
      	(addActionListener): Implemented.
      	(removeActionListener): Implemented.
      	(getActionListeners): New method.
      	* javax/swing/JFormattedTextField.java
      	(serialVersionUID): New field.
      	(AbstractFormatter.serialVersionUID): New field.
      	(clone): Throws CloneNotSupportedException
      	(setEditValid): Add missing argument.
      	(stringToValue): Throws ParseExcpetion.
      	(valueToString): Throws ParseException.
      	(commitEdit): Throws ParseException.
      	* javax/swing/JLabel.java
      	(serialVersionUID): New field.
      	* javax/swing/JList.java
      	(serialVersionUID): New field.
      	(addListSelectionListener): Reformated.
      	(removeListSelectionListener): Reformated.
      	(getListSelectionListeners): New method.
      	* javax/swing/colorchooser/AbstractColorChooserPanel.java:
      	Reformated.
      	(serialVersionUID): New field.
      	* javax/swing/table/AbstractTableModel.java
      	(getValueAt): Removed.
      	(getColumnCount): Removed.
      	(getRowCount): Removed.
      
      From-SVN: r77329
      Michael Koch committed
    • 2004-02-05 Michael Koch <konqueror@gmx.de> · 2d168657
      	* java/awt/datatransfer/DataFlavor.java
      	(imageFlavor): Javadoc added.
      	(javaJVMLocalObjectType): Fixed.
      
      From-SVN: r77328
      Michael Koch committed
    • 2004-02-05 Michael Koch <konqueror@gmx.de> · 7959d598
      	* java/lang/Thread.java
      	(Thread): Reordered.
      	(setContextClassLoader): Fixed javadoc comment.
      	(setPriority): Reordered.
      	(yield): Reordered.
      	(initialize_native): Reordered.
      	(gen_name): Reordered.
      
      From-SVN: r77327
      Michael Koch committed
    • altivec.md (*movv4si_internal): At least one operand must be altivec_register_operand. · 20a20bf0
      2004-02-05  Dorit Naishlos  <dorit@il.ibm.com>
      
              * config/rs6000/altivec.md (*movv4si_internal): At least one
              operand must be altivec_register_operand.
              (*movv8hi_internal1): Likewise.
              (*movv16qi_internal1): Likewise.
              (*movv4sf_internal1): Likewise.
      
      From-SVN: r77326
      Dorit Naishlos committed
    • configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr. · 6b37db3c
              * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
              * configure: Regenerate.
      
      From-SVN: r77325
      David Edelsohn committed
    • re PR c++/14008 (Confusing diagnostic when omitting a template parameter) · 2f69c594
      	PR c++/14008
      	* g++.dg/parse/error15.C: New test.
      	* g++.dg/parse/crash11.C: Update dg-error mark.
      
      From-SVN: r77324
      Giovanni Bajo committed
    • re PR c++/14008 (Confusing diagnostic when omitting a template parameter) · 2097b5f2
      	PR c++/14008
      	* parser.c (cp_parser_diagnose_invalid_typename): Removed parsing
      	code, only emits the diagnostic now. Added lookup of the identifier
      	and support for qualified ids.
      	(cp_parser_parse_and_diagnose_invalid_type_name): New function.
      	Parse an (invalid) type name as id-expression within a declarator.
      	(cp_parser_simple_declaration): Use it.
      	(cp_parser_member_declaration): Likewise.
      	(cp_parser_make_typename_type): New function. Handle errors through
      	cp_parser_diagnose_invalid_typename.
      	(cp_parser_elaborated_type_specifier): Use it.
      
      From-SVN: r77323
      Giovanni Bajo committed
    • Thread.java: Reordered fields... · 5ad13654
      2004-02-05  Michael Koch  <konqueror@gmx.de>
      
      	* java/lang/Thread.java: Reordered fields, reformated much code,
      	no functional changes, some variables renamed, javadoc comments
      	merged.
      
      From-SVN: r77322
      Michael Koch committed
    • Deflater.java, [...]: Reformated and javadoc comments merged from classpath. · 6d0c7d7b
      2004-02-05  Michael Koch  <konqueror@gmx.de>
      
      	* java/util/zip/Deflater.java,
      	java/util/zip/DeflaterOutputStream.java,
      	java/util/zip/GZIPInputStream.java:
      	Reformated and javadoc comments merged from classpath.
      
      From-SVN: r77319
      Michael Koch committed
    • 2004-02-05 Michael Koch <konqueror@gmx.de> · 99814868
      	* gnu/java/nio/NIOServerSocket.java
      	(impl): Unused, removed.
      	* gnu/java/nio/SocketChannelImpl.java
      	(finnishConnect): Don't throw NoConnectionPendingException if not
      	connected or no connection pending.
      
      From-SVN: r77317
      Michael Koch committed
    • stl_function.h: Minor formatting changes. · 92ff3e43
      2004-02-05  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_function.h: Minor formatting changes.
      
      From-SVN: r77316
      Paolo Carlini committed
    • install.texi: Update description of --gxx-include-dir to give correct default value. · e0b24bce
      2004-02-05  Jonathan Wakely  <redi@gcc.gnu.org>
      
      	* doc/install.texi: Update description of --gxx-include-dir to
      	give correct default value.
      
      From-SVN: r77315
      Jonathan Wakely committed
    • h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace 8 with MAC_REG. · 2dca8ddb
      	* config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace
      	8 with MAC_REG.
      
      From-SVN: r77314
      Kazu Hirata committed
    • pa.c (emit_hpdiv_const): Replace gen_rtx with gen_rtx_PARALLEL. · 92fd5e41
      	* config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with
      	gen_rtx_PARALLEL.
      
      From-SVN: r77313
      Kazu Hirata committed
    • * emit-rtl.c: Update the comment about the file. · f822fcf7
      From-SVN: r77312
      Kazu Hirata committed
    • sourcebuild.texi (Test Idioms): Update testcase naming conventions. · 4ef84575
      	* sourcebuild.texi (Test Idioms): Update testcase naming
      	conventions.
      
      From-SVN: r77306
      Joseph Myers committed
    • Partially revert/redo 2003-10-01 change; fix -fworking-directory. · 8e9ea4d7
      	* c-ppoutput.c (pp_dir_change):  New function.
      	* c-common.h (pp_dir_change):  New declaration.
      	* cpplib.h (struct cpp_options):  Remove working_directory field.
      	* cppinit.c (cpp_find_main_file, cpp_push_main_file):  Merge back to
      	(cpp_read_main_file):  as before 10-01.  Call _cpp_stack_file.
      	Don't handle -fworking_directory here, but in c_common_post_options.
      	(read_original_directory): Don't back up when done.
      	Don't clear no-longer used working_directory flag.
      	* cpplib.h:  Update declarations to match.
      	* c-lex.c (cb_dir_change):  Move to c-opts.c.
      	(init_c_lex):  Don't set dir_change callback here, since we want
      	to set it even if flag_preprocess_only.
      	* c-opts.c (cb_dir_change):  Function moved from c-lex.c.
      	(c_common_post_options):  Set dir_change callback.
      	Call pp_dir_change if approporiate.
      	(finish_options):  Don't call cpp_find_main_file here.	Hence remove
      	unneeded parameter and result. Do LC_RENAME for <built-in>.
      	(c_common_post_options):  Call cpp_read_main_file here instead.
      	(c_common_init):  Update accordingly.
      	(push_command_line_include):  Don't cpp_push_main_file.
      	Do LC_RENAME rather than LC_LEASE to get back to main file.
      	Compared to pre-10-01 version, inline cpp_rename_to_main_file.
      	(c_common_parse_file):  Call cpp_read_main_file for subsequent main
      	files, but call finish_options for all files.
      	* c-opts.c (sanitize_cpp_opts):  Don't set cpp_opts->working_directory.
      	* fix-header.c (read_scan_file):  Call cpp_read_main_file instead of
      	cpp_find_main_file + cpp_push_main_file.
      	* c-lex.c (fe_file_change):  Don't set main_input_filename here.
      	* opts.c (handle_options):  Only set main_input_filename first time.
      
      From-SVN: r77303
      Per Bothner committed
    • basic_file_stdio.cc (__gnu_internal::fopen_mode): New function. · 6a734d61
      2004-02-04  Benjamin Kosnik  <bkoz@redhat.com>
      	    Zack Weinberg  <zack@codesourcery.com>
      
      	* config/io/basic_file_stdio.cc (__gnu_internal::fopen_mode):
      	New function.
      	(__basic_file<char>::sys_open, __basic_file<char>::open): Use it.
      	(__basic_file<char>::_M_open_mode): Delete.
      	* config/io/basic_file_stdio.cc: Delete declaration of _M_open_mode.
      
      	* testsuite/27_io/basic_filebuf/close/char/9964.cc
      	* testsuite/27_io/basic_filebuf/open/char/9507.cc:
      	Correct flags to filebuf::open calls.
      
      	* config/abi/alpha-freebsd5/baseline_symbols.txt
      	* config/abi/alpha-linux-gnu/baseline_symbols.txt
      	* config/abi/hppa-linux-gnu/baseline_symbols.txt
      	* config/abi/i386-freebsd4/baseline_symbols.txt
      	* config/abi/i386-freebsd5/baseline_symbols.txt
      	* config/abi/i486-linux-gnu/baseline_symbols.txt
      	* config/abi/ia64-linux-gnu/baseline_symbols.txt
      	* config/abi/mips-linux-gnu/baseline_symbols.txt
      	* config/abi/sparc-freebsd5/baseline_symbols.txt
      	* config/abi/sparc-linux-gnu/baseline_symbols.txt
      	* config/abi/x86_64-linux-gnu/baseline_symbols.txt:
      	Remove entry for __basic_file<char>::_M_open_mode.
      
      From-SVN: r77298
      Benjamin Kosnik committed
    • re PR c++/13932 (duplicate warning message for conversion) · f583e452
      	PR c++/13932
      	* call.c (convert_like_real): Use "converting" rather than
      	"argument" as the descriptive keyword to
      	dubious_conversion_warnings.
      	* typeck.c (convert_for_assignment): Do not call
      	dubious_conversion_warnings.
      
      	PR c++/13932
      	* g++.dg/warn/conv2.C: New test.
      
      From-SVN: r77297
      Mark Mitchell committed
    • file-format.exp (gcc_target_object_format): Use ${tool}_target_compile, not gcc_target_compile. · bfa21a28
      	* lib/file-format.exp (gcc_target_object_format): Use
      	${tool}_target_compile, not gcc_target_compile.
      	* lib/target-supports.exp (check_alias_available): Likewise.
      	(check_gc_sections_available): Likewise.
      	* g++.dg/ext/attrib10.C: Use dg-require-alias.
      	* g++.old-deja/g++.ext/attrib5.C: Use dg-require-weak and
      	dg-require-alias.
      
      From-SVN: r77295
      Mark Mitchell committed
    • re PR c++/13086 (the location of the warning message is wrong when calling… · 7778d52d
      re PR c++/13086 (the location of the warning message is wrong when calling delete on incomplete type)
      
      	PR c++/13086
      	* g++.dg/warn/incomplete1.C: Remove xfail.
      
      From-SVN: r77290
      Giovanni Bajo committed
    • re PR c++/13086 (the location of the warning message is wrong when calling… · b1e5b86c
      re PR c++/13086 (the location of the warning message is wrong when calling delete on incomplete type)
      
      	PR c++/13086
      	* init.c (build_delete): Emit a more informative error message in
      	case of an incomplete type, and on the correct source line.
      
      From-SVN: r77289
      Giovanni Bajo committed
    • re PR c++/9941 (typeinfo not generated correctly when #pragmas are involved) · 6f3d0d2f
      	PR c++/9941
      	* rtti.c (tinfo_base_init): Use import_export_tinfo to decide the
      	linkage for the typeinfo name string.
      
      From-SVN: r77288
      Mark Mitchell committed
    • [multiple changes] · de8a2f87
      
      2004-02-04  Felix Yen  <fwy@alumni.brown.edu>
      
      	* testsuite/performance/20_util/producer_consumer.cc: New.
      	* testsuite/performance/20_util/allocator/insert_insert.cc: Two loops.
      
      2004-02-04  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/performance/20_util/allocator.cc: Move to..
      	* testsuite/performance/20_util/allocator/insert.cc: ...here.
      	* testsuite/performance/20_util/allocator_thread.cc: Move to...
      	* testsuite/performance/20_util/allocator/insert_insert.cc: ...here.
      	* testsuite/performance/20_util/allocator_map_thread.cc: Move to...
      	* testsuite/performance/20_util/allocator/map_thread.cc: ...here.
      
      From-SVN: r77285
      Benjamin Kosnik committed
    • Daily bump. · 90bd9d54
      From-SVN: r77282
      GCC Administrator committed
  2. 04 Feb, 2004 10 commits
    • Partial merge from upstream: · 892629bc
      	* ltmain.in: When setting IFS to '~', be careful about user
      	arguments that contain '~'.
      
      From-SVN: r77279
      Geoffrey Keating committed
    • reload.c (find_equiv_reg): When checking for register overlap, don't index… · 3c241c19
      reload.c (find_equiv_reg): When checking for register overlap, don't index hard_regno_nregs with a pseudo-reg.
      
      	* reload.c (find_equiv_reg): When checking for register overlap,
      	don't index hard_regno_nregs with a pseudo-reg.
      
      From-SVN: r77278
      Geoffrey Keating committed
    • reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno, against… · 859b9c1d
      reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno, against FIRST_PSEUDO_REGISTER.
      
      	* reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
      	against FIRST_PSEUDO_REGISTER.
      
      From-SVN: r77276
      David Edelsohn committed
    • SwingUtilities.java: Many new functions. · cbc848da
      2004-02-02  Graydon Hoare  <graydon@redhat.com>
      
      	* javax/swing/SwingUtilities.java: Many new functions.
      	* java/awt/Container.java (LightweightDispatcher): Reimplement.
      	* javax/swing/basic/BasicGraphicsUtils.java
      	(getPreferredButtonSize): Start layout from top-left corner.
      
      From-SVN: r77271
      Graydon Hoare committed
    • Makefile.in: Move target, host overrides after per-language fragments. · 7e63a64e
      	* Makefile.in: Move target, host overrides after per-language
      	fragments.
      
      	* config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
      	(GNATLIBCFLAGS): Remove -g.
      
      From-SVN: r77270
      Rainer Orth committed
    • alpha.c, [...]: Revert the replacements of "FALLTHRU" with "Fall through" done in the previous... · 5efb1046
      	* config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
      	config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
      	config/ia64/ia64.c, config/ia64/unwind-ia64.c,
      	config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c,
      	config/pdp11/pdp11.c, config/rs6000/rs6000.c,
      	config/sparc/sparc.c, config/vax/vax.c: Revert the
      	replacements of "FALLTHRU" with "Fall through" done in the
      	previous patch.
      
      From-SVN: r77269
      Kazu Hirata committed
    • darwin.c, [...]: Fix comment formatting. · ff482c8d
      	* config/darwin.c, config/darwin.h, config/freebsd-spec.h,
      	config/arm/arm.c, config/arm/arm.md,
      	config/cris/cris-protos.h, config/fr30/fr30.c,
      	config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h,
      	config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c,
      	config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h,
      	config/ip2k/ip2k.md, config/ip2k/libgcc.S,
      	config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h,
      	config/m68k/m68k.c, config/m68k/netbsd-elf.h,
      	config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md,
      	config/ns32k/netbsd.h, config/ns32k/ns32k.c,
      	config/ns32k/ns32k.h, config/pdp11/pdp11.h,
      	config/rs6000/darwin-ldouble.c, config/s390/s390.h,
      	config/s390/s390.md, config/sparc/netbsd-elf.h,
      	config/sparc/openbsd.h, config/sparc/sparc.c,
      	config/xtensa/lib2funcs.S: Fix comment formatting.
      
      From-SVN: r77268
      Kazu Hirata committed
    • alpha.c, [...]: Fix comment typos. · 59b9a953
      	* config/alpha/alpha.c, config/arc/arc.c,
      	config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h,
      	config/arm/arm1026ejs.md, config/arm/arm1136jfs.md,
      	config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c,
      	config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md,
      	config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
      	config/ia64/ia64.c, config/ia64/unwind-ia64.c,
      	config/iq2000/iq2000.c, config/m32r/m32r.c,
      	config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
      	config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
      	config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c,
      	config/rs6000/rs6000.h, config/sparc/sparc.c,
      	config/vax/vax.c: Fix comment typos.  Follow spelling
      	conventions.
      
      From-SVN: r77267
      Kazu Hirata committed
    • alloc-pool.h, [...]: Update copyright. · e146f815
      	gcc/
      	* alloc-pool.h, c-convert.c, c-lang.c, c-tree.h,
      	caller-save.c, df.h, genconfig.c, global.c, lcm.c,
      	ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c,
      	sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md,
      	config/arm/fpa.md, config/arm/iwmmxt.md,
      	config/arm/netbsd-elf.h, config/arm/netbsd.h,
      	config/m68hc11/m68hc11.md, config/mips/iris5.h,
      	config/mn10300/mn10300.md, config/rs6000/altivec.md,
      	config/sparc/netbsd-elf.h: Update copyright.
      
      	cp/
      	* error.c, search.c: Update copyright.
      
      	java/
      	* typeck.c: Update copyright.
      
      From-SVN: r77265
      Kazu Hirata committed