OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
hp [Mon, 11 Feb 2002 00:33:08 +0000 (00:33 +0000)]
* config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.

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

22 years ago For PR java/5641:
tromey [Mon, 11 Feb 2002 00:18:52 +0000 (00:18 +0000)]
For PR java/5641:
* libjava.compile/PR5641.xfail: New file.
* libjava.compile/PR5641.java: New file.

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

22 years ago2002-02-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
tromey [Mon, 11 Feb 2002 00:01:11 +0000 (00:01 +0000)]
2002-02-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* lib/libjava.exp (libjava_find_lib): Remove duplicate .la files.

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

22 years ago * gcc.c-torture/compile/961203-1.x: Disable on h8300 port.
kazu [Sun, 10 Feb 2002 20:37:22 +0000 (20:37 +0000)]
* gcc.c-torture/compile/961203-1.x: Disable on h8300 port.
* gcc.c-torture/compile/980506-1.x: Likewise.

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

22 years ago * gcc.dg/20020210-1.c: New.
kazu [Sun, 10 Feb 2002 20:30:10 +0000 (20:30 +0000)]
* gcc.dg/20020210-1.c: New.

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

22 years ago * config/h8300/h8300.md (pushhi1_h8300): Correct the mode
kazu [Sun, 10 Feb 2002 20:24:16 +0000 (20:24 +0000)]
* config/h8300/h8300.md (pushhi1_h8300): Correct the mode
used.
(pushhi1): Likewise.

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

22 years ago2002-02-10 Andreas Tobler <toa@pop.agri.ch>
tromey [Sun, 10 Feb 2002 18:32:48 +0000 (18:32 +0000)]
2002-02-10  Andreas Tobler  <toa@pop.agri.ch>

* interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.

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

22 years ago * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
danglin [Sun, 10 Feb 2002 17:27:55 +0000 (17:27 +0000)]
* pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
* pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.

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

22 years ago2002-02-10 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 10 Feb 2002 09:05:46 +0000 (09:05 +0000)]
2002-02-10  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_algo.h (transform (both signatures), generate_n):
Use __typeof__ in concept checks.

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

22 years ago2002-02-10 Jonathan Wakely <cow@compsoc.man.ac.uk>
pme [Sun, 10 Feb 2002 09:00:41 +0000 (09:00 +0000)]
2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>

* include/bits/stl_algo.h (__median, for_each, find, find_if,
adjacent_find, count, count_if, search, search_n, swap_ranges,
transform, replace, replace_if, replace_copy, replace_copy_if,
generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
unique, unique_copy, reverse, reverse_copy):  Doxygenate.

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

22 years agoDaily bump.
gccadmin [Sun, 10 Feb 2002 08:16:27 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago2002-02-09 David O'Brien <obrien@FreeBSD.org>
obrien [Sat, 9 Feb 2002 21:51:56 +0000 (21:51 +0000)]
2002-02-09  David O'Brien  <obrien@FreeBSD.org>
* config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
remove MASK_VIS.
(ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020208111342.A4426@redhat.com>

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

22 years ago * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
kazu [Sat, 9 Feb 2002 21:49:23 +0000 (21:49 +0000)]
* config/h8300/h8300.c (output_logical_op): Use sub.w to clear
a half of an SImode register on H8/300.

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

22 years ago2002-02-09 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 9 Feb 2002 21:43:29 +0000 (21:43 +0000)]
2002-02-09  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/947.f: New regression test
for PR fortran/947.

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

22 years ago2002-02-09 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 9 Feb 2002 21:39:08 +0000 (21:39 +0000)]
2002-02-09  Toon Moene  <toon@moene.indiv.nluug.nl>

* data.c (ffedata_eval_offset_): Convert non-default integer
constants to default integer kind if necessary.

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

22 years ago * i386.md (movdi_2): Add missing '!'.
hubicka [Sat, 9 Feb 2002 17:53:58 +0000 (17:53 +0000)]
* i386.md (movdi_2): Add missing '!'.

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

22 years ago * config/h8300/h8300.h: Fix formatting. Remove commented-out
kazu [Sat, 9 Feb 2002 17:31:50 +0000 (17:31 +0000)]
* config/h8300/h8300.h: Fix formatting.  Remove commented-out
definitions.

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

22 years ago * config/h8300/h8300.md (length): Correct the distance valid
kazu [Sat, 9 Feb 2002 17:19:00 +0000 (17:19 +0000)]
* config/h8300/h8300.md (length): Correct the distance valid
for the short branch.

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

22 years ago2002-02-09 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 9 Feb 2002 09:27:11 +0000 (09:27 +0000)]
2002-02-09  Toon Moene  <toon@moene.indiv.nluug.nl>

* invoke.texi: Add a short debugging session
as an example to the documentation of -g.

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

22 years agoDaily bump.
gccadmin [Sat, 9 Feb 2002 08:16:15 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * config/h8300/h8300.md (iorhi3): Tighten the predicates.
kazu [Sat, 9 Feb 2002 05:16:25 +0000 (05:16 +0000)]
* config/h8300/h8300.md (iorhi3): Tighten the predicates.

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

22 years ago* config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
aoliva [Sat, 9 Feb 2002 03:58:50 +0000 (03:58 +0000)]
* config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
registers in SImode.
(HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
part-clobbered.

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

22 years ago* config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
aoliva [Sat, 9 Feb 2002 03:51:25 +0000 (03:51 +0000)]
* config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
patch.

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

22 years agoContribute sh64-elf.
aoliva [Sat, 9 Feb 2002 03:08:08 +0000 (03:08 +0000)]
Contribute sh64-elf.
2002-02-09  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
(sh_cannot_modify_jumps_p): New function.
2002-02-05  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
(sh_ms_bitfield_layout_p): New function.
2002-02-04  Alexandre Oliva  <aoliva@redhat.com>
    Zack Weinberg  <zack@codesourcery.com>
* config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
expand_simple_binop instead of expand_binop.
2002-02-03  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
use of .quad and .uaquad.
* config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (movdi_const, movdi_const_32bit,
movdi_const_16bit): Make sure all CONSTs have modes.
(sym2PIC): Ditto, but by adjusting all callers.
* config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
if the prologue calls the SHmedia argument decoder or register
saver.
2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
(TARGET_ASM_ALIGNED_DI_OP): Likewise.
(sh_expand_epilogue): Don't emit USE of return target register.
(prepare_move_operands): Legitimize DImode PIC addresses.
(sh_media_register_for_return): Skip tr0, used to initialize the
PIC register.
(sh_expand_prologue): Remove explicit USE of return register.
(nonpic_symbol_mentioned_p): PC is non-PIC.  Don't recurse in
CONST_DOUBLEs.  UNSPEC_GOTPLT is PIC.
* config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
(OVERRIDE_OPTIONS): Don't disable PIC on SH5.
(EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
EXTRA_CONSTRAINT_T.
(GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
(MOVI_SHORI_BASE_OPERAND_P): New.
(NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
(EXTRA_CONSTRAINT_T): Define in terms of them.
(OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
* config/sh/sh.md (movsi_media, movsi_media_nofpu,
movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
alternatives supporting TARGET_REGS.
(UNSPEC_GOTPLT): New constant.
(movdi split): Move incrementing of LABEL_NUSES...
(movdi_const, movdi_const_32bit): Here.  Use
MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
(movdi_const_16bit): New.
(call, call_value) [flag_pic]: Use GOTPLT.
(call_pop, call_value_pop): New expands.
(call_pop_compact, call_pop_rettramp): New insns.
(call_value_pop_compact, call_value_pop_rettramp): New insns.
(sibcall) [flag_pic]: Use GOT.
(builtint_setjmp_receiver): Remove bogus, unused expand.
(GOTaddr2picreg): Implement for SHcompact and SHmedia.
(*pt, *ptb, ptrel): New insns.
(sym2GOT): Handle DImode GOT.
(sym2GOTPLT, symGOTPLT2reg): New expands.
(sym2PIC): New expand.
(shcompact_return_tramp): Use GOTPLT to return trampoline.
(shcompact_return_tramp_i): Use return register explicitly.
* config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
disable flag_reorder_blocks.
2002-01-19  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (sibcall_compact): Reorder return, uses and
clobbers, for clarity.
(sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
restoring of r0 in macl as MAYBE_DEAD.
2002-01-18  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
* config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
alter_subreg all over.
(jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
reload, instead of emitting instructions that would require
reloading.
(casesi_load_media): Add missing modes.
2001-11-09  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (sh_expand_prologue): Mark the PIC register
as used if the argument decoder is called.
2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
Pmode, then extend it to DImode if necessary.
2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
* config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
constants in FPU-enabled SHmedia, let them be loaded from memory.
2001-08-28  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
Adjust whitespace in assembly output templates.
2001-08-28  Stephen Clarke  <Stephen.Clarke@st.com>
* config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
mode of if_then_else.
2001-08-04  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
sh.h.
2001-07-26  Andrew Haley  <aph@cambridge.redhat.com>
    Joern Rennecke <amylaar@redhat.com>
* config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
(SUBTARGET_CPP_PTR_SPEC): New.
(SUBTARGET_CPP_SPEC): Remove.
2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
* config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
Fix typo in previous checkin.
2001-07-11  Chandrakala Chavva  <cchavva@redhat.com>
* config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
2001-07-10  Chandrakala Chavva  <cchavva@cygnus.com>
    Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
what single FP register can hold for SHmedia target.
2001-07-06  Chandrakala Chavva  <cchavva@redhat.com>
    Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
Do not split into SUBREG.
2001-06-14  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
and added new functions as specified in SH5 ABI r9.
2001-06-04  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
8-byte boundary.
2001-06-03  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (dump_table): Add const0_rtx in calls of
gen_consttable_4 and gen_consttable_8.  Emit multiple labels
and consttable_window_ends.
2001-06-03  Graham Stott  <grahams@redhat,com>
* config/sh/sh.md (movdi split): Remove unused variable last_insn.
2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (print_operand): Handle floating-point pair,
vector and matrix registers.
* config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
vector modes into account.
* config/sh/sh.md (movv2sf): Split move between registers into
movdf.
(movv4sf, movv16sf): Introduce insns that get split only after
reload.
* config/sh/shmedia.h: Fix Copyright dates.
* config/sh/ushmedia.h: Likewise.  Move loop counter
declarations into conditionals that uses them.
(sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
loop boundary.
* config/sh/sshmedia.h: Fix Copyright dates.
(sh_media_PUTCFG): Fix constraints.
2001-05-12  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
ptrmemfunc_vbit_in_delta for SH5.
2001-05-08  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
* invoke.texi: Likewise.
2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
GCC_pop_shmedia_regs_nofpu): New global symbols.
* config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
* config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
* config/sh/sh.c (calc_live_regs): Account for PR's saving in
compact function with nonlocal labels.
(sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
(sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
(initial_elimination_offset): Account for their stack space.
* config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
* config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
least one of the operands to be a register.
(movv2sf): Likewise.  Renamed to movv2sf_i.
(movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
prepare_move_operands() before emitting SHmedia insns.
2001-04-03  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
Don't save nor initialize r12.  Don't mis-align the stack.
Pad the code with a nop.
* config/sh/crti.asm: Don't restore r12.  Don't mis-align the
stack.
2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
* gcc/longlong.h (__umulsidi3, count_leading_zeros)
[__SHMEDIA__]: Implement.
2001-03-11  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md: Set latency of `pt' closer to reality.
(movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
Set move, load and store type attributes.
* config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
* config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
profiling.
* config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
* config/sh/sh-protos.h (sh_media_register_for_return): Declare.
* config/sh/sh.c (sh_media_register_for_return): New function.
(sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
branch-target register.
(sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
* config/sh/sh.md (return_media_i): Use any call-clobbered
branch-target register.
(return_media): If r18 wasn't copied in the prologue, copy it
here.
* config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
Clear class FP0_REGS.
* config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
from elf.h.
2001-03-08  DJ Delorie  <dj@redhat.com>
* config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
2001-02-09  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (sibcall_compact): Set fp_mode to single.
2001-02-07  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
return value correctly for call_cookie.
2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/crt1.asm (start): Modified so as to call
___setup_argv_and_call_main.
2001-01-26  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
SHmedia mode.
2001-01-20  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
(STRIP_NAME_ENCODING): Use it.
(ASM_OUTPUT_LABELREF): Likewise.  Don't call assemble_name().
2001-01-19  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
prepare_scc_operands().
* config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
(DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
2001-01-17  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
2001-01-13  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
* config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
used in shcompact_incoming_args.
* config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
change.
* config/sh/crt1.asm (start) [SH5]: Switch to single-precision
mode.
* config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
Adjust accordingly.
* config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
Simplify.  Adjust.  Add sanity check.
* config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
FPU_SINGLE_BIT.
* config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
TARGET_SHCOMPACT.
(udivsi3, divsi3): Use them.
(force_mode_for_call): New insn.
(call, call_value, sibcall_value): Emit it before SHcompact
calls.
2001-01-11  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (call, call_value, sibcall): Make sure the
call cookie is non-NULL before taking its value.
2001-01-10  Alexandre Oliva  <aoliva@redhat.com>
* config.gcc (sh64): Set target_requires_64bit_host_wide_int.
2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (shcompact_incoming_args): Set argument memory
block.
* config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
* config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
temporary for stack adjusts.  Use MACL and MACH to pass
arguments to shcompact_incoming_args.
* config/sh/sh.md (shcompact_incoming_args): Adjust.  Don't
clobber r1.
* config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
(nested_trampoline): Load static chain address into r1.
* config/sh/sh.md (movdi_media splits): Fix sign-extension.
2001-01-07  Alexandre Oliva  <aoliva@redhat.com
* config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
fp_arith_reg_operand().
2001-01-06  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (casesi): Sign-extend the first two operands,
and use signed compares for them.
* config/sh/sh.c (dump_table): Don't emit 8-byte constants after
4-byte ones.  Instead, inter-leave them, maintaining the 8-byte
ones properly aligned.
(find_barrier): Account for extra alignment needed for 8-byte wide
constants.
(machine_dependent_reorg): Require a label for the second 4-byte
constant after an 8-byte one.
* config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
change.
2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
last_float when switching float modes.
* config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
auto-increment for general-purpose registers.
* config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
result.
* config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
for stack adjust.
* config/sh/sh.c (sh_builtin_saveregs): Support using all
registers for varargs.
2001-01-01  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
* config/sh/sh.h (CALL_COOKIE_STACKSEQ,
CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
(CALL_COOKIE_INT_REG_SHIFT): Adjust.
(FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK.  Adjust
call_cookie accordingly.
(FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
(SHCOMPACT_BYREF): Likewise.
(SHCOMPACT_FORCE_ON_STACK): New macro.
* config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
(sh_builtin_saveregs): Likewise.
* config/sh/lib1funcs.asm (shcompact_call_trampoline,
shcompact_incoming_args): Use new shift values.  Support
sequences of consecutive and non-consecutive pushes/pops.
* config/sh/sh.md (return): Don't explicitly use PR_REG.
2001-01-05  Hans-Peter Nilsson  <hpn@cygnus.com>
* config/sh/sh.h (TEXT_SECTION): Define.
* config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
2001-01-05  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
* config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
return values on FPU-enabled SHmedia.
(FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
FPU-enabled SHmedia.
(INIT_CUMULATIVE_ARGS): Set up return trampoline only if
value is returned in a non-FP reg and is not returned by
reference.
* config/sh/sh.md (shcompact_return_tramp_i): Change type to
jump_ind.
2000-01-04  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
(FUNCTION_ARG_CALLEE_COPIES): Require argument to be
quad-aligned to be passed by callee-copy reference.
2001-01-03  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
* config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
2001-01-02  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
copying low-numbered FP regs to r7 and r8.
* config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
FP regs to general-purpose regs only if the copy was passed on the
stack.
* config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
copying FP reg to r9.
* config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
copy FP regs to general-purpose regs only in outgoing calls.
* config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
change from  2000-10-30.  Adjust for 64-bit (or 32-bit)
HOST_WIDE_INT.
* config/sh/sh.h (struct sh_args): Document all fields.
(FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
passed partially on the stack should not consider making
sibcalls.
* config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
stack_regs only for incoming calls.  When passing FP args,
make sure there are FP regs available before modifying
call_cookie.
(SHCOMPACT_BYREF): Pass double args in general-purpose
registers by reference.
2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
attempt to generate sibcalls if the caller got any arguments
by reference.
* config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
* config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
to 8-byte boundaries.
* config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
* config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
* config/sh/sh.c (sh_expand_prologue): Preserve args that will be
stored in the stack.
* config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
for the offsets to have the ISA bit set.
(shcompact_call_trampoline): Document.  Swap r0 and r1, to match
invocation.  Use beq instead of bgt to mark end of sequence of
loads.
(shcompact_incoming_args): Fix store of r2.  Use beq instead of
bgt to mark end of sequence of stores.
* config/sh/sh.c (arith_operand): Don't check whether
CONST_OK_FOR_J for now.
* config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
instead of long for conversion.
2000-12-29  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.c (print_operand_address): Convert INTVAL to int
before passing it to fprintf.
2000-12-28  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
Call set_fpscr before reading/writing SR.
* config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
Call set_fpscr.
* config/sh/lib1funcs.asm: Add `.align 2' directives before
SHmedia code.
(FMOVD_WORKS): Define on SH5 with FPU.
(set_fpscr): Define on SH5.  Remove separate _fpscr_values
setting.
* config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
_fpscr_values.
2000-12-28  Hans-Peter Nilsson  <hpn@cygnus.com>
* config/sh/lib1funcs.asm (ct_main_table): Align contents to even
address.
(ia_main_table): Ditto.
2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
* config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
the definitions from sh.h.
* config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
TARGET_SH5.
(SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
* config/sh/elf.h (PTRDIFF_TYPE): Likewise.
* config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
* config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
Increment LABEL_NUSES.

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

22 years ago* g++.old-deja/g++.abi/ptrmem.C: Lowest bit is significant on SH5.
aoliva [Sat, 9 Feb 2002 03:06:47 +0000 (03:06 +0000)]
* g++.old-deja/g++.abi/ptrmem.C: Lowest bit is significant on SH5.
* g++.old-deja/g++.jason/thunk3.C: XFAIL on sh64-*-*.

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

22 years ago* config.guess: Updated to 2002-01-30's version.
aoliva [Sat, 9 Feb 2002 03:00:13 +0000 (03:00 +0000)]
* config.guess: Updated to 2002-01-30's version.
* config.sub: Updated to 2002-02-01's version.
Contribute sh64-elf.
2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
* configure.in: Added sh64-*-*.

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

22 years ago* hooks.c: New file.
aoliva [Sat, 9 Feb 2002 02:18:12 +0000 (02:18 +0000)]
* hooks.c: New file.
* hooks.h: New file.
* Makefile.in (HOOKS_H): New.
(TARGET_DEF_H): Added $(HOOKS_H).
(OBJS): Added hooks.o.
(cfgcleanup.o, bb-reorder.o): Added target.h.
(hooks.o): Added dependencies.
* target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
(TARGET_INITIALIZER): this.
* doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
* target.h (struct gcc_target): Added cannot_modify_jumps_p.
* bb-reorder.c: Include target.h.
(reorder_basic_blocks): Skip if cannot modify jumps.
* cfgcleanup.c: Include target.h.
(try_optimize_cfg): Skip merge blocking if cannot modify jumps.

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

22 years agoxscale-elf support
green [Sat, 9 Feb 2002 00:50:05 +0000 (00:50 +0000)]
xscale-elf support

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

22 years agoAnnotate changelog with pr number.
rth [Sat, 9 Feb 2002 00:30:30 +0000 (00:30 +0000)]
Annotate changelog with pr number.

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

22 years ago2002-02-08 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 8 Feb 2002 22:51:30 +0000 (22:51 +0000)]
2002-02-08  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.md (casesi_internal, casesi_internal_di):
        Protect jump delay slot instructions with .set noreorder and
        .set nomacro.

[Also, fix date on my previous checkin to the ChangeLog file.  It
should have been today's date.]

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

22 years ago2002-02-07 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 8 Feb 2002 22:46:27 +0000 (22:46 +0000)]
2002-02-07  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.md (casesi_internal_di): Calculate
        the index into the target offset table correctly.

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

22 years ago * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
rth [Fri, 8 Feb 2002 22:20:16 +0000 (22:20 +0000)]
    * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
        * final.c (output_addr_const): Accept and discard SUBREG.
        * varasm.c (decode_addr_const): Don't abort on unknown expressions --
        mark them unknown instead.
        (simplify_subtraction): Handle RTX_UNKNOWN.
        (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.

        * gcc.c-torture/compile/labels-3.c: New.

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

22 years ago * interpret.cc (convert): New function.
tromey [Fri, 8 Feb 2002 20:00:40 +0000 (20:00 +0000)]
* interpret.cc (convert): New function.
(continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
convert.
Include Long.h.

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

22 years ago * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
dje [Fri, 8 Feb 2002 18:44:24 +0000 (18:44 +0000)]
    * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.

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

22 years ago * gcc_release: Substitute dates in snapshot-README and
jsm28 [Fri, 8 Feb 2002 17:56:12 +0000 (17:56 +0000)]
* gcc_release: Substitute dates in snapshot-README and
snapshot-index.html files rather than directly using the old files
on the FTP site.  Set QMAILHOST.

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

22 years ago2002-02-08 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 8 Feb 2002 17:38:00 +0000 (17:38 +0000)]
2002-02-08  Chris Demetriou  <cgd@broadcom.com>

* MAINTAINERS: Belatedly add myself to write after approval list.

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

22 years ago * snapshot-index.html: Improve markup.
gerald [Fri, 8 Feb 2002 15:41:03 +0000 (15:41 +0000)]
* snapshot-index.html: Improve markup.

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

22 years agoAdd xscale-elf support
green [Fri, 8 Feb 2002 14:46:36 +0000 (14:46 +0000)]
Add xscale-elf support

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

22 years ago2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
tromey [Fri, 8 Feb 2002 14:18:24 +0000 (14:18 +0000)]
2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>

* jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
dereferenced.
(_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
frame.

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

22 years ago2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 8 Feb 2002 12:59:49 +0000 (12:59 +0000)]
2002-02-08   Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h
(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
(__timepunct<_CharT>::_M_initialize_timepunct): Same.
(__timepunct<_CharT>::_M_put_helper): Same.
(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.

* include/bits/fstream.tcc (filebuf::underflow): Remove
__codecvt_type typedef.
(filebuf::_M_convert_to_external): Same.

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

22 years agoDaily bump.
gccadmin [Fri, 8 Feb 2002 08:16:18 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
rth [Fri, 8 Feb 2002 08:12:29 +0000 (08:12 +0000)]
    * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.

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

22 years ago * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
aj [Fri, 8 Feb 2002 07:53:36 +0000 (07:53 +0000)]
* config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
* config/i386/t-linux64: New file.

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

22 years ago * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
jakub [Fri, 8 Feb 2002 07:51:19 +0000 (07:51 +0000)]
* c-common.c (c_expand_expr): Revert 2002-02-06 patch.
* c-parse.in (compstmt): Clear last_expr_type.

* parse.y (primary, primary_no_id): Use compstmt_or_stmtexpr
instead of compstmt.
(compstmt_or_stmtexpr): Renamed from compstmt.
(compstmt): In addition to compstmt_or_stmtexpr clear last_expr_type.

* gcc.c-torture/execute/20020206-1.c: Test whether nesting 2
expression statements work instead.
* gcc.dg/noncompile/20020207-1.c: New test.

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

22 years ago2002-02-08 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 8 Feb 2002 07:34:54 +0000 (07:34 +0000)]
2002-02-08  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/TODO:  Update.
* docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
* docs/doxygen/mainpage.html:  Add TODO list link.
* docs/doxygen/user.cfg.in:  Add @doctodo hook.
* docs/doxygen/tables.html:  New file, emoty structure only.

* include/bits/stl_iterator.h:  Doxygenate just about everything.
* include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
* include/bits/stl_iterator_base_types.h:  Add notes.

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

22 years ago * java/io/natFile.cc (_access): Use __builtin_alloca.
tromey [Fri, 8 Feb 2002 04:48:03 +0000 (04:48 +0000)]
* java/io/natFile.cc (_access): Use __builtin_alloca.
(_stat): Likewise.
(attr): Likewise.
(getCanonicalPath): Likewise.
(performList): Likewise.
(performMkdir): Likewise.
(performSetReadOnly): Likewise.
(performRenameTo): Likewise.
(performSetLastModified): Likewise.
(performCreate): Likewise.
(performDelete): Likewise.

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

22 years ago * loop.c (strength_reduce): Sink final_value when not
rth [Fri, 8 Feb 2002 03:36:35 +0000 (03:36 +0000)]
    * loop.c (strength_reduce): Sink final_value when not
        eliminating a biv.

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

22 years ago * gcc.dg/debug/dwarf2-1.c (foo): Return a value.
rth [Fri, 8 Feb 2002 03:34:02 +0000 (03:34 +0000)]
    * gcc.dg/debug/dwarf2-1.c (foo): Return a value.

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

22 years agoReformatted a changelog entry
megacz [Fri, 8 Feb 2002 03:12:51 +0000 (03:12 +0000)]
Reformatted a changelog entry

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

22 years ago2002-02-07 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 8 Feb 2002 02:49:25 +0000 (02:49 +0000)]
2002-02-07  David O'Brien  <obrien@FreeBSD.org>
* config/sparc/freebsd.h: Fix mismatched spec {.

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

22 years ago2002-02-07 Stephan Buys <sbproxy@icon.co.za>
pme [Fri, 8 Feb 2002 02:19:06 +0000 (02:19 +0000)]
2002-02-07  Stephan Buys  <sbproxy@icon.co.za>

* include/bits/stl_map.h:  Tweak doxygen markup.
* include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
* include/bits/stl_vector.h:  Likewise.

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

22 years ago2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 8 Feb 2002 01:34:41 +0000 (01:34 +0000)]
2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/5286
libstdc++/3860
* include/std/std_fstream.h (filebuf::__file_type): Change to
__basic_file<char>.
(filebuf::_M_convert_to_external): Declare.
* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
codecvt bits for wide streams.
(filebuf::_M_really_overflow): Use it.
(filebuf::underflow): Use codecvt.
* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
(codecvt<__enc_traits>::do_out): Deal with partial.
(codecvt<__enc_traits>::do_encoding): Return something useful.
* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
wchar_t.
* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
Change expected encoding output.
(test02): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
(test02): Same.

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

22 years ago * HACKING: Fix URL for the automake-gcj.
bryce [Fri, 8 Feb 2002 01:22:47 +0000 (01:22 +0000)]
* HACKING: Fix URL for the automake-gcj.

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

22 years ago2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Fri, 8 Feb 2002 00:38:29 +0000 (00:38 +0000)]
2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>

* lib/prune.exp: Remove "In (program|subroutine"block-data)"
message from g77
* lib/g77-dg.exp: Trim g77 error messages so that they are
recognised by dg.exp.

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

22 years ago * cfgrtl.c: Include recog.h and insn-config.h.
rth [Fri, 8 Feb 2002 00:35:15 +0000 (00:35 +0000)]
    * cfgrtl.c: Include recog.h and insn-config.h.
        (keep_with_call_p): Fix general_operand invocation.
        * Makefile.in (cfgrtl.o): Update dependencies.

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

22 years ago * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
kazu [Fri, 8 Feb 2002 00:26:36 +0000 (00:26 +0000)]
* config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
comment.  Accept HImode only if TARGET_H8300.

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

22 years ago * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
rth [Thu, 7 Feb 2002 23:53:29 +0000 (23:53 +0000)]
    * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
        * adaint.h (__gnat_to_gm_time): Update prototype.

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

22 years ago2002-02-07 Eric Christopher <echristo@redhat.com>
echristo [Thu, 7 Feb 2002 23:43:23 +0000 (23:43 +0000)]
2002-02-07  Eric Christopher  <echristo@redhat.com>

* config/mips/crtn.asm: Cleanup #ifdefs.

Add ChangeLog entry for previous patch that didn't seem to make it.

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

22 years ago2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Thu, 7 Feb 2002 23:30:12 +0000 (23:30 +0000)]
2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>

PR fortran/5473
* g77.dg/pr5473.f: Now dg-error.  Add additional cases.

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

22 years agoFix for string-opt-7 failure on rs6000 -maix64.
trix [Thu, 7 Feb 2002 21:57:55 +0000 (21:57 +0000)]
Fix for string-opt-7 failure on rs6000 -maix64.

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

22 years ago * g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory
rth [Thu, 7 Feb 2002 21:49:27 +0000 (21:49 +0000)]
    * g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory
        to be sufficiently aligned for integers.

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

22 years ago Rename instantiate_type_flags to tsubst_flags_t & expand use.
nathan [Thu, 7 Feb 2002 20:51:15 +0000 (20:51 +0000)]
Rename instantiate_type_flags to tsubst_flags_t & expand use.
* cp-tree.h (instantiate_type_flags): Rename to ...
(tsubst_flags_t): ... here. Rename itf_complain to tf_error,
add tf_warning flag.
(instantiate_type): Adjust prototype.
(tsubst, tsubst_expr, tsubst_copy, lookup_template_class,
do_type_instantiation, cp_build_qualified_type_real): Likewise.
cp_build_qualified_type: Adjust.
* class.c (instantiate_type): Adjust parameter. Rename itf_* to
tf_*.
* call.c (standard_conversion): Rename itf_* to tf_*.
(reference_binding): Likewise.
(convert_like_real): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_reference): Likewise.
* decl.c (lookup_namespace_name): Use tf_* flags.
(make_typename_type): Likewise.
(grokdeclarator): Likewise.
* pt.c (convert_nontype_argument): Adjust COMPLAIN usage.
(coerce_template_template_parms, convert_template_argument,
coerce_template_parms, maybe_get_template_decl_from_type_decl,
lookup_template_class, tsubst_friend_function, tsubst_friend_class,
instantiate_class_template, tsubst_template_arg_vector,
tsubst_template_parms, tsubst_aggr_type, tsubst_default_argument,
tsubst_decl, tsubst_arg_types, tsubst_function_type,
tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr,
instantiate_template, fn_type_unification,
resolve_overloaded_unification, verify_class_unification,
unify, get_bindings_real, do_type_instantiation,
regenerate_decl_from_template, instantiate_decl,
tsubst_initializer_list, tsubst_enum,
get_mostly_instantiated_function_type,
invalid_nontype_parm_type_p): Likewise.
* tree.c (cp_build_qualified_type_real): Likewise.
* typeck.c (build_binary_op): Rename itf_* to tf_*.
(build_ptrmemfunc): Likewise.
(convert_for_assignment): Likewise.

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

22 years ago2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 7 Feb 2002 20:28:55 +0000 (20:28 +0000)]
2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
            Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>

* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
(basic_ios::widen): Same.

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

22 years agocp:
nathan [Thu, 7 Feb 2002 19:49:10 +0000 (19:49 +0000)]
cp:
PR c++/109
* decl.c (grokdeclarator): Allow friend declarations from
dependant types.
* decl2.c (handle_class_head): Don't push into template parm contexts.
* pt.c (push_template_decl_real): Template parm contexts are never
being defined.
testsuite:
* g++.dg/template/friend4.C: New test.

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

22 years ago * gcj.texi (Input Options): --CLASSPATH does not suppress system
tromey [Thu, 7 Feb 2002 19:39:27 +0000 (19:39 +0000)]
* gcj.texi (Input Options): --CLASSPATH does not suppress system
path.

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

22 years ago2002-02-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 7 Feb 2002 19:27:38 +0000 (19:27 +0000)]
2002-02-07  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/money_get_members_char.cc:
Add comment, tidy up.
(test01): more "en_HK" tests (without showbase).
* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.

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

22 years ago * java/lang/natThrowable.cc: Updated copyright.
tromey [Thu, 7 Feb 2002 19:26:06 +0000 (19:26 +0000)]
* java/lang/natThrowable.cc: Updated copyright.
* java/io/natFileWin32.cc: Updated copyright.
* java/io/natFileDescriptorWin32.cc: Updated copyright.
* win32-threads.cc: Updated copyright.
* name-finder.cc: Updated copyright.
* include/name-finder.h: Updated copyright.

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

22 years ago * include/name-finder.h: Conditionally include sys/wait.h.
tromey [Thu, 7 Feb 2002 19:25:28 +0000 (19:25 +0000)]
* include/name-finder.h: Conditionally include sys/wait.h.
* include/config.h.in: Rebuilt.

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

22 years ago * java/io/natFile.cc (_access): Don't stack-allocate buffer.
tromey [Thu, 7 Feb 2002 19:18:35 +0000 (19:18 +0000)]
* java/io/natFile.cc (_access): Don't stack-allocate buffer.
Size buffer based on real size of string.
(_stat): Likewise.
(attr): Likewise.
(getCanonicalPath): Likewise.
(performList): Likewise.
(performMkdir): Likewise.
(performSetReadOnly): Likewise.
(unixroot): Removed.
(performRenameTo): Likewise.
(performSetLastModified): Likewise.
(performCreate): Likewise.
(performDelete): Likewise.
(performListRoots): Always return new array.

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

22 years ago * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
tromey [Thu, 7 Feb 2002 18:59:52 +0000 (18:59 +0000)]
* prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
* win32.cc (win32_exception_handler): Now static.
* include/win32.h (_Jv_platform_initialize): Declare.
(win32_exception_handler): Don't declare.
* java/lang/natSystem.cc (currentTimeMillis): Use
_Jv_platform_gettimeofday.
* posix.cc (_Jv_platform_gettimeofday): Renamed.
(_Jv_select): Use new name.
(_Jv_platform_initialize): New function.
* include/posix.h (_Jv_platform_gettimeofday): Renamed from
_Jv_gettimeofday.
(_Jv_platform_initialize): Declare.

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

22 years ago * config/sparc/sparc.c (compute_frame_size): Don't correct frame
rth [Thu, 7 Feb 2002 18:48:13 +0000 (18:48 +0000)]
    * config/sparc/sparc.c (compute_frame_size): Don't correct frame
        offset for stack bias.

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

22 years ago * configure: Rebuilt.
tromey [Thu, 7 Feb 2002 18:21:19 +0000 (18:21 +0000)]
* configure: Rebuilt.
* configure.in: Removed unnecessary parens.

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

22 years ago2002-02-07 H.J. Lu <hjl@gnu.org>
hjl [Thu, 7 Feb 2002 17:05:40 +0000 (17:05 +0000)]
2002-02-07  H.J. Lu <hjl@gnu.org>

* config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.

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

22 years ago * c-decl.c (finish_function): Warn about a non-void function with
jason [Thu, 7 Feb 2002 12:36:46 +0000 (12:36 +0000)]
    * c-decl.c (finish_function): Warn about a non-void function with
        no return statement and no abnormal exit.
        (current_function_returns_abnormally): New variable.
        (start_function): Clear it.
        (struct c_language_function): Add returns_abnormally.
        (push_c_function_context): Save it.
        (pop_c_function_context): Restore it.
        (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
        an explicit return type.
        * c-tree.h: Declare current_function_returns_abnormally.
        (C_FUNCTION_IMPLICIT_INT): New macro.
        * c-typeck.c (build_function_call): Set it.
        (c_expand_return): Set current_function_returns_value even if the
        value is erroneous.

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

22 years ago * c-decl.c (finish_function): Warn about a non-void function with
jason [Thu, 7 Feb 2002 12:22:10 +0000 (12:22 +0000)]
    * c-decl.c (finish_function): Warn about a non-void function with
        no return statement and no abnormal exit.
        (current_function_returns_abnormally): New variable.
        (start_function): Clear it.
        (struct c_language_function): Add returns_abnormally.
        (push_c_function_context): Save it.
        (pop_c_function_context): Restore it.
        (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
        an explicit return type.
        * c-tree.h: Declare current_function_returns_abnormally.
        (C_FUNCTION_IMPLICIT_INT): New macro.
        * c-typeck.c (build_function_call): Set it.
        (c_expand_return): Set current_function_returns_value even if the
        value is erroneous.

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

22 years ago * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
uweigand [Thu, 7 Feb 2002 12:14:46 +0000 (12:14 +0000)]
* testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.

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

22 years ago * MAINTAINERS: Put self in as maintainer for x86-64 port.
hubicka [Thu, 7 Feb 2002 11:57:13 +0000 (11:57 +0000)]
* MAINTAINERS: Put self in as maintainer for x86-64 port.
Remove self as Write After Approval.

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

22 years ago * i386-protos.h (x86_order_regs_for_local_alloc): Declare
hubicka [Thu, 7 Feb 2002 11:18:32 +0000 (11:18 +0000)]
* i386-protos.h (x86_order_regs_for_local_alloc): Declare
* i386.c (x86_order_regs_for_local_alloc): New global function.
* i386.h (REG_ALLOC_ORDER): CLeanup.
(ORDER_REGS_FOR_LOCAL_ALLOC): New.

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

22 years ago2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Thu, 7 Feb 2002 11:13:13 +0000 (11:13 +0000)]
2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>

PR fortran/3743
* g77.f-torture/execute/intrinsic-unix-bessel.f: Remove
unsupported cases.

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

22 years agoFor some reason AC_HEADER_SYS_WAIT() isn't defining HAVE_SYS_WAIT_H on
megacz [Thu, 7 Feb 2002 10:02:59 +0000 (10:02 +0000)]
For some reason AC_HEADER_SYS_WAIT() isn't defining HAVE_SYS_WAIT_H on
Linux; this patch backs out my patch that added the #ifdefs until I
can figure out what happened.

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

22 years ago * gcc.dg/debug/dwarf2-1.c: Update for return warnings.
rth [Thu, 7 Feb 2002 09:08:25 +0000 (09:08 +0000)]
* gcc.dg/debug/dwarf2-1.c: Update for return warnings.
* gcc.dg/noncompile/920507-1.c, gcc.dg/noncompile/920721-2.c,
gcc.dg/noncompile/label-lineno-1.c, objc.dg/const-str-1.m,
objc.dg/const-str-2.m, objc.dg/method-1.m: Likewise.

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

22 years ago * alias.c (find_base_value): Recall base values for fixed hard regs.
rth [Thu, 7 Feb 2002 08:57:04 +0000 (08:57 +0000)]
* alias.c (find_base_value): Recall base values for fixed hard regs.
* loop.c (loop_regs_update): Don't use single_set on non-insns.

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

22 years agoDaily bump.
gccadmin [Thu, 7 Feb 2002 08:17:30 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago* config/mips/mips.md (define_delay) [mips16]: Adjust required
aoliva [Thu, 7 Feb 2002 06:09:11 +0000 (06:09 +0000)]
* config/mips/mips.md (define_delay) [mips16]: Adjust required
length.

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

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 05:26:42 +0000 (05:26 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * configure.in: Changed mingw) to *mingw*).
        * win32.cc: Created this file.
        * win32.h: Created this file.
        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
        win32_exception_handler from prims.cc to win32.cc, added
        header in win32.h.
        * prims.cc: removed some #ifdef-WIN32'd headers which are no
        longer needed now that we have platform.h

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

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 05:01:29 +0000 (05:01 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * shs.h, shs.cc, natSimpleSHSStream.cc: use uint<n>_t instead
        of LONG and BYTE

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

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 04:37:00 +0000 (04:37 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H

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

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 03:56:40 +0000 (03:56 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * boehm-gc/include/gc.h: (GC_CreateThread) This function is
        now exposed on all Win32 platforms.
        * boehm-gc/win32_threads.c: (GC_CreateThread) This now
        compiles on Win32; it invokes CreateThread() if GC is built
        as a DLL; otherwise it registers the thread.
        * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
        libgcjgc was not built as a DLL.

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

22 years agoembedded updates
green [Thu, 7 Feb 2002 03:24:12 +0000 (03:24 +0000)]
embedded updates

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

22 years ago * verify.cc (require_array_type): If argument is a null array of
tromey [Thu, 7 Feb 2002 02:27:10 +0000 (02:27 +0000)]
* verify.cc (require_array_type): If argument is a null array of
references, return null as the element type.

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

22 years ago PR c/5609
rth [Thu, 7 Feb 2002 01:38:40 +0000 (01:38 +0000)]
    PR c/5609
        * stmt.c (resolve_operand_name_1): Take more care with mixed
        named and unnamed operands.

        * gcc.dg/asm-4.c: Add case with an unnamed operand in the middle.

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

22 years ago2002-02-06 Mark Wielaard <mark@klomp.org>
tromey [Thu, 7 Feb 2002 01:11:32 +0000 (01:11 +0000)]
2002-02-06  Mark Wielaard  <mark@klomp.org>

* verify.cc (verify_instructions_0) [op_dup2]: Actually push the
duplicate of a wide type.

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

22 years ago * config/locale/c_locale_generic.cc: Do not trust
ljrittle [Wed, 6 Feb 2002 23:11:16 +0000 (23:11 +0000)]
* config/locale/c_locale_generic.cc: Do not trust
_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
set by configure.

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

22 years ago * gcc.dg/20020206-1.c: New test.
janis [Wed, 6 Feb 2002 22:16:11 +0000 (22:16 +0000)]
* gcc.dg/20020206-1.c: New test.

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

22 years ago * loop.c (remove_constant_addition): Avoid clobbering a shared
janis [Wed, 6 Feb 2002 22:13:01 +0000 (22:13 +0000)]
* loop.c (remove_constant_addition): Avoid clobbering a shared
CONST expression.

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

22 years ago * verify.cc (type::isnull): New method.
tromey [Wed, 6 Feb 2002 21:53:59 +0000 (21:53 +0000)]
* verify.cc (type::isnull): New method.
(require_array_type): Handle case where array is null.
(verify_instructions_0) [op_arraylength]: Likewise.

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

22 years ago2002-02-06 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 6 Feb 2002 21:49:42 +0000 (21:49 +0000)]
2002-02-06  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/4730 fortran/5473
* com.c (ffecom_expr_): Deal with %VAL constructs.
* intrin.c (ffeintrin_check_): Handle 'N' constraints for intrinsics,
to indicate "no larger than default kind" integers and logicals.
* intrin.def: Use 'N' constraints in table of intrinsics.
* intdoc.c: Document this constraint.
* intdoc.texi: Regenerated.

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

22 years ago * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
uweigand [Wed, 6 Feb 2002 21:19:46 +0000 (21:19 +0000)]
* config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
* config/s390/t-linux64: New file.
* config/s390/libgcc-glibc.ver: New file.

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

22 years ago * config/s390/linux64.h: Delete file.
uweigand [Wed, 6 Feb 2002 20:55:37 +0000 (20:55 +0000)]
* config/s390/linux64.h: Delete file.
* config/s390/s390x.h: New file.
* config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
as target header file.
* config/s390/linux.h (TARGET_VERSION): Define depending on
DEFAULT_TARGET_64BIT.
(CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
(SIZE_TYPE, PTRDIFF_TYPE): Likewise.
(NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
(CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
(LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
(EXTRA_SPEC): New define.
* config/s390/s390.h (TARGET_VERSION): Define depending on
DEFAULT_TARGET_64BIT.
(MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.

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

22 years ago * c-decl.c (finish_function): Warn about a non-void function with
jason [Wed, 6 Feb 2002 20:40:18 +0000 (20:40 +0000)]
    * c-decl.c (finish_function): Warn about a non-void function with
        no return statement and no abnormal exit.
        (current_function_returns_abnormally): New variable.
        (start_function): Clear it.
        (struct c_language_function): Add returns_abnormally.
        (push_c_function_context): Save it.
        (pop_c_function_context): Restore it.
        (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
        an explicit return type.
        * c-tree.h: Declare current_function_returns_abnormally.
        (C_FUNCTION_IMPLICIT_INT): New macro.
        * c-typeck.c (build_function_call): Set it.
        (c_expand_return): Set current_function_returns_value even if the
        value is erroneous.

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