OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
jsm28 [Sun, 28 Oct 2001 13:22:02 +0000 (13:22 +0000)]
* config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
config/i386/i386.c, config/i386/i386-interix.h,
config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
config/sparc/sparc.c, config/m68hc11/m68hc11.c,
config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
spelling errors.

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

22 years ago * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
jsm28 [Sun, 28 Oct 2001 12:56:08 +0000 (12:56 +0000)]
* 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
types.ads, urealp.adb: Fix spelling errors.

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

22 years ago * ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
jsm28 [Sun, 28 Oct 2001 12:42:06 +0000 (12:42 +0000)]
* ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
system.h, toplev.c: Fix spelling errors.

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

22 years ago * ChangeLog, configure: Fix spelling errors.
jsm28 [Sun, 28 Oct 2001 12:08:43 +0000 (12:08 +0000)]
* ChangeLog, configure: Fix spelling errors.

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

22 years agoDaily bump.
gccadmin [Sun, 28 Oct 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
kenner [Sun, 28 Oct 2001 02:34:18 +0000 (02:34 +0000)]
* gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.

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

22 years ago * dwarf2out.c (reg_number): Abort if pseudo.
kenner [Sun, 28 Oct 2001 02:30:03 +0000 (02:30 +0000)]
* dwarf2out.c (reg_number): Abort if pseudo.
(reg_loc_descriptor): Return 0 if pseudo.
(is_based_loc): Return 0 if pseudo.
(mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
recursive calls.
(concat_loc_descriptor): Return 0 if either part's descriptor is 0.
(loc_descriptor): Return 0 if can't find location and handle 0
return from recursive calls.
(loc_descriptor_from_tree): Likewise.
Fix handling of indirect.
Also return 0 for PLACEHOLDER_EXPR.
Clean up COMPONENT_REF cases.
(add_AT_location_descriptor): Simplify, but handle 0 return from
loc_descriptor.
(add_const_value_attribute): Avoid shift count warning.
(add_bound_info): Remove test for PLACEHOLDER_EXPR here.
Set comp_unit_die as context if not in function.

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

22 years ago * config/mips/mips-protos.h: Break up long lines.
kenner [Sat, 27 Oct 2001 22:41:00 +0000 (22:41 +0000)]
* config/mips/mips-protos.h: Break up long lines.
Remove needless #ifdef/#endif blocks.
Don't declare functions declared in file made by genpreds or recog.h.
* config/mips/mips.c (mips_output_function_prologue): TSIZE
is now HOST_WIDE_INT; delete unneeded casts.
* config/mips/mips.h: Don't use #elif.

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

22 years ago * expr.c (stor_constructor_field): Always call adjust_address.
kenner [Sat, 27 Oct 2001 21:30:46 +0000 (21:30 +0000)]
* expr.c (stor_constructor_field): Always call adjust_address.
Copy TARGET before changing its alias set.
(store_field): Likewise, for TO_RTX.
(get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
replacement.
(safe_from_p, case ADDR_EXPR): Properly check for conflict.
(find_placeholder): Return 0 if can't find object.
(expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
returns 0.

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

22 years ago * include/jni.h (struct JNINativeInterface) [GetStringLength]:
tromey [Sat, 27 Oct 2001 18:24:51 +0000 (18:24 +0000)]
* include/jni.h (struct JNINativeInterface) [GetStringLength]:
Returns jsize, not jint.

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

22 years ago * ifcvt.c (if_convert): Call clear_aux_for_blocks.
hubicka [Sat, 27 Oct 2001 14:33:12 +0000 (14:33 +0000)]
* ifcvt.c (if_convert): Call clear_aux_for_blocks.

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

22 years ago * trans.c (gigi): Fix non determinism leading to bootstrap
bosch [Sat, 27 Oct 2001 14:26:32 +0000 (14:26 +0000)]
* trans.c (gigi): Fix non determinism leading to bootstrap
comparison failures for debugging information.

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

22 years ago * gnat_rm.texi: Use @./@: where appropriate.
bosch [Sat, 27 Oct 2001 14:23:21 +0000 (14:23 +0000)]
* gnat_rm.texi: Use @./@: where appropriate.

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

22 years ago * decl2.c (validate_nonmember_using_decl): Handle NAMESPACE_DECL.
lerdsuwa [Sat, 27 Oct 2001 14:05:34 +0000 (14:05 +0000)]
* decl2.c (validate_nonmember_using_decl): Handle NAMESPACE_DECL.

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

22 years ago * cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
hubicka [Sat, 27 Oct 2001 10:17:44 +0000 (10:17 +0000)]
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps,
merge_blocks_move_successors_nojumps): Set BB_UPDATE_LIFE.
(merge_blocks): Properly udpate life after making edge nonfallthru.
* cfgrtl.c (merge_blocks_nomove): Update global_live_at_end.

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

22 years agoDaily bump.
gccadmin [Sat, 27 Oct 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago * java/util/zip/Adler32.java: Use correct class name. (Re-merge
tromey [Fri, 26 Oct 2001 22:01:03 +0000 (22:01 +0000)]
* java/util/zip/Adler32.java: Use correct class name.  (Re-merge
from Classpath.)

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

22 years ago * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
kazu [Fri, 26 Oct 2001 21:08:47 +0000 (21:08 +0000)]
* config/h8300/h8300.c (get_shift_alg): Remove redundant code.

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

22 years ago * c-typeck.c (convert_arguments): When comparing for enumeral
neil [Fri, 26 Oct 2001 20:49:48 +0000 (20:49 +0000)]
* c-typeck.c (convert_arguments): When comparing for enumeral
type equality, use TYPE_MAIN_VARIANT.
* gcc.dg/Wconversion.c: New tests.

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

22 years ago * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
bosch [Fri, 26 Oct 2001 18:49:37 +0000 (18:49 +0000)]
* sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.

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

22 years ago * s390/s390.c: Fix comment typos.
kazu [Fri, 26 Oct 2001 18:29:51 +0000 (18:29 +0000)]
* s390/s390.c: Fix comment typos.
* s390/s390.h: Likewise.
* s390/s390.md: Likewise.

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

22 years ago* tree-inline.c (WALK_SUBTREE_TAIL): New macro.
aoliva [Fri, 26 Oct 2001 18:27:13 +0000 (18:27 +0000)]
* tree-inline.c (WALK_SUBTREE_TAIL): New macro.
(walk_tree): Use it for tail calls where appropriate.

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

22 years ago* cse.c (check_for_label_ref): Don't require REG_LABEL notes for
aoliva [Fri, 26 Oct 2001 17:43:51 +0000 (17:43 +0000)]
* cse.c (check_for_label_ref): Don't require REG_LABEL notes for
non-local label_refs.

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

22 years ago * config/h8300/h8300.md (4 anonymous patterns): New.
kazu [Fri, 26 Oct 2001 17:09:33 +0000 (17:09 +0000)]
* config/h8300/h8300.md (4 anonymous patterns): New.

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

22 years ago * config/h8300/h8300.c (get_shift_alg): Clean up. Return the
kazu [Fri, 26 Oct 2001 17:06:27 +0000 (17:06 +0000)]
* config/h8300/h8300.c (get_shift_alg): Clean up.  Return the
algorithm through the shift_info structure.
(emit_a_shift): Update the use of get_shift_alg.

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

22 years ago * gmem.c (__gnat_gmem_read_next): Properly check for EOF
bosch [Fri, 26 Oct 2001 17:03:05 +0000 (17:03 +0000)]
* gmem.c (__gnat_gmem_read_next): Properly check for EOF

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

22 years ago * decl.c (validate_size): Modify message for bad size to avoid
bosch [Fri, 26 Oct 2001 16:59:34 +0000 (16:59 +0000)]
* decl.c (validate_size): Modify message for bad size to avoid
implication that compiler is modifying the size.

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

22 years ago * prj-util.adb: Minor reformatting. Fix bad header format.
bosch [Fri, 26 Oct 2001 16:52:22 +0000 (16:52 +0000)]
* prj-util.adb: Minor reformatting. Fix bad header format.

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

22 years ago * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.
bosch [Fri, 26 Oct 2001 16:44:45 +0000 (16:44 +0000)]
* sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup.

* sinfo.ads: Clarify use of Associated_Node (documentation only).

* sem_ch12.adb: Change Node4 to Associated_Node. Change
Associated_Node to Get_Associated_Node. Put use of Unchecked_Access
much more narrowly in places where needed. These are cleanups.

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

22 years ago * 5zosinte.ads (null_pthread): new constant.
bosch [Fri, 26 Oct 2001 16:09:47 +0000 (16:09 +0000)]
* 5zosinte.ads (null_pthread): new constant.

* 5ztaprop.adb:
(Initialize_TCB): Initialize thread ID to null, to be able to verify
 later that this field has been set.
(Finalize_TCB): ditto.
(Suspend_Task): Verify that the thread ID is not null before using it.
(Resume_Task): ditto.

* s-tasdeb.adb:
(Resume_All_Tasks): Lock the tasks list before using it.
(Suspend_All_Tasks): ditto.

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

22 years ago * decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
bosch [Fri, 26 Oct 2001 16:01:07 +0000 (16:01 +0000)]
* decl.c (gnat_to_gnu_entity, case E_General_Access_Type):
Make constant variant of designated type for Is_Access_Constant.
Call update_pointer_to with main variant.

* trans.c (process_freeze_entity, process_type):
Call update_pointer_to on main variant.

* utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE.
If main variant, update all other variants.

* utils2.c (build_unary_op, case INDIRECT_REF): No longer set
TREE_STATIC.

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

22 years ago * prj-util.adb: Minor reformatting
bosch [Fri, 26 Oct 2001 15:52:50 +0000 (15:52 +0000)]
* prj-util.adb: Minor reformatting

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

22 years ago * prj-util.adb: Minor reformatting
bosch [Fri, 26 Oct 2001 15:41:11 +0000 (15:41 +0000)]
* prj-util.adb: Minor reformatting

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

22 years ago * prj-attr.adb: Minor reformatting throughout
bosch [Fri, 26 Oct 2001 15:38:46 +0000 (15:38 +0000)]
* prj-attr.adb: Minor reformatting throughout

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

22 years ago * prj-attr.ads: Minor reformatting
bosch [Fri, 26 Oct 2001 15:34:07 +0000 (15:34 +0000)]
* prj-attr.ads: Minor reformatting
Add ??? comment (this whole spec has almost no comments)

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

22 years ago * g-os_lib.adb (Normalize_Pathname): Preserve the double slash
bosch [Fri, 26 Oct 2001 15:12:03 +0000 (15:12 +0000)]
* g-os_lib.adb (Normalize_Pathname): Preserve the double slash
        ("//") that precede the drive letter on Interix.

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

22 years ago2001-10-27 Daniel Berlin <dan@cgsoftware.com>
dberlin [Fri, 26 Oct 2001 14:43:47 +0000 (14:43 +0000)]
2001-10-27  Daniel Berlin  <dan@cgsoftware.com>

        * sched-rgn.c: Remove bitset typedef.
        Change bitset to sbitmap in prototypes / variable types.
        Remove bbset_size.
        Remove edgeset_bits.
        Remove edgeset_size.
        s/BITSET_ADD/SET_BIT/g
        s/BITSET_INVERT/sbitmap_ones/g
        s/BITSET_INTER/sbitmap_a_and_b/g
        s/BITSET_UNION/sbitmap_a_or_b/g
        s/BITSET_DIFFER/sbitmap_difference/g
        s/bitset_member/TEST_BIT/g
        (BITSET_*): Removed.
        (bitset_member): Removed.
        (extract_bitlst): Rewrite, now that we have sbitmaps, we can use
        EXECUTE_IF_SET_IN_SBITMAP.
        (split_edges): Rewrite, use sbitmap functions instead of bitset
        operations.
        (schedule_region): Allocate/free sbitmaps, rather than bitsets.

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

22 years ago * gnat_rm.texi: Add GNAT Reference Manual.
bosch [Fri, 26 Oct 2001 13:55:51 +0000 (13:55 +0000)]
* gnat_rm.texi: Add GNAT Reference Manual.

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

22 years ago * reload1.c (emit_input_reload_insns): Fix parens in last
schwab [Fri, 26 Oct 2001 13:01:37 +0000 (13:01 +0000)]
* reload1.c (emit_input_reload_insns): Fix parens in last
(undocumented) change that was supposed to change only whitespace.

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

22 years ago * cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.
kenner [Fri, 26 Oct 2001 11:16:09 +0000 (11:16 +0000)]
* cfgcleanup.c (BB_SET_FLAG, BB_CLEAR_FLAG): Add cast to avoid warning.

* local-alloc.c (update_equiv_regs): Don't make REG_EQUAL note for
ASM_OPERANDS.

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

22 years ago * flow.c (clear_log_links): Remove unused variable.
aj [Fri, 26 Oct 2001 09:20:01 +0000 (09:20 +0000)]
* flow.c (clear_log_links): Remove unused variable.
* cfgcleanup.c (cleanup_cfg): Likewise.

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

22 years ago* tree-inline.c (remap_decl): Don't copy size and size_unit here.
aoliva [Fri, 26 Oct 2001 08:05:08 +0000 (08:05 +0000)]
* tree-inline.c (remap_decl): Don't copy size and size_unit here.
(remap_save_expr): Map a remapped SAVE_EXPR to error_mark_node.

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

22 years ago * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
rth [Fri, 26 Oct 2001 08:01:13 +0000 (08:01 +0000)]
    * config/alpha/alpha.h (enum reg_class): Add R24_REG, R25_REG;
        rename PV_REG to R27_REG.
        (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
        (REG_CLASS_FROM_LETTER): Update.
        (PREFERRED_RELOAD_CLASS): Don't widen a reg class.
        * config/alpha/alpha.md (divsi3): Don't hard-code r24, r25, r27.
        (udivsi3, modsi3, umodsi3): Likewise.
        (divdi3, udivdi3, moddi3, umoddi3): Likewise.

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

22 years ago * cfg.c (clear_aux_for_blocks): Split out of ...
rth [Fri, 26 Oct 2001 07:49:34 +0000 (07:49 +0000)]
    * cfg.c (clear_aux_for_blocks): Split out of ...
        (free_aux_for_blocks): here.
        (clear_aux_for_edges): Split from ...
        (free_aux_for_edges): here.
        * basic-block.h: Declare them.
        * lcm.c (compute_antinout_edge): Use them.
        (compute_laterin, compute_available, compute_nearerout): Likewise.
        (optimize_mode_switching): Likewise.

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

22 years ago * Makefile.in (unstage*): Remove as, ld, collect-ld before
rth [Fri, 26 Oct 2001 07:24:34 +0000 (07:24 +0000)]
    * Makefile.in (unstage*): Remove as, ld, collect-ld before
        moving everything back to the main build directory.

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

22 years ago2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 26 Oct 2001 07:21:56 +0000 (07:21 +0000)]
2001-10-26  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/4503
* config/locale/codecvt_specializations_ieee_1003.1-200x.h
(__enc_traits::~__enc_traits): Fix.
(__enc_traits::_M_init): Add error checking.

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

22 years agoDaily bump.
gccadmin [Fri, 26 Oct 2001 07:16:20 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 26 Oct 2001 06:23:47 +0000 (06:23 +0000)]
2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/4542
* include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.

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

22 years ago2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 26 Oct 2001 05:32:06 +0000 (05:32 +0000)]
2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/4545
* include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
exceptions.
* include/bits/istream.tcc (istream::operator>>(streambuf*): Make
consistent, where possible.
* include/bits/streambuf.tcc: Tweak.

2001-10-25  Brendan Kehoe  <brendan@zen.org>

libstdc++/4536
* bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
  * bits/istream.tcc (seekg): Likewise.

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

22 years agoOops!
bryce [Fri, 26 Oct 2001 04:27:58 +0000 (04:27 +0000)]
Oops!

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

22 years ago* config/i386/cygwin.h: Search target specfic include directory, if
cgf [Fri, 26 Oct 2001 04:16:23 +0000 (04:16 +0000)]
* config/i386/cygwin.h: Search target specfic include directory, if
appropriate.

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

22 years ago2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 26 Oct 2001 02:13:31 +0000 (02:13 +0000)]
2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
    Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
    Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

* config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
__s390x__ only.
* include/bits/std_limits.h: Fix wchar_t issues.
* config/os/aix/bits/os_defines.h: Fix.

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

22 years ago * expr.c (expand_java_field_op): Don't special-case references to
bryce [Fri, 26 Oct 2001 01:53:56 +0000 (01:53 +0000)]
* expr.c (expand_java_field_op): Don't special-case references to
java.lang.PRIMTYPE.TYPE.
(build_primtype_type_ref): Removed.
* java-tree.h (build_primtype_type_ref): Remove prototype.
* parse.y (maybe_build_primttype_type_ref): Removed.
(complete_function_arguments): Don't special-case references to
java.lang.PRIMTYPE.TYPE.
(patch_assignment): Likewise.
(array_constructor_check_entry): Likewise.

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

22 years ago * java/lang/VMClassLoader.java (getPrimitiveClass): Now native. Now
bryce [Fri, 26 Oct 2001 01:51:04 +0000 (01:51 +0000)]
* java/lang/VMClassLoader.java (getPrimitiveClass): Now native. Now
takes a jchar type-code argument, not a string.
* java/lang/natClassLoader.cc (VMClassLoader::getPrimitiveClass):
New method. Just call _Jv_FindClassFromSignature.
* java/lang/Boolean.java (TYPE): Initialize from
VMClassLoader.getPrimitiveClass using type-code.
* java/lang/Character.java (TYPE): Likewise.
* java/lang/Double.java (TYPE): Likewise.
* java/lang/Float.java (TYPE): Likewise.
* java/lang/Integer.java (TYPE): Likewise.
* java/lang/Long.java (TYPE): Likewise.
* java/lang/Short.java (TYPE): Likewise.
* java/lang/Void.java (TYPE): Likewise.

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

22 years ago * dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
ghazi [Fri, 26 Oct 2001 01:51:01 +0000 (01:51 +0000)]
* dwarf2out.c (PTR_SIZE, default_eh_frame_section): Move outside
of macro guards. Fix #endif comment.

* output.h (default_exception_section, default_eh_frame_section):
Move prototypes outside of macro guard.

* crtstuff.c: Fix #endif comment.

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

22 years ago * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
bosch [Fri, 26 Oct 2001 01:46:11 +0000 (01:46 +0000)]
* sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
        is Error. Similar change for other renaming cases.

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

22 years ago * s-atacco.ads: Add pragma Inline_Always for functions.
bosch [Fri, 26 Oct 2001 01:41:17 +0000 (01:41 +0000)]
* s-atacco.ads: Add pragma Inline_Always for functions.
Fix header format. Add copyright 2001

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

22 years ago * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
bosch [Fri, 26 Oct 2001 01:34:58 +0000 (01:34 +0000)]
* par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
        return Error rather than Empty so that analysis can proceed.

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

22 years ago * sem_util.adb (Enter_Name): better handling of cascaded error
bosch [Fri, 26 Oct 2001 01:29:47 +0000 (01:29 +0000)]
* sem_util.adb (Enter_Name): better handling of cascaded error
        messages when a unit appears in its own context.

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

22 years ago * sem_util.adb (Defining_Entity): in case of error, attach created
bosch [Fri, 26 Oct 2001 01:26:05 +0000 (01:26 +0000)]
* sem_util.adb (Defining_Entity): in case of error, attach created
        entity to specification, so that semantic analysis can proceed.

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

22 years ago * sem_util.adb
bosch [Fri, 26 Oct 2001 01:18:58 +0000 (01:18 +0000)]
* sem_util.adb
        (Defining_Entity): Deal with Error.
(Process_End_Label): Deal with bad end label for.

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

22 years ago * sem_elab.adb (Check_A_Call): refine message when call is in an
bosch [Fri, 26 Oct 2001 01:12:44 +0000 (01:12 +0000)]
* sem_elab.adb (Check_A_Call): refine message when call is in an
instance but callee is not declared in the generic unit.

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

22 years ago * sem_elab.adb (Check_A_Call): check for renaming before finding the
bosch [Fri, 26 Oct 2001 01:07:23 +0000 (01:07 +0000)]
* sem_elab.adb (Check_A_Call): check for renaming before finding the
enclosing unit, which may already be different from the calling unit.

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

22 years ago * 4gintnam.ads: fix header format.
bosch [Fri, 26 Oct 2001 00:50:40 +0000 (00:50 +0000)]
* 4gintnam.ads: fix header format.

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

22 years ago * sem_res.adb (Resolve_Call): if the call is actually an indexing
bosch [Fri, 26 Oct 2001 00:47:09 +0000 (00:47 +0000)]
* sem_res.adb (Resolve_Call): if the call is actually an indexing
        operation on the result of a parameterless call, perform elaboration
        check after the node has been properly rewritten.

* sem_ch12.adb (Copy_Generic_Node): after the proper body has been
        inlined within the generic tree, the defining identifier is not a
        compilation_unit.

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

22 years ago * sem_res.adb (Resolve): special-case resolution of Null in an
bosch [Fri, 26 Oct 2001 00:34:46 +0000 (00:34 +0000)]
* sem_res.adb (Resolve): special-case resolution of Null in an
         instance or an inlined body to avoid view conflicts.

* sem_ch12.adb (Copy_Generic_Node): for allocators, check for view
         compatibility by retrieving the access type of the generic copy.

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

22 years ago * sem_ch3.adb:
bosch [Fri, 26 Oct 2001 00:28:10 +0000 (00:28 +0000)]
* sem_ch3.adb:
(Analyze_Number_Declaration): Handle error expression.
(Signed_Integer_Type_Declaration): Handle error bound.
(Analyze_Subtype_Indication): Handle error range.

* sem_util.adb (Get_Index_Bounds): Check for Error.

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

22 years ago * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
bosch [Thu, 25 Oct 2001 23:53:04 +0000 (23:53 +0000)]
* restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
in no run time mode.

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

22 years ago * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
bosch [Thu, 25 Oct 2001 23:49:27 +0000 (23:49 +0000)]
* gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet
        mode case for ALLOC case.

* gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on
        all platforms. Improvement of last change.

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

22 years ago * exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
bosch [Thu, 25 Oct 2001 23:43:49 +0000 (23:43 +0000)]
* exp_ch4.adb (Expand_N_Allocator): Minor reformatting.

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

22 years ago * osint.adb (Is_Relative): Remove duplicate.
bosch [Thu, 25 Oct 2001 23:38:15 +0000 (23:38 +0000)]
* osint.adb (Is_Relative): Remove duplicate.

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

22 years ago * osint.adb (Read_Default_Search_Dirs): correctly detect relative
bosch [Thu, 25 Oct 2001 23:23:44 +0000 (23:23 +0000)]
* osint.adb (Read_Default_Search_Dirs): correctly detect relative
        pathnames in UNIX and DOS style with drive letter.
(Is_Relative): new routine.

* osint.adb: Minor reformatting

* osint.adb (Is_Relative): implementation using
        GNAT.OS_Lib.Is_Absolute_Path. Better fix for 8121-009.

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

22 years ago * g-dirope.adb (Basename): correctly compute offset between the
bosch [Thu, 25 Oct 2001 23:12:24 +0000 (23:12 +0000)]
* g-dirope.adb (Basename): correctly compute offset between the
        original Path and the translated one.

* g-dirope.adb: (Base_Name): add some comments.

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

22 years ago * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
bosch [Thu, 25 Oct 2001 23:03:11 +0000 (23:03 +0000)]
* exp_imgv.adb (Expand_Image_Attribute): Defend against bad use
        in HIE mode, avoids compilation abandoned message

* exp_imgv.adb: Correct typo in previous change

* exp_imgv.adb: Correct typo in previous change (not my day!)

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

22 years ago2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 25 Oct 2001 22:56:07 +0000 (22:56 +0000)]
2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (collate::do_transform): Fix.

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

22 years ago * s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
bosch [Thu, 25 Oct 2001 22:51:49 +0000 (22:51 +0000)]
* s-tpinop.ads: Add 2001 to copyright notice. Fix header format.

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

22 years ago2001-10-24 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 25 Oct 2001 21:37:44 +0000 (21:37 +0000)]
2001-10-24  Alexandre Petit-Bianco  <apbianco@redhat.com>

* mangle.c (static tree compression_table): Fixed leading comment.
* parse.h (struct parser_ctxt): Fixed field comment.
* parse.y (check_pkg_class_access): New prototype, fixed leading
comment, new parameter used to emit error only if passed as true.
(parse_check_super): Pass extra argument to check_pkg_class_access.
(do_resolve_class): Likewise.
(process_imports): Likewise.
(read_import_dir): Fixed indentation.
(find_in_imports_on_demand): New local class_type_name. Local
node_to_use deleted. while loop changed into for loop. Report
multiple definition only for accessible classes. Improved error
message.
(start_complete_expand_method): Local `ptr' removed. DECL_ARGUMENTS
assigned to parameter list, fixed indentation. while loop changed
into for loop, restore TREE_CHAIN on local `tem' before the next
iteration.

( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg01323.html )

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

22 years ago2001-10-25 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 25 Oct 2001 21:17:34 +0000 (21:17 +0000)]
2001-10-25  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/documentation.html:  Fix typo.

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

22 years ago2001-10-04 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 25 Oct 2001 21:13:18 +0000 (21:13 +0000)]
2001-10-04  Alexandre Petit-Bianco  <apbianco@redhat.com>

* libjava.lang/PR3096.java: New file.
* libjava.lang/PR3096.out: Likewise.

( http://gcc.gnu.org/ml/java-patches/2001-q4/msg00165.html )

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

22 years ago * g-awk.ads: Move all pragma inlines next to the routine
bosch [Thu, 25 Oct 2001 19:56:43 +0000 (19:56 +0000)]
* g-awk.ads: Move all pragma inlines next to the routine
 declarations. This is more uniform with other GNAT spec.

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

22 years ago * doc/md.texi (movMM): Clarify semantics of storing into a
law [Thu, 25 Oct 2001 18:25:08 +0000 (18:25 +0000)]
    * doc/md.texi (movMM): Clarify semantics of storing into a
        non-paradoxical SUBREG.

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

22 years ago * langhooks.c (lang_hook_default_clear_binding_stack): New.
zack [Thu, 25 Oct 2001 17:57:03 +0000 (17:57 +0000)]
* langhooks.c (lang_hook_default_clear_binding_stack): New.
(lang_hook_default_get_alias_set): Move next to other alias
hooks.
* langhooks.h: Prototype lang_hook_default_clear_binding_stack.
(LANG_HOOKS_CLEAR_BINDING_STACK): New macro.
(LANG_HOOKS_INITIALIZER): Add it.
* toplev.h (struct lang_hooks): Add clear_binding_stack.
* toplev.c (compile_file):  Call lang_hooks.clear_binding_stack
instead of a loop calling poplevel.
cp:
* cp-lang.c: Redefine LANG_HOOKS_CLEAR_BINDING_STACK to
pop_everything.

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

22 years ago * gcc.misc-tests/msgs.exp: Delete.
zack [Thu, 25 Oct 2001 17:38:14 +0000 (17:38 +0000)]
* gcc.misc-tests/msgs.exp: Delete.
* gcc.misc-tests/m-un-1.c: Move to gcc.dg.
* gcc.misc-tests/m-un-2.c: Move to gcc.dg.  Update expected
error set to match recent changes.

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

22 years ago * include/boehm-gc.h: Call thread local allocation functions
hboehm [Thu, 25 Oct 2001 17:29:41 +0000 (17:29 +0000)]
* include/boehm-gc.h: Call thread local allocation functions
if THREAD_LOCAL_ALLOC is defined.

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

22 years agoReplace occurrences of #elif with #if...#endif.
nickc [Thu, 25 Oct 2001 13:20:59 +0000 (13:20 +0000)]
Replace occurrences of #elif with #if...#endif.

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

22 years ago * cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.
ghazi [Thu, 25 Oct 2001 13:08:45 +0000 (13:08 +0000)]
* cris.h (EH_RETURN_DATA_REGNO): Fix unsigned>=0 warning.

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

22 years ago * alias.c (can_address_p): No longer static.
kenner [Thu, 25 Oct 2001 12:55:16 +0000 (12:55 +0000)]
* alias.c (can_address_p): No longer static.
* emit-rtl.c (get_mem_attrs): New parameter, MODE; all callers changed.
Return 0 if all parameters are default values.
(set_mem_attributes): Set MEM_KEEP_ALIAS_SET_P.
(adjust_address_1): Try harder to compute a size.
* expr.c (expand_assignment, store_constructor): If can't address,
set MEM_KEEP_ALIAS_SET_P.
(store_constructor_field): Don't change set if MEM_KEEP_ALIAS_SET_P.
(store_field): Likewise.
(store_constructor): Simplify call to store_constructor_field.
* expr.h (can_address_p): New declaration.
* gensupport.c (gen_rtx_CONST_INT): New function.
* rtl.h (MEM_KEEP_ALIAS_SET_P): New macro.
(MEM_SIZE): Get size from mode, if not set and not BLKmode.
(MEM_COPY_ATTRIBUTES): Copy MEM_KEEP_ALIAS_SET_P.

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

22 years ago * stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.
kenner [Thu, 25 Oct 2001 12:42:15 +0000 (12:42 +0000)]
* stmt.c (expand_end_case): Remove orig_minval and use tree_low_cst.

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

22 years agoRestore ChangeLog entries which vanished with last commit.
jakub [Thu, 25 Oct 2001 08:40:40 +0000 (08:40 +0000)]
Restore ChangeLog entries which vanished with last commit.

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

22 years agoDaily bump.
gccadmin [Thu, 25 Oct 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.

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

22 years agoDaily bump.
gccadmin [Thu, 25 Oct 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

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

22 years ago2001-10-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
bryce [Thu, 25 Oct 2001 03:15:37 +0000 (03:15 +0000)]
2001-10-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault): Use
snprintf, not asprintf.

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

22 years ago* config/i386/cygwin.h: Use proper path for mingw crt files when -mno-cygwin.
cgf [Thu, 25 Oct 2001 03:14:05 +0000 (03:14 +0000)]
* config/i386/cygwin.h: Use proper path for mingw crt files when -mno-cygwin.

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

22 years ago * dwarf2out.c (file_info_cmp): Always return consistent results.
kenner [Wed, 24 Oct 2001 22:44:47 +0000 (22:44 +0000)]
* dwarf2out.c (file_info_cmp): Always return consistent results.

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

22 years ago * doc/gcc.texi (G++ and GCC): Mention Ada front end.
bosch [Wed, 24 Oct 2001 22:31:17 +0000 (22:31 +0000)]
* doc/gcc.texi (G++ and GCC): Mention Ada front end.
(Standards): Refer to GNAT Reference Manual.

* doc/install.texi (Configuration): Mention Ada front end.
(Building): Add build instructions for the Ada front end.

* doc/invoke.texi (Overall Options): Document Ada file types.
Add "ada" to "-x LANGUAGE" option parameters.

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

22 years ago * stmt.c (expand_end_case): Index jumptables from zero for
rth [Wed, 24 Oct 2001 22:11:40 +0000 (22:11 +0000)]
    * stmt.c (expand_end_case): Index jumptables from zero for
        suitably small values of minval.

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

22 years agoCorrect date.
ljrittle [Wed, 24 Oct 2001 22:03:30 +0000 (22:03 +0000)]
Correct date.

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

22 years ago * configure.in (case $THREADS): Add *-*-freebsd* configuration.
ljrittle [Wed, 24 Oct 2001 21:57:08 +0000 (21:57 +0000)]
* configure.in (case $THREADS): Add *-*-freebsd* configuration.
(HAVE_GETHOSTBYADDR_R): Create a valid, non-optimal
configuration when gethostbyaddr_r exists yet no prototype
exists in netdb.h.
* configure: Rebuilt.
* posix-threads.cc (INTR): Reuse path for LINUX_THREADS
with FREEBSD_THREADS.  However, comment different reason.

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

22 years ago * stor-layout.c (place_union_field): If any field was aligned with
jakub [Wed, 24 Oct 2001 21:47:23 +0000 (21:47 +0000)]
* stor-layout.c (place_union_field): If any field was aligned with
attribute aligned, set record type's TYPE_USER_ALIGN.
(place_field): Likewise.
(finalize_record_size): Don't clear TYPE_USER_ALIGN.
(layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.

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

22 years ago2001-10-24 Tom Tromey <tromey@redhat.com>
tromey [Wed, 24 Oct 2001 21:39:24 +0000 (21:39 +0000)]
2001-10-24  Tom Tromey  <tromey@redhat.com>
            Warren Levy  <warrenl@redhat.com>

* Makefile.in: Rebuilt.
* Makefile.am (javax_source_files): New macro.
(ordinary_java_source_files): Added javax_source_files.
(libgcj.jar): Search javax for class files.
* javax/naming/LinkException.java (toString): Wrote.
(toString(boolean)): Likewise.
* javax/naming/ldap/InitialLdapContext.java: New file.
* javax/naming/directory/InitialDirContext.java: Wrote.
* javax/naming/spi/NamingManager.java (getPlusPath): Now has
package-private protection.
(getURLContext): Likewise.
(NamingManager): Likewise.
* javax/naming/spi/DirectoryManager.java: New file.
* javax/naming/directory/BasicAttributes.java: New file.
* javax/naming/directory/BasicAttribute.java: New file.
* javax/naming/spi/ResolveResult.java
(ResolveResult(Object,String)): Wrote.
(appendRemainingName): Uncommented body.
(appendRemainingComponent): Likewise.
* javax/naming/ldap/ControlFactory.java: New file.
* javax/naming/directory/AttributeModificationException.java
(toString): Wrote.
* javax/naming/spi/NamingManager.java (NamingManager): New
constructor.
(setInitialContextFactoryBuilder): Wrote.
(getInitialContext): Look in system properties for class name as
well.  Use Class.forName().
(getURLContext): Wrote.
(ofb): New field.
(setObjectFactoryBuilder): Wrote.
(getObjectInstance): Wrote.
(getContinuationContext): Wrote.
(getPlusPath): New private method.
(getStateToBind): Wrote.
* javax/naming/CannotProceedException.java: Added missing methods &
fields.
* javax/naming/LinkException.java: Added missing methods & fields.
* javax/naming/ReferralException.java (ReferralException): Made
constructor protected per spec.
Added missing abstract methods.
* javax/naming/directory/Attribute.java: Updated copyright.
* javax/naming/directory/AttributeModificationException.java: Ditto.
* javax/naming/directory/Attributes.java: Ditto.
* javax/naming/directory/DirContext.java: Ditto.
* javax/naming/spi/NamingManager.java: Ditto.
* javax/naming/spi/ResolveResult.java: Added comment.
* javax/naming/directory/Attribute.java: Added missing interface
methods.
* javax/naming/directory/AttributeModificationException.java:
Added missing methods & fields.
* javax/naming/directory/directory/Attributes.java: Added missing
interface methods.
* javax/naming/directory/SearchControls.java: Maded serialized fields
private.
* javax/naming/event/NamingEvent.java: Added comment.
* javax/naming/event/NamingExceptionEvent.java: Maded serialized field
private.
* javax/naming/ldap/UnsolicitedNotificationEvent.java: Maded
serialized field private.
* javax/naming/spi/NamingManager.java: Added missing field and stubbed
missing methods.
* javax/naming/directory/DirContext.java: Added missing interface
fields & methods.
* javax/naming/directory/InitialDirContext.java: Stubbed missing
methods.
* javax/naming/directory/ModificationItem.java: New class.
* javax/naming/directory/SearchResult.java: New class.
* javax/naming/directory/SearchControls.java: New class.
* javax/naming/event/EventContext.java: New class.
* javax/naming/event/EventDirContext.java: New class.
* javax/naming/event/NamespaceChangeListener.java: New class.
* javax/naming/event/NamingEvent.java: New class.
* javax/naming/event/NamingExceptionEvent.java: New class.
* javax/naming/event/NamingListener.java: New class.
* javax/naming/event/ObjectChangeListener.java: New class.
* javax/naming/ldap/Control.java: New class.
* javax/naming/ldap/ExtendedRequest.java: New class.
* javax/naming/ldap/ExtendedResponse.java: New class.
* javax/naming/ldap/HasControls.java: New class.
* javax/naming/ldap/LdapContext.java: New class.
* javax/naming/ldap/LdapReferralException.java: New class.
* javax/naming/ldap/UnsolicitedNotification.java: New class.
* javax/naming/ldap/UnsolicitedNotificationEvent.java: New class.
* javax/naming/ldap/UnsolicitedNotificationListener.java: New class.
* javax/naming/spi/DirObjectFactory.java: New class.
* javax/naming/spi/DirStateFactory.java: New class.
* javax/naming/spi/ObjectFactoryBuilder.java: New class.
* javax/naming/spi/ResolveResult.java: New class.
* javax/naming/spi/Resolver.java: New class.
* javax/naming/spi/StateFactory.java: New class.
* javax/naming/spi/ObjectFactory.java: Made an interface per spec.
* java/rmi/RemoteException.java: New class.
* javax/transaction/HeuristicCommitException.java: New class.
* javax/transaction/HeuristicMixedException.java: New class.
* javax/transaction/HeuristicRollbackException.java: New class.
* javax/transaction/NotSupportedException.java: New class.
* javax/transaction/RollbackException.java: New class.
* javax/transaction/Status.java: New class.
* javax/transaction/Synchronization.java: New class.
* javax/transaction/SystemException.java: New class.
* javax/transaction/Transaction.java: New class.
* javax/transaction/TransactionManager.java: New class.
* javax/transaction/UserTransaction.java: New class.
* javax/transaction/xa/XAException.java: Added public static fields.
* javax/transaction/xa/XAResource.java: New class.
* javax/transaction/xa/Xid.java: New class.
* javax/naming/CompoundName.java (CompoundName(String)): Reverse
elements if required.  Handle case where quote is at end of
string.
* javax/naming/CompoundName.java (CompoundName(String)): Handle
text left at end of parsing.
(toString): Handle empty element at beginning.
* javax/naming/CompositeName.java (toString): Handle empty element
at beginning.
(CompositeName(String)): Handle text left at end of parsing.
Correctly compute boundary condition for quoting.
* javax/naming/CompoundName.java: New file.
* javax/naming/CompositeName.java: New file.
* javax/naming/Binding.java: New file.
* javax/naming/LinkRef.java: New file.
* javax/naming/NameClassPair.java: New file.
* javax/naming/Reference.java (addrs, classFactory,
classFactoryLocation): New fields.
(className): Now protected.
(Reference): New constructors.
(add): Now public.  Implemented.
(get(String)): Likewise.
(add(int,RefAddr)): New method.
(clear): Likewise.
(clone): Likewise.
(equals): Likewise.
(get(int)): Likewise.
(getAll): Likewise.
(getFactoryClassLocation): Likewise.
(getFactoryClassName): Likewise.
(hashCode): Likewise.
(remove): Likewise.
(size): Likewise.
(toString): Likewise.
* javax/transaction/xa/XAException.java: New file.
* javax/transaction/TransactionRolledbackException.java: New file.
* javax/transaction/TransactionRequiredException.java: New file.
* javax/transaction/InvalidTransactionException.java: New file.
* javax/naming/directory/SchemaViolationException.java: Use
correct package.  Import NamingException.
* javax/naming/directory/NoSuchAttributeException.java,
javax/naming/directory/InvalidSearchFilterException.java,
javax/naming/directory/InvalidSearchControlsException.java,
javax/naming/directory/InvalidAttributesException.java,
javax/naming/directory/InvalidAttributeValueException.java,
javax/naming/directory/InvalidAttributeIdentifierException.java,
javax/naming/directory/AttributeModificationException.java,
javax/naming/directory/AttributeInUseException.java: Likewise.
* javax/naming/directory/InitialDirContext.java (getAttributes):
Stub implementation.
* javax/naming/RefAddr.java (RefAddr): Reindented.
(equals): Renamed and reindented.
* javax/naming/BinaryRefAddr.java (equals): Renamed and
reindented.

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