OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * ssa.c (rename_insn_1): Rename uses of undefined registers to
law [Wed, 29 May 2002 16:23:28 +0000 (16:23 +0000)]
    * ssa.c (rename_insn_1): Rename uses of undefined registers to
        prevent confusion if/when the register is defined.

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

22 years ago PR target/6838
hp [Wed, 29 May 2002 16:13:24 +0000 (16:13 +0000)]
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.

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

22 years ago * gcc.c-torture/execute/20020529-1.c: New test.
hp [Wed, 29 May 2002 16:09:09 +0000 (16:09 +0000)]
* gcc.c-torture/execute/20020529-1.c: New test.

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

22 years ago * config/h8300/h8300-protos.h: Remove the prototype for
kazu [Wed, 29 May 2002 14:20:40 +0000 (14:20 +0000)]
* 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.

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

22 years ago* config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
uweigand [Wed, 29 May 2002 13:45:45 +0000 (13:45 +0000)]
* config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.

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

22 years ago* config/s390/s390.c (legitimate_pic_operand_p): Do not
uweigand [Wed, 29 May 2002 13:23:52 +0000 (13:23 +0000)]
* 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.

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

22 years ago* config/s390/s390.md (cmpstr_64/31): Mark whole
hpenner [Wed, 29 May 2002 11:59:32 +0000 (11:59 +0000)]
* config/s390/s390.md (cmpstr_64/31): Mark whole
  input registers as used.

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

22 years ago(libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
nickc [Wed, 29 May 2002 08:59:45 +0000 (08:59 +0000)]
(libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.

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

22 years agoDaily bump.
gccadmin [Wed, 29 May 2002 07:19:24 +0000 (07:19 +0000)]
Daily bump.

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

22 years ago * config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
rth [Wed, 29 May 2002 01:37:22 +0000 (01:37 +0000)]
    * 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.

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

22 years ago* config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
thorpej [Wed, 29 May 2002 01:12:56 +0000 (01:12 +0000)]
* 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.

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

22 years ago * flow.c (update_life_info_in_dirty_blocks): Only do a partial
rth [Wed, 29 May 2002 00:25:19 +0000 (00:25 +0000)]
    * flow.c (update_life_info_in_dirty_blocks): Only do a partial
        update if UPDATE_LIFE_LOCAL.

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

22 years ago2002-05-28 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 28 May 2002 23:15:18 +0000 (23:15 +0000)]
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.

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

22 years ago * optabs.c (expand_binop): Fix nwords sign warnings.
law [Tue, 28 May 2002 23:03:21 +0000 (23:03 +0000)]
    * optabs.c (expand_binop): Fix nwords sign warnings.
        generate pseudo for add_optab.

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

22 years ago * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
amylaar [Tue, 28 May 2002 22:43:31 +0000 (22:43 +0000)]
* config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.

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

22 years ago config/sh reorganization to factor out endianness and coff:
amylaar [Tue, 28 May 2002 22:26:43 +0000 (22:26 +0000)]
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.

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

22 years ago * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
law [Tue, 28 May 2002 22:03:06 +0000 (22:03 +0000)]
    * sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
        * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.

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

22 years ago * config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove,
espie [Tue, 28 May 2002 21:24:48 +0000 (21:24 +0000)]
* config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
inherited from gas.h.
(ASM_QUAD):  Undef.  OpenBSD does not support it.

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

22 years ago * doc/install.texi (binaries): Change mingw binaries
dannysmith [Tue, 28 May 2002 21:11:45 +0000 (21:11 +0000)]
* doc/install.texi (binaries): Change mingw binaries
link to www.mingw.org.

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

22 years ago * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
rakdver [Tue, 28 May 2002 20:44:09 +0000 (20:44 +0000)]
* cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.

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

22 years ago * config/i386/i386.c (ix86_compute_frame_layout): Do not add
rth [Tue, 28 May 2002 20:27:45 +0000 (20:27 +0000)]
    * config/i386/i386.c (ix86_compute_frame_layout): Do not add
        bottom alignment for leaf functions.

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

22 years ago * config/pa/milli32.S, config/pa/lib1funcs.asm,
zack [Tue, 28 May 2002 20:19:15 +0000 (20:19 +0000)]
* config/pa/milli32.S, config/pa/lib1funcs.asm,
config/sparc/sol2-g1.asm: Delete unused files.

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

22 years ago * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
rth [Tue, 28 May 2002 20:08:29 +0000 (20:08 +0000)]
    * varasm.c (default_binds_local_p): Check TREE_PUBLIC before
        DECL_EXTERNAL.

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

22 years ago * flow.c (calculate_global_regs_live): Rename call_used to
rth [Tue, 28 May 2002 20:01:29 +0000 (20:01 +0000)]
    * flow.c (calculate_global_regs_live): Rename call_used to
        invalidated_by_call.  Initialize from regs_invalidated_by_call
        instead of call_used_regs.

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

22 years ago * cfg.c (dump_flow_info): Print bb->index, not i, for block number.
rth [Tue, 28 May 2002 19:58:15 +0000 (19:58 +0000)]
    * cfg.c (dump_flow_info): Print bb->index, not i, for block number.

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

22 years ago * configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
marekm [Tue, 28 May 2002 18:56:52 +0000 (18:56 +0000)]
* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj for AVR.

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

22 years ago * tree.h: Forward-declare struct realvaluetype.
zack [Tue, 28 May 2002 17:33:14 +0000 (17:33 +0000)]
* 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.

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

22 years ago * basic-block.h (last_basic_block): Declare.
rakdver [Tue, 28 May 2002 12:53:47 +0000 (12:53 +0000)]
* 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.

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

22 years ago * config/h8300/h8300.md (two anonymous patterns): New.
kazu [Tue, 28 May 2002 12:36:03 +0000 (12:36 +0000)]
* config/h8300/h8300.md (two anonymous patterns): New.

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

22 years ago2002-05-28 David S. Miller <davem@redhat.com>
davem [Tue, 28 May 2002 09:17:46 +0000 (09:17 +0000)]
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.

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

22 years ago * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
rth [Tue, 28 May 2002 08:42:20 +0000 (08:42 +0000)]
    * config/alpha/alpha.c (alpha_in_small_data_p): Return false for
        STRING_CST.

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

22 years agoDaily bump.
gccadmin [Tue, 28 May 2002 07:21:59 +0000 (07:21 +0000)]
Daily bump.

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

22 years agoFix last commit. Sorry about that.
bo [Tue, 28 May 2002 07:11:42 +0000 (07:11 +0000)]
Fix last commit. Sorry about that.

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

22 years ago * config.gcc: Obsolete mn10200.
rth [Tue, 28 May 2002 07:02:44 +0000 (07:02 +0000)]
    * config.gcc: Obsolete mn10200.

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

22 years ago * cppexp.c (interpret_number): Optimize for single-digit
neil [Tue, 28 May 2002 05:44:06 +0000 (05:44 +0000)]
* cppexp.c (interpret_number): Optimize for single-digit
and less-than-half-precision cases.
(num_trim, num_positive, num_div_op): Cast constants.

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

22 years ago * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
sayle [Tue, 28 May 2002 02:02:46 +0000 (02:02 +0000)]
* src/x86/ffi.c (ffi_prep_args): Remove reference to avn.

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

22 years ago * c-common.c: Add support for __attribute__((nothrow)) to specify
sayle [Mon, 27 May 2002 21:09:38 +0000 (21:09 +0000)]
* 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.

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

22 years ago2002-05-27 H.J. Lu (hjl@gnu.org)
hjl [Mon, 27 May 2002 20:54:50 +0000 (20:54 +0000)]
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.

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

22 years ago * testsuite/gcc.dg/cpp/arith-3.c: Need -std=c99.
neil [Mon, 27 May 2002 20:23:13 +0000 (20:23 +0000)]
* testsuite/gcc.dg/cpp/arith-3.c: Need -std=c99.

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

22 years ago * gcc.c-torture/execute/pure-1.c: New test.
ghazi [Mon, 27 May 2002 20:19:53 +0000 (20:19 +0000)]
* gcc.c-torture/execute/pure-1.c: New test.

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

22 years ago * c-common.c (c_common_init): Always use intmax_t.
neil [Mon, 27 May 2002 18:04:58 +0000 (18:04 +0000)]
* 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.

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

22 years ago * c-common.c (c_common_init): Use intmax_t for now.
neil [Mon, 27 May 2002 17:19:44 +0000 (17:19 +0000)]
* c-common.c (c_common_init): Use intmax_t for now.

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

22 years agoc
bkoz [Mon, 27 May 2002 14:55:57 +0000 (14:55 +0000)]
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.

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

22 years ago2002-05-24 Andrew Haley <aph@redhat.com>
aph [Mon, 27 May 2002 14:40:38 +0000 (14:40 +0000)]
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.

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

22 years agoAdd this file from last commit
bo [Mon, 27 May 2002 14:03:09 +0000 (14:03 +0000)]
Add this file from last commit

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

22 years ago2002-05-23 Bo Thorsen <bo@suse.de>
bo [Mon, 27 May 2002 14:01:40 +0000 (14:01 +0000)]
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.

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

22 years ago2002-05-27 Bo Thorsen <bo@suse.de>
bo [Mon, 27 May 2002 13:54:44 +0000 (13:54 +0000)]
2002-05-27  Bo Thorsen  <bo@suse.de>

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

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

22 years ago * basic-block.h (last_basic_block): Defined as synonym for
rakdver [Mon, 27 May 2002 13:45:44 +0000 (13:45 +0000)]
* 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.

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

22 years ago * basic-block.h (can_hoist_p, hoist_insn_after, hoist_insn_to_edge):
hubicka [Mon, 27 May 2002 12:30:16 +0000 (12:30 +0000)]
* 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.

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

22 years ago2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 27 May 2002 11:42:59 +0000 (11:42 +0000)]
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.

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

22 years ago * basic-block.h (PEOP_SCAN_DEAD_STORES): New.
hubicka [Mon, 27 May 2002 10:15:57 +0000 (10:15 +0000)]
* basic-block.h (PEOP_SCAN_DEAD_STORES): New.
(PROP_FINAL): Include.
* flow.c (life_analysis, update_life_info,
init_propagate_block_info, mark_set_1, mark_used_rgs):
Support SCAN_DEAD_STORE.

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

22 years ago * update_version (textstring_FILES): Change gcc/ada/gnatvsn.ads to
jsm28 [Mon, 27 May 2002 07:33:05 +0000 (07:33 +0000)]
* update_version (textstring_FILES): Change gcc/ada/gnatvsn.ads to
gcc/gcc/ada/gnatvsn.ads.

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

22 years agoDaily bump.
gccadmin [Mon, 27 May 2002 07:18:02 +0000 (07:18 +0000)]
Daily bump.

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

22 years ago * testsuite/gcc.dg/cpp/if-3.c: Forgot to remove.
neil [Mon, 27 May 2002 05:55:29 +0000 (05:55 +0000)]
* testsuite/gcc.dg/cpp/if-3.c: Forgot to remove.

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

22 years ago * c-common.c (c_common_init): Set CPP arithmetic precision.
neil [Mon, 27 May 2002 05:51:14 +0000 (05:51 +0000)]
* c-common.c (c_common_init): Set CPP arithmetic precision.
* cppexp.c (cpp_num_part): Move typedef ...
* cpphash.h: ...here; make unsigned HOST_WIDE_INT.
* cppinit.c (cpp_create_reader): Default to host long arithmetic.
(sanity_checks): Update.
testsuite:
* gcc.dg/cpp/arith-2.c, gcc.dg/cpp/arith-3.c: New tests.
* gcc.dg/cpp/if-3.c: Remove.

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

22 years ago * libjava.lang/PR6820.java: New file.
bryce [Mon, 27 May 2002 05:47:40 +0000 (05:47 +0000)]
* libjava.lang/PR6820.java: New file.
* libjava.lang/PR6820.out: New file.

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

22 years ago2002-05-26 Geoffrey Keating <geoffk@redhat.com>
geoffk [Mon, 27 May 2002 04:24:54 +0000 (04:24 +0000)]
2002-05-26  Geoffrey Keating  <geoffk@redhat.com>

* Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
(mkheaders): New rule.
(install-mkheaders): New rule.
* configure.in (all_outputs): Add mkheaders.
* configure: Regenerate.
* mkheaders.in: New file.

Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.880
diff -p -u -p -r1.880 Makefile.in
--- gcc/Makefile.in 25 May 2002 22:01:40 -0000 1.880
+++ gcc/Makefile.in 27 May 2002 04:14:19 -0000
@@ -434,7 +434,7 @@ FLOAT_H=@float_h_file@
 LIBCONVERT =

 # Control whether header files are installed.
-INSTALL_HEADERS=install-headers
+INSTALL_HEADERS=install-headers install-mkheaders

 # Control whether Info documentation is built and installed.
 BUILD_INFO = @BUILD_INFO@
@@ -878,6 +878,9 @@ gccbug: $(srcdir)/gccbug.in
 mklibgcc: $(srcdir)/mklibgcc.in
  CONFIG_FILES=mklibgcc CONFIG_HEADERS= ./config.status

+mkheaders: $(srcdir)/mkheaders.in
+ CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status
+
 # cstamp-h.in controls rebuilding of config.in.
 # It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
 # delete it.  A stamp file is needed as autoheader won't update the file if
@@ -2839,6 +2842,47 @@ install-headers-cpio: stmp-int-hdrs $(ST
 # Install the include directory using cp.
 install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
  cp -p -r include $(libsubdir)
+
+itoolsdir = $(libsubdir)/install-tools
+# Don't install the headers.  Instead, install appropriate scripts
+# and supporting files for fixincludes to be run later.
+install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir \
+    mkheaders xlimits.h
+ -rm -rf $(itoolsdir)
+ $(SHELL) $(srcdir)/mkinstalldirs $(itoolsdir)/include
+ for file in $(USER_H); do \
+   realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+   $(INSTALL_DATA) $$file \
+     $(itoolsdir)/include/$$realfile ; \
+ done
+ if [ x$(FLOAT_H) != xMakefile.in ]; then \
+   $(INSTALL_DATA) $(srcdir)/config/$(FLOAT_H) \
+      $(itoolsdir)/include/float.h ; \
+ else :; fi
+ $(INSTALL_DATA) xlimits.h $(itoolsdir)/include/limits.h
+ if [ x$(STMP_FIXINC) != x ] ; then \
+   $(INSTALL_DATA) $(srcdir)/README-fixinc \
+     $(itoolsdir)/include/README ; \
+   $(INSTALL_PROGRAM) fixinc.sh $(itoolsdir)/fixinc.sh ; \
+   $(INSTALL_PROGRAM) fixinc/fixincl $(itoolsdir)/fixincl ; \
+   $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(itoolsdir)/gsyslimits.h ; \
+ else :; fi
+ if [ x$(STMP_FIXPROTO) != x ] ; then \
+   $(INSTALL_PROGRAM) $(srcdir)/mkinstalldirs \
+ $(itoolsdir)/mkinstalldirs ; \
+   $(INSTALL_PROGRAM) $(srcdir)/fixproto $(itoolsdir)/fixproto ; \
+   $(INSTALL_PROGRAM) fix-header$(build_exeext) \
+ $(itoolsdir)/fix-header$(build_exeext) ; \
+ else :; fi
+ $(INSTALL_PROGRAM) mkheaders $(itoolsdir)/mkheaders
+ echo 'SYSTEM_HEADER_DIR="$(SYSTEM_HEADER_DIR)"' \
+ > $(itoolsdir)/mkheaders.conf
+ echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXINC="$(STMP_FIXINC)"' >> $(itoolsdir)/mkheaders.conf

 # Use this target to install the program `collect2' under the name `collect2'.
 install-collect2: collect2 installdirs
Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.606
diff -p -u -p -r1.606 configure
--- gcc/configure 25 May 2002 19:51:40 -0000 1.606
+++ gcc/configure 27 May 2002 04:14:21 -0000
@@ -8065,7 +8065,7 @@ all_languages=
 all_boot_languages=
 all_compilers=
 all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
 # List of language makefile fragments.
 all_lang_makefiles=

Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.593
diff -p -u -p -r1.593 configure.in
--- gcc/configure.in 25 May 2002 19:51:41 -0000 1.593
+++ gcc/configure.in 27 May 2002 04:14:21 -0000
@@ -2312,7 +2312,7 @@ all_languages=
 all_boot_languages=
 all_compilers=
 all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
 # List of language makefile fragments.
 all_lang_makefiles=

Index: gcc/mkheaders.in
===================================================================
RCS file: gcc/mkheaders.in
diff -N gcc/mkheaders.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gcc/mkheaders.in 27 May 2002 04:14:21 -0000
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC is free software; you can redistribute it and/or modify it under
+#the terms of the GNU General Public License as published by the Free
+#Software Foundation; either version 2, or (at your option) any later
+#version.
+
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+#for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GCC; see the file COPYING.  If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
+
+# Basic information
+target=@target@
+target_alias=@target_alias@
+version=@gcc_version@
+
+VERBOSE=0
+while [ x$1 = x-v ] ; do
+    shift
+    VERBOSE=`expr $VERBOSE + 1`
+done
+export VERBOSE
+
+if [ x$1 = x--help ] ; then
+    echo "Usage: mkheaders [options] [prefix]"
+    echo "Options:"
+    echo "  -v        Print more output (may be repeated for even more output)"
+    echo "  --help    This help"
+    echo "  --version Print version information"
+    exit 0
+fi
+
+if [ x$1 = x--version ] ; then
+    echo "mkheaders (GCC) version $version"
+    echo "Copyright 2002 Free Software Foundation, Inc."
+    echo "This program is free software; you may redistribute it under the"
+    echo "terms of the GNU General Public License.  This program has"
+    echo "absolutely no warranty."
+    exit 0
+fi
+
+# Common prefix for installation directories.
+if [ x$1 != x ] ; then
+  prefix=$1
+else
+  prefix=@prefix@
+fi
+# Directory in which to put localized header files. On the systems with
+# gcc as the native cc, `local_prefix' may not be `prefix' which is
+# `/usr'.
+# NOTE: local_prefix *should not* default from prefix.
+local_prefix=@local_prefix@
+# Directory in which to put host dependent programs and libraries
+exec_prefix=@exec_prefix@
+# Directory in which to put the directories used by the compiler.
+libdir=@libdir@
+# Directory in which the compiler finds executables, libraries, etc.
+libsubdir=${libdir}/gcc-lib/${target_alias}/${version}
+# Since gcc_tooldir does not exist at build-time, use -B${build_tooldir}/bin/
+build_tooldir=${exec_prefix}/${target_alias}
+# Directory to search for site-specific includes.
+local_includedir=${local_prefix}/include
+includedir=${prefix}/include
+
+itoolsdir=${libsubdir}/install-tools
+incdir=${libsubdir}/include
+
+. ${itoolsdir}/mkheaders.conf
+
+cd ${itoolsdir}
+rm -rf ${incdir}/*
+
+if [ x${STMP_FIXINC} != x ] ; then
+ TARGET_MACHINE="${target}" target_canonical="${target}" \
+     ${SHELL} ./fixinc.sh ${incdir} \
+     ${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS}
+ rm -f ${incdir}/syslimits.h
+ if [ -f ${incdir}/limits.h ]; then
+   mv ${incdir}/limits.h ${incdir}/syslimits.h
+ else
+   cp gsyslimits.h ${incdir}/syslimits.h
+ fi
+fi
+
+cp include/* ${incdir}
+
+if [ x${STMP_FIXPROTO} != x ] ; then
+  mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs"
+  export FIXPROTO_DEFINES mkinstalldirs
+  ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
+fi

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

22 years ago * config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
marekm [Sun, 26 May 2002 20:19:32 +0000 (20:19 +0000)]
* config/avr/avr-protos.h (avr_out_sbxx_branch): Declare.
* config/avr/avr.c (jump_over_one_insn_p): Take length of the
branch insn into account, do not assume 1.
(avr_out_sbxx_branch): New function.  Optimize cases of skipping
over single word insn.  Handle upper half of I/O space too.
* config/avr/avr.md (*sbrx_branch): Use it.
(*sbrx_and_branchhi, *sbrx_and_branchsi): Likewise.
(*sbix_branch, *sbix_branch_bit7): Likewise.
(*sbix_branch_tmp, *sbix_branch_tmp_bit7): New.
Use RTL peepholes to optimize register operand sign tests.

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

22 years ago * cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.
jakub [Sun, 26 May 2002 19:59:45 +0000 (19:59 +0000)]
* cse.c (fold_rtx): Don't optimize if SUBREG changes mode class.

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

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

22 years agoFix typo last change.
rth [Sun, 26 May 2002 19:06:11 +0000 (19:06 +0000)]
Fix typo last change.

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

22 years ago * cfg.c (dump_flow_info): Remove extra argument to fprintf.
aj [Sun, 26 May 2002 19:05:53 +0000 (19:05 +0000)]
* cfg.c (dump_flow_info): Remove extra argument to fprintf.

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

22 years ago * cppexp.c (possible_sum_sign, integer_overflow, left_shift,
neil [Sun, 26 May 2002 18:42:21 +0000 (18:42 +0000)]
* cppexp.c (possible_sum_sign, integer_overflow, left_shift,
right_shift): Remove.
(cpp_num, cpp_num_part, PART_PRECISION, HALF_MASK, LOW_PART,
HIGH_PART): New.
(struct op): Use cpp_num.
(num_zerop, num_eq, num_positive, num_greater_freq, num_trim,
num_part_mul, num_unary_op, num_binary_op, num_negate,
num_bitwise_op, num_inequality_op, num_equality_op, num_mul,
num_div_op, num_lshift, num_rshift, append_digit): New.
(interpret_number, parse_defined, eval_token, reduce): Update
for two-integer arithmetic.
(binary_handler): New typedef.
(optab): Update.
(COMPARE, EQUALITY, BITWISE, MINMAX, UNARY, SHIFT): Delete.
(_cpp_parse_expr, reduce): Update to handle two-integers.
* cpplib.c (_cpp_test_assertion): Back up on CPP_EOF.
testsuite:
* gcc.dg/cpp/arith-1.c: New semantic tests.
* gcc.dg/cpp/if-1.c: Update.

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

22 years ago * config/avr/avr.c (avr_asm_only_p): New variable.
marekm [Sun, 26 May 2002 17:09:55 +0000 (17:09 +0000)]
* config/avr/avr.c (avr_asm_only_p): New variable.
(avr_override_options): Set it here if AVR1.
(asm_file_start): Test it here, report an error if set.

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

22 years ago * alias.c: Fix formatting.
kazu [Sun, 26 May 2002 15:01:11 +0000 (15:01 +0000)]
* alias.c: Fix formatting.
* attribs.c: Likewise.
* bb-reorder.c: Likewise.
* bitmap.c: Likewise.
* bitmap.h: Likewise.
* builtins.c: Likewise.

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

22 years ago2002-05-26 Carlo Wood <carlo@alinoe.com>
paolo [Sun, 26 May 2002 14:35:04 +0000 (14:35 +0000)]
2002-05-26  Carlo Wood  <carlo@alinoe.com>
    Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6811
* config/locale/ieee_1003.1-2001/codecvt_specializations.h
(__enc_traits::operator=): add missing return statement.

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

22 years ago * reload.c (find_valid_class): Accept new argument DEST,
hubicka [Sun, 26 May 2002 12:01:40 +0000 (12:01 +0000)]
* reload.c (find_valid_class): Accept new argument DEST,
choose class accordingly.
(push_reload): Update callers.

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

22 years agogcc/ada:
jsm28 [Sun, 26 May 2002 10:29:30 +0000 (10:29 +0000)]
gcc/ada:
* gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526
(experimental)".

maintainer-scripts:
* gcc_release: Add gcc/ada/gnatvsn.ads to list of files in which
release status is updated.
* update_version (textstring_FILES): Add gcc/ada/gnatvsn.ads.

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

22 years ago * combine.c (combine_instructions): Do not indent #if for
aj [Sun, 26 May 2002 08:03:42 +0000 (08:03 +0000)]
* combine.c (combine_instructions): Do not indent #if for
traditional C.

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

22 years agoDaily bump.
gccadmin [Sun, 26 May 2002 07:17:49 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago * c-pragma.c (apply_pragma_weak): Convert value identifier to
rth [Sun, 26 May 2002 03:38:37 +0000 (03:38 +0000)]
    * c-pragma.c (apply_pragma_weak): Convert value identifier to
        string for decl_attributes.
        (handle_pragma_weak): Call assemble_alias if we're modifying
        an existing decl.

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

22 years agoNew test for pr 6788
rth [Sun, 26 May 2002 02:40:46 +0000 (02:40 +0000)]
New test for pr 6788

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

22 years ago * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
rth [Sun, 26 May 2002 02:03:35 +0000 (02:03 +0000)]
    * config/sparc/sparc.c (sparc_output_mi_thunk): New implementation
        using rtl instead of fprintf.
        * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Use it.
        * config/sparc/sparc-protos.h: Update.

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

22 years ago * gettextP.h (SWAP): Change parameter type to unsigned int.
rth [Sun, 26 May 2002 01:42:23 +0000 (01:42 +0000)]
    * gettextP.h (SWAP): Change parameter type to unsigned int.

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

22 years ago * Makefile.in (C_COMMON_H): Fix.
neil [Sat, 25 May 2002 22:01:55 +0000 (22:01 +0000)]
* Makefile.in (C_COMMON_H): Fix.
Update other targets.
* c-common.c: Don't include c-lex.h.
(builtin_define_with_value): Make static and prototype.
(builtin_define_std): Move from c-lex.h.
* c-common.h (init_c_lex): Move from c-lex.h.
* c-decl.c: Don't include c-lex.h.
(make_pointer_declarator): Move from c-parse.in.
* c-lex.c: Don't include c-lex.h.
* c-lex.h: Remove.
* c-parse.in: Don't include c-lex.h; include c-pragma.h.
(make_pointer_declarator): Move to c-decl.c.
* c-pragma.c: Don't include c-lex.h.
* c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h.
* c-tree.h (make_pointer_declarator): New.
cp:
* lex.c: Don't include c-lex.h.
* parse.y, spew.c: Don't include c-lex.h; include c-pragma.h.
doc:
* passes.texi, tm.texi: Update.
objc:
* Make-lang.in: Update and correct.
* objc-act.c: Don't include c-lex.h or cpplib.h.
treelang:
* treetree.c: Don't include c-lex.h.
config:
* darwin-c.c: Don't include c-lex.h.
* c4x/c4x-c.c: Don't include c-lex.h.
* c4x/t-c4x: Update.
* i370/i370-c.c: Don't include c-lex.h.
* i370/t-i370: Update.
* i960/i960-c.c: Don't include c-lex.h.
* i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h.
* i960/t-960bare: Update.
* i960/t-vxworks: Update.
* rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h.
* rs6000/t-darwin: Update.
* rs6000/t-rs6000-c-rule: Update.
* v850/v850-c.c: Don't include c-lex.h.
* v850/v850.c: Don't include c-lex.h or cpplib.h.

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

22 years ago * tree.def: Fix typos.
kazu [Sat, 25 May 2002 20:18:41 +0000 (20:18 +0000)]
* tree.def: Fix typos.
* doc/install.texi: Likewise.

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

22 years ago * configure.in (HAVE_AS_TLS): Add ia64 test.
rth [Sat, 25 May 2002 19:51:43 +0000 (19:51 +0000)]
* configure.in (HAVE_AS_TLS): Add ia64 test.
* configure: Rebuild.
* config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New.
(override_options): Set it.
(TARGET_HAVE_TLS): New.
(sdata_symbolic_operand): Look for 's'.
(tls_symbolic_operand): New.
(ia64_expand_load_address): Abort for tls symbols.
(gen_tls_get_addr): New.
(gen_thread_pointer): New.
(ia64_expand_move): Split out from movdi.  Handle tls symbols.
(rtx_needs_barrier): Add new unspecs.
(ia64_encode_section_info): Handle tls symbols.
(ia64_strip_name_encoding): Strip two encoding chars.
* config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New.
(TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New.
(TARGET_OPTIONS): Add tls-size.
(ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR.
* config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL,
UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New.
(movqi, movhi, movsi, movdi, movti): Use ia64_expand_move.
(movsf, movdf): Likewise.
(movdi_symbolic): Use match_scratch.  Don't split if we won't
have a scratch availiable.
(load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22,
add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel,
load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New.
* config/ia64/ia64-protos.h: Update.
* config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use
sdata_symbolic_operand.
(ASM_OUTPUT_LABELREF): Strip two characters.

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

22 years ago * combine.c (simplify_set): Remove an unnecessary subreg.
kazu [Sat, 25 May 2002 19:47:11 +0000 (19:47 +0000)]
* combine.c (simplify_set): Remove an unnecessary subreg.

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

22 years ago * config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.
marekm [Sat, 25 May 2002 18:18:53 +0000 (18:18 +0000)]
* config/avr/avr.c (avr_handle_progmem_attribute): Handle TYPE_DECL.

* config/avr/avr.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_BSS): New.

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

22 years ago* toplev.c (output_clean_symbol_name): Fix another thinko.
gdr [Sat, 25 May 2002 18:02:14 +0000 (18:02 +0000)]
* toplev.c (output_clean_symbol_name): Fix another thinko.

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

22 years ago * simplify-rtx.c (simplify_gen_relational): Simplify the RTX
sayle [Sat, 25 May 2002 16:09:20 +0000 (16:09 +0000)]
* simplify-rtx.c (simplify_gen_relational): Simplify the RTX
(cond (compare x y) 0) into the equivalent (cond x y).

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

22 years ago* toplev.c (output_clean_symbol_name): Use xstrdup. Fix thinko.
gdr [Sat, 25 May 2002 14:38:42 +0000 (14:38 +0000)]
* toplev.c (output_clean_symbol_name): Use xstrdup.  Fix thinko.

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

22 years agoDaily bump.
gccadmin [Sat, 25 May 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago2002-05-24 Ben Elliston <bje@redhat.com>
bje [Sat, 25 May 2002 03:40:20 +0000 (03:40 +0000)]
2002-05-24  Ben Elliston  <bje@redhat.com>

* lib/c-torture.exp (c-torture-execute): Handle multiple sources.

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

22 years ago * config.gcc: Remove all stanzas for previously obsoleted
zack [Sat, 25 May 2002 02:10:46 +0000 (02:10 +0000)]
* config.gcc: Remove all stanzas for previously obsoleted
systems.  Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else.  Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.

* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.

* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.

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

22 years ago * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
rth [Sat, 25 May 2002 01:56:57 +0000 (01:56 +0000)]
    * flags.h (TLS_MODEL_GLOBAL_DYNAMIC): Set to 1.
        * toplev.c (flag_tls_default) Set to TLS_MODEL_GLOBAL_DYNAMIC.
        * config/i386/i386.c (tls_model_chars): Add leading space.
        (tls_symbolic_operand): Don't bias by 1.
        (legitimize_address): Don't unbias by 1.

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

22 years ago * lcm.c (optimize_mode_switching): Change bb used as indices
rth [Sat, 25 May 2002 00:47:31 +0000 (00:47 +0000)]
    * lcm.c (optimize_mode_switching): Change bb used as indices
        to bb->index.

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

22 years ago * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
rth [Fri, 24 May 2002 22:54:28 +0000 (22:54 +0000)]
    * config/ia64/ia64.c (ia64_reorg): Use update_life_info instead
        of update_life_info_in_dirty_blocks.

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

22 years ago * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
bryce [Fri, 24 May 2002 22:31:23 +0000 (22:31 +0000)]
    * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
        not "stackTrace".

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

22 years ago PR other/6782
jakub [Fri, 24 May 2002 21:40:25 +0000 (21:40 +0000)]
PR other/6782
* final.c (get_mem_expr_from_op): Return 0 if op is NULL.

* gcc.dg/verbose-asm.c: New test.

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

22 years ago PR preprocessor/6780
neil [Fri, 24 May 2002 19:26:30 +0000 (19:26 +0000)]
PR preprocessor/6780
* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
* gcc.dg/cpp/paste12.c: New test.

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

22 years ago* dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
jimb [Fri, 24 May 2002 19:16:56 +0000 (19:16 +0000)]
* dwarf2out.c (dwarf2out_finish): Don't forget to emit a final
entry with a type code of zero, marking the end of the compilation
unit's macro info.

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

22 years ago * varasm.c (asm_output_bss): Always output one byte.
rth [Fri, 24 May 2002 18:30:48 +0000 (18:30 +0000)]
    * varasm.c (asm_output_bss): Always output one byte.
        * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.

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

22 years agoTypo in previous changelog commit.
pme [Fri, 24 May 2002 18:17:43 +0000 (18:17 +0000)]
Typo in previous changelog commit.

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

22 years ago2002-05-24 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 24 May 2002 18:16:00 +0000 (18:16 +0000)]
2002-05-24  Phil Edwards  <pme@gcc.gnu.org>

libstdc++/6282
* include/std/std_bitset.h (_Base_biteset<0>):  New specialization.
(operator>>):  If nothing was extracted, don't fail in the
zero-length case.
* testsuite/23_containers/bitset_ctor.cc (test02):  New test.

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

22 years ago2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 24 May 2002 16:02:39 +0000 (16:02 +0000)]
2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6701
* testsuite/22_locale/ctype_narrow_char.cc: New.
* testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
* testsuite/22_locale/ctype_widen_char.cc: New.
* testsuite/22_locale/ctype_widen_wchar_t.cc: New.
* testsuite/22_locale/ctype_members_char.cc: Move some bits into...
* testsuite/22_locale/ctype_is_char.cc: ...this.
* testsuite/22_locale/ctype_to_char.cc: ...and this.
* testsuite/22_locale/ctype_members_wchar_t.cc: Move some bits into...
* testsuite/22_locale/ctype_is_wchar_t.cc: ...this.
* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.

* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.

2002-05-24  Dale Peakall <dale@peakall.net>

PR libstdc++/6701
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
* config/locale/generic/ctype_members.cc: Same.

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

22 years ago2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 24 May 2002 15:50:51 +0000 (15:50 +0000)]
2002-05-24  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6750
* include/bits/ostream.tcc (ostream::operator<<(const char*)): Fix
for empty string literal.
(ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same.
(ostream<char>::operator<<(streambuf*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
* testsuite/27_io/ostream_inserter_other.cc (test02): Modify.

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

22 years ago Merge JDK 1.4 java.security changes from classpath.
bryce [Fri, 24 May 2002 11:57:40 +0000 (11:57 +0000)]
   Merge JDK 1.4 java.security changes from classpath.

       * java/security/AccessControlException.java: Merge from Classpath.
       * java/security/AccessController.java: Likewise.
       * java/security/AllPermission.java: Likewise.
       * java/security/BasicPermission.java: Likewise.
       * java/security/Certificate.java: Likewise.
       * java/security/CodeSource.java: Likewise.
       * java/security/DigestException.java: Likewise.
       * java/security/DigestOutputStream.java: Likewise.
       * java/security/DomainCombiner.java: Likewise.
       * java/security/GeneralSecurityException.java: Likewise.
       * java/security/Guard.java: Likewise.
       * java/security/GuardedObject.java: Likewise.
       * java/security/InvalidAlgorithmParameterException.java: Likewise.
       * java/security/InvalidKeyException.java: Likewise.
       * java/security/InvalidParameterException.java: Likewise.
       * java/security/Key.java: Likewise.
       * java/security/KeyException.java: Likewise.
       * java/security/KeyManagementException.java: Likewise.
       * java/security/KeyStoreException.java: Likewise.
       * java/security/MessageDigest.java: Likewise.
       * java/security/NoSuchAlgorithmException.java: Likewise.
       * java/security/NoSuchProviderException.java: Likewise.
       * java/security/Permission.java: Likewise.
       * java/security/PermissionCollection.java: Likewise.
       * java/security/Permissions.java: Likewise.
       * java/security/Policy.java: Likewise.
       * java/security/Principal.java: Likewise.
       * java/security/PrivateKey.java: Likewise.
       * java/security/PrivilegedAction.java: Likewise.
       * java/security/PrivilegedActionException.java: Likewise.
       * java/security/PrivilegedExceptionAction.java: Likewise.
       * java/security/ProtectionDomain.java: Likewise.
       * java/security/ProviderException.java: Likewise.
       * java/security/PublicKey.java: Likewise.
       * java/security/SecureClassLoader.java: Likewise.
       * java/security/SecurityPermission.java: Likewise.
       * java/security/SignatureException.java: Likewise.
       * java/security/UnrecoverableKeyException.java: Likewise.
       * java/security/UnresolvedPermission.java: Likewise.
       * java/security/acl/AclNotFoundException.java: Likewise.
       * java/security/acl/LastOwnerException.java: Likewise.
       * java/security/acl/NotOwnerException.java: Likewise.
       * java/security/cert/CRLException.java: Likewise.
       * java/security/cert/CertificateEncodingException.java: Likewise.
       * java/security/cert/CertificateException.java: Likewise.
       * java/security/cert/CertificateExpiredException.java: Likewise.
       * java/security/cert/CertificateFactory.java: Likewise.
       * java/security/cert/CertificateNotYetValidException.java: Likewise.
       * java/security/cert/CertificateParsingException.java: Likewise.
       * java/security/spec/InvalidKeySpecException.java: Likewise.
       * java/security/spec/InvalidParameterSpecException.java: Likewise.

       * java/security/cert/CertPath.java: New file.
       * java/security/cert/CertPathBuilderException.java: New file.
       * java/security/cert/CertPathValidatorException.java: New file.
       * java/security/cert/CertStoreException.java: New file.

       * Makefile.am: Add new CertPath classes.
       * Makefile.in: Rebuilt.

       * gnu/java/util/EmptyEnumeration: New file from classpath.

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

22 years ago Merge JDK 1.4 exception chaining support from classpath.
bryce [Fri, 24 May 2002 10:40:47 +0000 (10:40 +0000)]
Merge JDK 1.4 exception chaining support from classpath.
* java/lang/Throwable.java: Merge 1.4 support from classpath.
(stackTraceBytes): Rename from stackTrace.
* java/lang/Exception.java: Merge from classpath.
* java/lang/StackTraceElement: New file from classpath.
* gcj/javaprims.h: Rebuild CNI namespace declarations.
* Makefile.am: Add StackTraceElement.
* Makefile.in: Rebuilt.

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

22 years ago * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
bryce [Fri, 24 May 2002 09:19:55 +0000 (09:19 +0000)]
* tree.c (decl_type_context): Return NULL_TREE if decl's context is a
     namespace.

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

22 years ago * MAINTAINERS (Write After Approval): Add myself.
kkojima [Fri, 24 May 2002 07:19:09 +0000 (07:19 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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