OSDN Git Service
amylaar [Thu, 26 Jun 2003 13:15:38 +0000 (13:15 +0000)]
* gcc.c-torture/execute/simd-4.c (main):
Added missing semicolon at end of union.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68531
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 26 Jun 2003 13:11:09 +0000 (13:11 +0000)]
* config/avr/avr.c (final_prescan_insn): Remove support for
-mrtl.
* config/avr/avr.h (MASK_RTL_DUMP): Remove.
(TARGET_RTL_DUMP): Likewise.
(TARGET_SWITCHES): Remove -mrtl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68530
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 26 Jun 2003 13:10:55 +0000 (13:10 +0000)]
Added missing semicolon at end of union.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68529
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 26 Jun 2003 13:04:09 +0000 (13:04 +0000)]
* config/h8300/h8300-protos.h: Change emit_a_rotate to
output_a_rotate. Add a prototype for compute_a_rotate_length.
* config/h8300/h8300.c (emit_a_rotate): Change to
output_a_rotate.
(compute_a_rotate_length): New.
(h8300_adjust_insn_length): Remove.
* config/h8300/h8300.h (ADJUST_INSN_LENGTH): Remove.
* config/h8300/h8300.md (adjust_length): Remove.
(*rotlqi3_1): Use output_a_rotate and compute_a_rotate_length.
(*rotlhi3_1): Likewise.
(*rotlsi3_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68528
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 26 Jun 2003 12:59:46 +0000 (12:59 +0000)]
From Giovanni Bajo <giovannibajo@libero.it>
cp:
PR c++/8266
* pt.c (check_explicit_specialization): When looking up a
template function from an identifier outside class-scope, bind
it to CP_DECL_CONTEXT.
testsuite:
PR c++/8266
* g++.dg/template/explicit-instantiation3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68527
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 26 Jun 2003 11:53:00 +0000 (11:53 +0000)]
* builtins.c (expand_builtin_mathfn): Always stabilize the argument
list against re-evaluation. If expand_unop fails, call expand_call
with the stabilized argument list rather than return NULL_RTX.
(expand_builtin_mathfn2): Likewise, always stabilize the argument
list, and call expand_call ourselves if expand_binop fails.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68526
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 26 Jun 2003 11:40:58 +0000 (11:40 +0000)]
* gcc.dg/
20030626-1.c: Use signed char.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68525
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 26 Jun 2003 10:37:35 +0000 (10:37 +0000)]
PR optimization/11210
* fold-const (decode_field_reference): Strip only NOPs that
don't affect the sign.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68524
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 26 Jun 2003 10:16:31 +0000 (10:16 +0000)]
* doc/invoke.texi (-fprofile-values): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68523
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 26 Jun 2003 09:55:24 +0000 (09:55 +0000)]
2003-06-26 Paolo Carlini <pcarlini@unitus.it>
Nathan C. Myers <ncm-nospam@cantrip.org>
* include/bits/fstream.tcc (_M_underflow): When the actual
end of file is reached, set 'uncommitted' mode to allow a
next write without an intervening seek (see C++98 27.8.1.1,2
and C89 7.9.5.3).
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68522
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 26 Jun 2003 09:38:34 +0000 (09:38 +0000)]
* value-prof.c: New.
* value-prof.h: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68521
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 26 Jun 2003 09:35:07 +0000 (09:35 +0000)]
* gcc/config/sh/sh.md (push_fpscr): Enable for TARGET_SH2E.
(pop_fpscr, fpu_switch): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68520
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 26 Jun 2003 07:52:10 +0000 (07:52 +0000)]
* value-prof.c: New.
* value-prof.h: New.
* Makefile.in (value-prof.o): New.
(LIBGCOV): Add _gcov_merge_single and _gcov_merge_delta
(profile.o): Add value-prof.h and tree.h dependency.
* flags.h (flag_profile_values): Declare.
* gcov-io.h (GCOV_COUNTERS, GCOV_COUNTER_NAMES, GCOV_MERGE_FUNCTIONS):
Add new counters.
(GCOV_COUNTER_V_INTERVAL, GCOV_COUNTER_V_POW2, GCOV_COUNTER_V_SINGLE,
GCOV_COUNTER_V_DELTA): New counter sections.
(__gcov_merge_single, __gcov_merge_delta): Declare.
* flow.c (mark_used_regs): Set subregs_of_mode only when the
structure is initialized.
* libgcov.c (__gcov_merge_single, __gcov_merge_delta): New functions.
* profile.c: Include value-prof.h and tree.h.
(gen_interval_profiler, gen_pow2_profiler, gen_one_value_profiler,
gen_const_delta_profiler, instrument_values): New static functions.
(get_exec_counts): Fix comment.
(branch_prob): Invoke instrument_values.
* toplev.c (flag_profile_values): New flag.
* doc/invoke.texi (-fprofile-values): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68519
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Thu, 26 Jun 2003 06:13:27 +0000 (06:13 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68518
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 26 Jun 2003 06:05:36 +0000 (06:05 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68517
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 26 Jun 2003 05:22:32 +0000 (05:22 +0000)]
* config/rs6000/power4.md (power4-veccomplex): Correct latency.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68516
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Thu, 26 Jun 2003 04:57:15 +0000 (04:57 +0000)]
* configure.in (ld_vers): Portability [sed].
* configure: Regenerate with autoconf213.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68515
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 26 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68510
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 26 Jun 2003 00:07:52 +0000 (00:07 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68507
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 26 Jun 2003 00:07:09 +0000 (00:07 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68506
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 25 Jun 2003 22:28:27 +0000 (22:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68502
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 25 Jun 2003 22:16:31 +0000 (22:16 +0000)]
* config/h8300/h8300.md (call): Fix the insn lengths.
(call_value): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68501
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 25 Jun 2003 22:14:26 +0000 (22:14 +0000)]
* c-common.c (handle_used_attribute): Use mark_referenced.
* varasm.c (mark_referenced): Break out from ...
(assemble_name): ... here.
* tree.h (mark_referenced): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68500
138bc75d-0d04-0410-961f-
82ee72b054a4
bangerth [Wed, 25 Jun 2003 21:08:26 +0000 (21:08 +0000)]
2003-06-25 Wolfgang Bangerth <bangerth@dealii.org>
* gccbug.in: Add PCH to list of categories.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68497
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 25 Jun 2003 21:01:10 +0000 (21:01 +0000)]
* cppfiles.c: Clarify comments.
* cpphash.h: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* mkdeps.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68496
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 25 Jun 2003 20:43:11 +0000 (20:43 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68495
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 25 Jun 2003 20:23:14 +0000 (20:23 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68492
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 25 Jun 2003 19:33:08 +0000 (19:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68489
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 25 Jun 2003 18:49:51 +0000 (18:49 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68487
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 25 Jun 2003 18:27:53 +0000 (18:27 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68486
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 25 Jun 2003 17:33:35 +0000 (17:33 +0000)]
2003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* config/sh/sh.c (sh_register_move_cost):
Add case for moving between MAC_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68484
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 25 Jun 2003 17:29:14 +0000 (17:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68483
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 25 Jun 2003 15:53:07 +0000 (15:53 +0000)]
* Makefile.in (bt-load.o): Depend on $(TM_P_H).
* bt-load.c: Include "tm_p.h".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68482
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68477
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 25 Jun 2003 12:39:15 +0000 (12:39 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68476
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 25 Jun 2003 11:54:44 +0000 (11:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68475
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 25 Jun 2003 11:23:33 +0000 (11:23 +0000)]
2003-06-25 Michael Koch <konqueror@gmx.de>
* java/awt/image/ColorModel.java:
New version from classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68474
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 25 Jun 2003 09:36:19 +0000 (09:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68473
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 25 Jun 2003 09:32:44 +0000 (09:32 +0000)]
* varasm.c (assemble_name): Mark needed variables even when
global info is ready.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68472
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 25 Jun 2003 08:24:52 +0000 (08:24 +0000)]
PR other/11280
* gcc/doc/invoke.texi (Optimization Options): Remove -Os from
-freorder-functions description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68470
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 25 Jun 2003 07:00:34 +0000 (07:00 +0000)]
2003-06-25 Michael Koch <konqueror@gmx.de>
* java/net/PlainDatagramSocketImpl.java:
Partly merged with classpath, this mainly adds documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68468
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68465
138bc75d-0d04-0410-961f-
82ee72b054a4
zlomek [Wed, 25 Jun 2003 06:30:46 +0000 (06:30 +0000)]
Test from gcc.gnu.org/ml/gcc-patches/2003-06/msg02557.html
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68462
138bc75d-0d04-0410-961f-
82ee72b054a4
zlomek [Wed, 25 Jun 2003 06:10:27 +0000 (06:10 +0000)]
* dwarf2out.c (gen_field_die): Return if type of decl is error mark.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68459
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 25 Jun 2003 05:52:14 +0000 (05:52 +0000)]
* opts.c (common_handle_option): Add missing break;s.
f:
* top.c (ffe_handle_option): Add missing break;.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68457
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 25 Jun 2003 04:34:20 +0000 (04:34 +0000)]
2003-06-25 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java:
Added missing methods.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68456
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 25 Jun 2003 04:16:18 +0000 (04:16 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68455
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 25 Jun 2003 03:47:31 +0000 (03:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68454
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 25 Jun 2003 03:45:13 +0000 (03:45 +0000)]
* jump.c (next_nondeleted_insn): Remove.
* rtl.h: Remove the prototype for next_nondeleted_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68453
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Wed, 25 Jun 2003 03:09:06 +0000 (03:09 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68452
138bc75d-0d04-0410-961f-
82ee72b054a4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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