- 05 Feb, 2004 35 commits
-
-
* diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to msgid. From-SVN: r77341
Joseph Myers committed -
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 -
From-SVN: r77338
Richard Kenner committed -
* 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 -
PR c++/13714 * typeck.c (lookup_destructor): Tweak error message. From-SVN: r77334
Mark Mitchell committed -
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. From-SVN: r77330
Jan Hubicka committed -
* 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 -
* java/awt/datatransfer/DataFlavor.java (imageFlavor): Javadoc added. (javaJVMLocalObjectType): Fixed. From-SVN: r77328
Michael Koch committed -
* 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 -
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. * configure: Regenerate. From-SVN: r77325
David Edelsohn committed -
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 -
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 -
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 -
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 -
* 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 -
2004-02-05 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_function.h: Minor formatting changes. From-SVN: r77316
Paolo Carlini committed -
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 -
* config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace 8 with MAC_REG. From-SVN: r77314
Kazu Hirata committed -
* config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with gen_rtx_PARALLEL. From-SVN: r77313
Kazu Hirata committed -
From-SVN: r77312
Kazu Hirata committed -
* sourcebuild.texi (Test Idioms): Update testcase naming conventions. From-SVN: r77306
Joseph Myers committed -
From-SVN: r77305
Zack Weinberg committed -
* 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 -
From-SVN: r77301
Ian Lance Taylor committed -
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 -
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 -
* 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 -
From-SVN: r77293
Loren J. Rittle committed -
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 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 -
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 -
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 -
From-SVN: r77282
GCC Administrator committed
-
- 04 Feb, 2004 5 commits
-
-
* 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 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 -
From-SVN: r77277
Ulrich Weigand committed -
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 -
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
-