Commit Graph

56284 Commits

Author SHA1 Message Date
Kazu Hirata
d8c2bed3d8 frv-protos.h: Remove the prototype for frv_setup_incoming_varargs.
* config/frv/frv-protos.h: Remove the prototype for
	frv_setup_incoming_varargs.
	* config/frv/frv.c (TARGET_SETUP_INCOMING_VARARGS): New.
	(frv_setup_incoming_varargs): Make it static.
	* config/frv/frv.h (SETUP_INCOMING_VARARGS): Remove.

From-SVN: r77376
2004-02-06 05:52:02 +00:00
Kazu Hirata
3e29e2aa4d fr30-protos.h: Remove the prototype for fr30_setup_incoming_varargs.
* config/fr30/fr30-protos.h: Remove the prototype for
	fr30_setup_incoming_varargs.
	Update the prototypes for fr30_num_arg_regs and
	fr30_function_arg_partial_nregs.
	* config/fr30/fr30.c (TARGET_STRUCT_VALUE_RTX): New.
	(TARGET_SETUP_INCOMING_VARARGS): Likewise.
	(fr30_setup_incoming_varargs): Make it static.
	Add argument second_time.  Don't do anything when second_time
	is nonzero.
	(fr30_num_arg_regs): Change the type of the first argument to
	enum machine_mode.
	(fr30_function_arg_partial_nregs): Change the type of the
	second argument to enum machine_mode.
	* config/fr30/fr30.h (STRUCT_VALUE): Remove.
	(SETUP_INCOMING_VARARGS): Remove.

From-SVN: r77375
2004-02-06 05:48:34 +00:00
Kazu Hirata
07ba2efb2e arc-protos.h: Remove the prototype for arc_setup_incoming_varargs.
* config/arc/arc-protos.h: Remove the prototype for
	arc_setup_incoming_varargs.
	* config/arc/arc.c (TARGET_ASM_EXTERNAL_LIBCALL): New.
	(TARGET_SETUP_INCOMING_VARARGS): Likewise.
	(arc_setup_incoming_varargs): Make it static.
	(arc_external_libcall): Likewise.
	* config/arc/arc.h (SETUP_INCOMING_VARARGS): Remove.
	Remove the commented-out definition of
	ASM_OUTPUT_EXTERNAL_LIBCALL.

From-SVN: r77374
2004-02-06 05:41:12 +00:00
SUGIOKA Toshinobu
f4954ff18f t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR) to $$(slibdir) in the installation commands.
* config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR)
	to $$(slibdir) in the installation commands.

From-SVN: r77371
2004-02-06 05:02:46 +00:00
David Edelsohn
403c659ca6 reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs with inner_regno, not regno.
* reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs
        with inner_regno, not regno.
        * rtlanal.c (refers_to_regno_p): Same.

From-SVN: r77370
2004-02-05 23:28:46 -05:00
Kazu Hirata
5b54717271 * config.gcc: Remove i370 support.
From-SVN: r77369
2004-02-06 02:12:44 +00:00
Joseph Myers
b06c20eecf * gcc.pot: Regenerate.
From-SVN: r77366
2004-02-06 01:39:08 +00:00
Kelley Cook
ce5c1cf310 install.texi: Update automake and autoconf version requirements.
2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>

	* doc/install.texi:  Update automake and autoconf version
	requirements.  Note where to find gcj automake version.

2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in (generate-manpages): Move dependencies to ...
	(man): here.
	* doc/makefile.texi: Document new targets.
	* doc/sourcebuild.texi (Make-lang.in): Document new langhooks.

From-SVN: r77365
2004-02-06 01:14:32 +00:00
Kelley Cook
02ba6b2254 Makefile.in (srcextra): Add a level of indirection to ...
2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>

	PR/13485
	Makefile.in (srcextra):  Add a level of indirection to ...
	(gcc.srcextra): ... here.
	(po-generated): Delete.
	(po/$(PACKAGE).pot: Use srcextra instead of po-generated.  Depend on
	options.c.
	(start.encap): Remove superfluous lang.srcextra dependency.
	objc/Make-lang.in (po-generated):  Delete.

From-SVN: r77363
2004-02-06 01:02:31 +00:00
Maciej W. Rozycki
8076c0b66b acinclude.m4: Quote names of macros to be defined by AC_DEFUN throughout.
2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
* acinclude.m4: Quote names of macros to be defined by AC_DEFUN
throughout.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r77361
2004-02-05 19:54:14 -05:00
Loren J. Rittle
462f4a816b * scripts/check_performance: Support PCH.
From-SVN: r77360
2004-02-06 00:51:34 +00:00
GCC Administrator
f3c9154d0e Daily bump.
From-SVN: r77356
2004-02-06 00:16:14 +00:00
Kazu Hirata
66fcab25e9 * config/ia64/ia64.c (REG_GP): Remove.
From-SVN: r77353
2004-02-05 23:53:42 +00:00
Thomas Fitzsimmons
58206f1160 Component.java (getFont): Return a default font instead of null.
2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* java/awt/Component.java (getFont): Return a default font
	instead of null.

From-SVN: r77352
2004-02-05 23:21:40 +00:00
Geoffrey Keating
0314451df3 Index: libf2c/ChangeLog
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
2004-02-05 23:19:54 +00:00
Rainer Orth
89a95129ff configure.in: Don't pass --with-stabs on IRIX 5 either.
* 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
2004-02-05 23:12:17 +00:00
Devang Patel
9733d507ec dwarf2out.c (force_type_die): Look up input type itself instead of root_type() of type.
* dwarf2out.c (force_type_die): Look up input type itself
       instead of root_type() of type.

From-SVN: r77348
2004-02-05 15:02:54 -08:00
Andreas Krebbel
1979678466 s390.md ("*tmqidi_ext"): New insn.
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
2004-02-05 22:48:53 +00:00
Kazu Hirata
136e64db5e utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes.
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
2004-02-05 22:07:33 +00:00
Rainer Orth
839ee4bc57 re PR target/13750 (Ada bootstrap failure on Tru64 UNIX: b_gnat[1b].o comparison failure)
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
2004-02-05 21:56:38 +00:00
Joseph Myers
687d688ee4 diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to msgid.
* diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to
	msgid.

From-SVN: r77341
2004-02-05 20:44:49 +00:00
Paolo Carlini
d9010fcacc locale_facets.tcc (money_get::do_get(string_type&)): Thousands-sep are always optional...
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
2004-02-05 20:13:37 +00:00
Richard Kenner
6327d36ac6 Fix typo and clarify comment.
From-SVN: r77338
2004-02-05 15:12:36 -05:00
Richard Sandiford
d232925f0b os_defines.h (_GLIBCXX_FIONREAD_TAKES_OFF_T): Define.
* 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
2004-02-05 20:11:32 +00:00
Mark Mitchell
fca00ffb49 re PR c++/13714 (destructor name const s' does not match type const s' of expression)
PR c++/13714
	* typeck.c (lookup_destructor): Tweak error message.

From-SVN: r77334
2004-02-05 19:45:47 +00:00
Thomas Fitzsimmons
bc1ec7f70e Scrollbar.java (next_scrollbar_number): New field.
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
2004-02-05 19:45:02 +00:00
Jan Hubicka
6039a93dd7 tree.c (cp_cannot_inline_tree_fn): Allow inlining of comdat functions.
* tree.c (cp_cannot_inline_tree_fn):  Allow inlining of comdat
	functions.

From-SVN: r77330
2004-02-05 19:01:20 +00:00
Michael Koch
693dcd3d88 2004-02-05 Michael Koch <konqueror@gmx.de>
* 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
2004-02-05 18:48:54 +00:00
Michael Koch
2d16865792 2004-02-05 Michael Koch <konqueror@gmx.de>
* java/awt/datatransfer/DataFlavor.java
	(imageFlavor): Javadoc added.
	(javaJVMLocalObjectType): Fixed.

From-SVN: r77328
2004-02-05 18:27:44 +00:00
Michael Koch
7959d59810 2004-02-05 Michael Koch <konqueror@gmx.de>
* java/lang/Thread.java
	(Thread): Reordered.
	(setContextClassLoader): Fixed javadoc comment.
	(setPriority): Reordered.
	(yield): Reordered.
	(initialize_native): Reordered.
	(gen_name): Reordered.

From-SVN: r77327
2004-02-05 18:20:46 +00:00
Dorit Naishlos
20a20bf061 altivec.md (*movv4si_internal): At least one operand must be altivec_register_operand.
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
2004-02-05 13:07:39 -05:00
David Edelsohn
6b37db3cae configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
* configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
        * configure: Regenerate.

From-SVN: r77325
2004-02-05 12:09:05 -05:00
Giovanni Bajo
2f69c59413 re PR c++/14008 (Confusing diagnostic when omitting a template parameter)
PR c++/14008
	* g++.dg/parse/error15.C: New test.
	* g++.dg/parse/crash11.C: Update dg-error mark.

From-SVN: r77324
2004-02-05 16:50:57 +00:00
Giovanni Bajo
2097b5f2d3 re PR c++/14008 (Confusing diagnostic when omitting a template parameter)
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
2004-02-05 16:48:54 +00:00
Michael Koch
5ad136540e Thread.java: Reordered fields...
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
2004-02-05 16:34:30 +00:00
Michael Koch
6d0c7d7b6a Deflater.java, [...]: Reformated and javadoc comments merged from classpath.
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
2004-02-05 16:04:28 +00:00
Michael Koch
99814868c1 2004-02-05 Michael Koch <konqueror@gmx.de>
* 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
2004-02-05 15:57:01 +00:00
Paolo Carlini
92ff3e4314 stl_function.h: Minor formatting changes.
2004-02-05  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_function.h: Minor formatting changes.

From-SVN: r77316
2004-02-05 15:39:16 +00:00
Jonathan Wakely
e0b24bcec9 install.texi: Update description of --gxx-include-dir to give correct default value.
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
2004-02-05 15:19:31 +00:00
Kazu Hirata
2dca8ddb31 h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace 8 with MAC_REG.
* config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace
	8 with MAC_REG.

From-SVN: r77314
2004-02-05 14:26:16 +00:00
Kazu Hirata
92fd5e4152 pa.c (emit_hpdiv_const): Replace gen_rtx with gen_rtx_PARALLEL.
* config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with
	gen_rtx_PARALLEL.

From-SVN: r77313
2004-02-05 14:21:54 +00:00
Kazu Hirata
f822fcf76d * emit-rtl.c: Update the comment about the file.
From-SVN: r77312
2004-02-05 14:15:35 +00:00
Joseph Myers
4ef84575df sourcebuild.texi (Test Idioms): Update testcase naming conventions.
* sourcebuild.texi (Test Idioms): Update testcase naming
	conventions.

From-SVN: r77306
2004-02-05 11:21:33 +00:00
Zack Weinberg
9fe7e2b747 Revert previous change to config/abi/*/baseline_symbols.txt.
From-SVN: r77305
2004-02-05 07:25:58 +00:00
Per Bothner
8e9ea4d72c Partially revert/redo 2003-10-01 change; fix -fworking-directory.
* 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
2004-02-04 22:52:26 -08:00
Ian Lance Taylor
5384443a5f * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma.
From-SVN: r77301
2004-02-05 06:11:05 +00:00
Benjamin Kosnik
6a734d618f basic_file_stdio.cc (__gnu_internal::fopen_mode): New function.
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
2004-02-05 05:24:18 +00:00
Mark Mitchell
f583e45212 re PR c++/13932 (duplicate warning message for conversion)
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
2004-02-05 05:22:21 +00:00
Mark Mitchell
bfa21a28ea file-format.exp (gcc_target_object_format): Use ${tool}_target_compile, not gcc_target_compile.
* 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
2004-02-05 05:09:38 +00:00
Loren J. Rittle
f63fd68beb * testsuite/performance/20_util/allocator/insert.cc (main): Tweak.
From-SVN: r77293
2004-02-05 03:52:41 +00:00