]> gcc.gnu.org Git - gcc.git/log
gcc.git
21 years ago* g++.dg/pch/pch.exp: Make testcase names longer.
Mike Stump [Wed, 9 Apr 2003 23:33:06 +0000 (23:33 +0000)]
* g++.dg/pch/pch.exp: Make testcase names longer.

From-SVN: r65409

21 years ago* gcc.dg/pch/pch.exp: Make testcase names longer.
Mike Stump [Wed, 9 Apr 2003 23:22:02 +0000 (23:22 +0000)]
* gcc.dg/pch/pch.exp: Make testcase names longer.

From-SVN: r65408

21 years ago* gcc.dg/pch/pch.exp: Make testcase names longer.
Mike Stump [Wed, 9 Apr 2003 22:47:36 +0000 (22:47 +0000)]
* gcc.dg/pch/pch.exp: Make testcase names longer.

From-SVN: r65407

21 years agofp-bit.c (unpack_d): Handle pair of doubles with different signs correctly.
Alexandre Oliva [Wed, 9 Apr 2003 19:30:29 +0000 (19:30 +0000)]
fp-bit.c (unpack_d): Handle pair of doubles with different signs correctly.

* config/fp-bit.c (unpack_d): Handle pair of doubles with
different signs correctly.

From-SVN: r65405

21 years agosched-deps.c (reg_pending_barrier_mode): New enumeration.
Vladimir Makarov [Wed, 9 Apr 2003 18:51:54 +0000 (18:51 +0000)]
sched-deps.c (reg_pending_barrier_mode): New enumeration.

2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>

* sched-deps.c (reg_pending_barrier_mode): New enumeration.
(reg_pending_barrier): Make it of the enumeration type.
(sched_analyze_2): Define the barrier as MOVE_BARRIER or
TRUE_BARRIER.
(sched_analyze): Ditto.
(sched_analyze_insn): Ditto.  Use anti-dependencies for
MOVE_BARRIER and true-dependencies as TRUE_BARRIER.
(init_deps_global): Initialize the barrier as NO_BARRIER.

From-SVN: r65402

21 years agoia64.c (issue_nops_and_insn): Add new parameter.
Vladimir Makarov [Wed, 9 Apr 2003 18:50:03 +0000 (18:50 +0000)]
ia64.c (issue_nops_and_insn): Add new parameter.

2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>

* config/ia64/ia64.c (issue_nops_and_insn): Add new parameter.
Check that asm insn starts on a new cycle.  Add nops after asm
insn to end bundle.
(bundling): Move insn type evaluation from the loop.  Call
issue_nops_and_insn with the new parameter.  Ignore changing
position for nops after asm insn.

From-SVN: r65401

21 years agooptabs.c: Comment that gen_add2_insn and others may actually return emitted insns...
Alexandre Oliva [Wed, 9 Apr 2003 17:50:08 +0000 (17:50 +0000)]
optabs.c: Comment that gen_add2_insn and others may actually return emitted insns...

* optabs.c: Comment that gen_add2_insn and others may actually
return emitted insns, if the gen functions turn out to return
emitted insns.
* reload1.c (reload_cse_move2add): Cope with emitted insns from
gen_add2_insn.

From-SVN: r65400

21 years agoia64.c (move_operand): Allow symbolic_operand, but not tls_symbolic_operand.
Richard Henderson [Wed, 9 Apr 2003 17:13:31 +0000 (10:13 -0700)]
ia64.c (move_operand): Allow symbolic_operand, but not tls_symbolic_operand.

        * config/ia64/ia64.c (move_operand): Allow symbolic_operand,
        but not tls_symbolic_operand.
        (ia64_expand_load_address): Remove scratch operand.
        (ia64_expand_tls_address): Split out from ia64_expand_move.
        (ia64_expand_move): Split symbolics only after reload.
        (ia64_emit_cond_move): New.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.md (movsi_symbolic, movdi_symbolic): Remove.
        (symbolic splitter): Accept SImode operands too.
        (cmove splitter): Use ia64_emit_cond_move.

From-SVN: r65399

21 years agoinstall.texi: Note that ARM toolchains need binutils 2.13 or newer.
Nick Clifton [Wed, 9 Apr 2003 15:14:23 +0000 (15:14 +0000)]
install.texi: Note that ARM toolchains need binutils 2.13 or newer.

* doc/install.texi: Note that ARM toolchains need binutils 2.13 or newer.
* config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa instead of -mno-fpu.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
  but only if -msoft-float is specified pass.  Otherwise pass -mfpu=softvfp.

From-SVN: r65398

21 years agoMAINTAINERS: Add my email address.
Joel Sherrill [Wed, 9 Apr 2003 12:51:09 +0000 (12:51 +0000)]
MAINTAINERS: Add my email address.

2003-04-08  Joel Sherrill  <joel@oarcorp.com>

* MAINTAINERS: Add my email address.

From-SVN: r65397

21 years agofunction.c (purge_addressof): Use free_INSN_LIST_node instead of free_EXPR_LIST_node.
Zdenek Dvorak [Wed, 9 Apr 2003 06:32:21 +0000 (08:32 +0200)]
function.c (purge_addressof): Use free_INSN_LIST_node instead of free_EXPR_LIST_node.

* function.c (purge_addressof): Use free_INSN_LIST_node instead of
free_EXPR_LIST_node.

From-SVN: r65396

21 years agoDaily bump.
GCC Administrator [Wed, 9 Apr 2003 00:17:13 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r65394

21 years agofold-const.c (fold): Use "fold" following build in more places.
Roger Sayle [Tue, 8 Apr 2003 23:28:28 +0000 (23:28 +0000)]
fold-const.c (fold): Use "fold" following build in more places.

* fold-const.c (fold):  Use "fold" following build in more places.
Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y),
pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z).

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

From-SVN: r65387

21 years agobuiltins.c (fold_builtin): Constant fold expressions as x*0.5 instead of x/2.0.
Roger Sayle [Tue, 8 Apr 2003 23:24:38 +0000 (23:24 +0000)]
builtins.c (fold_builtin): Constant fold expressions as x*0.5 instead of x/2.0.

* builtins.c (fold_builtin):  Constant fold expressions as x*0.5
instead of x/2.0.  Optimize sqrt(pow(x,y)) as pow(x,y*0.5),
log(pow(x,y)) as y*log(x), pow(exp(x),y) as exp(x*y),
pow(sqrt(x),y) as pow(x,y*0.5) and pow(pow(x,y),z) as pow(x,y*z).
Delete function scope "fcode" variable to avoid shadowing.

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

From-SVN: r65386

21 years agodwarf2out.c (DWARF_ARANGES_HEADER_SIZE, [...]): Take into account DWARF_INITIAL_LENGT...
Kevin Buettner [Tue, 8 Apr 2003 22:54:13 +0000 (22:54 +0000)]
dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, [...]): Take into account DWARF_INITIAL_LENGTH_SIZE.

* dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
Take into account DWARF_INITIAL_LENGTH_SIZE.

From-SVN: r65385

21 years agoMAINTAINERS: Add my email address.
Joel Sherrill [Tue, 8 Apr 2003 22:30:26 +0000 (22:30 +0000)]
MAINTAINERS: Add my email address.

2003-04-08  Joel Sherrill  <joel@oarcorp.com>

* MAINTAINERS: Add my email address.

From-SVN: r65384

21 years agoreorg.c (fill_slots_from_thread): When considering changing the insn following a...
Hans-Peter Nilsson [Tue, 8 Apr 2003 20:16:54 +0000 (20:16 +0000)]
reorg.c (fill_slots_from_thread): When considering changing the insn following a reg-to-reg copy insn to use the...

* reorg.c (fill_slots_from_thread): When considering changing the
insn following a reg-to-reg copy insn to use the source reg of the
copy, bail out if there's overlap between the registers.

From-SVN: r65381

21 years agofunction.c (postponed_insns): New.
Zdenek Dvorak [Tue, 8 Apr 2003 19:53:34 +0000 (21:53 +0200)]
function.c (postponed_insns): New.

* function.c (postponed_insns): New.
(purge_addressof_1): Postpone processing of insns if addressofs
are not put into stack.
(purge_addressof): Process postponed insns.

From-SVN: r65380

21 years agosh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD, this is FP_MODE_DOUBLE .
J"orn Rennecke [Tue, 8 Apr 2003 17:31:24 +0000 (17:31 +0000)]
sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD, this is FP_MODE_DOUBLE .

* sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
this is FP_MODE_DOUBLE .
* sh.c (ra.h): #include.
(push_regs): Add second parameter.  Changed all callers.
If necessary, set fpscr before saving floating point registers.
(calc_live_regs): If interrupt handler and TARGET_FMOVD, always
do saves / restores with SZ == 1.
(sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz.
(sh_expand_epilogue): Likewise.  For TARGET_FMOVD, if floating point
registers are being restored, restore FPSCR only after restoring them.

From-SVN: r65379

21 years agoNew test.
Richard Henderson [Tue, 8 Apr 2003 17:10:32 +0000 (10:10 -0700)]
New test.

From-SVN: r65378

21 years agors6000.c (rs6000_init_builtins): Set opaque types regardless of architecture.
Aldy Hernandez [Tue, 8 Apr 2003 14:01:58 +0000 (14:01 +0000)]
rs6000.c (rs6000_init_builtins): Set opaque types regardless of architecture.

2003-04-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_init_builtins): Set opaque types
        regardless of architecture.
        (spe_init_builtins): Change V2SI and V2SF types to opaque types.

From-SVN: r65374

21 years agosh.c (push_regs, [...]): Return int.
J"orn Rennecke [Tue, 8 Apr 2003 13:16:03 +0000 (13:16 +0000)]
sh.c (push_regs, [...]): Return int.

* sh.c (push_regs, calc_live_regs): Return int.  Take single
HARD_REG_SET * parameter.  Changed all callers.

From-SVN: r65373

21 years agosstream.tcc (overflow): Make sure operands of min and max have the same type.
Alexandre Oliva [Tue, 8 Apr 2003 12:03:26 +0000 (12:03 +0000)]
sstream.tcc (overflow): Make sure operands of min and max have the same type.

* include/bits/sstream.tcc (overflow): Make sure operands of min
and max have the same type.

From-SVN: r65368

21 years agoi386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the GOTOFF operand.
Jan Hubicka [Tue, 8 Apr 2003 09:14:06 +0000 (11:14 +0200)]
i386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the GOTOFF operand.

* i386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the
GOTOFF operand.
(legitimize_pic_address): Move plus outside the unspec.
* i386.c (legitimate_constant_p):  Check (CONST (PLUS (UNSPEC ...
for validity.

From-SVN: r65367

21 years agogcov-io.h (gcov_save_position): Remove __inline__ from declaration.
Nathan Sidwell [Tue, 8 Apr 2003 08:59:05 +0000 (08:59 +0000)]
gcov-io.h (gcov_save_position): Remove __inline__ from declaration.

* gcov-io.h (gcov_save_position): Remove __inline__ from
declaration.

From-SVN: r65366

21 years agoinstall.texi: Use @command and @samp for single- and multi-word commands respectively.
Matt Kraai [Tue, 8 Apr 2003 06:39:15 +0000 (06:39 +0000)]
install.texi: Use @command and @samp for single- and multi-word commands respectively.

* doc/install.texi: Use @command and @samp for single- and
multi-word commands respectively.
* doc/makefile.texi: Likewise.
* doc/sourcebuild.texi: Likewise.

From-SVN: r65364

21 years agore PR c/9516 (Internal error when using a big array)
Christian Ehrhardt [Tue, 8 Apr 2003 00:23:17 +0000 (00:23 +0000)]
re PR c/9516 (Internal error when using a big array)

        PR c/9516
        * expr.c (safe_from_p): Rearrange to avoid deep recursion in
        favour of looping and tail recursion for TREE_LIST and binops.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r65363

21 years agoDaily bump.
GCC Administrator [Tue, 8 Apr 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r65361

21 years agoloop.h (REGNO_FIRST_LUID, [...]): Provide defaults for insns without luid.
Zdenek Dvorak [Mon, 7 Apr 2003 23:34:25 +0000 (01:34 +0200)]
loop.h (REGNO_FIRST_LUID, [...]): Provide defaults for insns without luid.

* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults
for insns without luid.

From-SVN: r65354

21 years agore PR rtl-optimization/8634 (incorrect code for inlining of memcpy under -O2)
Glen Nakamura [Mon, 7 Apr 2003 22:57:41 +0000 (22:57 +0000)]
re PR rtl-optimization/8634 (incorrect code for inlining of memcpy under -O2)

        PR opt/8634
        * explow.c (maybe_set_unchanging): Don't flag non-static const
        aggregate type initializers with RTX_UNCHANGING_P.

From-SVN: r65352

21 years agore PR rtl-optimization/8634 (incorrect code for inlining of memcpy under -O2)
Richard Henderson [Mon, 7 Apr 2003 22:05:49 +0000 (15:05 -0700)]
re PR rtl-optimization/8634 (incorrect code for inlining of memcpy under -O2)

        PR opt/8634
        * function.c (purge_addressof_1): Don't try arithmetics for
        unchanging memories.

From-SVN: r65351

21 years agosourcebuild.texi (Test Suites): Update description of gcov tests.
Janis Johnson [Mon, 7 Apr 2003 21:51:27 +0000 (21:51 +0000)]
sourcebuild.texi (Test Suites): Update description of gcov tests.

2003-04-07  Janis Johnson  <janis187@us.ibm.com>

* doc/sourcebuild.texi (Test Suites): Update description of gcov
tests.

From-SVN: r65350

21 years agosourcebuild.texi (Test Suites): Document testing support for gcov and profile-directe...
Janis Johnson [Mon, 7 Apr 2003 21:37:59 +0000 (21:37 +0000)]
sourcebuild.texi (Test Suites): Document testing support for gcov and profile-directed optimizations...

2003-04-07  Janis Johnson  <janis187@us.ibm.com>

* doc/sourcebuild.texi (Test Suites): Document testing support for
gcov and profile-directed optimizations; describe gcc.misc-tests.

From-SVN: r65347

21 years agore PR target/10077 (gcc -msse2 generates movd to move dwords between xmm regs)
Jan Hubicka [Mon, 7 Apr 2003 20:22:50 +0000 (22:22 +0200)]
re PR target/10077 (gcc -msse2 generates movd to move dwords between xmm regs)

PR target/10077
* i386.md (movsi_1, movsi_nointerunit_1):  Fix SSEMOV alternative.

From-SVN: r65346

21 years agortl.texi (Comparison operations): Update to record the allowed comparison modes.
Eric Botcazou [Mon, 7 Apr 2003 20:13:29 +0000 (22:13 +0200)]
rtl.texi (Comparison operations): Update to record the allowed comparison modes.

* doc/rtl.texi (Comparison operations): Update to
record the allowed comparison modes.

From-SVN: r65341

21 years agors6000.c (rs6000_common_init_builtins): Rename all V2SI_type_node to opaque_V2SI_type...
Aldy Hernandez [Mon, 7 Apr 2003 20:09:14 +0000 (20:09 +0000)]
rs6000.c (rs6000_common_init_builtins): Rename all V2SI_type_node to opaque_V2SI_type_node.

2003-04-07  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all
        V2SI_type_node to opaque_V2SI_type_node.  Rename all
        V2SF_type_node to opaque_V2SF_type_node.
        (rs6000_init_builtins): Define opaque_V2SI_type_node and
        opaque_V2SF_type_node.
        (is_ev64_opaque_type): The types opaque_V2SI_type_node and
        opaque_V2SF_type_node are opaque types.

From-SVN: r65340

21 years ago* gcse.c (replace_store_insn): Use single_set.
J"orn Rennecke [Mon, 7 Apr 2003 20:00:08 +0000 (20:00 +0000)]
* gcse.c (replace_store_insn): Use single_set.

From-SVN: r65339

21 years agoChange gcov file interface to single file at a time.
Nathan Sidwell [Mon, 7 Apr 2003 19:37:12 +0000 (19:37 +0000)]
Change gcov file interface to single file at a time.

* gcov-io.h: Replace IN_LIBGCC1 with IN_LIBGCOV. Use IN_GCOV.
Convert to C89 prototypes.
(gcov_file, gcov_length, gcov_position, gcov_buffer, gcov_alloc,
gcov_error, gcov_modified): New static variables.
(gcov_open, gcov_close, gcov_read_bytes, gcov_write_bytes): New
functions.
(gcov_write_unsigned, gcov_write_counter, gcov_write_string,
gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
(gcov_read_summary, gcov_write_summary): Adjust.
(gcov_save_position, gcov_reserve_length, gcov_write_length):
Adjust.
(gcov_resync, gcov_skip, gcov_skip_string): Adjust.
(da_file_open, da_file_close, da_file_eof, da_file_error): Remove.
(da_file_position, da_file_seek, da_file_write, da_file_read):
Remove.
(gcov_error, gcov_eof, gcov_ok, gcov_time): New functions.
* gcov.c (gcov_type): Don't typedef here.
(IN_GCOV): #define
(read_graph_file, read_count_file): Adjust.
* gcov-dump.c (gcov_type): Don't typedef here.
(IN_GCOV): #define.
(tag_function, tag_blocks, tag_arcs, tag_lines, tag_arc_counts):
Remove FILE parameter, adjust.
(struct tag_format): Adjust proc member.
(dump_file): Adjust.
* libgcov.c (IN_LIBGCOV): #define.
(gcov_exit): Adjust.
* loop-init.c: Don't #include gcov-io.h
* profile.c (struct counts_entry): New structure to hold counter
values.
(struct section_reference, struct da_index_entry): Remove.
(bbg_file, da_file): Remove.
(htab_counts_index_hash, htab_counts_index_eq,
htab_counts_index_del): Replace with ...
(htab_counts_entry_hash, htab_counts_entry_eq,
htab_counts_entry_del): ... these.
(cleanup_counts_index, index_counts_file): Remove.
(read_counts_file): New function.
(get_exec_counts): Adjust.
(compute_branch_probabilities): Don't free the exec counts here.
(branch_prob): Adjust.
(init_branch_prob): Adjust.
(end_branch_prob): Adjust.

From-SVN: r65338

21 years agoinvoke.texi (RS/6000 and PowerPC Options): Document -mfloat-gprs.
Aldy Hernandez [Mon, 7 Apr 2003 18:49:11 +0000 (18:49 +0000)]
invoke.texi (RS/6000 and PowerPC Options): Document -mfloat-gprs.

2003-04-07  Aldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi (RS/6000 and PowerPC Options): Document
        -mfloat-gprs.

        * config/rs6000/rs6000.c: Delete rs6000_fprs.
        Declare rs6000_float_gprs.
        Declare rs6000_float_gprs_string.
        (rs6000_parse_float_gprs_option): New.
        (rs6000_override_options): Genericize rs6000_parse_* calls to use
        rs6000_parse_yes_no_option.
        Change check for cpu=8540, to use TARGET_E500.
        (rs6000_parse_isel_option): Delete.
        (rs6000_parse_spe_option): Delete.
        (rs6000_parse_vrsave_option): Delete.

        * config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs.
        Define rs6000_float_gprs_string.
        (TARGET_OPTIONS): Add rs6000_float_gprs option.

        * config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs.

        * config/rs6000/eabispe.h: Set rs6000_float_gprs.

From-SVN: r65336

21 years agore PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)
Jan Hubicka [Mon, 7 Apr 2003 12:36:59 +0000 (14:36 +0200)]
re PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)

PR opt/10024
* cfglayout.c (cfg_layout_redirect_edge):
Redirect any branch edges unified with the fallthru one.
* cfgrtl.c (force_nonfallthru_and_redirect):  Do not special
case fallthru edges when called via cfglayout.c

From-SVN: r65330

21 years ago2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
Aaron M. Renn [Mon, 7 Apr 2003 12:25:08 +0000 (12:25 +0000)]
2003-04-07  Aaron M. Renn (arenn@urbanophile.com)

* java/io/ObjectStreamException
* java/io/FileFilter
* java/io/FilenameFilter
* java/io/ObjectInput
* java/io/ObjectOutput
* java/io/ObjectStreamConstants
Minor doc fixes, format fixes, spelling corrections, etc.
* java/io/DataInput
Corrected code samples in Javadocs to match reality
* java/io/DataOutput
* java/io/ObjectInputValidation
Major documentation fixes - all Javadocs re-written or updated

From-SVN: r65329

21 years agoc-typeck.c (output_init_element): Check for type == error_mark_node.
J"orn Rennecke [Mon, 7 Apr 2003 11:55:27 +0000 (11:55 +0000)]
c-typeck.c (output_init_element): Check for type == error_mark_node.

gcc:
* c-typeck.c (output_init_element): Check for type == error_mark_node.
gcc/testsuite:
* gcc.dg/noncompile/init-4.c.c: New test.

From-SVN: r65328

21 years agoh8300.md (*zero_extendqisi2_h8300hs): Always split.
Kazu Hirata [Mon, 7 Apr 2003 10:17:24 +0000 (10:17 +0000)]
h8300.md (*zero_extendqisi2_h8300hs): Always split.

* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always
split.
(a splitter): Do zero-extension via HImode.

From-SVN: r65327

21 years agoinvoke.texi: Eliminate extra white-space caused by @gccoptlist{ on its own line.
James A. Morrison [Mon, 7 Apr 2003 08:12:41 +0000 (08:12 +0000)]
invoke.texi: Eliminate extra white-space caused by @gccoptlist{ on its own line.

* doc/invoke.texi: Eliminate extra white-space caused by
@gccoptlist{ on its own line.
* doc/invoke.texi: Ensured there are two spaces between each option.
* doc/invoke.texi: Re-wrapped option lines that were too wide.
Added @gol to options that didn't have them.

From-SVN: r65326

21 years ago* doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.
James A Morrison [Mon, 7 Apr 2003 07:31:47 +0000 (07:31 +0000)]
* doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.

From-SVN: r65324

21 years agotree.c (tree_size): For all 'c' and 'x' nodes...
Zack Weinberg [Mon, 7 Apr 2003 06:03:17 +0000 (06:03 +0000)]
tree.c (tree_size): For all 'c' and 'x' nodes...

        * tree.c (tree_size): For all 'c' and 'x' nodes, look directly
        at the sizes of the relevant structures, rather than relying
        on TREE_CODE_LENGTH.  Call lang_hooks.tree_size to get the
        sizes of any such we don't know about.  Use
        lang_hooks.identifier_size for IDENTIFIER_NODE.

        (initializer_zerop): Use CONSTRUCTOR_ELTS.
        * tree.def: Update commentary.  Make fourth element of
        the definition for all 'c' and 'x' nodes zero.

        * langhooks.h: New hook, tree_size / LANG_HOOKS_TREE_SIZE.
        * langhooks-def.h: Update to match.
        * langhooks.c: New default, lhd_tree_size.

        * c-common.def (SRCLOC): Kill.
        * c-pretty-print.c (pp_c_postfix_expression [case SRCLOC]):
        Remove entirely - was already #if-ed out.

ada:
        * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
        * misc.c (gnat_tree_size): New function.
        (LANG_HOOKS_TREE_SIZE): Override.
cp:
        * cp-tree.def: Make fourth element for all 'c' and 'x' nodes zero.
        * cp-lang.c (cp_tree_size): New function.
        (LANG_HOOKS_TREE_SIZE): Override.

        * cp-tree.h (SOURCE_LOCUS, SRCLOC_FILE, SRCLOC_LINE, struct
        tree_srcloc, TS_CP_COMMON, TS_CP_SRCLOC): Kill.
        (union lang_tree_node): Remove common and srcloc members.
        (build_srcloc_here): Don't prototype.
        * decl.c (cp_tree_node_structure): Kill SRCLOC case.
        * pt.c (pending_templates): Correct comment.
        * tree.c (build_srcloc, build_srcloc_here): Kill.

From-SVN: r65323

21 years agoOops, this belongs with the previous calls.c commit
Zack Weinberg [Mon, 7 Apr 2003 05:52:07 +0000 (05:52 +0000)]
Oops, this belongs with the previous calls.c commit

From-SVN: r65322

21 years agomklibgcc.in: Use a here document to avoid running afoul of shells that generate contr...
Zack Weinberg [Mon, 7 Apr 2003 05:34:50 +0000 (05:34 +0000)]
mklibgcc.in: Use a here document to avoid running afoul of shells that generate control-A...

* mklibgcc.in: Use a here document to avoid running afoul of
shells that generate control-A from "echo \1".

From-SVN: r65321

21 years agocall.c: Include intl.h.
Zack Weinberg [Mon, 7 Apr 2003 05:33:12 +0000 (05:33 +0000)]
call.c: Include intl.h.

        * call.c: Include intl.h.
        (print_z_candidate): Always use inform; get rid of errfn
        argument. Reorganize so that all the strings get picked up
        by xgettext.  Note obligation of caller to pass first argument
        through gettext.
        (print_z_candidates): Update to match.  Indent second and
        successive candidates by strlen() of translated message.
        (joust): Restructure ambiguous-conversion pedwarn so that
        translators see a complete sentence.  Update calls to
        print_z_candidate.

        * Make-lang.in (cp/call.o): Update dependencies.

From-SVN: r65320

21 years agoinvoke.texi (RS/6000 and PowerPC Options): Document -mspe option.
Aldy Hernandez [Mon, 7 Apr 2003 02:48:54 +0000 (02:48 +0000)]
invoke.texi (RS/6000 and PowerPC Options): Document -mspe option.

 2003-04-06  Aldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mspe
        option.

        * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
        rs6000_spe.

        * config/rs6000/eabi.h (TARGET_E500): Define.

        * config/rs6000/rs6000.h (TARGET_E500): Define.
        (TARGET_OPTIONS): Add spe= option.
        Declare rs6000_spe and rs6000_spe_string extern.

        * config/rs6000/rs6000.c (branch_positive_comparison_operator):
        Change TARGET_SPE to TARGET_E500.
        (ccr_bit): Change TARGET_SPE to TARGET_E500.  Check for
        !TARGET_FPRS.
        (print_operand): Same.
        (rs6000_generate_compare): Same.
        (output_cbranch): Same.
        (rs6000_spe): Declare.
        (rs6000_spe_string): Declare.
        (rs6000_override_options): Call rs6000_parse_spe_option.
        (rs6000_parse_spe_option): New.

From-SVN: r65319

21 years agoDaily bump.
GCC Administrator [Mon, 7 Apr 2003 00:18:14 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r65317

21 years agohashtable.c (gcc_obstack_init): Delete this function and everything related to it.
Steven Bosscher [Sun, 6 Apr 2003 21:44:09 +0000 (21:44 +0000)]
hashtable.c (gcc_obstack_init): Delete this function and everything related to it.

2003-04-06  Steven Bosscher  <steven@gcc.gnu.org>

* hashtable.c (gcc_obstack_init): Delete this function
and everything related to it.
* hashtable.h: Remove prototype.
* bitmap.c (bitmap_element_allocate): Cleanup redundant
defines.  Cleanup some unnecessary whitespace.
* defaults.h (obstack_chunk_alloc): Redefine with
appropriate casts for libiberty obstacks.
(obstack_chunk_free): Ditto.
(OBSTACK_CHUNK_SIZE): Define, default to 0.
(gcc_obstack_init): Define as a call to _obstack_begin.
* tree.c (print_obstack_statistics): Delete this unused
function.
* tree.h (obstack): Don't forward-declare.
(print_obstack_statistics): Delete prototype.
(print_obstack_name): Ditto.
(gcc_obstack_init): Ditto.
* rtl.h (gcc_obstack_init): Ditto.
* java/jv-scan.c (gcc_obstack_init): Delete this
function, its prototype and related defines.
* java/jvgenmain.c (gcc_obstack_init): Delete this
function, and related defines.
* java/parse-scan.y (obstack_chunk_alloc): Don't define.
(obstack_chunk_free): Ditto

From-SVN: r65308

21 years agodbxout.c (dbxout_handle_pch): Move prototype out from #if defined DBX_DEBUGGING_INFO.
Geoffrey Keating [Sun, 6 Apr 2003 19:02:54 +0000 (19:02 +0000)]
dbxout.c (dbxout_handle_pch): Move prototype out from #if defined DBX_DEBUGGING_INFO.

* dbxout.c (dbxout_handle_pch): Move prototype out from
#if defined DBX_DEBUGGING_INFO.

From-SVN: r65307

21 years agoURLConnection.java: Import classes directly.
Michael Koch [Sun, 6 Apr 2003 16:11:13 +0000 (16:11 +0000)]
URLConnection.java: Import classes directly.

2003-04-06  Michael Koch  <konqueror@gmx.de>

* java/net/URLConnection.java:
Import classes directly.
(URLConnection): Merged class documentation with classpath.
(url): Moved, documentation from classpath added.
(doInput): Moved, documentation from classpath added.
(doOutput): Moved, documentation from classpath added.
(allowUserInteraction): Moved.
(useCaches): Moved, documentation from classpath added.
(ifModifiedSince): Moved, documentation from classpath added.
(connected): Moved, documentation from classpath added.

From-SVN: r65301

21 years ago2003-04-06 Michael Koch <konqueror@gmx.de>
Michael Koch [Sun, 6 Apr 2003 15:51:06 +0000 (15:51 +0000)]
2003-04-06  Michael Koch  <konqueror@gmx.de>

* java/io/FileInputStream.java
(skip): Renamed some variables to match classpath, added
checks from classpath.

From-SVN: r65300

21 years agogcov.c (struct arc_info): Replace local_span with cycle.
Nathan Sidwell [Sun, 6 Apr 2003 13:18:41 +0000 (13:18 +0000)]
gcov.c (struct arc_info): Replace local_span with cycle.

. * gcov.c (struct arc_info): Replace local_span with cycle.
(struct block_info): Replace u.span with u.cycle. Add is_call_return.
(solve_flow_graph): Set is_call_return.
(add_line_counts): Adjust. In block mode, blocks attach to last line.
(accumulate_line_counts): Find graph cycles, not spanning tree.
(output_branch_count): Adjust.
(output_lines): Adjust.
* doc/gcov.texi: Update.
testsuite:
* gcc.misc-test/gcov-9.c: New test.
* gcc.misc-test/gcov-10.c: New test
* gcc.misc-test/gcov-11.c: New test.

From-SVN: r65299

21 years agoh8300.md (*zero_extendqisi2_h8300hs): Change the second alternative to "#".
Kazu Hirata [Sun, 6 Apr 2003 05:13:51 +0000 (05:13 +0000)]
h8300.md (*zero_extendqisi2_h8300hs): Change the second alternative to "#".

* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change
the second alternative to "#".

From-SVN: r65295

21 years agoh8300.c (single_one_operand): Use GET_MODE_MASK.
Kazu Hirata [Sun, 6 Apr 2003 02:17:39 +0000 (02:17 +0000)]
h8300.c (single_one_operand): Use GET_MODE_MASK.

* config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK.
(single_zero_operand): Likewise.

From-SVN: r65291

21 years agoDaily bump.
GCC Administrator [Sun, 6 Apr 2003 00:17:09 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r65287

21 years agore PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)
Zack Weinberg [Sun, 6 Apr 2003 00:11:27 +0000 (00:11 +0000)]
re PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)

PR optimization/10024
* gcc.c-torture/compile/20030405-1.c: New test.

From-SVN: r65280

21 years agoClean up hand edited version with generated version
Bruce Korb [Sat, 5 Apr 2003 23:12:47 +0000 (23:12 +0000)]
Clean up hand edited version with generated version

From-SVN: r65279

21 years agoMakefile.in (df.o): Depend on alloc-pool.h, not obstack.h.
Daniel Berlin [Sat, 5 Apr 2003 20:13:20 +0000 (20:13 +0000)]
Makefile.in (df.o): Depend on alloc-pool.h, not obstack.h.

2003-04-05  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.in (df.o):  Depend on alloc-pool.h, not obstack.h.
* df.c: Include alloc-pool.h, not obstack.h.
(df_ref_obstack): Remove.
(df_ref_pool, df_link_pool): Add pools.
(df_alloc): Init the new pools.
(df_free): And free them.
(df_link_create): Use the pools.
(df_ref_create): Ditto.

From-SVN: r65276

21 years ago* simplify-rtx.c: Fix formatting.
Kazu Hirata [Sat, 5 Apr 2003 20:06:37 +0000 (20:06 +0000)]
* simplify-rtx.c: Fix formatting.

From-SVN: r65275

21 years ago[multiple changes]
David Edelsohn [Sat, 5 Apr 2003 17:08:00 +0000 (12:08 -0500)]
[multiple changes]

2003-04-05  Andrew Pinski  <apinski@apple.com>

        * config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
        reg with reg1 == reg2 and offset1 = -8.

2003-04-05  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_rtx_costs): Halve Power4
        multiply costs.  Correct Power4 divide costs.
        * config/rs6000/power4.md: Restore multiply and FP latency.

From-SVN: r65274

21 years agodecl.c (set_current_binding_level): Delete, revert last change.
Kaveh R. Ghazi [Sat, 5 Apr 2003 16:48:31 +0000 (16:48 +0000)]
decl.c (set_current_binding_level): Delete, revert last change.

* decl.c (set_current_binding_level): Delete, revert last change.
(current_binding_level): Modify to allow it as as lvalue.

From-SVN: r65273

21 years agoalias.c (find_base_term): Export.
Zdenek Dvorak [Sat, 5 Apr 2003 15:57:40 +0000 (17:57 +0200)]
alias.c (find_base_term): Export.

* alias.c (find_base_term): Export.
* rtl.h (find_base_term): Declare.
* gcse.c (find_moveable_store): Test for flag_non_call_exceptions
instead of flag_exceptions.  Move test for parameter passing ...
(store_killed_in_insn): ... here.

From-SVN: r65272

21 years agore PR bootstrap/10267 (Wrong build instructions for *-*-solaris2*)
Gerald Pfeifer [Sat, 5 Apr 2003 15:48:35 +0000 (17:48 +0200)]
re PR bootstrap/10267 (Wrong build instructions for *-*-solaris2*)

PR bootstrap/10267
* doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
for configuring.

From-SVN: r65270

21 years agodbxout.c (scope_labelno): Add GTY.
Geoffrey Keating [Sat, 5 Apr 2003 07:01:51 +0000 (07:01 +0000)]
dbxout.c (scope_labelno): Add GTY.

2003-04-04  Geoffrey Keating  <geoffk@apple.com>

* dbxout.c (scope_labelno): Add GTY.
(have_used_extensions): Add GTY.
(source_label_number): Add GTY.
(lastfile): Add GTY.
(lastfile_is_base): New.
(base_input_file): New.
(dbxout_handle_pch): New.
(dbx_debug_hooks): Add handle_pch.
(xcoff_debug_hooks): Likewise.
(dbxout_function_end): Remove scope_labelno.
(dbxout_init): Set base_input_file.
(dbxout_handle_pch): New.
(dbxout_source_file): Honour lastfile_is_base.
* dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch.
* sdbout.c (sdb_debug_hooks): Add dummy handle_pch.
* vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch.
* dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch.
* debug.c (do_nothing_debug_hooks): Add dummy handle_pch.
* debug.h (struct gcc_debug_hooks): Add handle_pch.
* c-pch.c (pch_init): Don't call start_source_file, but do call
handle_pch.
(c_common_write_pch): Call handle_pch.
(c_common_read_pch): Don't call start_source_file,
or end_source_file.

Index: gcc/testsuite/ChangeLog
2003-04-04  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/pch/static-3.c: New.
* gcc.dg/pch/static-3.hs: New.
* gcc.dg/pch/pch.exp: Test with -O0 -g too.

From-SVN: r65266

21 years ago* include/Makefile.in: Regenerate.
Loren J. Rittle [Sat, 5 Apr 2003 01:44:53 +0000 (01:44 +0000)]
* include/Makefile.in: Regenerate.

From-SVN: r65264

21 years agoforced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
Richard Henderson [Sat, 5 Apr 2003 00:45:06 +0000 (16:45 -0800)]
forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.

        * g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
        * g++.dg/eh/forced2.C: Likewise.

From-SVN: r65263

21 years agoDaily bump.
GCC Administrator [Sat, 5 Apr 2003 00:17:34 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r65262

21 years ago* compare_tests: Fix exit status and be more flexible with spacing.
Mike Stump [Fri, 4 Apr 2003 22:49:10 +0000 (22:49 +0000)]
* compare_tests: Fix exit status and be more flexible with spacing.

From-SVN: r65255

21 years agoemit-rtl.c (get_mem_attrs): Adjust alignment tests determining use of default attribu...
Olivier Hainque [Fri, 4 Apr 2003 22:44:02 +0000 (00:44 +0200)]
emit-rtl.c (get_mem_attrs): Adjust alignment tests determining use of default attributes to agree MEM_ALIGN...

        * emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
        use of default attributes to agree MEM_ALIGN macro.

From-SVN: r65254

21 years agoname-lookup.c (find_binding): Pass appropriate pointer type to POP_TIMEVAR_AND_RETURN.
Kaveh R. Ghazi [Fri, 4 Apr 2003 22:35:22 +0000 (22:35 +0000)]
name-lookup.c (find_binding): Pass appropriate pointer type to POP_TIMEVAR_AND_RETURN.

* name-lookup.c (find_binding): Pass appropriate pointer type to
POP_TIMEVAR_AND_RETURN.

From-SVN: r65253

21 years agodbxout.c (dbxout_type): When printing type index of range type whose bounds are print...
Joel Brobecker [Fri, 4 Apr 2003 22:34:52 +0000 (22:34 +0000)]
dbxout.c (dbxout_type): When printing type index of range type whose bounds are printed in octal format...

        * dbxout.c (dbxout_type): When printing type index of range type
whose bounds are printed in octal format, print type of parent type if
it exists so enumerated type descriptions are not transformed
        into unsigned types.

From-SVN: r65252

21 years agoh8300-protos.h: Add a prototype for compute_a_shift_cc.
Kazu Hirata [Fri, 4 Apr 2003 22:01:46 +0000 (22:01 +0000)]
h8300-protos.h: Add a prototype for compute_a_shift_cc.

* config/h8300/h8300-protos.h: Add a prototype for
compute_a_shift_cc.
* config/h8300/h8300.c (shift_one): Update the CC status.
(shift_two): Likewise.
(output_a_shift_cc): Set cc_inline and cc_special.
(compute_a_shift_cc): New.
* config/h8300/h8300.md (shift insns): Use compute_a_shift_cc.

From-SVN: r65251

21 years ago* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
Richard Henderson [Fri, 4 Apr 2003 21:49:42 +0000 (13:49 -0800)]
* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.

From-SVN: r65249

21 years agoinclhack.def (bsd_stdio_attrs_conflict): New.
Loren J. Rittle [Fri, 4 Apr 2003 21:46:49 +0000 (21:46 +0000)]
inclhack.def (bsd_stdio_attrs_conflict): New.

* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
* fixinc/fixincl.x: Rebuilt.
* fixinc/tests/base/stdio.h: Regenerated.

From-SVN: r65248

21 years ago* gcov.c (accumulate_line_counts): Fix span tree merge bug.
Nathan Sidwell [Fri, 4 Apr 2003 15:48:19 +0000 (15:48 +0000)]
* gcov.c (accumulate_line_counts): Fix span tree merge bug.

From-SVN: r65245

21 years agoAdd PR libstdc++/10276 to Changelog entry.
Jerry Quinn [Fri, 4 Apr 2003 15:09:04 +0000 (15:09 +0000)]
Add PR libstdc++/10276 to Changelog entry.

From-SVN: r65243

21 years agoios.cc (ios_base::_M_init): Remove _M_callbacks initialization.
Jerry Quinn [Fri, 4 Apr 2003 15:05:17 +0000 (15:05 +0000)]
ios.cc (ios_base::_M_init): Remove _M_callbacks initialization.

2003-04-04  Jerry Quinn  <jlquinn@optonline.net>

* src/ios.cc (ios_base::_M_init): Remove _M_callbacks
initialization.

From-SVN: r65242

21 years agosh.h (ACTUAL_NORMAL_MODE): New macro, broken out of (NORMAL_MODE).
J"orn Rennecke [Fri, 4 Apr 2003 15:01:15 +0000 (15:01 +0000)]
sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of (NORMAL_MODE).

* sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
(NORMAL_MODE).
* sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE.

From-SVN: r65241

21 years agocontrib.texi (Contributors): Add entries for Wolfgang Bangerth...
Gerald Pfeifer [Fri, 4 Apr 2003 14:56:02 +0000 (16:56 +0200)]
contrib.texi (Contributors): Add entries for Wolfgang Bangerth...

* doc/contrib.texi (Contributors): Add entries for Wolfgang
Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
Danny Smith, and Ulrich Weigand.
Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
entry.

From-SVN: r65238

21 years agoconfig/sparc/sol2-bi.h: Revert previous delta.
Nick Clifton [Fri, 4 Apr 2003 13:00:09 +0000 (13:00 +0000)]
config/sparc/sol2-bi.h: Revert previous delta.

config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO.

From-SVN: r65237

21 years ago(expand_prologue): Only use register save helper functions if long calls are not...
Nick Clifton [Fri, 4 Apr 2003 10:38:50 +0000 (10:38 +0000)]
(expand_prologue): Only use register save helper functions if long calls are not being used.

(expand_prologue): Only use register save helper functions if long calls are
not being used.
Add a clobber of r11 id using long calls.
(prolog pattern): Do not use this pattern for v850e's.

From-SVN: r65236

21 years agostor-layout.c (layout_decl): Avoid syntax error in last change when PCC_BITFIELD_TYPE...
Andreas Schwab [Fri, 4 Apr 2003 09:01:13 +0000 (09:01 +0000)]
stor-layout.c (layout_decl): Avoid syntax error in last change when PCC_BITFIELD_TYPE_MATTERS is defined but...

* stor-layout.c (layout_decl): Avoid syntax error in last change
when PCC_BITFIELD_TYPE_MATTERS is defined but not
EMPTY_FIELD_BOUNDARY.

From-SVN: r65234

21 years agoOops, asm-fs-1.c works as expected on darwin.
Mike Stump [Fri, 4 Apr 2003 01:37:26 +0000 (01:37 +0000)]
Oops, asm-fs-1.c works as expected on darwin.

From-SVN: r65231

21 years agoOops, this works as expected now.
Mike Stump [Fri, 4 Apr 2003 01:36:45 +0000 (01:36 +0000)]
Oops, this works as expected now.

From-SVN: r65230

21 years agore PR c/10175 (-Wunreachable-code doesn't work for single lines)
Jason Merrill [Fri, 4 Apr 2003 01:25:40 +0000 (20:25 -0500)]
re PR c/10175 (-Wunreachable-code doesn't work for single lines)

        PR c/10175
        * jump.c (never_reached_warning): Revert patch of 2002-11-02.
        Look backwards for a line note.

From-SVN: r65229

21 years agore PR c/10175 (-Wunreachable-code doesn't work for single lines)
Jason Merrill [Fri, 4 Apr 2003 01:21:56 +0000 (20:21 -0500)]
re PR c/10175 (-Wunreachable-code doesn't work for single lines)

        PR c/10175
        * jump.c (never_reached_warning): Revert patch of 2002-11-02.
        Look backwards for a line note.

From-SVN: r65227

21 years agoasm-fs-1.c: Expect failure on darwin.
Mike Stump [Fri, 4 Apr 2003 01:19:31 +0000 (01:19 +0000)]
asm-fs-1.c: Expect failure on darwin.

* gcc.dg/asm-fs-1.c: Expect failure on darwin.

* lib/scanasm.exp (scan-assembler): Add xfail processing for
        target arg.
(scan-assembler-times, scan-assembler-not): Likewise.
(scan-assembler-dem, scan-assembler-dem-not): Likewise.

From-SVN: r65225

21 years agoDaily bump.
GCC Administrator [Fri, 4 Apr 2003 00:17:04 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r65224

21 years agoMake-lang.in (cp-warn): Add $(STRICT_WARN).
Kaveh R. Ghazi [Thu, 3 Apr 2003 23:26:03 +0000 (23:26 +0000)]
Make-lang.in (cp-warn): Add $(STRICT_WARN).

* Make-lang.in (cp-warn): Add $(STRICT_WARN).
* cp-tree.h: Don't insist on having GNUC.

From-SVN: r65217

21 years ago* fix-header.c (read_scan_file): Defer switch processing.
Neil Booth [Thu, 3 Apr 2003 22:01:21 +0000 (22:01 +0000)]
* fix-header.c (read_scan_file): Defer switch processing.

From-SVN: r65216

21 years agocpppch.c (reset_ht): Remove.
Matt Austern [Thu, 3 Apr 2003 21:00:56 +0000 (21:00 +0000)]
cpppch.c (reset_ht): Remove.

* cpppch.c (reset_ht): Remove.
(cpp_read_state): Remove loop to reset hashtable identifiers.
* ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
after pch file is written.
* ggc.h (gt_pch_fixup_stringpool): Declare.
* stringpool.c (ht_copy_and_clear): Define.  Callback.  Copy
hashnode's value to another hashtable, then clear the original.
(saved_ident_hash): Define.
(gt_pch_save_stringpool): Create saved_ident_hash, use it to
store definitions in ident_hash, and clear ident_hash.
(gt_pch_fixup_stringpool): Define.  Restore definitions from
saved_ident_hash to ident_hash, then destroy saved_ident_hash.

From-SVN: r65215

21 years ago* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
Jan Hubicka [Thu, 3 Apr 2003 20:28:39 +0000 (22:28 +0200)]
* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.

From-SVN: r65214

21 years agocvt.c (ocp_convert): Only abort if we try to convert an object of TREE_ADDRESSABLE...
Jason Merrill [Thu, 3 Apr 2003 20:07:56 +0000 (15:07 -0500)]
cvt.c (ocp_convert): Only abort if we try to convert an object of TREE_ADDRESSABLE type.

        * cvt.c (ocp_convert): Only abort if we try to convert an object
        of TREE_ADDRESSABLE type.

From-SVN: r65212

21 years agore PR rtl-optimization/10157 ([Sparc] internal compiler error: in extract_insn, at...
Eric Botcazou [Thu, 3 Apr 2003 19:20:06 +0000 (21:20 +0200)]
re PR rtl-optimization/10157 ([Sparc] internal compiler error: in extract_insn, at recog.c:2188)

PR optimization/10157
* gcse.c (can_copy_p): Rename it to can_copy.
(can_copy_init_p): Remove.
(compute_can_copy): Use can_copy instead of can_copy_p.
(can_copy_p): New exported function. Call compute_can_copy.
(hash_scan_set): Use it.
(gcse_main): Don't call compute_can_copy.
(bypass_jumps): Don't call compute_can_copy.
* rtl.h (can_copy_p): Declare.
* loop.c (scan_loop): Don't move the source and add a reg-to-reg
copy if the mode doesn't support copy operations.

From-SVN: r65210

21 years ago* Makefile.in (unstrap): Also remove stage_last.
Jason Merrill [Thu, 3 Apr 2003 19:10:42 +0000 (14:10 -0500)]
* Makefile.in (unstrap): Also remove stage_last.

From-SVN: r65209

21 years agodwarf2out.c (lookup_filename): Don't check for "<internal>".
Jason Merrill [Thu, 3 Apr 2003 19:03:08 +0000 (14:03 -0500)]
dwarf2out.c (lookup_filename): Don't check for "<internal>".

        * dwarf2out.c (lookup_filename): Don't check for "<internal>".
        (dwarf2out_source_line): Don't do anything if line==0.

From-SVN: r65208

This page took 0.094312 seconds and 5 git commands to generate.