Zdenek Dvorak [Thu, 26 Jun 2003 06:13:27 +0000 (08:13 +0200)]
Makefile.in (cfgrtl.o): Add expr.h dependency.
* Makefile.in (cfgrtl.o): Add expr.h dependency.
* cfgrtl.c: Include expr.h.
(mark_killed_regs, safe_insert_insn_on_edge): New
functions.
* config/i386/i386.h (AVOID_CCMODE_COPIES): Define.
* basic-block.h (safe_insert_insn_on_edge): Declare.
From-SVN: r68518
Neil Booth [Thu, 26 Jun 2003 06:05:36 +0000 (06:05 +0000)]
c-opts.c (missing_arg): Make non-static.
* c-opts.c (missing_arg): Make non-static.
(c_common_handle_option): Don't check for missing arguments.
* opts.c (handle_option): Check for missing arguments.
ada:
* misc.c (gnat_handle_option): Don't check for missing arguments.
f:
* top.c (ffe_handle_option): Don't check for missing arguments.
java:
* lang.c (java_handle_option): Don't check for missing arguments.
testsuite:
* const-str-2.m: Update.
From-SVN: r68517
David Edelsohn [Thu, 26 Jun 2003 05:22:32 +0000 (05:22 +0000)]
* config/rs6000/power4.md (power4-veccomplex): Correct latency.
From-SVN: r68516
Loren J. Rittle [Thu, 26 Jun 2003 04:57:15 +0000 (04:57 +0000)]
configure.in (ld_vers): Portability [sed].
* configure.in (ld_vers): Portability [sed].
* configure: Regenerate with autoconf213.
From-SVN: r68515
GCC Administrator [Thu, 26 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r68510
Mark Mitchell [Thu, 26 Jun 2003 00:07:52 +0000 (00:07 +0000)]
re PR c++/10990 (Cannot convert with dynamic_cast<> to a private base class from within a member function)
PR c++/10990
* search.c (lookup_base_r): Rely on accessible_p, rather than
trying to emulate that logic here.
PR c++/10990
* g++.dg/rtti/dyncast1.C: New test.
* g++.dg/abi/mangle4.C: Correct base-specifier access.
* g++.dg/lookup/scoped1.C: Remove XFAIL.
* g++.old-deja/g++.martin/pmf1.C: Correct base-specifier access.
From-SVN: r68507
Mark Mitchell [Thu, 26 Jun 2003 00:07:09 +0000 (00:07 +0000)]
re PR c++/10931 (valid conversion static_cast<const unsigned int&>(lvalue-of-type-int) is rejected)
PR c++/10931
* g++.dg/expr/static_cast1.C: New test.
PR c++/10931
* call.c (convert_like): Pass issue_conversion_warnings.
(convert_like_with_context): Likewise.
(convert_like_real): Add issue_conversion_warnings parameter.
(perform_direct_initialization_if_possible): New function.
* cp-tree.h (perform_direct_initialization_if_possible): Declare it.
* typeck.c (check_for_casting_away_constness): New function.
(build_static_cast): Rewrite.
From-SVN: r68506
H.J. Lu [Wed, 25 Jun 2003 22:28:27 +0000 (22:28 +0000)]
extend.texi: Document new builtin functions for Intel Prescott New Intrunctions.
2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
* doc/extend.texi: Document new builtin functions for Intel
Prescott New Intrunctions.
* doc/invoke.texi: Document new command-line options, -mpni and
-mno-pni, for Intel Prescott New Intrunctions.
* config.gcc (extra_headers): Add pmmintrin.h for i[34567]86-*-*.
* config/i386/i386.c (override_options): Turn on MASK_SSE2
for -mpni. Turn on MASK_SSE for -msse2.
(bdesc_2arg): Add PNI builtins with 2 args.
(bdesc_1arg): Add PNI builtins with 1 arg.
(ix86_init_mmx_sse_builtins): Handle PNI builtins.
(ix86_expand_builtin): Likewise.
* config/i386/i386.h (MASK_3DNOW, MASK_3DNOW_A,
MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT,
MASK_TLS_DIRECT_SEG_REFS): Renumbered.
(TARGET_PNI): New.
(TARGET_SWITCHES): Don't enable MASK_SSE for -msse2 here. Add
-mpni and -mno-pni.
(TARGET_CPU_CPP_BUILTINS): Defined __PNI__ for PNI.
(ix86_builtins): Add PNI builtins.
(config/i386/i386.md): Add PNI patterns.
* config/i386/pmmintrin.h: New file.
From-SVN: r68502
Kazu Hirata [Wed, 25 Jun 2003 22:16:31 +0000 (22:16 +0000)]
h8300.md (call): Fix the insn lengths.
* config/h8300/h8300.md (call): Fix the insn lengths.
(call_value): Likewise.
From-SVN: r68501
Jan Hubicka [Wed, 25 Jun 2003 22:14:26 +0000 (00:14 +0200)]
c-common.c (handle_used_attribute): Use mark_referenced.
* c-common.c (handle_used_attribute): Use mark_referenced.
* varasm.c (mark_referenced): Break out from ...
(assemble_name): ... here.
* tree.h (mark_referenced): Declare.
From-SVN: r68500
Wolfgang Bangerth [Wed, 25 Jun 2003 21:08:26 +0000 (15:08 -0600)]
gccbug.in: Add PCH to list of categories.
2003-06-25 Wolfgang Bangerth <bangerth@dealii.org>
* gccbug.in: Add PCH to list of categories.
From-SVN: r68497
Martin Schaffner [Wed, 25 Jun 2003 21:01:10 +0000 (23:01 +0200)]
cppfiles.c: Clarify comments.
* cppfiles.c: Clarify comments.
* cpphash.h: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* mkdeps.h: Likewise.
From-SVN: r68496
Neil Booth [Wed, 25 Jun 2003 20:43:11 +0000 (20:43 +0000)]
c-opts.c (complain_wrong_lang, [...]): Remove.
* c-opts.c (complain_wrong_lang, write_langs): Remove.
(c_common_handle_option): Complaints about wrong language are
handled in opts.c now.
* opts.c (complain_wrong_lang, write_langs, handle_options): New.
(find_opt): Fix thinko.
(handle_option): Update prototype. Complain about switches for
a different front end.
* opts.h (lang_names, handle_options): New.
(handle_option): Remove.
* opts.sh: Write out language names array.
* toplev.c (parse_options_and_default_flags): Use handle_options.
From-SVN: r68495
H.J. Lu [Wed, 25 Jun 2003 20:23:14 +0000 (20:23 +0000)]
i386.c (MASK_SSE1): Removed.
2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (MASK_SSE1): Removed.
(MASK_SSE164): Removed.
(MASK_SSE264): Removed.
(bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
with MASK_SSE2 | MASK_64BIT.
(bdesc_1arg): Likewise.
(ix86_init_mmx_sse_builtins): Likewise.
* config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
(TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
-msse2.
From-SVN: r68492
Kaveh R. Ghazi [Wed, 25 Jun 2003 19:33:08 +0000 (19:33 +0000)]
hwint.h (HOST_WIDE_INT_PRINT, [...]): New macros.
* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
(HOST_WIDE_INT_PRINT_DEC_SPACE,
HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
HOST_WIDEST_INT_PRINT_DEC_SPACE,
HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
(HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
* final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
* ra-debug.c (dump_static_insn_cost): Likewise.
From-SVN: r68489
Nick Clifton [Wed, 25 Jun 2003 18:49:51 +0000 (18:49 +0000)]
arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
* config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead of
ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
Replace occurances of '???' with 'XXX' incase they are mistaken for trigraphs.
(THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address does not have a
register for the first operand.
From-SVN: r68487
Nathan C. Myers [Wed, 25 Jun 2003 18:27:53 +0000 (18:27 +0000)]
streambuf.tcc (sbumpc, [...]): Move inline, from here...
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
Dhananjay Deshpande [Wed, 25 Jun 2003 17:33:35 +0000 (17:33 +0000)]
sh.c (sh_register_move_cost): Add case for moving between MAC_REGS.
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
Zack Weinberg [Wed, 25 Jun 2003 17:29:14 +0000 (17:29 +0000)]
re PR c/10178 (ICE in tree_low_cst)
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
Kaveh R. Ghazi [Wed, 25 Jun 2003 15:53:07 +0000 (15:53 +0000)]
Makefile.in (bt-load.o): Depend on $(TM_P_H).
* Makefile.in (bt-load.o): Depend on $(TM_P_H).
* bt-load.c: Include "tm_p.h".
From-SVN: r68482
Michael Koch [Wed, 25 Jun 2003 12:41:56 +0000 (12:41 +0000)]
2003-06-25 Michael Koch <konqueror@gmx.de>
* Makefile.am
(awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
* Makefile.in: Regenerated.
From-SVN: r68477
Michael Koch [Wed, 25 Jun 2003 12:39:15 +0000 (12:39 +0000)]
ActionMapUIResource.java, [...]: New versions from classpath.
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
Kazu Hirata [Wed, 25 Jun 2003 11:54:44 +0000 (11:54 +0000)]
h8300.c (compute_mov_length): Adjust for the new optimization.
* 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
Michael Koch [Wed, 25 Jun 2003 11:23:33 +0000 (11:23 +0000)]
ColorModel.java: New version from classpath.
2003-06-25 Michael Koch <konqueror@gmx.de>
* java/awt/image/ColorModel.java:
New version from classpath.
From-SVN: r68474
Gerald Pfeifer [Wed, 25 Jun 2003 09:36:19 +0000 (11:36 +0200)]
gcc_release: Factor the updating of links and READMEs on the FTP server and sending mail for...
* 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
Jan Hubicka [Wed, 25 Jun 2003 09:32:44 +0000 (11:32 +0200)]
varasm.c (assemble_name): Mark needed variables even when global info is ready.
* varasm.c (assemble_name): Mark needed variables even when
global info is ready.
From-SVN: r68472
Jerry Quinn [Wed, 25 Jun 2003 08:24:52 +0000 (08:24 +0000)]
re PR other/11280 (Manual incorrect WRT -freorder-blocks)
PR other/11280
* gcc/doc/invoke.texi (Optimization Options): Remove -Os from
-freorder-functions description.
From-SVN: r68470
Michael Koch [Wed, 25 Jun 2003 07:00:34 +0000 (07:00 +0000)]
PlainDatagramSocketImpl.java: Partly merged with classpath, this mainly adds documentation.
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 [Wed, 25 Jun 2003 06:31:59 +0000 (06:31 +0000)]
2003-06-25 Michael Koch <konqueror@gmx.de>
* 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
Josef Zlomek [Wed, 25 Jun 2003 06:30:46 +0000 (08:30 +0200)]
Test from gcc.gnu.org/ml/gcc-patches/2003-06/msg02557.html
From-SVN: r68462
Josef Zlomek [Wed, 25 Jun 2003 06:10:27 +0000 (08:10 +0200)]
* dwarf2out.c (gen_field_die): Return if type of decl is error mark.
From-SVN: r68459
Neil Booth [Wed, 25 Jun 2003 05:52:14 +0000 (05:52 +0000)]
opts.c (common_handle_option): Add missing break;s.
* opts.c (common_handle_option): Add missing break;s.
f:
* top.c (ffe_handle_option): Add missing break;.
From-SVN: r68457
Michael Koch [Wed, 25 Jun 2003 04:34:20 +0000 (04:34 +0000)]
BasicListUI.java, [...]: Added missing methods.
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 [Wed, 25 Jun 2003 04:16:18 +0000 (04:16 +0000)]
AncestorEvent.java [...]: Compile fixes.
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
Kazu Hirata [Wed, 25 Jun 2003 03:47:31 +0000 (03:47 +0000)]
h8300-protos.h: Add a prototype for compute_mov_length.
* 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 [Wed, 25 Jun 2003 03:45:13 +0000 (03:45 +0000)]
jump.c (next_nondeleted_insn): Remove.
* jump.c (next_nondeleted_insn): Remove.
* rtl.h: Remove the prototype for next_nondeleted_insn.
From-SVN: r68453
Roger Sayle [Wed, 25 Jun 2003 03:09:06 +0000 (03:09 +0000)]
re PR rtl-optimization/11311 (ICE with pow and large exponent)
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 [Wed, 25 Jun 2003 00:38:01 +0000 (00:38 +0000)]
* config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
From-SVN: r68449
GCC Administrator [Wed, 25 Jun 2003 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r68447
Richard Henderson [Wed, 25 Jun 2003 00:11:33 +0000 (17:11 -0700)]
real.h (ieee_extended_intel_96_round_53_format): New.
* 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
Phil Edwards [Tue, 24 Jun 2003 20:56:40 +0000 (20:56 +0000)]
mainpage.html: Use a useful title.
2003-06-24 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/mainpage.html: Use a useful title.
From-SVN: r68441
Benjamin Kosnik [Tue, 24 Jun 2003 20:33:29 +0000 (20:33 +0000)]
documentation.html: Remove assignment info.
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
Michael Koch [Tue, 24 Jun 2003 20:22:48 +0000 (20:22 +0000)]
URL.java: Renamed "handler" to "ph" in the whole file to match classpaths version.
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 [Tue, 24 Jun 2003 20:17:27 +0000 (20:17 +0000)]
AncestorEvent.java, [...]: New versions from classpath.
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
Scott Snyder [Tue, 24 Jun 2003 19:54:24 +0000 (19:54 +0000)]
re PR fortran/11299 (f771 ICE on line directive)
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
Benjamin Kosnik [Tue, 24 Jun 2003 19:38:36 +0000 (19:38 +0000)]
testsuite_performance.h: Tweak mallinfo.
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
Kazu Hirata [Tue, 24 Jun 2003 18:28:11 +0000 (18:28 +0000)]
h8300.md (4 anonymous patterns): Give internal names.
* 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
Jakub Jelinek [Tue, 24 Jun 2003 17:29:09 +0000 (19:29 +0200)]
builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in src twice.
* 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
J"orn Rennecke [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.
From-SVN: r68430
Janis Johnson [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_search: Replace existing uses of DATE with MADE_DATE and
use DATE for the date command.
* reg_periodic: Ditto.
From-SVN: r68429
Falk Hueffner [Tue, 24 Jun 2003 16:54:25 +0000 (16:54 +0000)]
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
Jan Hubicka [Tue, 24 Jun 2003 16:50:29 +0000 (18:50 +0200)]
Makefile.in (cgraph.o): Depend on output.h, not depend on tree-inline.h
* 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
Nathan Sidwell [Tue, 24 Jun 2003 15:40:06 +0000 (15:40 +0000)]
call.c (enforce_access): Assert we get a binfo.
* 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
Mark Mitchell [Tue, 24 Jun 2003 15:25:43 +0000 (15:25 +0000)]
re PR c++/5754 (g++ segfaults on compilation of template-enriched code)
PR c++/5754
* g++.dg/parse/crash6.C: New test.
From-SVN: r68423
Paolo Carlini [Tue, 24 Jun 2003 13:48:11 +0000 (15:48 +0200)]
Nathan C.
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
Jan Hubicka [Tue, 24 Jun 2003 13:31:59 +0000 (15:31 +0200)]
method.c (thunk_labelno): Move outside ifdef block to make garbage collector happy.
* method.c (thunk_labelno): Move outside ifdef block to make garbage
collector happy.
From-SVN: r68419
Jan Hubicka [Tue, 24 Jun 2003 11:54:01 +0000 (13:54 +0200)]
langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
* 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.
From-SVN: r68418
Michael Koch [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.
From-SVN: r68417
Michael Koch [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.
From-SVN: r68416
Michael Koch [Tue, 24 Jun 2003 10:50:21 +0000 (10:50 +0000)]
Font.java, [...]: New versions from classpath.
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.
From-SVN: r68415
Michael Koch [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.
From-SVN: r68414
Michael Koch [Tue, 24 Jun 2003 09:51:28 +0000 (09:51 +0000)]
JTextComponent.java: New version from classpath.
2003-06-24 Michael Koch <konqueror@gmx.de>
* javax/swing/text/JTextComponent.java:
New version from classpath.
From-SVN: r68410
Michael Koch [Tue, 24 Jun 2003 09:48:43 +0000 (09:48 +0000)]
Timer.java, [...]: New versions from classpath.
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.
From-SVN: r68409
Michael Koch [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.
From-SVN: r68408
Loren J. Rittle [Tue, 24 Jun 2003 06:41:38 +0000 (06:41 +0000)]
* testsuite/testsuite_performance.h: Portability.
From-SVN: r68407
Loren J. Rittle [Tue, 24 Jun 2003 06:34:34 +0000 (06:34 +0000)]
* include/ext/mt_allocator.h: Portability.
From-SVN: r68406
Andrew Pinski [Tue, 24 Jun 2003 05:44:45 +0000 (05:44 +0000)]
method.c: add prototype for make_alias_for_thunk.
* method.c: add prototype for make_alias_for_thunk.
(thunk_labelno, make_alias_for_thunk): only define
if ASM_OUTPUT_DEF is defined.
From-SVN: r68405
Loren J. Rittle [Tue, 24 Jun 2003 04:03:30 +0000 (04:03 +0000)]
configure.host (freebsd*): Set abi_baseline_pair.
* 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.
From-SVN: r68402
Roger 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...
* 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.
From-SVN: r68401
Jason Thorpe [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.
* gcc_update (files_and_dependencies): Add
gcc/testsuite/gcc.dg/cpp/_Pragma3.c depends on
gcc/testsuite/gcc.dg/cpp/mi1c.h.
From-SVN: r68398
GCC Administrator [Tue, 24 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r68396
Keith Seitz [Mon, 23 Jun 2003 22:16:07 +0000 (22:16 +0000)]
Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
* Makefile.tpl: Add maybe-configure-itcl to configure-gdb.
* Makefile.in: Regenerate.
From-SVN: r68393
Jan Hubicka [Mon, 23 Jun 2003 21:11:44 +0000 (23:11 +0200)]
cgraph.c (cgraph_nodes_queue): Declare.
* 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.
From-SVN: r68390
Jakub Jelinek [Mon, 23 Jun 2003 20:52:14 +0000 (22:52 +0200)]
i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, just SYMBOL_REF.
* 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.
From-SVN: r68389
Nathanael Nerode [Mon, 23 Jun 2003 20:34:26 +0000 (20:34 +0000)]
Makefile.def: Introduce flags_to_pass.
* Makefile.def: Introduce flags_to_pass.
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it.
* Makefile.in: Regenerate.
From-SVN: r68384
Benjamin Kosnik [Mon, 23 Jun 2003 20:31:31 +0000 (20:31 +0000)]
libstdc++-assign.txt: Update address.
2003-06-23 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/libstdc++-assign.txt: Update address.
* testsuite/performance/ifstream_getline.cc: Fix.
From-SVN: r68382
Andreas Schwab [Mon, 23 Jun 2003 19:33:13 +0000 (19:33 +0000)]
re PR debug/9905 (Unhandled STMT_EXPR in loc_descriptor_from_tree)
PR debug/9905
* dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
recursing through first argument.
From-SVN: r68379
Jan Hubicka [Mon, 23 Jun 2003 17:46:26 +0000 (19:46 +0200)]
decl.c (register_dtor_fn): Mark cleanup as used.
* 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.
From-SVN: r68377
Doug Gregor [Mon, 23 Jun 2003 16:18:53 +0000 (16:18 +0000)]
Types _D -> _Diff, _R -> _Ref
From-SVN: r68375
Kazu Hirata [Mon, 23 Jun 2003 16:11:56 +0000 (16:11 +0000)]
ChangeLog.1: Fix a typo.
* 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.
From-SVN: r68374
Kazu Hirata [Mon, 23 Jun 2003 16:01:42 +0000 (16:01 +0000)]
extend.texi: Fix typos.
* doc/extend.texi: Fix typos.
* doc/md.texi: Likewise.
* doc/tm.texi: Likewise.
From-SVN: r68371
Kazu Hirata [Mon, 23 Jun 2003 15:27:37 +0000 (15:27 +0000)]
basic-block.h: Fix comment formatting.
* 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.
From-SVN: r68369
Gerald Pfeifer [Mon, 23 Jun 2003 15:09:15 +0000 (15:09 +0000)]
contrib.texi (Contributors): Add a note on testing and remove duplicates from testers list.
* doc/contrib.texi (Contributors): Add a note on testing and
remove duplicates from testers list.
From-SVN: r68367
Jakub Jelinek [Mon, 23 Jun 2003 14:52:00 +0000 (16:52 +0200)]
mangle.c (hash_type): val is the TREE_LIST itself, not a pointer to it.
* mangle.c (hash_type): val is the TREE_LIST itself, not a pointer
to it.
* g++.dg/opt/operator1.C: New test.
From-SVN: r68364
Nick Clifton [Mon, 23 Jun 2003 13:57:39 +0000 (13:57 +0000)]
(read_braced_string): Check for EOF. If encountered issue an error message.
From-SVN: r68363
Kazu Hirata [Mon, 23 Jun 2003 13:29:41 +0000 (13:29 +0000)]
* doc/invoke.texi: Document dump options, dT and dW.
From-SVN: r68361
Kazu Hirata [Mon, 23 Jun 2003 11:58:25 +0000 (11:58 +0000)]
genrecog.c (pred_table): Remove the entry for mode_independent_operand.
* 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.
From-SVN: r68360
Kazu Hirata [Mon, 23 Jun 2003 03:37:36 +0000 (03:37 +0000)]
h8300.c (output_simode_bld): Use rotxl.l to store into bit 0.
* 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.
From-SVN: r68358
Hans-Peter Nilsson [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.
* 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.
From-SVN: r68356
Roger 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.
* 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.
From-SVN: r68355
Hans-Peter Nilsson [Mon, 23 Jun 2003 00:42:54 +0000 (00:42 +0000)]
configure.in (noconfigdirs): Disable target-newlib and target-libgloss.
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
and target-libgloss.
<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
<h8300*-*-*>: Disable libf2c and ${libgcj}.
* configure: Regenerate.
From-SVN: r68354
GCC Administrator [Mon, 23 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r68352
Andreas Schwab [Sun, 22 Jun 2003 21:57:19 +0000 (21:57 +0000)]
* function.c (set_insn_locators): Mark as unused.
From-SVN: r68350
Neil Booth [Sun, 22 Jun 2003 20:21:35 +0000 (20:21 +0000)]
common.opt: Add -finline-limit.
* 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.
From-SVN: r68348
Paolo Carlini [Sun, 22 Jun 2003 18:37:10 +0000 (18:37 +0000)]
Nathan C.
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.
From-SVN: r68347
Andreas Jaeger [Sun, 22 Jun 2003 17:46:38 +0000 (19:46 +0200)]
* calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
From-SVN: r68346
Kazu Hirata [Sun, 22 Jun 2003 17:36:11 +0000 (17:36 +0000)]
* doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
From-SVN: r68345
Andreas Schwab [Sun, 22 Jun 2003 17:26:49 +0000 (17:26 +0000)]
* doc/invoke.texi: Remove leading `-' from options in index.
From-SVN: r68343
Kazu Hirata [Sun, 22 Jun 2003 16:49:12 +0000 (16:49 +0000)]
* bt-load.c: Follow spelling conventions.
From-SVN: r68342
Kazu Hirata [Sun, 22 Jun 2003 16:40:45 +0000 (16:40 +0000)]
* expr.c (emit_move_insn_1): Fix a comment typo.
From-SVN: r68341