1. 06 Feb, 2004 17 commits
  2. 05 Feb, 2004 23 commits
    • * config/ia64/ia64.c (REG_GP): Remove. · 66fcab25
      From-SVN: r77353
      Kazu Hirata committed
    • Component.java (getFont): Return a default font instead of null. · 58206f11
      2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* java/awt/Component.java (getFont): Return a default font
      	instead of null.
      
      From-SVN: r77352
      Thomas Fitzsimmons committed
    • Index: libf2c/ChangeLog · 0314451d
      Thu Feb  5 15:08:08 2004  Geoffrey Keating  <geoffk@apple.com>
      
      	PR 12179
      	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Use 'gcc', not 'gcc-lib'.
      	Add comment about poorly-named variables.
      	* Makefile.in (libsubdir): Use 'gcc', not 'gcc-lib'.
      	* configure: Regenerate.
      
      Index: libstdc++-v3/ChangeLog
      2004-02-05  Geoffrey Keating  <geoffk@apple.com>
      
      	PR 12179
      	* .cvsignore: New.
      	* acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not
      	'gcc-lib'.  Add comment about poorly-named variables.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r77351
      Geoffrey Keating committed
    • configure.in: Don't pass --with-stabs on IRIX 5 either. · 89a95129
      	* configure.in: Don't pass --with-stabs on IRIX 5 either.
      	* configure: Regenerate.
      
      	gcc:
      	* config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
      
      From-SVN: r77349
      Rainer Orth committed
    • dwarf2out.c (force_type_die): Look up input type itself instead of root_type() of type. · 9733d507
             * dwarf2out.c (force_type_die): Look up input type itself
             instead of root_type() of type.
      
      From-SVN: r77348
      Devang Patel committed
    • s390.md ("*tmqidi_ext"): New insn. · 19796784
      2004-02-04  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* config/s390/s390.md ("*tmqidi_ext"): New insn.
      	("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old
      	pre-reload splitters are transformed to post-reload
      	define_insn_and_split patterns.
      	("*tmqisi_ext"): Renamed old "*tmqi_ext".
      
      From-SVN: r77346
      Andreas Krebbel committed
    • utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. · 136e64db
      	ada/
      	* ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES
      	with targetm.calls.promote_prototypes.
      
      	gcc/
      	* config/cris/cris.h: Replace PROMOTE_PROTOTYPES with
      	TARGET_PROMOTE_PROTOTYPES.
      
      	cp/
      	* call.c (type_passed_as): Replace PROMOTE_PROTOTYPES with
      	targetm.calls.promote_prototypes.
      
      	java/
      	* Make-lang.in (java/decl.o, java/expr.o, java/parse.o):
      	Depend on target.h.
      	* decl.c: Include target.h.
      	(start_java_method): Replace PROMOTE_PROTOTYPES with
      	targetm.calls.promote_prototypes.
      	* expr.c: Include target.h.
      	(pop_arguments): Replace PROMOTE_PROTOTYPES with
      	targetm.calls.promote_prototypes.
      	* parse.y: Include target.h.
      	(start_complete_expand_method): Replace PROMOTE_PROTOTYPES
      	with targetm.calls.promote_prototypes.
      
      From-SVN: r77345
      Kazu Hirata committed
    • re PR target/13750 (Ada bootstrap failure on Tru64 UNIX: b_gnat[1b].o comparison failure) · 839ee4bc
      	PR middle-end/13750
      	Revert:
      	2004-01-15  Geoffrey Keating  <geoffk@apple.com>
      	PR pch/13361
      	* c-typeck.c (constructor_asmspec): Delete.
      	(struct initializer_stack): Delete field 'asmspec'.
      	(start_init): Delete saving of asmspec.
      	(finish_init): Don't update constructor_asmspec.
      	* dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
      	* stmt.c (expand_asm): Duplicate strings from tree.
      	(expand_asm_operands): Likewise.
      	* tree.c (tree_size): Update computation of size of STRING_CST.
      	(make_node): Don't make STRING_CST nodes.
      	(build_string): Allocate string with tree node.
      	* tree.def (STRING_CST): Update comment.
      	* tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
      	(tree_string): Place contents of string in tree node.
      	* config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
      	from tree.
      
      	cp:
      	PR middle-end/13750
      	Revert:
      	2004-01-15  Geoffrey Keating  <geoffk@apple.com>
      	PR pch/13361
      	* cp/lex.c (handle_pragma_interface): Duplicate string from tree.
      	(handle_pragma_implementation): Likewise.
      
      	testsuite:
      	PR middle-end/13750
      	Revert:
      	2004-01-15  Geoffrey Keating  <geoffk@apple.com>
      	PR pch/13361
      	* testsuite/g++.dg/pch/wchar-1.C: New.
      	* testsuite/g++.dg/pch/wchar-1.Hs: New.
      
      From-SVN: r77343
      Rainer Orth committed
    • diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to msgid. · 687d688e
      	* diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to
      	msgid.
      
      From-SVN: r77341
      Joseph Myers committed
    • locale_facets.tcc (money_get::do_get(string_type&)): Thousands-sep are always optional... · d9010fca
      2004-02-05  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
      	Thousands-sep are always optional; thousands-sep are not allowed
      	after the decimal_point.
      	* testsuite/22_locale/money_get/get/char/12.cc: New.
      	* testsuite/22_locale/money_get/get/char/13.cc: New.
      	* testsuite/22_locale/money_get/get/wchar_t/12.cc: New.
      	* testsuite/22_locale/money_get/get/wchar_t/13.cc: New.
      
      	* testsuite/22_locale/money_get/get/char/1.cc: Clean-up.
      	* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
      	* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
      	* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
      
      	* testsuite/22_locale/money_get/get/char/9.cc: Fix citation from
      	the standard.
      	* testsuite/22_locale/money_get/get/wchar_t/9.cc: Likewise.
      
      From-SVN: r77339
      Paolo Carlini committed
    • Fix typo and clarify comment. · 6327d36a
      From-SVN: r77338
      Richard Kenner committed
    • os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T): Define. · d232925f
      	* config/os/irix/irix6.5/os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T):
      	Define.
      	* config/io/basic_file_stdio.cc (__basic_file<char>::showmanyc): Use
      	it to decide whether FIONREAD should take an off_t or int argument.
      
      From-SVN: r77336
      Richard Sandiford committed
    • re PR c++/13714 (destructor name `const s' does not match type `const s' of expression) · fca00ffb
      	PR c++/13714
      	* typeck.c (lookup_destructor): Tweak error message.
      
      From-SVN: r77334
      Mark Mitchell committed
    • 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