Commit Graph

43167 Commits

Author SHA1 Message Date
Chris Lattner
45b1f7c746 ssa.c (rename_insn_1): Rename uses of undefined registers to prevent confusion if/when...
* ssa.c (rename_insn_1): Rename uses of undefined registers to
        prevent confusion if/when the register is defined.

From-SVN: r54002
2002-05-29 10:23:28 -06:00
Hans-Peter Nilsson
049746c291 re PR target/6838 (cris-elf ICE (gcc 3.1))
PR target/6838
	* config/cris/cris.md: Fix typos and thinkos in comments.
	("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
	second alternative.
	("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
	("*mov_sideqi_mem"): Similar, but for operand 3.
	("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
	(splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
	Remove spurious mode specifier on operand 2.

From-SVN: r53999
2002-05-29 16:13:24 +00:00
Hans-Peter Nilsson
5a3bb17d71 * gcc.c-torture/execute/20020529-1.c: New test.
From-SVN: r53998
2002-05-29 16:09:09 +00:00
Kazu Hirata
4d4d89e283 h8300-protos.h: Remove the prototype for o_operand.
* config/h8300/h8300-protos.h: Remove the prototype for
	o_operand.
	Add prototypes for single_one_operand and single_zero_operand.
	* config/h8300/h8300.c (o_operand): Remove.
	(single_one_operand): New.
	(single_zero_operand): Likewise.
	(print_operand): For 'V' operand, and the operand with 0xff.
	For 'V' and 'W' operands, do not and the bit position with 7.
	* config/h8300/h8300.md (various anonymous patterns): Replace
	use of exact_log2 with single_one_operand/single_zero_operand.

From-SVN: r53994
2002-05-29 14:20:40 +00:00
Ulrich Weigand
abd6ddecb5 * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
From-SVN: r53993
2002-05-29 13:45:45 +00:00
Ulrich Weigand
da06d85a2b s390.c (legitimate_pic_operand_p): Do not accept symbolic LARL operands.
* config/s390/s390.c (legitimate_pic_operand_p): Do not
accept symbolic LARL operands.
(s390_emit_epilogue): Do not set FRAME_RELATED_P on
epilogue insns.

From-SVN: r53991
2002-05-29 13:23:52 +00:00
Hartmut Penner
f876602007 s390.md (cmpstr_64/31): Mark whole input registers as used.
* config/s390/s390.md (cmpstr_64/31): Mark whole
  input registers as used.

From-SVN: r53990
2002-05-29 11:59:32 +00:00
Nick Clifton
6746a2999d (libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
From-SVN: r53987
2002-05-29 08:59:45 +00:00
GCC Administrator
9a214a66ab Daily bump.
From-SVN: r53986
2002-05-29 07:19:24 +00:00
Richard Henderson
66edd3b4ca i386.c (ix86_save_reg): Examine regs_ever_live...
* config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
        not current_function_uses_pic_offset_table and
        current_function_uses_const_pool; examine current_function_profile.
        (ix86_expand_prologue): Likewise.  Add pic_offset_table_rtx as
        input to blockage if needed.
        (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
        (legitimize_pic_address): Likewise.  Set regs_ever_live for
        pic_offset_table_rtx when invoked during reload.
        * config/i386/i386.h (FINALIZE_PIC): Remove.
        * config/i386/i386.md (tablejump): Reformat.  Do not set
        current_function_uses_pic_offset_table.
        (tls_global_dynamic, tls_local_dynamic_base): Likewise.
        (blockage): Accept anything as operand 0.

From-SVN: r53981
2002-05-28 18:37:22 -07:00
Jason Thorpe
52f4fff682 netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define common CPP built-ins for all NetBSD a.out targets.
* config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
common CPP built-ins for all NetBSD a.out targets.
* config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
common CPP built-ins for all NetBSD ELF targets.
* config/netbsd.h: Add missing notice.
(NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
for all NetBSD targets.
(NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
for all NetBSD targets using an LP64 code model.
(NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
NetBSD targets.

From-SVN: r53980
2002-05-29 01:12:56 +00:00
Richard Henderson
e0e577a2d2 flow.c (update_life_info_in_dirty_blocks): Only do a partial update if UPDATE_LIFE_LOCAL.
* flow.c (update_life_info_in_dirty_blocks): Only do a partial
        update if UPDATE_LIFE_LOCAL.

From-SVN: r53978
2002-05-28 17:25:19 -07:00
Phil Edwards
8ea08b7d7b Makefile.am (noinst_LIBRARIES): New target.
2002-05-28  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
	CXX/INCLUDES.
	* testsuite/Makefile.in:  Regenerate.
	* testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
	list_modifiers.cc and rename from 'T'.  Move code bodies...
	* testsuite/testsuite_hooks.cc:  ...to here.  New file.
	* testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
	Add libv3test.a to link options.

From-SVN: r53977
2002-05-28 23:15:18 +00:00
David Edelsohn
64de6c0a5f optabs.c (expand_binop): Fix nwords sign warnings.
* optabs.c (expand_binop): Fix nwords sign warnings.
        generate pseudo for add_optab.

Co-Authored-By: Jeff Law <law@redhat.com>

From-SVN: r53976
2002-05-28 17:03:21 -06:00
Toshiyasu Morita
62526ec32f * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
From-SVN: r53975
2002-05-28 23:43:31 +01:00
J"orn Rennecke
f1a58d928b config/sh reorganization to factor out endianness and coff:
* config/sh/little.h: New file.
        * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
        defined, define to 0 to select big-endian.
	(SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
        (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
        * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
        * config/sh/t-be: New file.
        * config/sh/t-le: New file.

	* sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
	(SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
	(TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
	(USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
	(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
	(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
	(ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
	(CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
	(SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
	(EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
	CPP_DEFAULT_CPU_SPEC.  Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
	SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
	(LINK_SPEC): Define to SH_LINK_SPEC.
	(TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
	(LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
	(SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
	(CPP_SPEC): Reduce to %(subtarget_cpp_spec).
	(TARGET_ENDIAN_DEFAULT): Define if not already defined.
	* config/sh/coff.h: New file.
	(TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
	(TARGET_OBJFMT_CPP_BUILTINS): Define.
	* config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
	(ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
	(DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
	(ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
	(PTRDIFF_TYPE): Likewise.
	("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
	(CPP_PREDEFINES): Don't define.
	(TARGET_OBJFMT_CPP_BUILTINS): Define.
	(LINK_SPEC): Define to SH_LINK_SPEC.
	(LINK_EMUL_PREFIX): Redefine.
	* config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
	(SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
	(CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
	(CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
	(TARGET_OS_CPP_BUILTINS): Define.
	(TARGET_DEFAULT): Redefine.
	(SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
	* config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
	(LINK_SPEC): Don't redefine.
	(LINK_DEFAULT_CPU_EMUL): Redefine.
	(TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
	* sh.c (sh_asm_named_section): Don't declare / define.
	* t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
	* config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
	(sh64-*-elf* tm_file): Likewise.
	(sh-*-rtemself* tm_file): Likewise.
	(sh-*-linux* tm_file): Likewise.  Add sh/little.h.
	(sh-*-linux* tmake_file): Add sh/t-le.
	(sh-*-rtems* tm_file): Add sh/coff.h
	(sh-*-* tm_file): Likewise.


	* sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
	CONSTANT_POOL_ADDRESS_P.

	* coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.

Co-Authored-By: Jason R. Thorpe <thorpej@wasabisystems.com>

From-SVN: r53974
2002-05-28 23:26:43 +01:00
David Edelsohn
33a3dfc4f0 sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
* sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
        * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.

Co-Authored-By: Jeff Law <law@redhat.com>

From-SVN: r53973
2002-05-28 16:03:06 -06:00
Marc Espie
972957badc openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, inherited from gas.h.
* config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
	inherited from gas.h.
	(ASM_QUAD):  Undef.  OpenBSD does not support it.

From-SVN: r53971
2002-05-28 21:24:48 +00:00
Danny Smith
cc92b8abf4 install.texi (binaries): Change mingw binaries link to www.mingw.org.
* doc/install.texi (binaries): Change mingw binaries
	link to www.mingw.org.

From-SVN: r53968
2002-05-28 21:11:45 +00:00
Zdenek Dvorak
f8088d5581 * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
From-SVN: r53967
2002-05-28 20:44:09 +00:00
Richard Henderson
0b7ae56590 i386.c (ix86_compute_frame_layout): Do not add bottom alignment for leaf functions.
* config/i386/i386.c (ix86_compute_frame_layout): Do not add
        bottom alignment for leaf functions.

From-SVN: r53965
2002-05-28 13:27:45 -07:00
Zack Weinberg
16069d69ac milli32.S, [...]: Delete unused files.
* config/pa/milli32.S, config/pa/lib1funcs.asm,
	config/sparc/sol2-g1.asm: Delete unused files.

From-SVN: r53964
2002-05-28 20:19:15 +00:00
Richard Henderson
923c7cdfa7 varasm.c (default_binds_local_p): Check TREE_PUBLIC before DECL_EXTERNAL.
* varasm.c (default_binds_local_p): Check TREE_PUBLIC before
        DECL_EXTERNAL.

From-SVN: r53963
2002-05-28 13:08:29 -07:00
Richard Henderson
f3ea5f6ac3 flow.c (calculate_global_regs_live): Rename call_used to invalidated_by_call.
* flow.c (calculate_global_regs_live): Rename call_used to
        invalidated_by_call.  Initialize from regs_invalidated_by_call
        instead of call_used_regs.

From-SVN: r53962
2002-05-28 13:01:29 -07:00
Richard Henderson
04653686e7 * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
From-SVN: r53961
2002-05-28 12:58:15 -07:00
Marek Michalkiewicz
6ff14f32f3 configure.in (noconfigdirs): Don't compile libiberty, libstdcxx and libgcj for AVR.
* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
	and libgcj for AVR.

From-SVN: r53960
2002-05-28 18:56:52 +00:00
Zack Weinberg
11ad4784f3 tree.h: Forward-declare struct realvaluetype.
* tree.h: Forward-declare struct realvaluetype.
	(struct tree_real_cst): Point to the REAL_VALUE_TYPE, do not
	contain it.
	(TREE_REAL_CST_PTR): New accessor.
	(TREE_REAL_CST): Update.
	* real.h: Include machmode.h.
	(realvaluetype): Make it struct realvaluetype, not a typedef.
	(build_real): Prototype here.

	* tree.c: Include real.h.
	(build_real): Allocate the REAL_VALUE_TYPE as a separate
	object in GC memory, set TREE_REAL_CST_PTR to point to it.
	(build_real_from_int_cst): Use build_real.
	* ggc-common.c (ggc_mark_trees): Mark TREE_REAL_CST_PTR of a
	REAL_CST.

	* builtins.c, c-common.c, c-lex.c, dwarf2out.c, expr.c,
	fold-const.c, print-tree.c, real.c, cp/mangle.c, cp/tree.c,
	f/bld.c, f/com.c, f/expr.c, f/target.c, java/decl.c,
	java/jcf-parse.c, java/parse.y, java/typeck.c: Include real.h.
	* Makefile.in, cp/Make-lang.in, f/Make-lang.in,
	java/Make-lang.in: Update dependency lists.

From-SVN: r53959
2002-05-28 17:33:14 +00:00
Zdenek Dvorak
bf77398cef basic-block.h (last_basic_block): Declare.
* basic-block.h (last_basic_block): Declare.
	(expunge_block_nocompact): Declaration removed.
	(compact_blocks): Declare.
	* cfg.c (last_basic_block): New variable.
	(expunge_block_nocompact): Removed.
	(expunge_block): Do not compact basic blocks.
	(compact_blocks): New.
	* cfganal.c (flow_call_edges_add): Use the fact that bb indices no
	longer change.
	* cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Set
	last_basic_block.
	* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Do not change
	real positions of blocks.
	(delete_unreachable_blocks): Simplified -- quadratic behavior now
	cannot occur.
	(cleanup_cfg): Compact blocks.
	* cfgrtl.c (create_basic_block): Insert basic blocks to the end of
	basic_block_info varray.
	(flow_delete_block): Comment update.
	(back_edge_of_syntactic_loop_p): Modify position check code.
	(verify_flow_info): Update checking.
	* flow.c (calculate_global_regs_live): Use FOR_EACH_BB.
	* ifcvt.c (SET_ORIG_INDEX, ORIG_INDEX): Removed.
	(find_if_case_1, find_if_case_2, if_convert): Use the fact that bb
	indices no longer change.
	* lcm.c (optimize_mode_switching): Replace n_basic_blocks with
	last_basic_block.
	* predict.c (estimate_bb_frequencies): Remove unneccessary code.
	* profile.c (branch_prob): Compact blocks.
	* sched-rgn.c (find_rgns): Replace n_basic_blocks with
	last_basic_block.

From-SVN: r53957
2002-05-28 12:53:47 +00:00
Kazu Hirata
ae12a094d6 * config/h8300/h8300.md (two anonymous patterns): New.
From-SVN: r53955
2002-05-28 12:36:03 +00:00
David S. Miller
c6172f1455 sparc.md (cpu): Tidy.
2002-05-28  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.md (cpu): Tidy.
	(type): Delete 'return', add 'ialuX', 'flushw', 'iflush', and
	'trap'.
	(in_call_delay): Delete reference to 'return' type.
	(eligible_for_return_delay, in_return_delay, define_delay
	referencing those): Delete.
	(rest of file): Use new type attributes as appropriate.
	* config/sparc/sparc-protos.h (eligible_for_return_delay): Delete.
	* config/sparc/sparc.c (eligible_for_return_delay): Likewise.
	* config/sparc/ultra1_2.md (us1_single): New reservation.
	(us1_ialuX): Likewise.
	* config/sparc/ultra3.md (us3_single): Likewise.
	(us3_ialuX): Likewise.
	(us3_imul, us3_idiv): Tweak.

From-SVN: r53953
2002-05-28 02:17:46 -07:00
Richard Henderson
34a6c2ec13 alpha.c (alpha_in_small_data_p): Return false for STRING_CST.
* config/alpha/alpha.c (alpha_in_small_data_p): Return false for
        STRING_CST.

From-SVN: r53952
2002-05-28 01:42:20 -07:00
GCC Administrator
62b1429209 Daily bump.
From-SVN: r53951
2002-05-28 07:21:59 +00:00
Bo Thorsen
4075db8f84 Fix last commit. Sorry about that.
From-SVN: r53946
2002-05-28 09:11:42 +02:00
Richard Henderson
9c07557009 * config.gcc: Obsolete mn10200.
From-SVN: r53944
2002-05-28 00:02:44 -07:00
Neil Booth
359b0bece1 cppexp.c (interpret_number): Optimize for single-digit and less-than-half-precision cases.
* cppexp.c (interpret_number): Optimize for single-digit
	and less-than-half-precision cases.
	(num_trim, num_positive, num_div_op): Cast constants.

From-SVN: r53943
2002-05-28 05:44:06 +00:00
Roger Sayle
ee4586c531 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
From-SVN: r53942
2002-05-28 02:02:46 +00:00
Roger Sayle
39f2f3c85a c-common.c: Add support for __attribute__((nothrow)) to specify that a function cannot...
* c-common.c: Add support for __attribute__((nothrow)) to specify
	that a function cannot throw an exception (using TREE_NOTHROW).
	(handle_nothrow_attribute): New function to process this attribute.

	* doc/extend.texi: Document the new nothrow function attribute.

2002-05-27  Richard Henderson  <rth@redhat.com>

	* g++.dg/ext/attrib6.C: New test case.

From-SVN: r53940
2002-05-27 21:09:38 +00:00
H.J. Lu
d51b0053f5 cppexp.c (num_trim): Use 1UL instead of 1 for long int.
2002-05-27  H.J. Lu  (hjl@gnu.org)

	* cppexp.c (num_trim): Use 1UL instead of 1 for long int.
	(num_positive): Likewise.
	(num_div_op): Likewise.

From-SVN: r53939
2002-05-27 13:54:50 -07:00
Neil Booth
2530d6aa59 * testsuite/gcc.dg/cpp/arith-3.c: Need -std=c99.
From-SVN: r53938
2002-05-27 20:23:13 +00:00
Kaveh R. Ghazi
ef72b1d319 * gcc.c-torture/execute/pure-1.c: New test.
From-SVN: r53937
2002-05-27 20:19:53 +00:00
Neil Booth
630363b435 c-common.c (c_common_init): Always use intmax_t.
* c-common.c (c_common_init): Always use intmax_t.
testsuite:
	* gcc.dg/cpp/arith-2.c: Remove.
	* gcc.dg/cpp/arith-3.c: Don't set std=c99.

From-SVN: r53936
2002-05-27 18:04:58 +00:00
Neil Booth
d94cde01ca * c-common.c (c_common_init): Use intmax_t for now.
From-SVN: r53935
2002-05-27 17:19:44 +00:00
Benjamin Kosnik
248a9163e1 misc-inst.cc: Define unnecessary algorithm instantiations.
c
2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

	* src/misc-inst.cc: Define unnecessary algorithm
	instantiations. Break apart instantiations into groupings below.
	* src/fstream-inst.cc: New.
	* src/io-inst.cc: New.
	* src/istream-inst.cc: New.
	* src/ostream-inst.cc: New.
	* src/streambuf-inst.cc: New.
	* src/sstream-inst.cc: New.
	* src/Makefile.am (sources): Add files.
	* src/Makefile.in: Regenerate.

	* acinclude.m4: Work around automake 1.4-p5 bug, change
	AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.

From-SVN: r53930
2002-05-27 14:55:57 +00:00
Andrew Haley
57f851a378 fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c if T is a boolean type.
2002-05-24  Andrew Haley  <aph@redhat.com>

        * fold-const.c (fold): Don't convert (T)(x & c) into (T)x & (T)c
        if T is a boolean type.

From-SVN: r53929
2002-05-27 14:40:38 +00:00
Bo Thorsen
1802ffac65 Add this file from last commit
From-SVN: r53928
2002-05-27 16:03:09 +02:00
Bo Thorsen
96842bcde6 libgcc-x86_64-glibc.ver: Copy this file from the 3.1 branch.
2002-05-23  Bo Thorsen  <bo@suse.de>

        * config/i386/libgcc-x86_64-glibc.ver: Copy this file from the
	3.1 branch. The file was made by Jakub Jelinek.
	* config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Add i386
	support so multilib doesn't break. And don't define this at all
	when -Dinhibit_libc is used.
	(MULTILIB_DEFAULTS): Always set default to 64 bit compilation.
	* config/i386/t-linux64: Implement full multilib support. Patch
	originally done by Andreas Jaeger and Jakub Jelinek.

From-SVN: r53927
2002-05-27 16:01:40 +02:00
Bo Thorsen
b86aa7b048 ffi.c (ffi_prep_args): Remove unused variable and fix formatting.
2002-05-27  Bo Thorsen  <bo@suse.de>

	* src/x86/ffi.c (ffi_prep_args): Remove unused variable and
	fix formatting.

From-SVN: r53926
2002-05-27 15:54:44 +02:00
Zdenek Dvorak
d55bc08175 basic-block.h (last_basic_block): Defined as synonym for n_basic_blocks.
* basic-block.h (last_basic_block): Defined as synonym for
	n_basic_blocks.
	* cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
	flow_depth_first_order_compute, flow_preorder_transversal_compute,
	flow_dfs_compute_reverse_init): Replaced relevant occurences of
	n_basic_blocks with last_basic_block.
	* cfgbuild.c (make_edges): Likewise.
	* cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
	* cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
	* combine.c (combine_instructions): Likewise.
	* df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
	iterative_dataflow_bitmap): Likewise.
	* dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
	calc_idoms, idoms_to_doms): Likewise.
	* flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
	Likewise.
	* gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
	compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
	one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
	one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
	delete_null_pointer_checks, compute_code_hoist_vbeinout,
	hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
	compute_store_table, build_store_vectors): Likewise.
	* haifa-sched.c (sched_init): Likewise.
	* ifcvt.c (if_convert): Likewise.
	* lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
	pre_edge_lcm, compute_available, compute_nearerout,
	compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
	Likewise.
	* predict.c (estimate_probability, process_note_prediction,
	note_prediction_to_br_prob): Likewise.
	* profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
	* recog.c (split_all_insns, peephole2_optimize): Likewise.
	* regrename.c (copyprop_hardreg_forward): Likewise.
	* resource.c (init_resource_info): Likewise.
	* sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
	init_regions, schedule_insns): Likewise.
	* ssa-ccp.c (ssa_const_prop): Likewise.
	* ssa-dce.c (ssa_eliminate_dead_code): Likewise.
	* ssa.c (compute_dominance_frontiers,
	compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.

	* df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
	* gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
	sizes consistently.

From-SVN: r53924
2002-05-27 13:45:44 +00:00
Jan Hubicka
71d2c5bd9b basic-block.h (can_hoist_p, [...]): new.
* basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
	new.
	* rtlanal.c (hoist_test_store, can_hoist_insn_p, hoist_update_store,
	hoist_insn_after, hoist_insn_to_edge): New.

From-SVN: r53923
2002-05-27 12:30:16 +00:00
Benjamin Kosnik
bed1bd8c51 re PR libstdc++/6795 (stringbuf failure)
2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/6795.
	* config/os/solaris/solaris2.6/bits/ctype_noninline.h
	(classic_table): Fix.
	* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.

2002-05-27  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
	_GLIBCPP_USE_WCHAR_T.
	* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
	* testsuite/22_locale/ctype_to_wchar_t.cc: Same.
	* testsuite/22_locale/ctype_widen_wchar_t.cc: Same.

From-SVN: r53921
2002-05-27 11:42:59 +00:00