OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago * config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
sayle [Wed, 25 Jun 2003 00:38:01 +0000 (00:38 +0000)]
* config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68449 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Wed, 25 Jun 2003 00:16:11 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68447 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * real.h (ieee_extended_intel_96_round_53_format): New.
ljrittle [Wed, 25 Jun 2003 00:11:33 +0000 (00:11 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68445 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 24 Jun 2003 20:56:40 +0000 (20:56 +0000)]
2003-06-24  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/mainpage.html:  Use a useful title.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68441 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 24 Jun 2003 20:33:29 +0000 (20:33 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68440 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 20:22:48 +0000 (20:22 +0000)]
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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68439 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 20:17:27 +0000 (20:17 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68438 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Scott Snyder <snyder@fnal.gov>
toon [Tue, 24 Jun 2003 19:54:24 +0000 (19:54 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68437 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 24 Jun 2003 19:38:36 +0000 (19:38 +0000)]
2003-06-24  Benjamin Kosnik  <bkoz@redhat.com>
            Ulrich Drepper  <drepper@redhat.com>

* testsuite/testsuite_performance.h: Tweak mallinfo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68436 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/h8300/h8300.md (4 anonymous patterns): Give internal
kazu [Tue, 24 Jun 2003 18:28:11 +0000 (18:28 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68435 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
jakub [Tue, 24 Jun 2003 17:29:09 +0000 (17:29 +0000)]
* builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
src twice.

* gcc.c-torture/execute/string-opt-17.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68431 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago Back out these patches:
amylaar [Tue, 24 Jun 2003 17:22:05 +0000 (17:22 +0000)]
Back out these patches:
 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68430 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * reg_search: Replace existing uses of DATE with MADE_DATE and
janis [Tue, 24 Jun 2003 17:18:39 +0000 (17:18 +0000)]
* reg_search: Replace existing uses of DATE with MADE_DATE and
use DATE for the date command.
* reg_periodic: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68429 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR target/11260
rth [Tue, 24 Jun 2003 16:54:25 +0000 (16:54 +0000)]
    PR target/11260
        * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68427 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.in (cgraph.o): Depend on output.h, not depend on
hubicka [Tue, 24 Jun 2003 16:50:29 +0000 (16:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68426 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * call.c (enforce_access): Assert we get a binfo.
nathan [Tue, 24 Jun 2003 15:40:06 +0000 (15:40 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68424 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR c++/5754
mmitchel [Tue, 24 Jun 2003 15:25:43 +0000 (15:25 +0000)]
PR c++/5754
* g++.dg/parse/crash6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68423 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 24 Jun 2003 13:48:11 +0000 (13:48 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68420 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * method.c (thunk_labelno): Move outside ifdef block to make garbage
hubicka [Tue, 24 Jun 2003 13:31:59 +0000 (13:31 +0000)]
* method.c (thunk_labelno): Move outside ifdef block to make garbage
collector happy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68419 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
hubicka [Tue, 24 Jun 2003 11:54:01 +0000 (11:54 +0000)]
* langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
* langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
* varasm.c (assemble_variable): Call prepare_assemble_variable.
* class.c (build_vtable): Make vtables.
* cp-tree.h (DECL_VTABLE_OR_VTT_P): New macro.
* decl2.c (output_vtable_inherit): Rename to ...
(prepare_assemble_variable): ... this one; change interface.
(maybe_emit_vtables): Do not call output_vtable_inherit.
* cp-lang.c (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): Define.
* cp-tree.h (prepare_assemble_variable): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68418 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 11:19:05 +0000 (11:19 +0000)]
2003-06-24  Michael Koch  <konqueror@gmx.de>

* java/nio/Buffer.java
(cap): Made package-private.
(pos): Likewise.
(limit): Likewise.
(mark): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68417 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 11:07:23 +0000 (11:07 +0000)]
2003-06-24  Michael Koch  <konqueror@gmx.de>

* java/net/SocketImpl.java
(shutdownInput): Made it non-abstract method throwing an exception
like in SUNs JRE.
(shutdownOutput): Likewise.
* java/net/SocketInputStream.java,
java/net/SocketOutputStream.java:
New files from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68416 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 10:50:21 +0000 (10:50 +0000)]
2003-06-24  Michael Koch  <konqueror@gmx.de>

* java/awt/Font.java,
java/awt/Window.java,
java/awt/color/ColorSpace.java,
java/awt/datatransfer/StringSelection.java,
java/awt/image/ColorModel.java:
New versions from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68415 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 10:23:32 +0000 (10:23 +0000)]
2003-06-24  Michael Koch  <konqueror@gmx.de>

* Makefile.am
(awt_java_source_files): Added new files:
javax/swing/plaf/basic/BasicSplitPaneDivider.java,
javax/swing/plaf/basic/BasicSplitPaneUI.java
* Makefile.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68414 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 09:51:28 +0000 (09:51 +0000)]
2003-06-24  Michael Koch  <konqueror@gmx.de>

* javax/swing/text/JTextComponent.java:
New version from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68410 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 09:48:43 +0000 (09:48 +0000)]
2003-06-24  Michael Koch  <konqueror@gmx.de>

* javax/swing/Timer.java,
javax/swing/plaf/ActionMapUIResource.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/basic/BasicBorders.java:
New versions from classpath.
* javax/swing/plaf/basic/BasicSplitPaneDivider.java.
javax/swing/plaf/basic/BasicSplitPaneUI.java:
New file from classpath.
* javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
javax/swing/plaf/doc-files/ComponentUI-1.dia,
javax/swing/plaf/doc-files/ComponentUI-1.png:
New binary files from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68409 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-24 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 24 Jun 2003 07:25:24 +0000 (07:25 +0000)]
2003-06-24  Michael Koch  <konqueror@gmx.de>

* java/io/LineNumberReader.java
(skip): Dont do line number accounting here as this is already done in
read(), simplified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68408 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * testsuite/testsuite_performance.h: Portability.
ljrittle [Tue, 24 Jun 2003 06:41:38 +0000 (06:41 +0000)]
* testsuite/testsuite_performance.h: Portability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68407 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * include/ext/mt_allocator.h: Portability.
ljrittle [Tue, 24 Jun 2003 06:34:34 +0000 (06:34 +0000)]
* include/ext/mt_allocator.h: Portability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68406 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * method.c: add prototype for make_alias_for_thunk.
jakub [Tue, 24 Jun 2003 05:44:45 +0000 (05:44 +0000)]
* method.c: add prototype for make_alias_for_thunk.
(thunk_labelno, make_alias_for_thunk): only define
if ASM_OUTPUT_DEF is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68405 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * configure.host (freebsd*): Set abi_baseline_pair.
ljrittle [Tue, 24 Jun 2003 04:03:30 +0000 (04:03 +0000)]
    * configure.host (freebsd*): Set abi_baseline_pair.
        * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
        (at or near first release) to 3.3.
        * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
        * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
        * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68402 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * builtins.c (expand_builtin): Use expand_builtin_pow to expand
sayle [Tue, 24 Jun 2003 02:20:12 +0000 (02:20 +0000)]
* builtins.c (expand_builtin): Use expand_builtin_pow to expand
calls for pow, powf, powl and their __builtin_ variants.
(expand_builtin_pow): If the second argument is a constant
integer and compiling with -ffast-math, use expand_powi to
generate RTL if powi_cost is less than POWI_MAX_MULTS.
(powi_cost): New function to return the number of multiplications
necessary to evaluate an Nth power, for integer constant N.
(expand_powi): New function to expand the RTL for evaluating
the Nth power of a floating point value, for integer constant N.

* doc/tm.texi (POWI_MAX_MULTS): Document new target macro.

* gcc.dg/builtins-24.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68401 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* gcc_update (files_and_dependencies): Add
thorpej [Tue, 24 Jun 2003 01:32:33 +0000 (01:32 +0000)]
* gcc_update (files_and_dependencies): Add
gcc/testsuite/gcc.dg/cpp/_Pragma3.c depends on
gcc/testsuite/gcc.dg/cpp/mi1c.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68398 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Tue, 24 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68396 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
dj [Mon, 23 Jun 2003 22:16:07 +0000 (22:16 +0000)]
* Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68393 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * cgraph.c (cgraph_nodes_queue): Declare.
hubicka [Mon, 23 Jun 2003 21:11:44 +0000 (21:11 +0000)]
* cgraph.c (cgraph_nodes_queue): Declare.
(eq_node): Take identifier as p2.
(cgraph_node): Update htab_find_slot_with_hash call.
(cgraph_node_for_identifier): New.
(cgraph_mark_needed_node): Move here from cgraphunit.c.
* cgraph.h (cgraph_nodes_queue): Declare.
(cgraph_node_for_identifier): Declare.
* cgraphunit.c (cgraph_finalize_function): Collect entry points here
instead of in cgraph_finalize_compilation_unit; constructors and
destructors are entry points.
(cgraph_finalize_compilation_unit): Reorganize debug outout;
examine nested functions after lowerng; call collect_functions hook.
(cgraph_mark_local_functions): DECL_COMDAT functions are not local.
(cgraph_finalize_compilation_unit): Do not collect entry points.
* varasm.c: Include cgraph.h
(assemble_name): Mark referenced identifier as needed.

* cgraphunit.c (record_call_1): Use get_callee_fndecl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68390 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
jakub [Mon, 23 Jun 2003 20:52:14 +0000 (20:52 +0000)]
* config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
just SYMBOL_REF.
* config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
mode, as it requires pic register loaded.

* varasm.c (resolve_unique_section): Remove prototype.  No longer
static.
* tree.h (resolve_unique_section): New prototype.
cp/
* method.c (thunk_labelno): New variable.
(make_alias_for_thunk): New function.
(use_thunk): Use it if defined ASM_OUTPUT_DEF.  Put the thunk
into the same section as the function it is calling.
Include gt-cp-method.h.
* Make-lang.in (gt-cp-method.h): Depend on s-gtype.
(cp/method.o): Depend on gt-cp-method.h.
* config-lang.in (gtfiles): Add $(srcdir)/cp/method.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68389 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.def: Introduce flags_to_pass.
neroden [Mon, 23 Jun 2003 20:34:26 +0000 (20:34 +0000)]
* Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68384 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 23 Jun 2003 20:31:31 +0000 (20:31 +0000)]
2003-06-23  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/17_intro/libstdc++-assign.txt: Update address.

* testsuite/performance/ifstream_getline.cc: Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68382 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PR debug/9905
schwab [Mon, 23 Jun 2003 19:33:13 +0000 (19:33 +0000)]
PR debug/9905
* dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
recursing through first argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68379 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * decl.c (register_dtor_fn): Mark cleanup as used.
hubicka [Mon, 23 Jun 2003 17:46:26 +0000 (17:46 +0000)]
* decl.c (register_dtor_fn): Mark cleanup as used.
* decl2.c (mark_vtable_entries): Skip nops.
* rtti.c (get_tinfo_ptr): Mark tinfo as used.
(build_dynamic_cast_1): Likewise.
(tinfo_base_init): Likewise.
(emit_tinfo_decl): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68377 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoTypes _D -> _Diff, _R -> _Ref
dgregor [Mon, 23 Jun 2003 16:18:53 +0000 (16:18 +0000)]
Types _D -> _Diff, _R -> _Ref

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68375 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * ChangeLog.1: Fix a typo.
kazu [Mon, 23 Jun 2003 16:11:56 +0000 (16:11 +0000)]
* ChangeLog.1: Fix a typo.
* cfgrtl.c: Fix comment typos.
* dwarf2out.c: Likewise.
* expmed.c: Likewise.
* genrecog.c: Likewise.
* jump.c: Likewise.
* rtlanal.c: Likewise.
* ssa-dce.c: Likewise.
* toplev.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68374 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/extend.texi: Fix typos.
kazu [Mon, 23 Jun 2003 16:01:42 +0000 (16:01 +0000)]
* doc/extend.texi: Fix typos.
* doc/md.texi: Likewise.
* doc/tm.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68371 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * basic-block.h: Fix comment formatting.
kazu [Mon, 23 Jun 2003 15:27:37 +0000 (15:27 +0000)]
* basic-block.h: Fix comment formatting.
* bt-load.c: Likewise.
* builtins.c: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-format.c: Likewise.
* coverage.c: Likewise.
* cpplib.h: Likewise.
* cpppch.c: Likewise.
* dbxout.c: Likewise.
* diagnostic.c: Likewise.
* dwarf2out.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* gcov-io.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* profile.c: Likewise.
* real.h: Likewise.
* sched-deps.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68369 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/contrib.texi (Contributors): Add a note on testing and
gerald [Mon, 23 Jun 2003 15:09:15 +0000 (15:09 +0000)]
* doc/contrib.texi (Contributors): Add a note on testing and
remove duplicates from testers list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68367 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * mangle.c (hash_type): val is the TREE_LIST itself, not a pointer
jakub [Mon, 23 Jun 2003 14:52:00 +0000 (14:52 +0000)]
* mangle.c (hash_type): val is the TREE_LIST itself, not a pointer
to it.

* g++.dg/opt/operator1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68364 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago(read_braced_string): Check for EOF. If encountered issue an error message.
nickc [Mon, 23 Jun 2003 13:57:39 +0000 (13:57 +0000)]
(read_braced_string): Check for EOF.  If encountered issue an error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68363 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/invoke.texi: Document dump options, dT and dW.
kazu [Mon, 23 Jun 2003 13:29:41 +0000 (13:29 +0000)]
* doc/invoke.texi: Document dump options, dT and dW.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68361 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * genrecog.c (pred_table): Remove the entry for
kazu [Mon, 23 Jun 2003 11:58:25 +0000 (11:58 +0000)]
* genrecog.c (pred_table): Remove the entry for
mode_independent_operand.
* recog.c (next_insns_test_no_inequality): Remove.
(mode_independent_operand): Likewise.
* recog.h: Remove the prototype for mode_independent_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68360 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
kazu [Mon, 23 Jun 2003 03:37:36 +0000 (03:37 +0000)]
* config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
store into bit 0.
* config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
second alternative to set_znv.
(*extzv_1_r_inv_h8300hs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68358 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * configure.in (in_tree_gas): Find out here whether GAS is ELF,
hp [Mon, 23 Jun 2003 01:13:35 +0000 (01:13 +0000)]
* configure.in (in_tree_gas): Find out here whether GAS is ELF,
set in_tree_gas_is_elf accordingly.
(in_tree_ld): Find out whether LD emulation is ELF, set
in_tree_ld_is_elf accordingly.
(gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
(gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
(gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
(gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
grepping gas/Makefile.
(gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
$in_tree_ld_is_elf instead of grepping ld/Makefile.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68356 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
sayle [Mon, 23 Jun 2003 00:52:24 +0000 (00:52 +0000)]
* builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
up the stabilized argument list, not build_tree_list.
(expand_builtin_strcpy): Construct new argument list manually
instead of using chainon to modify the original argument list.
(expand_builtin_stpcpy): Construct new argument list manually
instead of using copy_list and chainon.
(expand_builtin_sprintf): New function.  Optimize calls to
sprintf when the format is "%s" or doesn't contain a '%'.
(expand_builtin): Expand BUILT_IN_SPRINTF using the new function
expand_builtin_sprintf.

* gcc.c-torture/execute/string-opt-16.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68355 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
hp [Mon, 23 Jun 2003 00:42:54 +0000 (00:42 +0000)]
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
and target-libgloss.
<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
<h8300*-*-*>: Disable libf2c and ${libgcj}.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68354 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Mon, 23 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68352 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * function.c (set_insn_locators): Mark as unused.
schwab [Sun, 22 Jun 2003 21:57:19 +0000 (21:57 +0000)]
* function.c (set_insn_locators): Mark as unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68350 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * common.opt: Add -finline-limit.
neil [Sun, 22 Jun 2003 20:21:35 +0000 (20:21 +0000)]
* common.opt: Add -finline-limit.
* opts.c (common_handle_options): Handle it.
* opts.sh: Temporary kludge for -finline-limit.
* toplev.c (decode_f_option, independent_decode_option): Die.
(parse_options_and_default_flags): No independent_decode_option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68348 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-22 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 22 Jun 2003 18:37:10 +0000 (18:37 +0000)]
2003-06-22  Paolo Carlini  <pcarlini@unitus.it>
    Nathan C. Myers  <ncm-nospam@cantrip.org>

* include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
is now used only for filebuf, when _M_buf_unified is true.
epgtr() plays the role of _M_out_lim but it's only updated
upon overflow, underflow, uflow, seekoff/pos.
* include/bits/sstream.tcc (_M_underflow): New, implements
stringbuf::underflow and uflow.
(seekoff, seekpos): Tweak, use  _M_update_egptr.
* include/std/std_sstream.h (str): Rewrote, deal correctly
with the new logic, in particular, when pptr() > egptr().
(_M_sync): When __testout && !__testin set all the get area
pointers to the current string end.
(_M_update_egptr): New, internal function updating egptr()
to the actual string end.
(_M_underflow): New, declare.
(underflow): Dispatch to _M_underflow(false).
(uflow): Dispatch to _M_underflow(true).

* include/bits/sstream.tcc (pbackfail, overflow, seekoff,
seekpos): Use only the documented derivation interface to
basic_streambuf (gptr(), setg(), etc.) to work right with
user specializations.
* include/std/std_sstream.h (str, _M_sync): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68347 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
aj [Sun, 22 Jun 2003 17:46:38 +0000 (17:46 +0000)]
* calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68346 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
kazu [Sun, 22 Jun 2003 17:36:11 +0000 (17:36 +0000)]
* doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68345 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/invoke.texi: Remove leading `-' from options in index.
schwab [Sun, 22 Jun 2003 17:26:49 +0000 (17:26 +0000)]
* doc/invoke.texi: Remove leading `-' from options in index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68343 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * bt-load.c: Follow spelling conventions.
kazu [Sun, 22 Jun 2003 16:49:12 +0000 (16:49 +0000)]
* bt-load.c: Follow spelling conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68342 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * expr.c (emit_move_insn_1): Fix a comment typo.
kazu [Sun, 22 Jun 2003 16:40:45 +0000 (16:40 +0000)]
* expr.c (emit_move_insn_1): Fix a comment typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68341 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/invoke.texi: Alphabetize dump options.
kazu [Sun, 22 Jun 2003 16:29:39 +0000 (16:29 +0000)]
* doc/invoke.texi: Alphabetize dump options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68339 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/invoke.texi: Remove a duplicate -dk.
kazu [Sun, 22 Jun 2003 16:18:26 +0000 (16:18 +0000)]
* doc/invoke.texi: Remove a duplicate -dk.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68338 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/invoke.texi: Update dump file names.
kazu [Sun, 22 Jun 2003 16:05:53 +0000 (16:05 +0000)]
* doc/invoke.texi: Update dump file names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68336 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoinclude:
zack [Sun, 22 Jun 2003 15:59:49 +0000 (15:59 +0000)]
include:
* safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to
HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC
respectively.
libiberty:
* safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
not HC_ASCII and HC_EBCDIC.
Add documentation in form expected by gather-docs.
* hex.c: Use HOST_CHARSET, not hand-coded check of character set.
* Makefile.in, functions.texi: Regenerate.
gcc:
* config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68335 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/rtl.texi: Fix the @findex for pre_modify.
kazu [Sun, 22 Jun 2003 15:11:07 +0000 (15:11 +0000)]
* doc/rtl.texi: Fix the @findex for pre_modify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68333 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoConvert to ISO C90.
aj [Sun, 22 Jun 2003 15:07:31 +0000 (15:07 +0000)]
Convert to ISO C90.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68332 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * caller-save.c: Convert to ISO C90.
aj [Sun, 22 Jun 2003 15:03:27 +0000 (15:03 +0000)]
* caller-save.c: Convert to ISO C90.
* calls.c: Likewise.
* cfg.c: Likewise.
* cfganal.c: Likewise.
* cfgbuild.c: Likewise.
* cfgcleanup.c: Likewise.
* cfghooks.c: Likewise.
* cfglayout.c: Likewise.
* cfglayout.h: Likewise.
* cfgloop.c: Likewise.
* cfgloop.h: Likewise.
* cfgloopanal.c: Likewise.
* cfgloopmainip.c: Likewise.
* cfgrtl.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68331 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
rearnsha [Sun, 22 Jun 2003 14:06:33 +0000 (14:06 +0000)]
* arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
64-bit alignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68330 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* arm.md (all call_value patterns): Remove register constraints on
rearnsha [Sun, 22 Jun 2003 13:54:38 +0000 (13:54 +0000)]
* arm.md (all call_value patterns): Remove register constraints on
value operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68329 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * common.opt: More -f switches.
neil [Sun, 22 Jun 2003 13:44:40 +0000 (13:44 +0000)]
* common.opt: More -f switches.
* opts.c (common_handle_options): Handle them.
* toplev.c (time_report): Make extern.
(f_options): USe flag_dummy.
(decode_f_option): No need to use f_options now.
* toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
flag_ssa_dce, time_report, flag_new_regalloc): Make extern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68328 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-lex.c: Convert to ISO C90.
aj [Sun, 22 Jun 2003 13:41:26 +0000 (13:41 +0000)]
* c-lex.c: Convert to ISO C90.
* c-objc-common.c: Likewise.
* c-opts.c: Likewise.
* c-pch.c: Likewise.
* c-ppoutput.c: Likewise.
* c-pragma.h: Likewise.
* c-pretty-print.c: Likewise.
* c-pretty-print.h: Likewise.
* c-semantics.c: Likewise.
* c-tree.h: Likewise.
* c-typeck.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68327 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-lang.c: Convert to ISO C90.
aj [Sun, 22 Jun 2003 12:55:44 +0000 (12:55 +0000)]
* c-lang.c: Convert to ISO C90.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68326 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * opts.c (find_opt): Fix to always guarantee a find of a
neil [Sun, 22 Jun 2003 09:04:57 +0000 (09:04 +0000)]
* opts.c (find_opt): Fix to always guarantee a find of a
switch with joined parameter.
* opts.h (struct cl_option): New member back_chain.
* opts.sh: Update to calculate and add back_chain member.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68324 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * diagnostic.h (output_host_wide_integer): Declare.
gdr [Sun, 22 Jun 2003 08:05:39 +0000 (08:05 +0000)]
* diagnostic.h (output_host_wide_integer): Declare.
* diagnostic.c (output_long_long_decicaml): New function.
(output_host_wide_integer): Likewise.
(output_format): Use them.  Handle "%ll" and "%w".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68323 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago* config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
thorpej [Sun, 22 Jun 2003 04:53:22 +0000 (04:53 +0000)]
* config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68322 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Sun, 22 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68320 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoinclude:
zack [Sat, 21 Jun 2003 23:22:30 +0000 (23:22 +0000)]
include:
* safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET):
New #defines.
libiberty:
* safe-ctype.c: Separate out EOF==-1 check.  Use HOST_CHARSET
for charset determination.
gcc:
* aclocal.m4 (gcc_AC_C_CHARSET): Delete.
* configure.in: Don't use gcc_AC_C_CHARSET.
* configure, config.in: Regenerate.
* config/i370/i370.c, config/i370/i370.h: Use
(HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68317 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.in: Update.
neil [Sat, 21 Jun 2003 20:28:18 +0000 (20:28 +0000)]
* Makefile.in: Update.
* common.opt: New switches.
* opts.c: Include diagnostic.h.
(common_handle_option): Handle new switches.
* toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
flag_if_conversion2, flag_delete_null_pointer_checks,
flag_rerun_cse_after_loop): Make extern.
(flag_dummy): New.
(f_options): Update to use flag_dummy for moved options.
(decode_f_option): Some switches moved to opts.c.
* toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
flag_if_conversion2, flag_delete_null_pointer_checks,
flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
flag_tracer, flag_thread_jumps, flag_unroll_loops,
flag_unroll_all_loops, flag_unswitch_loops): New.
f:
* lang.opt: Add -fpreprocessed.
* top.c (ffe_handle_option): Handle it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68315 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agocp/
gdr [Sat, 21 Jun 2003 17:39:58 +0000 (17:39 +0000)]
cp/
        PR c++/10784
        * call.c (joust): Warn about choosing conversion sequence only if
        -Wconversion.

testsuite/
        * g++.old-deja/g++.benjamin/16077.C: Add -Wconversion option.
        * g++.old-deja/g++.other/conv7.C: Likewise
        * g++.old-deja/g++.other/overcnv2.C: Likewise.
        * g++.old-deja/g++.other/overload14.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68312 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-21 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 21 Jun 2003 17:06:56 +0000 (17:06 +0000)]
2003-06-21  Michael Koch  <konqueror@gmx.de>

* java/io/File.java
(static): Load javaio lib if existing (only in classpath).
(File): Revised documentation to show the correct argument name.
(createTempFile): Partly merged with classpath.
(compareTo): Simplified.
(lastModified): Throw exception if time < 0.
(deleteOnExit): Revised documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68310 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago PC c++/10864
gdr [Sat, 21 Jun 2003 16:43:44 +0000 (16:43 +0000)]
PC c++/10864
* call.c (op_error): Tidy.
* error.c (dump_expr): Properly format 'T()' when T is an
aggregate type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68309 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * Makefile.in: Update.
neil [Sat, 21 Jun 2003 15:59:31 +0000 (15:59 +0000)]
* Makefile.in: Update.
* c-opts.c (c_common_handle_option): Don't return -1.
* common.opt: New switches.
* opts.c: Include rtl.h, ggc.h and output.h.
(find_opt): Only stop searching when input switch compares
less than the stored switch.  Continue searching if greater.
(handle_option): No need to handle negative return values.
(common_handle_option): Handle new switches.
(set_fast_math_flags, fast_math_flags_set_p): New.
* toplev.c (set_fast_math_flags, fast_math_flags_set_p):
Move to opts.c.
(decode_f_option): Some switches moved to opts.c.
(parse_options_and_default_flags): No need to cater for negative
return values.
f:
* top.c (ffe_handle_option): No need to return -1 any more.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68307 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-21 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 21 Jun 2003 14:02:10 +0000 (14:02 +0000)]
2003-06-21  Michael Koch  <konqueror@gmx.de>

* java/net/PlainSocketImpl.java:
Reformatted.
(PlainSocketImpl): Merged class documentaion with classpath.
(in): Moved.
(out): Moved.
(PlainSocketImpl): New empty constructor.
(finalize): Moved.
(setOption): Merged documentation from classpath.
(getOption): Likewise.
(create): Likewise.
(connect): Likewise.
(bind): Likewise.
(listen): Likewise.
(accept): Likewise.
(available): Likewise.
(close): Likewise.
(read): Likewise.
(write): Likewise.
(getInputStream): Made synchronozed to get sure that only one stream
object can be created for this socket, merged documentation from
classpath.
(getOutputStream): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68305 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-21 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 21 Jun 2003 13:24:13 +0000 (13:24 +0000)]
2003-06-21  Michael Koch  <konqueror@gmx.de>

* java/net/PlainSocketImpl.java:
Reformatting.
(static): New implicit method.
(read): Made package private.
(write): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68304 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agotestsuite/
gdr [Sat, 21 Jun 2003 13:09:05 +0000 (13:09 +0000)]
testsuite/
        * g++.old-deja/g++.jason/conversion5.C: Adjust option.
        * g++.old-deja/g++.bugs/900215_01.C: Likewise.

cp/
        PR c++/10915
        * decl.c (grok_op_properties): Warn possible confusing conversion
        only if -Wconversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68303 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-21 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 21 Jun 2003 12:49:39 +0000 (12:49 +0000)]
2003-06-21  Michael Koch  <konqueror@gmx.de>

* java/util/SimpleTimeZone.java:
Removed unneeded import, reformatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68301 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-21 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 21 Jun 2003 12:42:26 +0000 (12:42 +0000)]
2003-06-21  Michael Koch  <konqueror@gmx.de>

* java/text/DateFormat.java,
java/text/SimpleDateFormat.java,
java/util/Locale.java:
New versions from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68300 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-21 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 21 Jun 2003 12:02:11 +0000 (12:02 +0000)]
2003-06-21  Michael Koch  <konqueror@gmx.de>

* javax/swing/SpinnerModel.java:
New file from classpath.
* javax/swing/border/LineBorder.java,
javax/swing/border/SoftBevelBorder.java,
javax/swing/plaf/BorderUIResource.java,
javax/swing/plaf/basic/BasicBorders.java:
New versions from classpath.
* javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
New binary files from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68299 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * i386.c (ix86_va_arg): Fix allocation of temporary slot.
hubicka [Sat, 21 Jun 2003 11:51:36 +0000 (11:51 +0000)]
* i386.c (ix86_va_arg): Fix allocation of temporary slot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68298 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Sat, 21 Jun 2003 11:32:54 +0000 (11:32 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
same_cmp_preceding_p.
* config/h8300/h8300.c (same_cmp_preceding): New.
* config/h8300/h8300.md: Extend peephole2's that transform
compare:SI into shorter sequences so that they can deal with
signed comparisons.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68296 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago2003-06-21 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 21 Jun 2003 10:31:55 +0000 (10:31 +0000)]
2003-06-21  Michael Koch  <konqueror@gmx.de>

* java/util/logging/LogRecord.java,
java/util/logging/Logger.java,
java/util/logging/SocketHandler.java,
java/util/logging/SimpleFormatter.java,
java/util/logging/Formatter.java,
java/util/logging/ErrorManager.java,
java/util/logging/Handler.java,
java/util/logging/FileHandler.java,
java/util/logging/LogManager.java,
java/util/logging/Level.java,
java/util/logging/ConsoleHandler.java,
java/util/logging/StreamHandler.java,
java/util/logging/LoggingPermission.java,
java/util/logging/Filter.java,
java/util/logging/MemoryHandler.java,
java/util/logging/XMLFormatter.java:
New files from classpath.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68295 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * doc/contrib.texi (Contributors): Use Windows instead of Win32.
gerald [Sat, 21 Jun 2003 08:26:29 +0000 (08:26 +0000)]
* doc/contrib.texi (Contributors): Use Windows instead of Win32.

Update Andreas Jaeger's entry.

Merge the two entries of Kaveh Ghazi, David Edelsohn, and
Loren J. Rittle.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68293 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * mkconfig.sh: Add multiple inclusion guards to generated headers.
neroden [Sat, 21 Jun 2003 05:20:05 +0000 (05:20 +0000)]
* mkconfig.sh: Add multiple inclusion guards to generated headers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68292 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoDaily bump.
gccadmin [Sat, 21 Jun 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68290 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agoTestsuite corrections
dgregor [Fri, 20 Jun 2003 23:40:11 +0000 (23:40 +0000)]
Testsuite corrections

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68288 138bc75d-0d04-0410-961f-82ee72b054a4

17 years ago * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
neil [Fri, 20 Jun 2003 22:56:36 +0000 (22:56 +0000)]
* c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
* common.opt: Add remaining -W options and -g.
* diagnostic.c (warnings_are_errors): Remove.
* flags.h: Make most warning flags boolean.
* opts.c (common_handle_option): Handle remaining -W options, and -g.
Move many warning flags from toplev.c, making them boolean.
* toplev.c: Remove many warning flags.
(decode_W_option): Remove.
(decode_g_option): Make extern.  Error on unknown switch.
(lang_independent_W_options): Use warn_dummy.
(independent_decode_option): Just handle -f switches now.
* toplev.h (decode_g_option): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68287 138bc75d-0d04-0410-961f-82ee72b054a4

17 years agofix basic_string::replace for integral types
dgregor [Fri, 20 Jun 2003 22:12:18 +0000 (22:12 +0000)]
fix basic_string::replace for integral types

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68286 138bc75d-0d04-0410-961f-82ee72b054a4