- 25 Jun, 2003 24 commits
-
-
2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org> * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc): Move inline, from here... * include/std/std_streambuf.h: ... to here. * include/std/std_streambuf.h (snextc, sbumpc, sgetc, sputbackc, sungetc, sputc): Use __builtin_expect. From-SVN: r68486
Nathan C. Myers committed -
2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com> * config/sh/sh.c (sh_register_move_cost): Add case for moving between MAC_REGS. From-SVN: r68484
Dhananjay Deshpande committed -
PR 10178 * langhooks.h (struct lang_hooks): Add no_body_blocks bool. * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false. * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS to true. * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always return 0. From-SVN: r68483
Zack Weinberg committed -
* Makefile.in (bt-load.o): Depend on $(TM_P_H). * bt-load.c: Include "tm_p.h". From-SVN: r68482
Kaveh R. Ghazi committed -
* Makefile.am (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java. * Makefile.in: Regenerated. From-SVN: r68477
Michael Koch committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * javax/swing/plaf/ActionMapUIResource.java, javax/swing/plaf/BorderUIResource.java, javax/swing/plaf/ButtonUI.java, javax/swing/plaf/ColorChooserUI.java, javax/swing/plaf/ColorUIResource.java, javax/swing/plaf/ComboBoxUI.java, javax/swing/plaf/ComponentInputMapUIResource.java, javax/swing/plaf/ComponentUI.java, javax/swing/plaf/DesktopIconUI.java, javax/swing/plaf/DesktopPaneUI.java, javax/swing/plaf/DimensionUIResource.java, javax/swing/plaf/FileChooserUI.java, javax/swing/plaf/FontUIResource.java, javax/swing/plaf/IconUIResource.java, javax/swing/plaf/InputMapUIResource.java, javax/swing/plaf/InsetsUIResource.java, javax/swing/plaf/InternalFrameUI.java, javax/swing/plaf/LabelUI.java, javax/swing/plaf/ListUI.java, javax/swing/plaf/MenuBarUI.java, javax/swing/plaf/MenuItemUI.java, javax/swing/plaf/OptionPaneUI.java, javax/swing/plaf/PanelUI.java, javax/swing/plaf/ProgressBarUI.java, javax/swing/plaf/RootPaneUI.java, javax/swing/plaf/ScrollBarUI.java, javax/swing/plaf/ScrollPaneUI.java, javax/swing/plaf/SeparatorUI.java, javax/swing/plaf/SliderUI.java, javax/swing/plaf/TableHeaderUI.java, javax/swing/plaf/TableUI.java, javax/swing/plaf/ToolBarUI.java, javax/swing/plaf/ToolTipUI.java, javax/swing/plaf/ViewportUI.java: New versions from classpath. * javax/swing/plaf/SpinnerUI.java: New file from classpath From-SVN: r68476
Michael Koch committed -
* config/h8300/h8300.c (compute_mov_length): Adjust for the new optimization. * config/h8300/h8300.md (*movsi_h8300): Optimize the load of an SImode constant whose upper and lower are the same. From-SVN: r68475
Kazu Hirata committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * java/awt/image/ColorModel.java: New version from classpath. From-SVN: r68474
Michael Koch committed -
* gcc_release: Factor the updating of links and READMEs on the FTP server and sending mail for snapshots into a... (announce_snapshot): ...new function. Add informative output for both. From-SVN: r68473
Gerald Pfeifer committed -
* varasm.c (assemble_name): Mark needed variables even when global info is ready. From-SVN: r68472
Jan Hubicka committed -
PR other/11280 * gcc/doc/invoke.texi (Optimization Options): Remove -Os from -freorder-functions description. From-SVN: r68470
Jerry Quinn committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * java/net/PlainDatagramSocketImpl.java: Partly merged with classpath, this mainly adds documentation. From-SVN: r68468
Michael Koch committed -
* java/io/ObjectInputStream.java (readClassDescriptor): New method. (readObject): Moved functionality to readClassDescriptor(). * java/io/ObjectOutputStream.java (writeClassDescriptor): New method. (writeObject): Moved functionality to writeClassDescriptor(). From-SVN: r68465
Michael Koch committed -
-
From-SVN: r68459
Josef Zlomek committed -
* opts.c (common_handle_option): Add missing break;s. f: * top.c (ffe_handle_option): Add missing break;. From-SVN: r68457
Neil Booth committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * javax/swing/plaf/basic/BasicListUI.java, javax/swing/plaf/basic/BasicOptionPaneUI.java: Added missing methods. From-SVN: r68456
Michael Koch committed -
2003-06-25 Michael Koch <konqueror@gmx.de> * javax/swing/event/AncestorEvent.java javax/swing/event/HyperlinkEvent.java javax/swing/event/InternalFrameEvent.java javax/swing/event/ListDataEvent.java javax/swing/event/TableModelEvent.java: Compile fixes. From-SVN: r68455
Michael Koch committed -
* config/h8300/h8300-protos.h: Add a prototype for compute_mov_length. * config/h8300/h8300.c (compute_mov_length): New. * config/h8300/h8300.md (*movqi_h8300): Use it. (*movqi_h8300hs): Likewise. (movstrictqi): Likewise. (*movhi_h8300): Likewise. (*movhi_h8300hs): Likewise. (movstricthi): Likewise. (*movsi_h8300): Likewise. (*movsf_h8300): Likewise. (*movsi_h8300hs): Likewise. (*movsf_h8300hs): Likewise. From-SVN: r68454
Kazu Hirata committed -
* jump.c (next_nondeleted_insn): Remove. * rtl.h: Remove the prototype for next_nondeleted_insn. From-SVN: r68453
Kazu Hirata committed -
PR optimization/11311 * builtins.c (powi_cost): Fix typo. The number of multiplications required is the number to reduce the argument, result, plus the cost of calculating the residual, val [not n, the original value]. * gcc.c-torture/compile/20030624-1.c: New test case. From-SVN: r68452
Roger Sayle committed -
From-SVN: r68449
Roger Sayle committed -
From-SVN: r68447
GCC Administrator committed -
* real.h (ieee_extended_intel_96_round_53_format): New. * real.c (ieee_extended_intel_96_round_53_format): New. * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it for XFmode and TFmode. From-SVN: r68445
Richard Henderson committed
-
- 24 Jun, 2003 16 commits
-
-
2003-06-24 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/mainpage.html: Use a useful title. From-SVN: r68441
Phil Edwards committed -
2003-06-24 Benjamin Kosnik <bkoz@redhat.com> * docs/html/documentation.html: Remove assignment info. * docs/html/17_intro/contribute.html: Edits. * docs/html/17_intro/libstdc++-assign.tx: Remove. * docs/html/test.html: Update. * README: Update. From-SVN: r68440
Benjamin Kosnik committed -
2003-06-24 Michael Koch <konqueror@gmx.de> * java/net/URL.java: Renamed "handler" to "ph" in the whole file to match classpaths version. * java/net/URLStreamHandler.java: (equals): Renamed "handler" to "ph". From-SVN: r68439
Michael Koch committed -
2003-06-24 Michael Koch <konqueror@gmx.de> * javax/swing/event/AncestorEvent.java, javax/swing/event/HyperlinkEvent.java, javax/swing/event/InternalFrameEvent.java, javax/swing/event/ListDataEvent.java, javax/swing/event/TableModelEvent.java, javax/swing/event/TreeWillExpandListener.java, javax/swing/plaf/ComponentUI.java, javax/swing/plaf/DesktopIconUI.java, javax/swing/plaf/DesktopPaneUI.java, javax/swing/plaf/DimensionUIResource.java, javax/swing/plaf/FileChooserUI.java, javax/swing/plaf/FontUIResource.java, javax/swing/plaf/IconUIResource.java, javax/swing/plaf/InputMapUIResource.java, javax/swing/plaf/InsetsUIResource.java, javax/swing/plaf/InternalFrameUI.java, javax/swing/plaf/LabelUI.java, javax/swing/plaf/ListUI.java, javax/swing/plaf/MenuBarUI.java, javax/swing/plaf/MenuItemUI.java, javax/swing/plaf/OptionPaneUI.java, javax/swing/plaf/PanelUI.java, javax/swing/plaf/ProgressBarUI.java, javax/swing/plaf/doc-files/ComponentUI-1.dia, javax/swing/plaf/doc-files/ComponentUI-1.png: New versions from classpath. From-SVN: r68438
Michael Koch committed -
2003-06-24 Scott Snyder <snyder@fnal.gov> PR fortran/11299 * com.c (ffe_init): Call push_srcloc() to ensure that input_file_stack is initialized. From-SVN: r68437
Scott Snyder committed -
2003-06-24 Benjamin Kosnik <bkoz@redhat.com> Ulrich Drepper <drepper@redhat.com> * testsuite/testsuite_performance.h: Tweak mallinfo. Co-Authored-By: Ulrich Drepper <drepper@redhat.com> From-SVN: r68436
Benjamin Kosnik committed -
* config/h8300/h8300.md (4 anonymous patterns): Give internal names. (movsi_h8300): Change the name to *movsi_h8300. (movsi_h8300hs): Change the name to *movsi_h8300hs. (movsf_h8300): Change the name to *movsf_h8300. (movsf_h8300hs): Change the name to *movsf_h8300hs. From-SVN: r68435
Kazu Hirata committed -
* builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in src twice. * gcc.c-torture/execute/string-opt-17.c: New test. From-SVN: r68431
Jakub Jelinek committed -
2003-06-02 J"orn Rennecke <joern.rennecke@superh.com> * sh.h (OLD_ARG_MODE): New macro. (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it. (FUNCTION_ARG_1): Break out of: (FUNCTION_ARG). Use OLD_ARG_MODE. 2003-06-06 J"orn Rennecke <joern.rennecke@superh.com> * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode of the generated register. * sh.h (FUNCTION_ARG_SCmode_WART): Define. (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and an even number of floating point regs are in use, use the same sequence of argument passing registers for SCmode as would be used for two SFmode values. * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined, swap real / imaginary parts in incoming SCmode values passed in registers. From-SVN: r68430
J"orn Rennecke committed -
* reg_search: Replace existing uses of DATE with MADE_DATE and use DATE for the date command. * reg_periodic: Ditto. From-SVN: r68429
Janis Johnson committed -
re PR target/11260 ([alpha] 'output_operand: floating constant misused' with sqrt(0.0) and -mcpu=ev6) PR target/11260 * config/alpha/alpha.md (sqrtdf2): Fix operand substitution. From-SVN: r68427
Falk Hueffner committed -
* Makefile.in (cgraph.o): Depend on output.h, not depend on tree-inline.h * cgraph.c: Do not include tree-inline.h; include output.h (known_fns): Rename to ... (known_decls): ... this one; update all uses. (cgraph_varpool_hash): New static variable. (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global variables. (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node, cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node, cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls): New functions. * cgraph.h (cgraph_varpool_node): New structure. (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare. (cgraph_varpool_node, cgraph_varpool_node_for_identifier, cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node, cgraph_varpool_asemble_pending_decls): Declare. * cgraphunit.c (record_call_1): Notice variable references. (cgraph_finalize_compilation_unit): Assemble pending variables. * toplev.c (wrapup_global_declarations): Use varpool. (compile_file): Assemble pending declarations. (rest_of_decl_compilation): Use varpool in unit-at-a-time mode. * varasm.c (assemble_name): Notice varpool references. From-SVN: r68426
Jan Hubicka committed -
* call.c (enforce_access): Assert we get a binfo. (build_op_delete_call): Pass a binfo to perform_or_defer_access_check. * class.c (alter_access): Likewise. * decl.c (make_typename_type): Likewise. (make_unbound_class_template): Likewise. * lex.c (do_identifier): Likewise. * method.c (hack_identifier): Likewise. * parser.c (cp_parser_lookup_name): Likewise. * search.c (lookup_member): Likewise. Move IDENTIFIER_CLASS_VALUE test. * semantics.c (finish_non_static_data_member): Likewise. (perform_or_defer_access_check): Expect a binfo. * typeck.c (comptypes): Expect types. * mangle.c (find_substitution): Don't pass a non-type to same_type_p * friend.c (make_friend_class): Likewise. * pt.c (check_default_tmpl_args): Likewise. (lookup_template_class): Likewise. From-SVN: r68424
Nathan Sidwell committed -
PR c++/5754 * g++.dg/parse/crash6.C: New test. From-SVN: r68423
Mark Mitchell committed -
2003-06-24 Paolo Carlini <pcarlini@unitus.it> Nathan C. Myers <ncm-nospam@cantrip.org> * include/std/std_fstream.h (_M_filepos): Remove. (_M_reading, _M_writing): New, encode the various I/O modes: 'read', 'write' and 'uncommitted'. (sync): If there is something to flush, do it, then go to 'uncommitted' mode. * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal with three different cases: __off > 0 (upon underflow), __off == 0 (upon overflow), __off == -1 (upon open, setbuf, seekoff/pos). (_M_underflow): Don't call overflow, set _M_reading to true on success, tweak. (pbackfail): Set _M_reading to true on pback creation, tweak. (overflow): Don't seek, deal with overflow in 'uncommitted' mode, set _M_writing to true on success, tweak. (seekoff): Simplify, set _M_reading, _M_writing to false, call _M_set_buffer(-1) ('uncommitted'). (open, close, setbuf): Set _M_reading, _M_writing to false and call _M_set_buffer(-1), tweak. (basic_filebuf): Don't set _M_buf_unified. (_M_destroy_internal_buffer): Don't call setg and setp. * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading, _M_writing and _M_set_buffer(-1). * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur, _M_out_lim, _M_buf_unified): Remove. (basic_streambuf): Don't set _M_out_lim and _M_buf_unified. (setp): Don't set _M_out_lim. * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for the new logic ('read', 'write' and 'uncommitted' modes): e.g., upon open the mode is 'uncommitted' and therefore the put area pointers are null. * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto. * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto. * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto. * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto. * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto. * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto. * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto. * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto. * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto. * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto. * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto. * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto. * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto. * include/bits/fstream.tcc (showmanyc): Use only the documented derivation interface to basic_streambuf (gptr(), setg(), etc.) to work right with user specializations. * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc, xsgetn, xsputn, __copy_streambufs): Likewise. * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc): Likewise. * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback, xsgetn): Likewise. Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org> From-SVN: r68420
Paolo Carlini committed -
* method.c (thunk_labelno): Move outside ifdef block to make garbage collector happy. From-SVN: r68419
Jan Hubicka committed
-