OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
zack [Tue, 1 May 2001 01:58:32 +0000 (01:58 +0000)]
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h.  Don't provide
default definitions of N_CATCH or N_OPT.  Always use the
gstab.h variant of STAB_CODE_TYPE.
* final.c: Don't include stab.h/gstab.h at all, or provide
defaults for N_SLINE and N_SOL.

* xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
available.
* sdbout.c: Always include gsyms.h instead of system syms.h.

* configure.in: No need to check for stab.h.
* configure, config.in: Regenerate.
* Makefile.in (final.o): Don't depend on gstab.h.

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

23 years ago * extend.texi: Improve documentation of volatile asms.
mmitchel [Tue, 1 May 2001 00:39:59 +0000 (00:39 +0000)]
* extend.texi: Improve documentation of volatile asms.

* c-tree.texi: Fix thinko.
* gcc.texi: Likewise.

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

23 years ago * c-common.c (c_promoting_integer_type_p): New function, from the
rth [Mon, 30 Apr 2001 23:59:10 +0000 (23:59 +0000)]
    * c-common.c (c_promoting_integer_type_p): New function, from the
        corpse of old macro.  Properly promote too-small enumerations and
        booleans.  Adjust all callers.
        * c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
        (c_promoting_integer_type_p): Declare.
        * c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
        * c-typeck.c: Likewise.
        (default_conversion): Remove now redundant boolean check.

        * cvt.c: Downcase C_PROMOTING_INTEGER_TYPE_P invocations.
        * decl.c: Likewise.

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

23 years agoRevert last change.
rth [Mon, 30 Apr 2001 23:28:23 +0000 (23:28 +0000)]
Revert last change.

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

23 years ago * regmove.c (try_apply_stack_adjustment): Remove now redundant
rth [Mon, 30 Apr 2001 23:27:22 +0000 (23:27 +0000)]
    * regmove.c (try_apply_stack_adjustment): Remove now redundant
        sanity checks.
        (combine_stack_adjustments_for_block): Don't combine stack
        allocation followed by deallocations.  Handle grow-up stacks.

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

23 years ago2001-04-30 Matt Kraai <kraai@alumni.carnegiemellon.edu>
tromey [Mon, 30 Apr 2001 23:09:39 +0000 (23:09 +0000)]
2001-04-30  Matt Kraai  <kraai@alumni.carnegiemellon.edu>

* java/io/natFile.cc (performSetReadOnly): Fix #ifdef test.
(performDelete): Fix #endif placement.

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

23 years ago * fdl.texi: New file.
mmitchel [Mon, 30 Apr 2001 22:46:47 +0000 (22:46 +0000)]
* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.

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

23 years ago * fdl.texi: New file.
mmitchel [Mon, 30 Apr 2001 22:46:01 +0000 (22:46 +0000)]
* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.

* porting.texi: Use the GFDL.

* objc-features.texi: Use the GFDL.

* gxxint.texi: Remove.
* Make-lang.in: Remove all traces of gxxint.texi.

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

23 years ago * decl2.c (start_static_initialization_or_destruction): Correct
mmitchel [Mon, 30 Apr 2001 22:20:03 +0000 (22:20 +0000)]
* decl2.c (start_static_initialization_or_destruction): Correct
logic to handle the -fno-use-cxa-atexit case.

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

23 years ago2001-04-30 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 30 Apr 2001 21:51:57 +0000 (21:51 +0000)]
2001-04-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20010430.f: New test.

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

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 20:53:31 +0000 (20:53 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2627
* testsuite/24_iterators/ostreambuf_iterator.cc: New file.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
specializations.

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

23 years ago * invoke.texi: Add a section documenting Objective-C options.
shebs [Mon, 30 Apr 2001 18:17:13 +0000 (18:17 +0000)]
    * invoke.texi: Add a section documenting Objective-C options.

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

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 18:07:51 +0000 (18:07 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

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

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 17:48:41 +0000 (17:48 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

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

23 years ago2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 30 Apr 2001 17:41:29 +0000 (17:41 +0000)]
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

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

23 years ago2001-04-27 Andrew Haley <aph@cambridge.redhat.com>
aph [Mon, 30 Apr 2001 16:07:26 +0000 (16:07 +0000)]
2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>

        * emit-rtl.c (try_split):  Copy EH notes to sequence.

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

23 years ago * regmove.c (record_stack_memrefs): Catch all references to the
mmitchel [Mon, 30 Apr 2001 15:09:51 +0000 (15:09 +0000)]
* regmove.c (record_stack_memrefs): Catch all references to the
stack pointer.

* optimize.c (update_cloned_parm): New function.
(maybe_clone_body): Use it.  Update the `this' parameter too.

* gcc.dg/20000724-1.c: Add a clobber of `esp'.

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

23 years agoDaily bump.
gccadmin [Mon, 30 Apr 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

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

23 years agoquote shell assignment values
korbb [Sun, 29 Apr 2001 21:24:16 +0000 (21:24 +0000)]
quote shell assignment values

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

23 years ago * c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
ghazi [Sun, 29 Apr 2001 12:43:20 +0000 (12:43 +0000)]
* c-aux-info.c: NULL_PTR->NULL in calls to `concat'.

* gcc.c: Likewise.

* prefix.c: Likewise.

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

23 years agocp:
jsm28 [Sun, 29 Apr 2001 11:48:40 +0000 (11:48 +0000)]
cp:
* decl2.c (unsupported_options): Add new-abi.
* lang-options.h: Remove no longer supported options.

testsuite:
* g++.old-deja/g++.other/crash14.C: Remove -fnew-abi.

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

23 years ago * jcf-io.c (read_zip_member): Cast to long in comparison with
ghazi [Sun, 29 Apr 2001 11:24:37 +0000 (11:24 +0000)]
* jcf-io.c (read_zip_member): Cast to long in comparison with
signed value.

* jvspec.c (lang_specific_driver): Initialize variables.

* mangle.c (find_compression_record_match): Likewise.

* typeck.c (build_null_signature): Provide static prototype.  Mark
parameter with ATTRIBUTE_UNUSED.

* verify.c (verify_jvm_instructions): Initialize variable.

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

23 years agoDaily bump.
gccadmin [Sun, 29 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago2001-04-28 Phil Edwards <pme@sources.redhat.com>
pme [Sun, 29 Apr 2001 01:40:34 +0000 (01:40 +0000)]
2001-04-28  Phil Edwards  <pme@sources.redhat.com>

* docs/doxygen/run_doxygen:  Minor tweaks.
* docs/doxygen/style.css:  New file.
* docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
latest parameters available.  Use style.css.

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

23 years ago * objc/objc-act.c (handle_class_ref): Rewrite to flush target
shebs [Sun, 29 Apr 2001 00:12:51 +0000 (00:12 +0000)]
    * objc/objc-act.c (handle_class_ref): Rewrite to flush target
        specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
        * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
        * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.

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

23 years ago * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
shebs [Sat, 28 Apr 2001 22:18:06 +0000 (22:18 +0000)]
    * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
        (NEXT_OBJC_RUNTIME): Define.

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

23 years ago * rtl.h (simplify_gen_relational): Add cmp_mode parameter.
hubicka [Sat, 28 Apr 2001 19:16:30 +0000 (19:16 +0000)]
* rtl.h (simplify_gen_relational): Add cmp_mode parameter.
* simplify-rtx.c (simplify_gen_relational): Likewise.

* simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.

* i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
* i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.

* i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
registers in SSE case; fix handling of the immediates.
(negsf2_ifs, abssf2_ifs): Tweak constraints; require
operands to be in regsiters before reload.
(negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
(negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
(abstf,absxf,negtf,negxf splitters): Compute
properly the regnum for x86_64.
(avsdf2_if_rex64): New.

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

23 years ago * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
law [Sat, 28 Apr 2001 16:53:00 +0000 (16:53 +0000)]
    * flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
        and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
        into the constant pool.
        * jump.c (jump_optimize_1): Remove barrier successors after all
        the LABEL_NUSES counds have been computed.
        (delete_barrier_successors): When deleting a tablejump insn, also
        delete the jump table it uses.
        * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
        label into memory.

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

23 years ago * pa.c (FRP): Remove erroneous white space in macro definition.
amodra [Sat, 28 Apr 2001 14:23:34 +0000 (14:23 +0000)]
* pa.c (FRP): Remove erroneous white space in macro definition.

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

23 years ago * invoke.texi: Use XX-bit instead of XXbit or XX bit where
aj [Sat, 28 Apr 2001 11:35:04 +0000 (11:35 +0000)]
* invoke.texi: Use XX-bit instead of XXbit or XX bit where
appropriate.
* extend.texi: Likewise.
* tm.texi: Likewise.

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

23 years ago * md.texi: Use XX-bit instead of XXbit or XX bit where
aj [Sat, 28 Apr 2001 08:54:31 +0000 (08:54 +0000)]
    * md.texi: Use XX-bit instead of XXbit or XX bit where
        appropriate.

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

23 years ago * gcc.c (process_command): Allow -l lib in addition to -llib
gerald [Sat, 28 Apr 2001 08:08:03 +0000 (08:08 +0000)]
* gcc.c (process_command): Allow -l lib in addition to -llib
for POSIX compliance. This fixes PR c/2347.

* invoke.texi: Update section on Link Options accordingly.

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

23 years agoDaily bump.
gccadmin [Sat, 28 Apr 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.

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

23 years agonew
jason [Sat, 28 Apr 2001 05:11:21 +0000 (05:11 +0000)]
new

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

23 years ago* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.
zack [Sat, 28 Apr 2001 01:39:15 +0000 (01:39 +0000)]
* java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.

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

23 years ago * prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
zack [Sat, 28 Apr 2001 00:04:55 +0000 (00:04 +0000)]
* prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
* posix-threads.cc (_Jv_ThreadInitData): Use _Jv_Malloc.
(_Jv_ThreadDestroyData): Use _Jv_Free.

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

23 years ago * function.c (purge_addressof_1): Remove the duplicate
zack [Fri, 27 Apr 2001 23:55:03 +0000 (23:55 +0000)]
* function.c (purge_addressof_1): Remove the duplicate
if (code == SET) block.  Fold the two if (code == ADDRESSOF)
blocks together.

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

23 years ago2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 Apr 2001 23:38:14 +0000 (23:38 +0000)]
2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>

* docs/doxygen/mainpage.doxy: New.
* docs/doxygen/user.cfg.in: Change default configuration. Single
frame, other tweaks.

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

23 years ago * except.c (expand_eh_region_start): Don't start a new block.
jason [Fri, 27 Apr 2001 23:25:20 +0000 (23:25 +0000)]
    * except.c (expand_eh_region_start): Don't start a new block.
        (expand_eh_region_end): Don't end a block.
        * stmt.c (expand_end_bindings): Don't end EH blocks.
        (expand_decl_cleanup): Starting an EH region won't change the block.
        (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
        (is_eh_region): Lose.
        * tree.h: Adjust.

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

23 years ago Add forgotten entry.
sirl [Fri, 27 Apr 2001 21:32:31 +0000 (21:32 +0000)]
    Add forgotten entry.

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

23 years ago*** empty log message ***
oldham [Fri, 27 Apr 2001 19:59:53 +0000 (19:59 +0000)]
*** empty log message ***

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

23 years ago * md.texi (Machine Constraints): Document additional i386
aj [Fri, 27 Apr 2001 19:35:03 +0000 (19:35 +0000)]
    * md.texi (Machine Constraints): Document additional i386
        constraints and fix description of "A".

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

23 years ago * parse.y (java_expand_classes): Don't change ctxp_for_generation
bothner [Fri, 27 Apr 2001 19:12:20 +0000 (19:12 +0000)]
* parse.y (java_expand_classes):  Don't change ctxp_for_generation
while iterating, since that could cause gc to lose stuff.

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

23 years ago2001-04-27 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Fri, 27 Apr 2001 17:33:13 +0000 (17:33 +0000)]
2001-04-27  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/compile/20000629-1.x: Really commit removal.

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

23 years ago * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
law [Fri, 27 Apr 2001 16:42:07 +0000 (16:42 +0000)]
    * tm.texi (TARGET_MEM_FUNCTIONS): Update text.

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

23 years ago * jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
tromey [Fri, 27 Apr 2001 16:09:54 +0000 (16:09 +0000)]
* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
checking.
(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.

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

23 years ago2001-04-27 Martin Kahlert <martin.kahlert@infineon.com>
tromey [Fri, 27 Apr 2001 16:09:10 +0000 (16:09 +0000)]
2001-04-27  Martin Kahlert  <martin.kahlert@infineon.com>

* include/jni.h (struct JNINativeInterface): Fixed types in
Get/Set*ArrayRegion declarations.
(class _Jv_JNIEnv): Likewise.

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

23 years agocp:
nathan [Fri, 27 Apr 2001 13:33:46 +0000 (13:33 +0000)]
cp:
* except.c (can_convert_eh): Don't check template parms,
typename types etc.
testsuite:
* g++.old-deja/g++.eh/crash6.C: New test.

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

23 years agocp:
nathan [Fri, 27 Apr 2001 12:47:22 +0000 (12:47 +0000)]
cp:
* optimize.c (maybe_clone_body): Copy parameter names and locations.
testsuite:
* g++.old-deja/g++.other/warn7.C: New test.

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

23 years agocp:
nathan [Fri, 27 Apr 2001 10:47:36 +0000 (10:47 +0000)]
cp:
* cp-tree.h (adjust_clone_args): Prototype new function.
* class.c (adjust_clone_args): New function.
* decl.c (start_function): Call it for in charge ctors.
testsuite:
* g++.old-deja/g++.other/defarg9.C: New test.

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

23 years agoDaily bump.
gccadmin [Fri, 27 Apr 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * method.c (use_thunk): Make sure that thunks really are emitted
mmitchel [Fri, 27 Apr 2001 05:08:39 +0000 (05:08 +0000)]
* method.c (use_thunk): Make sure that thunks really are emitted
when requested.

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

23 years ago * lib/libjava.exp (libjava_init): Use UTF-8 encoding.
tromey [Fri, 27 Apr 2001 00:56:16 +0000 (00:56 +0000)]
* lib/libjava.exp (libjava_init): Use UTF-8 encoding.
(test_libjava_from_javac): Likewise.

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

23 years ago * except.c (get_exception_filter): word_mode, not Pmode.
jason [Thu, 26 Apr 2001 23:32:49 +0000 (23:32 +0000)]
    * except.c (get_exception_filter): word_mode, not Pmode.

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

23 years ago2001-04-26 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 26 Apr 2001 21:13:29 +0000 (21:13 +0000)]
2001-04-26  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/compile/20010426.f: New test.
* g77.f-torture/execute/20010426.f: New test.

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

23 years ago*** empty log message ***
toon [Thu, 26 Apr 2001 21:02:07 +0000 (21:02 +0000)]
*** empty log message ***

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

23 years ago * config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
geoffk [Thu, 26 Apr 2001 20:56:08 +0000 (20:56 +0000)]
* config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
common to other movsf patterns.  Move up so that in future
people who change the other patterns will change it too.
(movsf_lo_sum): Allow even for soft-float; add appropriate
constraints.
(movsf_high): Likewise.
(movsf_high+1): Allow even for soft-float.

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

23 years ago * function.c (expand_function_end): Always clobber the
geoffk [Thu, 26 Apr 2001 20:54:51 +0000 (20:54 +0000)]
* function.c (expand_function_end): Always clobber the
return registers, even if there is no return label.

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

23 years ago * docs/html/17_intro/BADNAMES: Remove EGCS reference.
mmitchel [Thu, 26 Apr 2001 20:13:47 +0000 (20:13 +0000)]
* docs/html/17_intro/BADNAMES: Remove EGCS reference.
Indicate obsolete nature of thelist for G++ 3.0.

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

23 years ago * g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
law [Thu, 26 Apr 2001 20:06:25 +0000 (20:06 +0000)]
    * g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
        Tweak slightly to work with g++.dg framework.
        * g++.dg/special/ecos.exp: Run initp1.C test.
        * g++.old-deja/g++.ext/initp1.C: Moved to g++.dg/special.

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

23 years ago * invoke.texi: Document more C++ command-line options.
mmitchel [Thu, 26 Apr 2001 20:05:34 +0000 (20:05 +0000)]
* invoke.texi: Document more C++ command-line options.

Remove support for -Wextern-inline, -flabels-ok, -fvtable-gc, -fxref
* cp-tree.h (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
* decl2.c (warn_extern_inline): Remove.
(flag_labels_ok): Likewise.
(lang_f_options): Remove labels-ok, vtable-gc, xref.
(unsupported_options): Add them.
(cxx_decode_option): Don't accept -Wextern-inline.
* method.c (hack_identifier): Remove -flabels-ok support.
* spew.c (see_typename): Likewise.

* g++.dg/vtgc1.C: XFAIL.
* g++.old-deja/g++.other/crash18.C: Likewise.

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

23 years ago Fix method search wrt scope of inner classes to match JLS2.
bothner [Thu, 26 Apr 2001 19:40:34 +0000 (19:40 +0000)]
Fix method search wrt scope of inner classes to match JLS2.

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

23 years ago * (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.
hubicka [Thu, 26 Apr 2001 18:33:25 +0000 (18:33 +0000)]
* (ix86_expand_fp_movcc): Re-enable SSE conditional move generation.

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

23 years ago * jcf-write.c (generate_bytecode_insns case SWITCH_EXPR):
bothner [Thu, 26 Apr 2001 18:32:22 +0000 (18:32 +0000)]
* jcf-write.c (generate_bytecode_insns case SWITCH_EXPR):
Fix thinko:  If a single case, use if_icmpeq, not ifeq.

* constants.c (find_methodref_with_class_index):  New function.
(find_methodref_index):  Use find_methodref_with_class_index.
* java-tree.h (find_methodref_with_class_index):  New declaration.
* jcf-write.c (generate_bytecode_insns case CALL_EXPR):  Don't change
DECL_CONTEXT, instead use new find_methodref_with_class_index function.
If context changed from interface to class, don't use invokeinterface.

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

23 years ago * verify.c (verify_jvm_instructions): For field instructions,
bothner [Thu, 26 Apr 2001 18:11:02 +0000 (18:11 +0000)]
* verify.c (verify_jvm_instructions):  For field instructions,
check that field index is valid.  For invoke instructions, check that
method index is valid.

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

23 years ago * i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
hubicka [Thu, 26 Apr 2001 18:10:44 +0000 (18:10 +0000)]
* i386.md (abs/neg splitter): Fix calculation of sign bit for TFmodes
(pushqi2_rex64, pushhi2_rex64): Add.

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

23 years ago2001-04-26 Andrew Haley <aph@redhat.com>
aph [Thu, 26 Apr 2001 17:49:01 +0000 (17:49 +0000)]
2001-04-26  Andrew Haley  <aph@redhat.com>

        * except.c (expand_eh_region_end_cleanup): Force pending stack
        adjust before emitting label that branches around cleanup code.

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

23 years ago * g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
law [Thu, 26 Apr 2001 17:13:04 +0000 (17:13 +0000)]
    * g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
        its linker doesn't give line numbers either.
        * g++.old-deja/g++.ext/instantiate3.C: Similarly.

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

23 years ago * src/ia64/unix.S: Restore stack pointer when returning from
hboehm [Thu, 26 Apr 2001 16:08:59 +0000 (16:08 +0000)]
* src/ia64/unix.S: Restore stack pointer when returning from
ffi_closure_UNIX.
* src/ia64/ffi.c: Fix typo in comment

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

23 years ago2001-04-26 H.J. Lu (hjl@gnu.org)
hjl [Thu, 26 Apr 2001 16:02:05 +0000 (16:02 +0000)]
2001-04-26  H.J. Lu  (hjl@gnu.org)

* config.gcc (mips*-*-linux*): Add elfos.h to tm_file.

* config/mips/ecoff.h (STARTFILE_SPEC): Undefine before
define.
* config/mips/elf64.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/elf.h (MAX_OFILE_ALIGNMENT): Likewise.
(ASM_OUTPUT_SECTION_NAME): Likewise.
(ASM_WEAKEN_LABEL): Likewise.
(UNIQUE_SECTION): Likewise.
(ASM_OUTPUT_CONSTRUCTOR): Likewise.
(ASM_OUTPUT_DESTRUCTOR): Likewise.
* config/mips/linux.h (HANDLE_SYSV_PRAGMA): Likewise.
* config/mips/mips.h (DBX_CONTIN_LENGTH): Likewise.
(ASM_FILE_START): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(ASM_DECLARE_OBJECT_NAME): Likewise.
(ASM_FILE_END): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
(ASM_OUTPUT_INTERNAL_LABEL): Likewise.
(ASM_GENERATE_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_CASE_LABEL): Likewise.
(ASM_OUTPUT_SKIP): Likewise.
(ASM_OUTPUT_ASCII): Likewise.
(ASM_OUTPUT_IDENT): Likewise.
(READONLY_DATA_SECTION): Likewise.
(EXTRA_SECTIONS): Likewise.
(EXTRA_SECTION_FUNCTIONS): Likewise.
(SELECT_RTX_SECTION): Likewise.
(SELECT_SECTION): Likewise.

* config/mips/linux.h (INVOKE__main): Undefine.
(CTOR_LIST_BEGIN): Likewise.
(CTOR_LIST_END): Likewise.
(DTOR_LIST_BEGIN): Likewise.
(DTOR_LIST_END): Likewise.
(SET_ASM_OP): Defined it to ".dummy".
(ASM_OUTPUT_DEF): Defined.
(ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Defined.

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

23 years agoDefine ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.
nickc [Thu, 26 Apr 2001 15:37:02 +0000 (15:37 +0000)]
Define ASM_OUTPUT_MAX_SKIP_ALIGN if the assembler supports .p2align.

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

23 years ago.:
nathan [Thu, 26 Apr 2001 15:12:55 +0000 (15:12 +0000)]
.:
* c-lex.c (c_lex): Remove # from %o diagnostic formatting.
testsuite:
* g++.old-deja/g++.other/lex1.C: New test.

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

23 years ago * integrate.c (expand_inline_function): Check for error_mark_node
jakub [Thu, 26 Apr 2001 11:36:23 +0000 (11:36 +0000)]
* integrate.c (expand_inline_function): Check for error_mark_node
in actual argument.

* gcc.dg/noncompile/20010425-1.c: New test.

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

23 years ago * config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
jakub [Thu, 26 Apr 2001 10:30:17 +0000 (10:30 +0000)]
* config/i386/i386.h (CC1_CPU_SPEC): Fix deprecation warnings for
-m386 and -m486.

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

23 years agocp:
nathan [Thu, 26 Apr 2001 08:34:06 +0000 (08:34 +0000)]
cp:
* mangle.c (write_chars): New macro.
(hwint_to_ascii): New function
(write_number): Use it.
(write_integer_cst): Deal with really big numbers.
testsuite:
* g++.old-deja/g++.pt/mangle2.C: New test.

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

23 years agoDaily bump.
gccadmin [Thu, 26 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
aoliva [Thu, 26 Apr 2001 05:28:55 +0000 (05:28 +0000)]
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

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

23 years ago* configure.in (noconfigdirs): Don't reset it from scratch in the
aoliva [Thu, 26 Apr 2001 05:12:36 +0000 (05:12 +0000)]
* configure.in (noconfigdirs): Don't reset it from scratch in the
target case; only append to it.

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

23 years ago* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
aoliva [Thu, 26 Apr 2001 05:10:04 +0000 (05:10 +0000)]
* configure.in (noconfigdirs) [hppa*-*-*, mips*-*-irix6*,
sparc-*-solaris2.8]: Disable ${libgcj}.

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

23 years ago* configure.in: Obtain THREADS with `gcc -v'.
aoliva [Thu, 26 Apr 2001 04:29:57 +0000 (04:29 +0000)]
* configure.in: Obtain THREADS with `gcc -v'.
* configure: Rebuilt.

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

23 years ago* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
aoliva [Thu, 26 Apr 2001 04:29:15 +0000 (04:29 +0000)]
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
target_thread_file with `gcc -v'.
* aclocal.m4, configure: Rebuilt.

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

23 years ago* configure.in (configargs.h): Define thread_model.
aoliva [Thu, 26 Apr 2001 04:28:50 +0000 (04:28 +0000)]
* configure.in (configargs.h): Define thread_model.
* configure: Rebuilt.
* gcc.c (main): Print it with -v.

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

23 years ago2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 26 Apr 2001 02:23:52 +0000 (02:23 +0000)]
2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
* include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
* include/c_std/bits/std_cwchar.h (std): Same.
* acconfig.h (std): Remove c99 injection into std.
* config.h.in: Regenerate.

* testsuite/README: Fix typo.

* include/bits/codecvt.h: Remove warnings.

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

23 years ago Fix PR libgcj/2237:
bryce [Thu, 26 Apr 2001 02:02:05 +0000 (02:02 +0000)]
Fix PR libgcj/2237:
* java/io/ObjectStreamClass.java (setClass): Calculate
serialVersionUID for local class and compare it against the UID
from the Object Stream. Throw InvalidClassException upon mismatch.
(setUID): Renamed to...
(getClassUID): this. Return the calculated class UID rather than
setting uid field directly.
(getDefinedSUID): Removed.
* java/io/ObjectInputStream.java (resolveClass): Use the
three-argument Class.forName().
* java/io/InvalidClassException (toString): Don't include classname in
result if it is null.

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

23 years agoRestore stack pointer when returning from ffi_closure_UNIX.
hboehm [Thu, 26 Apr 2001 00:46:38 +0000 (00:46 +0000)]
Restore stack pointer when returning from ffi_closure_UNIX.

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

23 years ago * optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting
mmitchel [Thu, 26 Apr 2001 00:33:18 +0000 (00:33 +0000)]
* optimize.c (maybe_clone_body): Copy TREE_PUBLIC before emitting
the clone.

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

23 years ago*** empty log message ***
hboehm [Thu, 26 Apr 2001 00:30:36 +0000 (00:30 +0000)]
*** empty log message ***

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

23 years ago * invoke.texi: Document -Wmissing-braces, -dumpspecs,
jsm28 [Wed, 25 Apr 2001 22:38:10 +0000 (22:38 +0000)]
* invoke.texi: Document -Wmissing-braces, -dumpspecs,
-dumpmachine, -dumpversion, -fmem-report and -ftime-report.
* gcc.1: Regenerate.

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

23 years ago * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
rth [Wed, 25 Apr 2001 22:27:04 +0000 (22:27 +0000)]
    * dwarfout.c (is_pseudo_reg, type_main_variant, is_tagged_type,
        is_redundant_typedef): Use static inline instead of inline static.

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

23 years ago* config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that this
cgf [Wed, 25 Apr 2001 22:23:33 +0000 (22:23 +0000)]
* config/i386/cygwin.h: Move W32API search to LINK_SPEC to ensure that this
directory is always searched.

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

23 years ago * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
rth [Wed, 25 Apr 2001 21:56:54 +0000 (21:56 +0000)]
    * config/i386/i386.c (ix86_expand_epilogue): Properly compute size
        of registers to restore along non eh_return path.

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

23 years ago* config-lang.in (target_libs): Copy from $libgcj_saved.
aoliva [Wed, 25 Apr 2001 21:30:21 +0000 (21:30 +0000)]
* config-lang.in (target_libs): Copy from $libgcj_saved.

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

23 years ago* configure.in (libgcj_saved): Copy from $libgcj.
aoliva [Wed, 25 Apr 2001 21:29:48 +0000 (21:29 +0000)]
* configure.in (libgcj_saved): Copy from $libgcj.
(libgcj): Zero out if --enable-libgcj; add to noconfigdirs is
--disable-libgcj.

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

23 years ago * c-format.c (check_format_info_recurse): Handle
jakub [Wed, 25 Apr 2001 21:18:20 +0000 (21:18 +0000)]
* c-format.c (check_format_info_recurse): Handle
PLUS_EXPR for format string.

* gcc.dg/format/plus-1.c: New test.

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

23 years ago * config/ia64/ia64.h (CC1_SPEC): Define.
jakub [Wed, 25 Apr 2001 21:06:10 +0000 (21:06 +0000)]
* config/ia64/ia64.h (CC1_SPEC): Define.
* config/ia64/linux.h (CC1_SPEC): Define.

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

23 years ago * java/net/natInetAddress.cc (java::net::InetAddress::aton):
ghazi [Wed, 25 Apr 2001 20:27:06 +0000 (20:27 +0000)]
* java/net/natInetAddress.cc (java::net::InetAddress::aton):
Wrap use of inet_pton in HAVE_INET6.

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

23 years agoremove self as maintainer
gavin [Wed, 25 Apr 2001 17:25:53 +0000 (17:25 +0000)]
remove self as maintainer

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

23 years ago * emit-rtl.c (constant_subword): Also do sign extension in
amylaar [Wed, 25 Apr 2001 16:14:24 +0000 (16:14 +0000)]
* emit-rtl.c (constant_subword): Also do sign extension in
BITS_PER_WORD == 16 case.

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

23 years agoForgot this file on last commit.
bryce [Wed, 25 Apr 2001 15:48:05 +0000 (15:48 +0000)]
Forgot this file on last commit.

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

23 years agogcc/java:
bryce [Wed, 25 Apr 2001 15:45:15 +0000 (15:45 +0000)]
gcc/java:

2001-04-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* decl.c (init_decl_processing): Add new class "protectionDomain"
field.
* class.c (make_class_data): Set initial value for "protectionDomain".

libjava:

2001-04-25  Bryce McKinlay  <bryce@albatross.co.nz>

java.security merge and ClassLoader compliance fixes.

* java/lang/Class.h (Class): Include ProtectionDomain.h.
New protectionDomain field.
(forName): Add initialize parameter. Fixes declaration to comply with
JDK spec.
* java/lang/natClass.cc (forName): Correct declaration of the three-arg
variant. Honour "initialize" flag.
(getProtectionDomain0): New method.
* java/lang/Class.java: Fix forName() declaration.
(getPackage): New method based on Classpath implementation.
(getProtectionDomain0): New native method decl.
(getProtectionDomain): New method.
* java/lang/ClassLoader.java (getParent): Now final.
(definedPackages): New field.
(getPackage): New.
(defineClass): New variant with protectionDomain argument.
(definePackage): New.
(getPackages): New.
(findSystemClass): Now final.
(getSystemResourceAsStream): Remove redundant "final" modifier.
(getSystemResource): Remove redundant "final" modifier.
(getResources): Now final.
(protectionDomainPermission): New static field.
(unknownProtectionDomain): Ditto.
(defaultProtectionDomain): Ditto.
(getSystemClassLoader): Now non-native.
* java/util/ResourceBundle.java (tryGetSomeBundle): Use the correct
arguments for Class.forName().
* java/lang/Package.java: New file.
* gnu/gcj/runtime/VMClassLoader.java (getVMClassLoader): Removed.
(instance): Static initialize singleton.
(findClass): Override this, not findSystemClass.
* java/lang/natClassLoader.cc (defineClass0): Set class's
protectionDomain field as specified.
(getSystemClassLoader): Removed.
(findClass): Renamed from findSystemClass. Call the interpreter via
URLClassLoader.findClass if loading class via dlopen fails.

* java/security/*.java: java.security import/merge with Classpath.
* java/security/acl/*.java: Likewise.
* java/security/interfaces/*.java: Likewise.
* java/security/spec/*.java: Likewise.
* java/net/NetPermission.java: Likewise.
* java/net/SocketPermission.java: Likewise.
* gnu/java/security/provider/DefaultPolicy.java: Likewise.

* Makefile.am: Add new classes.
* Makefile.in: Rebuilt.
* gcj/javaprims.h: CNI namespace rebuild.

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