OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * configure.in (m68*-*-rtemscoff*): New target, formal name for
law [Wed, 5 Jan 2000 07:10:35 +0000 (07:10 +0000)]
    * configure.in (m68*-*-rtemscoff*): New target, formal name for
        old m68*-*-rtems*.
        (m68*-*-rtemself*): New target.
        (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
        (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
        (sparc*-*-rtemself*): New target.
        (sparc*-*-rtems*): Now elf not a.out.
        * config/i386/rtems.h: Include config/rtems.h.
        * config/i386/rtemself.h: Include config/rtems.h.
        * config/i960/rtems.h: Include config/rtems.h.
        * config/m68k/rtems.h: Include config/rtems.h.
        * config/m68k/rtemself.h: Include config/rtems.h.
        * config/mips/rtems64.h: Include config/rtems.h.
        * config/pa/rtems.h: Include config/rtems.h.
        * config/rs6000/rtems.h: Include config/rtems.h.
        * config/sh/rtems.h: Include config/rtems.h.
        * config/sh/rtemself.h: Include config/rtems.h.
        * config/sparc/rtems.h: Include config/rtems.h.
        * config/sparc/rtemself.h: Include config/rtems.h

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

22 years ago * final.c (shorten_branches): Correctly compute length of
law [Wed, 5 Jan 2000 07:01:00 +0000 (07:01 +0000)]
    * final.c (shorten_branches): Correctly compute length of
        asms without operands.

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

22 years ago * cse.c (cse_insn): Missing cast added.
law [Wed, 5 Jan 2000 06:55:02 +0000 (06:55 +0000)]
* cse.c (cse_insn): Missing cast added.
* loop.c (loop_reg_used_before_p): Ditto.
* gcse.c (Pre_gcse, hoist_code): Ditto.
* varasm.c (decode_rtx_const): Ditto.
* except.c (push_ehqueue): Ditto.
* cccp.c (index0): Ditto.
* toplev.c (main): Useless `&' removed before function name.

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

22 years agoCopyright date
law [Wed, 5 Jan 2000 06:32:16 +0000 (06:32 +0000)]
Copyright date

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

22 years agoUpdate copyright dates.
law [Wed, 5 Jan 2000 06:30:24 +0000 (06:30 +0000)]
Update copyright dates.

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

22 years agoUpdate copyright date.
law [Wed, 5 Jan 2000 06:29:24 +0000 (06:29 +0000)]
Update copyright date.

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

22 years ago * configure.in: Add pj target.
law [Wed, 5 Jan 2000 05:57:17 +0000 (05:57 +0000)]
    * configure.in: Add pj target.
        * configure: Regenerate.
        * config/pj: New directory.
        * config/pj/lib1funcs.S: New file.
        * config/pj/linux.h: New file.
        * config/pj/pj.c: New file.
        * config/pj/pj.md: New file.
        * config/pj/pjl.h: New file.
        * config/pj/t-pj: New file.
        * config/pj/xm-pj.h: New file

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

22 years ago * toplev.c (rest_of_compilation): Run shorten-branches before
law [Wed, 5 Jan 2000 05:32:27 +0000 (05:32 +0000)]
    * toplev.c (rest_of_compilation): Run shorten-branches before
        reg-stack for now.

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

22 years ago * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
m.hayes [Tue, 4 Jan 2000 23:57:40 +0000 (23:57 +0000)]
* config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
macros so that they're consistent with their names.
* config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
* config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.

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

22 years ago * Makefile.in: Rebuilt with newer automake.
tromey [Tue, 4 Jan 2000 23:06:17 +0000 (23:06 +0000)]
* Makefile.in: Rebuilt with newer automake.

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

22 years ago * java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary
warrenl [Tue, 4 Jan 2000 22:41:58 +0000 (22:41 +0000)]
* java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary
comment.
(receive): Set the sender's address in the DatagramPacket.

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

22 years ago * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
m.hayes [Tue, 4 Jan 2000 22:12:59 +0000 (22:12 +0000)]
* config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
modified inadvertently.

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

22 years agoApplied Joel Sherrill's patch to add v850-rtems target
nickc [Tue, 4 Jan 2000 22:02:43 +0000 (22:02 +0000)]
Applied Joel Sherrill's patch to add v850-rtems target

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

22 years ago2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
khan [Tue, 4 Jan 2000 21:11:17 +0000 (21:11 +0000)]
2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>

* gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
(__gthread_key_create): Likewise.
  (__gthread_key_dtor):  Likewise.
(__gthread_once): Fix logic.
(__gthread_key_delete): Cast away constness.

* i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
* invoke.texi: Document.
* i386/mingw32.h (CPP_SPEC): Use.
(LIBGCC_SPEC): Likewise.
* i386/crtdll.h (LIBGCC_SPEC): Likewise.

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

22 years ago2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
khan [Tue, 4 Jan 2000 21:09:51 +0000 (21:09 +0000)]
2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>

* pexecute.c: Conditionally include string.h.
(fix_argv): Handle embedded whitespace in args for Mingw32.

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

22 years ago * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
dje [Tue, 4 Jan 2000 20:29:31 +0000 (20:29 +0000)]
* rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
(HANDLE_PRAGMA_PACK): Undefine.
(SLOW_UNALIGNED_ACCESS): Define.

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

22 years ago- Document SLOW_UNALIGNED_ACCESS change.
dje [Tue, 4 Jan 2000 20:10:19 +0000 (20:10 +0000)]
- Document SLOW_UNALIGNED_ACCESS change.
- Update copyright.

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

22 years ago * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
dje [Tue, 4 Jan 2000 20:09:19 +0000 (20:09 +0000)]
* expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
to default definition.
(store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
(store_fixed_bit_field): Call macro with word_mode and alignment.
(extract_bit_field): Call macro with relevant mode and alignment.
* expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
to default definition.
(move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
and alignment.
(move_by_pieces_ninsns): Likewise.
(clear_by_pieces): Likewise.
(emit_push_insn): Likewise.
(store_field): Call macro with relevant mode and alignment.
(expand_expr): Likewise.
(expand_expr_unaligned): Likewise.

* rs6000.h (HANDLE_PRAGMA_PACK): Define.
(SLOW_UNALIGNED_ACCESS): Define.
(CASE_VECTOR_MODE): Always use 32-bit offsets.
(ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
(EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
(toc_section): Likewise and .toc pseudo-op.
(ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
64-bit mode.
(TEXT_SECTION_ASM_OP): Likewise.
(ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
32-bit offsets.

* a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
* alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
* arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
* gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
* fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.

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

22 years ago * regclass.c: Revert my Jan 4 change to loop cost computation.
law [Tue, 4 Jan 2000 18:46:46 +0000 (18:46 +0000)]
    * regclass.c: Revert my Jan 4 change to loop cost computation.

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

22 years ago * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
hubicka [Tue, 4 Jan 2000 18:26:39 +0000 (18:26 +0000)]
* regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
compilation.

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

22 years ago2000-01-04 Stan Cox <scox@cygnus.com>
scox [Tue, 4 Jan 2000 17:19:41 +0000 (17:19 +0000)]
2000-01-04  Stan Cox  <scox@cygnus.com>
* haifa-sched.c (build_control_flow): Change unreachable simple
loop test to check if current block has only one predecessor.
(find_rgns): Initialize degree.  Use dest as degree index, not src.

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

22 years ago * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
ghazi [Tue, 4 Jan 2000 16:29:41 +0000 (16:29 +0000)]
* builtins.c (expand_builtin_strlen): Initialize variable `icode'.

* calls.c (expand_call): Likewise for
`old_stack_arg_under_construction'.

* cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.

* function.c (pad_to_arg_alignment): Likewise for `save_var' and
`save_constant'.

* gcc.c (execute): Likewise for `ut' and `st'.

* genattrtab.c (attr_rtx): Likewise for `rt_val'.

* genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.

* jump.c (jump_optimize_1): Likewise for `temp2'.

* local-alloc.c (block_alloc): Likewise for `r1'.

* loop.c (recombine_givs): Likewise for `life_start' and `life_end'.

* reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
(subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.

* regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
and `set2'.

* reload.c (find_reloads): Likewise for `goal_alternative_number'
and `goal_earlyclobber'.

* scan-decls.c (scan_decls): Likewise for `prev_id_end'.

* sdbout.c (sdbout_one_type): Likewise for `member_scl'.

* stupid.c (stupid_life_analysis): Likewise for `chain'.

* unroll.c (copy_loop_body): Likewise for `copy'.

* varasm.c (output_constructor): Likewise for `byte'.

ch:
* actions.c (update_else_range_for_int_const): Initialize
variables `lowval' and `highval'.
(update_else_range_for_range): Likewise for `low_range_val' and
`high_range_val'.

cp:
* class.c (warn_hidden): Initialize variable `fndecl'.

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

22 years agoUpdate copyright
ghazi [Tue, 4 Jan 2000 16:11:32 +0000 (16:11 +0000)]
Update copyright

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

22 years ago * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
ghazi [Tue, 4 Jan 2000 16:09:57 +0000 (16:09 +0000)]
* configure.in (ac_libiberty_warn_cflags): Turn on warnings if
we're using gcc.

* Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@

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

22 years ago * g++.old-deja/g++.brendan/array1.C: Modify explicit external libc
ghazi [Tue, 4 Jan 2000 15:52:23 +0000 (15:52 +0000)]
* g++.old-deja/g++.brendan/array1.C: Modify explicit external libc
references to printf & atoi to conform to ANSI standard.
* g++.old-deja/g++.brendan/code-gen1.C: Likewise.
* g++.old-deja/g++.brendan/code-gen2.C: Likewise.
* g++.old-deja/g++.brendan/code-gen3.C: Likewise.
* g++.old-deja/g++.brendan/code-gen4.C: Likewise.
* g++.old-deja/g++.brendan/code-gen6.C: Likewise.
* g++.old-deja/g++.brendan/complex1.C: Likewise.
* g++.old-deja/g++.brendan/copy1.C: Likewise.
* g++.old-deja/g++.brendan/copy2.C: Likewise.
* g++.old-deja/g++.brendan/copy3.C: Likewise.
* g++.old-deja/g++.brendan/copy4.C: Likewise.
* g++.old-deja/g++.brendan/copy5.C: Likewise.
* g++.old-deja/g++.brendan/copy6.C: Likewise.
* g++.old-deja/g++.brendan/copy7.C: Likewise.
* g++.old-deja/g++.brendan/copy8.C: Likewise.
* g++.old-deja/g++.brendan/crash11.C: Likewise.
* g++.old-deja/g++.brendan/crash14.C: Likewise.
* g++.old-deja/g++.brendan/ctors1.C: Likewise.
* g++.old-deja/g++.brendan/ctors2.C: Likewise.
* g++.old-deja/g++.brendan/delete2.C: Likewise.
* g++.old-deja/g++.brendan/dtors1.C: Likewise.
* g++.old-deja/g++.brendan/dtors2.C: Likewise.
* g++.old-deja/g++.brendan/dtors3.C: Likewise.
* g++.old-deja/g++.brendan/eh1.C: Likewise.
* g++.old-deja/g++.brendan/groff1.C: Likewise.
* g++.old-deja/g++.brendan/init3.C: Likewise.
* g++.old-deja/g++.brendan/misc12.C: Likewise.
* g++.old-deja/g++.brendan/misc7.C: Likewise.
* g++.old-deja/g++.brendan/new2.C: Likewise.
* g++.old-deja/g++.brendan/operators4.C: Likewise.
* g++.old-deja/g++.brendan/operators5.C: Likewise.
* g++.old-deja/g++.brendan/overload2.C: Likewise.
* g++.old-deja/g++.brendan/overload7.C: Likewise.
* g++.old-deja/g++.brendan/redecl2.C: Likewise.
* g++.old-deja/g++.brendan/reference1.C: Likewise.
* g++.old-deja/g++.brendan/sizeof5.C: Likewise.
* g++.old-deja/g++.brendan/template24.C: Likewise.
* g++.old-deja/g++.brendan/template3.C: Likewise.
* g++.old-deja/g++.brendan/vtables1.C: Likewise.
* g++.old-deja/g++.jason/inline3.C: Likewise.
* g++.old-deja/g++.jason/opeq.C: Likewise.
* g++.old-deja/g++.law/arg5.C: Likewise.
* g++.old-deja/g++.law/arm7.C: Likewise.
* g++.old-deja/g++.law/ctors11.C: Likewise.
* g++.old-deja/g++.law/cvt8.C: Likewise.
* g++.old-deja/g++.law/init9.C: Likewise.
* g++.old-deja/g++.law/refs4.C: Likewise.
* g++.old-deja/g++.law/template2.C: Likewise.
* g++.old-deja/g++.law/visibility24.C: Likewise.
* g++.old-deja/g++.law/vtable3.C: Likewise.
* g++.old-deja/g++.mike/asm2.C: Likewise.
* g++.old-deja/g++.mike/eh1.C: Likewise.
* g++.old-deja/g++.mike/misc1.C: Likewise.
* g++.old-deja/g++.mike/misc13.C: Likewise.
* g++.old-deja/g++.mike/misc14.C: Likewise.
* g++.old-deja/g++.mike/ns12.C: Likewise.
* g++.old-deja/g++.mike/p1248.C: Likewise.
* g++.old-deja/g++.mike/p3708.C: Likewise.
* g++.old-deja/g++.mike/p3708a.C: Likewise.
* g++.old-deja/g++.mike/p3708b.C: Likewise.
* g++.old-deja/g++.mike/p646.C: Likewise.
* g++.old-deja/g++.mike/p700.C: Likewise.
* g++.old-deja/g++.mike/p783.C: Likewise.
* g++.old-deja/g++.mike/p783a.C: Likewise.
* g++.old-deja/g++.mike/p783b.C: Likewise.
* g++.old-deja/g++.mike/p786.C: Likewise.
* g++.old-deja/g++.mike/p789.C: Likewise.
* g++.old-deja/g++.mike/p789a.C: Likewise.
* g++.old-deja/g++.mike/p807a.C: Likewise.
* g++.old-deja/g++.other/delete3.C: Likewise.
* g++.old-deja/g++.other/dyncast1.C: Likewise.
* g++.old-deja/g++.other/dyncast2.C: Likewise.
* g++.old-deja/g++.other/dyncast3.C: Likewise.
* g++.old-deja/g++.other/empty1.C: Likewise.
* g++.old-deja/g++.other/temporary1.C: Likewise.
* g++.old-deja/g++.pt/memtemp14.C: Likewise.
* g++.old-deja/g++.pt/t16.C: Likewise.
* g++.old-deja/g++.pt/tiemann2.C: Likewise.

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

22 years ago * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
hubicka [Tue, 4 Jan 2000 14:44:03 +0000 (14:44 +0000)]
* i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
all FP constants for constant->reg moves.
(ix86_split_to_parts): Try to convert memory address into immediate
when available in the constant pool.
* i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
moves.
(LEGITIMATE_CONSTANT_P): Return 1.
* i386.md (pushsf): New splitter to convert constant pool memory
reference to immediate.
(mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
reload.

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

22 years agoRestrict i386 flag setting shift patterns
crux [Tue, 4 Jan 2000 11:49:01 +0000 (11:49 +0000)]
Restrict i386 flag setting shift patterns

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

22 years ago * ginclude/stdbool.h: Support compilation as C++.
loewis [Tue, 4 Jan 2000 10:12:22 +0000 (10:12 +0000)]
* ginclude/stdbool.h: Support compilation as C++.

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

22 years ago2000-01-04 Tom Tromey <tromey@cygnus.com>
tromey [Tue, 4 Jan 2000 08:46:52 +0000 (08:46 +0000)]
2000-01-04  Tom Tromey  <tromey@cygnus.com>

* java/lang/reflect/natConstructor.cc (newInstance): Pass
declaring class as return_type argument to
_Jv_CallNonvirtualMethodA.
* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In
constructor case, create object and use it as `this' argument.
* java/lang/Class.h (_getConstructors): Declare.
(_getFields): Declare.
* java/lang/Class.java (getConstructors): Wrote.
(_getConstructors): New native method.
(getDeclaredConstructors): Wrote.
(_getFields): Declare new native method.
* java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Removed
incorrect comment.
(getMethod): Work correctly when class is primitive.
(getDeclaredMethods): Likewise.  Compute offset using `method',
not `mptr'.
(getDeclaredMethod): Likewise.
(getConstructor): Wrote.
(ConstructorClass): New define.
(getDeclaredConstructor): Wrote.
(_getConstructors): New method.
(_getFields): New method.
(getFields): Wrote.

* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Added -D_GNU_SOURCE.

* prims.cc: Remove `#pragma implementation'.
* gcj/array.h: Remove `#pragma interface'.

* prims.cc (_Jv_equaln): New function.
* java/lang/Class.java (getSignature): Declare.
* resolve.cc (_Jv_LookupDeclaredMethod): Moved to natClass.cc.
* java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Moved from
resolve.cc.
(getSignature): New method.
(getDeclaredMethod): Wrote.
(getMethod): Wrote.
Include StringBuffer.h.
* java/lang/Class.h (Class): Added _Jv_FromReflectedConstructor
as a friend.  Unconditionally declare _Jv_LookupDeclaredMethod as
a friend.
(getSignature): Declare.
* include/jvm.h (_Jv_GetTypesFromSignature): Declare.
(_Jv_equaln): Declare.
(_Jv_CallNonvirtualMethodA): Declare.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natConstructor.cc.
(java/lang/reflect/Constructor.h): New target.
* java/lang/reflect/natConstructor.cc: New file.
* java/lang/reflect/Constructor.java (newInstance): Now native.
(declaringClass): Renamed from decl_class.
(offset): Renamed from index.
(getType): New native method.
(getModifiers): Now native.
(getParameterTypes): Call getType if required.
(hashCode): Include hash code from declaring class.
(modifiers): Removed.
(toString): Call getType if required.
* gcj/method.h (_Jv_FromReflectedConstructor): New function.
* java/lang/reflect/natMethod.cc (hack_call): New method.
Removed `#if 0' around FFI code.
Include <gnu/gcj/RawData.h>.
(invoke): Use _Jv_CallNonvirtualMethodA.  Throw
IllegalArgumentException when argument object and class disagree.
(_Jv_GetTypesFromSignature): New function.
(getType): Use it.
(ObjectClass): New define.
(_Jv_CallNonvirtualMethodA): New function.
* java/lang/reflect/Method.java (hack_trampoline): New method.
(hack_call): New native method.

1999-12-21  Per Bothner  <per@bothner.com>

* java/lang/natClass.cc (getDeclaredMethods): Correctly compute
offset in new Method.

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

22 years agoDaily bump.
law [Tue, 4 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

22 years ago * fold-const.c (make_range): Don't try to reverse an unbounded range.
law [Tue, 4 Jan 2000 08:36:51 +0000 (08:36 +0000)]
    * fold-const.c (make_range): Don't try to reverse an unbounded range.

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

22 years agoUpdate copyright
law [Tue, 4 Jan 2000 08:11:05 +0000 (08:11 +0000)]
Update copyright

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

22 years agoUpdate copyrights
law [Tue, 4 Jan 2000 08:10:30 +0000 (08:10 +0000)]
Update copyrights

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

22 years agoUpdate copyright
law [Tue, 4 Jan 2000 08:01:42 +0000 (08:01 +0000)]
Update copyright

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

22 years agoUpdate copyrights.
law [Tue, 4 Jan 2000 07:58:40 +0000 (07:58 +0000)]
Update copyrights.

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

22 years ago * regclass.c (regclass): Properly compute loop_cost. Adjust
law [Tue, 4 Jan 2000 07:26:08 +0000 (07:26 +0000)]
    * regclass.c (regclass): Properly compute loop_cost.  Adjust
        comments.

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

22 years ago * regclass.c: Fix minor whitespace problems.
law [Tue, 4 Jan 2000 07:20:31 +0000 (07:20 +0000)]
    * regclass.c: Fix minor whitespace problems.

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

22 years ago * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
green [Tue, 4 Jan 2000 06:17:29 +0000 (06:17 +0000)]
* config/i386/i386.md (builtin_setjmp_receiver): New pattern.
Restore the pic register if required.

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

22 years ago(time_char_table): Revert change; this was not intended.
drepper [Mon, 3 Jan 2000 21:51:13 +0000 (21:51 +0000)]
(time_char_table): Revert change; this was not intended.

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

22 years ago(format_char_info): Update comment. (check_format_info): Recognize 'z'
drepper [Mon, 3 Jan 2000 21:48:49 +0000 (21:48 +0000)]
(format_char_info): Update comment.  (check_format_info): Recognize 'z'
modifier in the same way 'Z' was recognized.  Emit warning for formats
new in ISO C99 only if flag_isoc9x is not set.

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

22 years agoUpdate.
drepper [Mon, 3 Jan 2000 21:48:41 +0000 (21:48 +0000)]
Update.

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

22 years agoUpdate.
drepper [Mon, 3 Jan 2000 21:33:26 +0000 (21:33 +0000)]
Update.

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

22 years ago(flag_isoc9x): New variable to be able to use code in c-common.c.
drepper [Mon, 3 Jan 2000 21:33:10 +0000 (21:33 +0000)]
(flag_isoc9x): New variable to be able to use code in c-common.c.
For now always zero.

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

22 years ago * cp-tree.h (CLASSTYPE_VBASECLASSES): Improve documentation.
mmitchel [Mon, 3 Jan 2000 21:32:58 +0000 (21:32 +0000)]
* cp-tree.h (CLASSTYPE_VBASECLASSES): Improve documentation.
* class.c (layout_basetypes): Don't set BINFO_INHERITANCE_CHAIN
or unshare_base_binfos for virtual bases here.
* search.c (dfs_get_vbase_types): Do it here.
(get_vbase_types): Adjust.

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

22 years ago * libjava.mauve/mauve.exp (mauve_compute_uses): Let user select
tromey [Mon, 3 Jan 2000 20:18:19 +0000 (20:18 +0000)]
* libjava.mauve/mauve.exp (mauve_compute_uses): Let user select
specific tests to run.

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

22 years ago * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
mmitchel [Mon, 3 Jan 2000 20:01:59 +0000 (20:01 +0000)]
* config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.

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

22 years ago * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
hubicka [Mon, 3 Jan 2000 15:49:51 +0000 (15:49 +0000)]
* combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
(make_compound_operation): Choose cheaper alternative between
ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.

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

22 years ago * regclass.c (op_costs): Remove global variable.
hubicka [Mon, 3 Jan 2000 15:23:56 +0000 (15:23 +0000)]
* regclass.c (op_costs): Remove global variable.
(record_reg_classes): New parameter "op_costs" and "reg_pref".
(record_operand_costs): Break out from ...
(scan_one_insn): ... here.
(dump_regclass): Make dumps nicer.
(regclass): Dump preferrences choosed and changes done during passes.

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

22 years ago * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
jakub [Mon, 3 Jan 2000 10:40:13 +0000 (10:40 +0000)]
* config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.

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

22 years ago * config/sparc/sparc.c (gen_df_reg): New function.
jakub [Mon, 3 Jan 2000 08:53:13 +0000 (08:53 +0000)]
* config/sparc/sparc.c (gen_df_reg): New function.
* config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
* config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
movtf_cc_reg_sp64+1): Use it.

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

22 years agoDaily bump.
law [Mon, 3 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

22 years ago2000-01-02 Mark Mitchell <mark@codesourcery.com>
mmitchel [Mon, 3 Jan 2000 06:56:21 +0000 (06:56 +0000)]
2000-01-02  Mark Mitchell  <mark@codesourcery.com>

* cp-tree.h (CLASSTYPE_VFIELDS): Move definition.
(BINFO_PRIMARY_MARKED_P): Use flag 5.
(SET_BINFO_PRIMARY_MARKED_P): Likewise.
(CLEAR_BINFO_PRIMARY_MARKED_P): Likewise.
(unmark_primary_bases): Remove declaration.
(unmarkedp): Declare.
(dfs_vbase_unmark): Likewise.
* class.c (determine_primary_base): Return immediately if there
are no base classes.  Call mark_primary_bases here.
(modify_all_direct_vtables): Remove.
(modify_all_indirect_vtables): Remove.
(dfs_modify_vtables_queue_p): New function.
(dfs_modify_vtables): New function.
(modify_all_vtables): Use them.
(build_base_fields): Build FIELD_DECLs for primary virtual base
classes.
(create_vtable_ptr): Don't call determine_primary_base here.
(dfs_mark_primary_bases_and_set_vbase_offsets): Rename to ...
(dfs_set_offset_for_vbases): ... this.
(layout_virtual_bases): Use it.
(layout_class_type): Call determine_primary_base here.
* search.c (unmarkedp): Make it global.
(shared_marked_p): Simplify.
(shared_unmarked_p): Likewise.
(dfs_primary_bases_queue_p): Remove.
(dfs_unmark_primary_bases): Likewise.
(unmark_primary_bases): Likewise.
(mark_primary_bases): Simplify.
(get_pure_virtuals): Don't call mark_primary_bases here.
(dfs_vbase_unmark): New function.
(get_vbase_types): Simplify.

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

22 years ago * class.c (struct base_info): Remove.
mmitchel [Mon, 3 Jan 2000 04:05:43 +0000 (04:05 +0000)]
* class.c (struct base_info): Remove.
(determine_primary_base): Take has_virtual_p rather than a
base_info as input.  Don't calculate max_has_virtual.
(finish_struct_bits): Remove max_has_virtual argument.
(create_vtable_ptr): Remove max_has_virtual_p argument.
(layout_virtual_bases): Remove max argument.
(layout_basetypes): Likewise.
(layout_class_type): Remove max_has_virtual_p argument.
(finish_struct_1): Remove max_has_virtual.

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

22 years ago * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
mmitchel [Mon, 3 Jan 2000 03:33:09 +0000 (03:33 +0000)]
* integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
copied LABEL_DECLs.

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

22 years ago * config/i386/i386.c (ix86_expand_unary_operator): Function
hp [Mon, 3 Jan 2000 02:30:52 +0000 (02:30 +0000)]
* config/i386/i386.c (ix86_expand_unary_operator): Function
definition made void.
(ix86_expand_binary_operator): Update outdated preceding comment.
* config/i386/i386-protos.h (ix86_expand_unary_operator): Update
prototype.

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

22 years agoOops, forgot to update copyright date
hp [Mon, 3 Jan 2000 01:13:16 +0000 (01:13 +0000)]
Oops, forgot to update copyright date

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

22 years ago * config/i386/i386.c (override_options): Fix option-name typo.
hp [Mon, 3 Jan 2000 01:07:21 +0000 (01:07 +0000)]
* config/i386/i386.c (override_options): Fix option-name typo.

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

22 years agoAdd missing ChangeLog
mmitchel [Sun, 2 Jan 2000 19:47:17 +0000 (19:47 +0000)]
Add missing ChangeLog

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

22 years ago * cp-tree.h (dfs_mark_primary_bases_queue_p): New function.
mmitchel [Sun, 2 Jan 2000 19:41:09 +0000 (19:41 +0000)]
* cp-tree.h (dfs_mark_primary_bases_queue_p): New function.
(layout_basetypes): Remove.
* class.c (propagate_binfo_offsets): Moved here from tree.c.
Update to handle primary virtual bases.
(remove_base_fields): New function, split out from
layout_basetypes.
(dfs_mark_primary_bases_and_set_vbase_offsets): New function.
(layout_virtual_bases): New function, split out from
layout_basetypes.  Update to handle primary virtual bases.
(layout_basetypes): Moved here from tree.c.  Use
remove_base_fields and layout_virtual_bases.
* search.c (dfs_mark_primary_bases_queue_p): New function.
(mark_primary_bases): Use it.
* tree.c (CEIL): Remove.
(propagate_binfo_offsets): Remove.
(layout_basetypes): Remove.

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

22 years ago * system.h (CEIL): Define.
mmitchel [Sun, 2 Jan 2000 19:38:36 +0000 (19:38 +0000)]
* system.h (CEIL): Define.
* builtins.c (CEIL): Remove.
* expmed.c (CEIL): Likewise.
* expr.c (CEIL): Likewise.
* stor-layout.c (CEIL): Likewise.

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

22 years ago * expr.c (store_constructor_field): Fix typo introduced with last
sirl [Sun, 2 Jan 2000 13:13:37 +0000 (13:13 +0000)]
* expr.c (store_constructor_field): Fix typo introduced with last
gcc2 merge.

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

22 years agoDaily bump.
law [Sun, 2 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

22 years ago * cp-tree.h (CLASSTYPE_N_BASECLASSES): Use BINFO_N_BASETYPES.
mmitchel [Sun, 2 Jan 2000 04:34:22 +0000 (04:34 +0000)]
* cp-tree.h (CLASSTYPE_N_BASECLASSES): Use BINFO_N_BASETYPES.
(BINFO_PRIMARY_MARKED_P): New macro.
(SET_BINFO_PRIMARY_MARKED_P): Likewise.
(CLEAR_BINFO_PRIMARY_MARKED_P): Likewise.
(mark_primary_bases): New function.
(unmark_primary_bases): Likewise.
* search.c (get_abstract_virtuals_1): Remove.
(dfs_mark_primary_bases): New function.
(mark_primary_bases): Likewise.
(dfs_unmark_primary_bases): Likewise.
(unmark_primary_bases): Likewise.
(dfs_get_pure_virtuals): Likewise.

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

22 years ago * cp-tree.h (skip_rtti_stuff): Adjust prototype.
mmitchel [Sun, 2 Jan 2000 04:04:05 +0000 (04:04 +0000)]
* cp-tree.h (skip_rtti_stuff): Adjust prototype.
* class.c (skip_rtti_stuff): Reorganize parameters and return value.
(modify_one_vtable): Adjust.
(fixup_vtable_deltas1): Likewise.
(override_one_vtable): Likewise.
* search.c (get_abstract_virtuals_1): Likewise.
(get_pure_virtuals): Likewise.
(expand_upcast_fixups): Likewise.
* tree.c (debug_binfo): Likewise.

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

22 years ago * tree.h (BINFO_N_BASETYPES): New macro.
mmitchel [Sun, 2 Jan 2000 03:24:44 +0000 (03:24 +0000)]
* tree.h (BINFO_N_BASETYPES): New macro.

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

22 years ago * class.c (build_vtable): Don't return a value. Don't rebuild
mmitchel [Sun, 2 Jan 2000 02:13:53 +0000 (02:13 +0000)]
* class.c (build_vtable): Don't return a value.  Don't rebuild
vtables for bases that have already been handled.
(prepare_fresh_vtable): Don't rebuild vtables for bases that have
already been handled.
(modify_one_vtable): Adjust accordingly.
(fixup_vtable_deltas1): Likewise.
(finish_struct_1): Likewise.

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

22 years agoFix date of last check-in
loewis [Sat, 1 Jan 2000 17:55:30 +0000 (17:55 +0000)]
Fix date of last check-in

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

22 years ago * symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s"
hp [Sat, 1 Jan 2000 17:26:13 +0000 (17:26 +0000)]
* symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s"
to stringify argument s.

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

22 years agoNew test case.
loewis [Sat, 1 Jan 2000 13:30:01 +0000 (13:30 +0000)]
New test case.

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

22 years ago * call.c (build_new_method_call): Also check destructors.
loewis [Sat, 1 Jan 2000 13:29:44 +0000 (13:29 +0000)]
* call.c (build_new_method_call): Also check destructors.

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

22 years agoAvoid losing pending stack adjusts.
crux [Sat, 1 Jan 2000 12:12:10 +0000 (12:12 +0000)]
Avoid losing pending stack adjusts.

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

22 years agoDaily bump.
law [Sat, 1 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

22 years ago * cp-tree.h (VF_NORMAL_VALUE): Remove.
mmitchel [Sat, 1 Jan 2000 03:04:27 +0000 (03:04 +0000)]
* cp-tree.h (VF_NORMAL_VALUE): Remove.
* class.c (struct base_info): Remove vfield, vfields, and rtti.
(set_primary_base): New function, split out from ...
(finish_base_struct): ... here.  Rename to ...
(determine_primary_base): ... this.  Simplify.
(create_vtable_ptr): Tweak accordingly.
(finish_struct_1): Simplify.

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

22 years ago * function.c (update_temp_slot_address): Handle case where sum of
kenner [Sat, 1 Jan 2000 00:07:54 +0000 (00:07 +0000)]
* function.c (update_temp_slot_address): Handle case where sum of
temporary address plus offset in register is a valid address.

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

22 years ago * Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.
tromey [Fri, 31 Dec 1999 22:44:09 +0000 (22:44 +0000)]
* Makefile.am (INCLUDES): Added -I$(top_srcdir)/src.

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

22 years ago * POTFILES.in: Remove config/xm-siglist.h.
manfred [Fri, 31 Dec 1999 21:50:33 +0000 (21:50 +0000)]
* POTFILES.in: Remove config/xm-siglist.h.

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

22 years ago * cp-tree.h (CLASSTYPE_VBASECLASSES): Update documentation.
mmitchel [Fri, 31 Dec 1999 20:26:07 +0000 (20:26 +0000)]
* cp-tree.h (CLASSTYPE_VBASECLASSES): Update documentation.
(CLASSTYPE_N_BASECLASSES): Likewise.
(BINFO_FOR_VBASE): New macro.
(get_vbase_types): Change prototype.
* class.c (build_vbase_path): Use BINFO_FOR_VBASE.
(prepare_fresh_vtable): Likewise.
(finish_vtbls): Likewise.
(get_class_offset_1): Likewise.
(modify_all_indirect_vtables): Likewise.
(build_vbase_pointer_fields): Likewise.
* decl.c (xref_basetypes): Don't set CLASSTYPE_VBASECLASSES here.
* init.c (sort_base_init): Use BINFO_FOR_VBASE.
(expand_member_init): Likewise.
* search.c (get_base_distance): Likewise.
(lookup_field_queue_p): Likewise.
(virtual_context): Likewise.
(get_vbase_types): Don't return a value.  Set
CLASSTYPE_VBASECLASSES here.
* typeck.c (get_delta_difference): Use BINFO_FOR_VBASE.

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

22 years agoDaily bump.
law [Fri, 31 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

22 years ago * class.c (assume_compiled, assume_compiled_node): Add static
ghazi [Fri, 31 Dec 1999 03:30:22 +0000 (03:30 +0000)]
* class.c (assume_compiled, assume_compiled_node): Add static
prototype.
(add_assume_compiled): Use xmalloc/xstrdup, not malloc/strdup.

* jcf-dump.c (ARRAY_NEW_NUM): Cast long to int in switch.

* jvgenmain.c (usage): Add static prototype with ATTRIBUTE_NORETURN.

* parse.h (OBSOLETE_MODIFIER_WARNING): Rename parameter `modifier'
to `__modifier' to avoid stringifying it.

* parse.y (verify_constructor_circularity): Don't call a variadic
function with a non-literal format string.
(java_check_abstract_methods): Move unreachable code inside
`continue' statement.
(lookup_method_invoke): Call xstrdup, not strdup.

* expr.c (expand_java_field_op): Avoid the use of ANSI string
concatenation.

* jcf-parse.c (yyparse): Likewise.

* jv-scan.c (main): Likewise.

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

22 years agoThu Dec 16 00:09:45 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Fri, 31 Dec 1999 03:06:55 +0000 (03:06 +0000)]
Thu Dec 16 00:09:45 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* expr.c (expand_invoke): Layout the loaded class before
  attempting to use it.
(expand_java_field_op): Allow final field assignments to take
  place in $finit$.
* typeck.c (convert): Return error_mark_node if expr is null.

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

22 years ago * parse.h (ABSTRACT_CHECK, JCONSTRUCTOR_CHECK,
ghazi [Fri, 31 Dec 1999 02:41:24 +0000 (02:41 +0000)]
* parse.h (ABSTRACT_CHECK, JCONSTRUCTOR_CHECK,
ERROR_CANT_CONVERT_TO_BOOLEAN, ERROR_CANT_CONVERT_TO_NUMERIC,
ERROR_CAST_NEEDED_TO_INTEGRAL): Avoid the use of ANSI string
concatenation.

* parse.y (synchronized, variable_redefinition_error,
check_class_interface_creation, create_interface, create_class,
method_header, finish_method_declaration,
check_modifiers_consistency, method_declarator,
complete_class_report_errors, check_abstract_method_definitions,
java_check_regular_methods, check_throws_clauses,
java_check_abstract_methods, read_import_dir,
check_pkg_class_access, declare_local_variables, fix_constructors,
cut_identifier_in_qualified, resolve_expression_name,
resolve_qualified_expression_name, patch_method_invocation,
java_complete_lhs, patch_assignment, try_builtin_assignconv,
patch_binop, patch_array_ref, patch_newarray, build_labeled_block,
patch_exit_expr, patch_exit_expr, patch_switch_statement,
patch_try_statement, patch_synchronized_statement,
patch_throw_statement, check_thrown_exceptions,
patch_conditional_expr): Likewise.

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

22 years ago1999-12-14 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 30 Dec 1999 22:36:25 +0000 (22:36 +0000)]
1999-12-14  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * class.c (class_depth): Return -1 if the class doesn't load
        properly.
        * expr.c (can_widen_reference_to): Check for errors during depth
        computation and return 0 accordingly.
        * jcf-parse.c (parse_source_file): Call java_fix_constructors to
        create default constructors and add an other error check.
        * parse.h (java_fix_constructors): Prototyped.
        * parse.y (java_pre_expand_clinit): Likewise.
        (build_super_invocation): Re-prototyped to feature one argument.
        (java_check_circular_reference): Directly use `current'.
        (java_fix_constructors): New function.
        (java_check_regular_methods): Don't create default constructors
        here, but abort if none were found.
        (java_complete_expand_methods): Pre-process <clinit> calling
        java_pre_expand_clinit.
        (java_pre_expand_clinit): New function.
        (fix_constructors): build_super_invocation invoked with the
        current method declaration as an argument.
        (build_super_invocation): Use the context of the processed method
        decl argument instead of current_class.
        * typeck.c (lookup_java_method): Take WFLs in method names into
        account.

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

22 years ago * stw.h (struct _ffestw_): Change type of uses_ to int.
rth [Thu, 30 Dec 1999 21:15:24 +0000 (21:15 +0000)]
    * stw.h (struct _ffestw_): Change type of uses_ to int.

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

22 years agoMake the Fortran front-end use garbage collection:
geoffk [Thu, 30 Dec 1999 19:44:13 +0000 (19:44 +0000)]
Make the Fortran front-end use garbage collection:

* com.c (ffecom_init_0): Make double_ftype_double,
float_ftype_float, ldouble_ftype_ldouble,
ffecom_tree_ptr_to_fun_type_void local.
(tracker_head): New static variable.
(mark_tracker_head): New, marker procedure for tracker_head.
(ffecom_save_tree_forever): New procedure.
(ffecom_init_zero_): Remove obstack use.
(ffecom_make_gfrt_): Remove obstack use.
(ffecom_sym_transform_): Remove obstack use, save appropriate trees.
(ffecom_transform_common_): Remove obstack use, save appropriate
trees.
(ffecom_type_namelist_): Remove obstack use, save appropriate
trees.
(ffecom_type_vardesc_): Remove obstack use, save appropriate trees.
(ffecom_lookup_label): Remove obstack use, save appropriate trees.
(duplicate_decls): Remove obstack use.
(finish_function): push & pop ggc context around
rest_of_compilation when building nested function.
(mark_binding_level): New function.
(init_decl_processing): Mark all the GC roots.
(ggc_p): Set to 1.
(lang_mark_tree): New function.
(lang_mark_false_label_stack): New trivial function.
* com.h (ffecom_save_tree_forever): Declare as external.
* lex.c (ffelex_hash_): Use GC to allocate the filename string
even when ffelex_kludge_flag_.
* ste.c (ffeste_io_ialist_): Register a static root.
(ffeste_io_inlist_): Likewise.
(ffeste_io_icilist_): Likewise.
(ffeste_io_cllist_): Likewise.
(ffeste_io_cilist_): Likewise.
(ffeste_io_olist_): Likewise.
* Makefile.in (OBJS): Don't use ggc-callbacks.o.
(OBJDEPS): Likewise.
(GGC_H): New variable.
Update dependencies.
* where.c (ffewhere_head): New global.
(mark_ffewhere_head): New marker procedure for ffewhere_head.
(ffewhere_file_kill): Use GC to do memory management.
(ffewhere_file_new): Use GC to do memory management.
* ggc.j: New file.

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

22 years ago * genrecog.c (change_state) Corrected typo.
rth [Thu, 30 Dec 1999 17:48:52 +0000 (17:48 +0000)]
    * genrecog.c (change_state) Corrected typo.

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

22 years ago * class.c (fixup_inline_methods): Clear CLASSTYPE_INLINE_FRIENDS.
mmitchel [Thu, 30 Dec 1999 17:23:24 +0000 (17:23 +0000)]
* class.c (fixup_inline_methods): Clear CLASSTYPE_INLINE_FRIENDS.

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

22 years ago * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
ghazi [Thu, 30 Dec 1999 13:48:51 +0000 (13:48 +0000)]
* system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
strerror, getrlimit, setrlimit, abort): Add prototype arguments.

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

22 years agoFix FP GT comparisons on i386 with -ffast-math
crux [Thu, 30 Dec 1999 12:43:51 +0000 (12:43 +0000)]
Fix FP GT comparisons on i386 with -ffast-math

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

22 years agoNew testcase
crux [Thu, 30 Dec 1999 12:40:53 +0000 (12:40 +0000)]
New testcase

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

22 years agoDaily bump.
law [Thu, 30 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

22 years ago * gcc.c-torture/compile/991229-3.c: New test.
law [Thu, 30 Dec 1999 06:54:04 +0000 (06:54 +0000)]
    * gcc.c-torture/compile/991229-3.c: New test.

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

22 years ago * gcc.c-torture/compile/991229-2.c: New test.
law [Thu, 30 Dec 1999 06:51:26 +0000 (06:51 +0000)]
    * gcc.c-torture/compile/991229-2.c: New test.

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

22 years ago * gcc.c-torture/compile/991229-1.c: New test.
law [Thu, 30 Dec 1999 06:47:39 +0000 (06:47 +0000)]
    * gcc.c-torture/compile/991229-1.c: New test.

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

22 years ago1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
gdr [Thu, 30 Dec 1999 05:58:56 +0000 (05:58 +0000)]
1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * dwarfout.c: Include "frame.h"
        * dwarf2out.c: Likewise.
        * Makefile.in (dwarfout.o): Depend on frame.h
        (dwarf2out.o): Likewise.

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

22 years ago * gcc.c-torture/compile/labels-2.c: New test.
law [Thu, 30 Dec 1999 03:55:32 +0000 (03:55 +0000)]
    * gcc.c-torture/compile/labels-2.c: New test.

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

22 years ago Restore i386 binary compatibility in Dwarf EH info.
law [Thu, 30 Dec 1999 03:44:13 +0000 (03:44 +0000)]
    Restore i386 binary compatibility in Dwarf EH info.
        * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
        value of FIRST_PSEUDO_REGISTER.
        * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
        (struct frame_state): Use DWARF_FRAME_REGISTERS.
        * dwarfout.c (output_reg_number): Ditto.
        * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
        (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.

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

22 years agoC++ file type checking
korbb [Wed, 29 Dec 1999 22:59:16 +0000 (22:59 +0000)]
C++ file type checking

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

22 years ago * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
ghazi [Wed, 29 Dec 1999 21:22:16 +0000 (21:22 +0000)]
* crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
Otherwise provide a declaration for atexit.
(init_dummy): Make sure dummy call to atexit is nevertheless
called with correct number of args.

* frame.c: Update comments referring to other files.

* libgcc2.c: Likewise.

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

22 years ago * cse.c (free_element, get_element): Remove unused prototypes.
ghazi [Wed, 29 Dec 1999 21:18:46 +0000 (21:18 +0000)]
* cse.c (free_element, get_element): Remove unused prototypes.

* fold-const.c (extract_muldiv): Initialize variables `op0' and
`op1'.

* jump.c (invert_exp): Add explicit braces to avoid ambiguous
`else' clauses.

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

22 years agoPatch to configure.in, approved by law@cygnus, for mn10200 processor.
dlindsay [Wed, 29 Dec 1999 20:48:34 +0000 (20:48 +0000)]
Patch to configure.in, approved by law@cygnus, for mn10200 processor.

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