Toon Moene [Mon, 29 Oct 2001 17:41:16 +0000 (18:41 +0100)]
news.texi: Document new ability to compile programs with arrays larger than 512 Mbyte on...
2001-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Document new ability to compile programs with
arrays larger than 512 Mbyte on 32-bit targets.
From-SVN: r46608
Richard Kenner [Mon, 29 Oct 2001 14:34:18 +0000 (14:34 +0000)]
* Makefile.in (OBJS): Put all files in alphabetical order.
From-SVN: r46607
Richard Kenner [Mon, 29 Oct 2001 12:24:17 +0000 (12:24 +0000)]
dwarf2out.c (add_const_value_attribute): Fix error in last change.
* dwarf2out.c (add_const_value_attribute): Fix error in last
change.
From-SVN: r46606
Jan Hubicka [Mon, 29 Oct 2001 11:45:45 +0000 (12:45 +0100)]
basic-block.h (purge_all_dead_edges): Add update_life_p argument.
* basic-block.h (purge_all_dead_edges): Add update_life_p argument.
* cfgcleanup.c (merge_blocks): Update the life flag after merging;
fix warning.
* cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
(life_analysis): call purge_all_dead_edges after deleting noops.
(delete_noop_move): Do not purge CFG.
* toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
From-SVN: r46605
GCC Administrator [Mon, 29 Oct 2001 08:16:23 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46602
Joseph Myers [Mon, 29 Oct 2001 01:30:31 +0000 (01:30 +0000)]
* update_web_docs: Generate libiberty and gnat-style manuals.
From-SVN: r46601
David Edelsohn [Sun, 28 Oct 2001 21:45:46 +0000 (21:45 +0000)]
aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
* config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
(ASM_GLOBALIZE_LABEL): Use assemble_name.
(ASM_OUTPUT_COMMON): Likewise.
* config/rs6000/rs6000.c (print_operand): Use assemble_name.
(rs6000_output_function_epilogue): Likewise.
(output_mi_thunk): Fix typo.
(rs6000_output_symbol_ref): Use assemble_name.
(output_toc): Likewise.
* config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
* config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
assemble_name calls STRIP_NAME_ENCODING.
(ASM_OUTPUT_LABEL): Use assemble_name.
(ASM_GLOBALIZE_LABEL): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
(ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
(ASM_OUTPUT_LOCAL): Likewise.
From-SVN: r46600
Richard Kenner [Sun, 28 Oct 2001 20:42:29 +0000 (20:42 +0000)]
builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
* builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
(expand_builtin_apply, expand_builtin_return): Likewise.
(expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
From-SVN: r46598
Joseph Myers [Sun, 28 Oct 2001 20:09:17 +0000 (20:09 +0000)]
ChangeLog.0, [...]: Fix spelling errors.
* ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
configure, configure.in, except.c, except.h, flow.c, function.c,
gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
unroll.c: Fix spelling errors.
From-SVN: r46595
Joseph Myers [Sun, 28 Oct 2001 19:25:00 +0000 (19:25 +0000)]
ChangeLog.1, [...]: Fix spelling errors.
* ChangeLog.1, ChangeLog.2, ChangeLog, class.c, decl2.c, search.c,
semantics.c, spew.c: Fix spelling errors.
From-SVN: r46593
Joseph Myers [Sun, 28 Oct 2001 19:12:12 +0000 (19:12 +0000)]
* doc/extend.texi, doc/invoke.texi: Fix spelling.
From-SVN: r46591
Joseph Myers [Sun, 28 Oct 2001 18:59:25 +0000 (18:59 +0000)]
* doc/gcc.texi: Document use of "dependent" and American spelling.
From-SVN: r46589
Jan Hubicka [Sun, 28 Oct 2001 16:10:12 +0000 (17:10 +0100)]
expr.c (emit_group_load): Support CONCATs by storing them to memory and reloading.
* expr.c (emit_group_load): Support CONCATs by storing them to memory
and reloading.
From-SVN: r46586
Richard Kenner [Sun, 28 Oct 2001 16:06:17 +0000 (16:06 +0000)]
* expr.c (store_constructor_field): Only call adjust_address on MEM.
From-SVN: r46585
Jan Hubicka [Sun, 28 Oct 2001 16:00:22 +0000 (17:00 +0100)]
genrecog.c (write_switch): Output if before switch for DT_elt_zero_wide_safe.
* genrecog.c (write_switch): Output if before switch for
DT_elt_zero_wide_safe.
From-SVN: r46584
Kaveh R. Ghazi [Sun, 28 Oct 2001 14:01:20 +0000 (14:01 +0000)]
Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
* Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
* i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
(FUNCTION_PROFILER): Const-ify.
* halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
(eliminate_constant_term, assemble_name, output_addr_const):
Remove declarations.
(ptr_half_pic_address_p, half_pic_hash): Prototype.
(all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
* halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
(half_pic_declare, half_pic_external): Const-ify.
* toplev.c: Include "halfpic.h".
From-SVN: r46583
Joseph Myers [Sun, 28 Oct 2001 13:22:02 +0000 (13:22 +0000)]
alpha.md, [...]: Fix spelling errors.
* 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.
From-SVN: r46582
Joseph Myers [Sun, 28 Oct 2001 12:56:08 +0000 (12:56 +0000)]
86numaux.adb, [...]: Fix spelling errors.
* 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.
From-SVN: r46581
Joseph Myers [Sun, 28 Oct 2001 12:42:06 +0000 (12:42 +0000)]
ChangeLog.0, [...]: Fix spelling errors.
* 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.
From-SVN: r46580
Joseph Myers [Sun, 28 Oct 2001 12:08:43 +0000 (12:08 +0000)]
* ChangeLog, configure: Fix spelling errors.
From-SVN: r46579
GCC Administrator [Sun, 28 Oct 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r46575
Richard 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.
From-SVN: r46574
Richard Kenner [Sun, 28 Oct 2001 02:30:03 +0000 (02:30 +0000)]
dwarf2out.c (reg_number): Abort if pseudo.
* 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.
From-SVN: r46573
Richard Kenner [Sat, 27 Oct 2001 22:41:00 +0000 (22:41 +0000)]
mips-protos.h: Break up long lines.
* 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.
From-SVN: r46572
Richard Kenner [Sat, 27 Oct 2001 21:30:46 +0000 (21:30 +0000)]
expr.c (stor_constructor_field): Always call adjust_address.
* 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.
From-SVN: r46571
Tom Tromey [Sat, 27 Oct 2001 18:24:51 +0000 (18:24 +0000)]
jni.h (struct JNINativeInterface): Returns jsize, not jint.
* include/jni.h (struct JNINativeInterface) [GetStringLength]:
Returns jsize, not jint.
From-SVN: r46569
Jan Hubicka [Sat, 27 Oct 2001 14:33:12 +0000 (16:33 +0200)]
* ifcvt.c (if_convert): Call clear_aux_for_blocks.
From-SVN: r46568
Laurent Guerby [Sat, 27 Oct 2001 14:26:32 +0000 (14:26 +0000)]
trans.c (gigi): Fix non determinism leading to bootstrap comparison failures for debugging...
* trans.c (gigi): Fix non determinism leading to bootstrap
comparison failures for debugging information.
From-SVN: r46567
Florian Weimer [Sat, 27 Oct 2001 14:23:21 +0000 (16:23 +0200)]
* gnat_rm.texi: Use @./@: where appropriate.
From-SVN: r46566
Kriang Lerdsuwanakij [Sat, 27 Oct 2001 14:05:34 +0000 (14:05 +0000)]
* decl2.c (validate_nonmember_using_decl): Handle NAMESPACE_DECL.
From-SVN: r46565
Jan Hubicka [Sat, 27 Oct 2001 10:17:44 +0000 (12:17 +0200)]
cfgcleanup.c (merge_blocks_move_predecessor_nojumps, [...]): Set BB_UPDATE_LIFE.
* 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.
From-SVN: r46564
GCC Administrator [Sat, 27 Oct 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r46563
Tom Tromey [Fri, 26 Oct 2001 22:01:03 +0000 (22:01 +0000)]
Adler32.java: Use correct class name.
* java/util/zip/Adler32.java: Use correct class name. (Re-merge
from Classpath.)
From-SVN: r46561
Kazu Hirata [Fri, 26 Oct 2001 21:08:47 +0000 (21:08 +0000)]
* config/h8300/h8300.c (get_shift_alg): Remove redundant code.
From-SVN: r46560
Neil Booth [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.
* c-typeck.c (convert_arguments): When comparing for enumeral
type equality, use TYPE_MAIN_VARIANT.
* gcc.dg/Wconversion.c: New tests.
From-SVN: r46559
Robert Dewar [Fri, 26 Oct 2001 18:49:37 +0000 (18:49 +0000)]
* sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
From-SVN: r46558
Kazu Hirata [Fri, 26 Oct 2001 18:29:51 +0000 (18:29 +0000)]
s390.c: Fix comment typos.
* s390/s390.c: Fix comment typos.
* s390/s390.h: Likewise.
* s390/s390.md: Likewise.
From-SVN: r46557
Alexandre Oliva [Fri, 26 Oct 2001 18:27:13 +0000 (18:27 +0000)]
tree-inline.c (WALK_SUBTREE_TAIL): New macro.
* tree-inline.c (WALK_SUBTREE_TAIL): New macro.
(walk_tree): Use it for tail calls where appropriate.
From-SVN: r46556
Alexandre Oliva [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.
* cse.c (check_for_label_ref): Don't require REG_LABEL notes for
non-local label_refs.
From-SVN: r46555
Kazu Hirata [Fri, 26 Oct 2001 17:09:33 +0000 (17:09 +0000)]
* config/h8300/h8300.md (4 anonymous patterns): New.
From-SVN: r46554
Kazu Hirata [Fri, 26 Oct 2001 17:06:27 +0000 (17:06 +0000)]
h8300.c (get_shift_alg): Clean up.
* 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.
From-SVN: r46553
Richard Kenner [Fri, 26 Oct 2001 17:03:05 +0000 (17:03 +0000)]
* gmem.c (__gnat_gmem_read_next): Properly check for EOF
From-SVN: r46552
Richard Kenner [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...
* decl.c (validate_size): Modify message for bad size to avoid
implication that compiler is modifying the size.
From-SVN: r46551
Robert Dewar [Fri, 26 Oct 2001 16:52:22 +0000 (16:52 +0000)]
* prj-util.adb: Minor reformatting. Fix bad header format.
From-SVN: r46550
Robert Dewar [Fri, 26 Oct 2001 16:44:45 +0000 (16:44 +0000)]
sinfo.ads: Define Associated_Node to overlap Entity field.
* 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.
From-SVN: r46549
Joel Brobecker [Fri, 26 Oct 2001 16:09:47 +0000 (18:09 +0200)]
5zosinte.ads (null_pthread): new constant.
* 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.
From-SVN: r46548
Richard Kenner [Fri, 26 Oct 2001 16:01:07 +0000 (16:01 +0000)]
decl.c (gnat_to_gnu_entity, [...]): Make constant variant of designated type for Is_Access_Constant.
* 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.
From-SVN: r46547
Robert Dewar [Fri, 26 Oct 2001 15:52:50 +0000 (15:52 +0000)]
* prj-util.adb: Minor reformatting
From-SVN: r46546
Robert Dewar [Fri, 26 Oct 2001 15:41:11 +0000 (15:41 +0000)]
* prj-util.adb: Minor reformatting
From-SVN: r46545
Robert Dewar [Fri, 26 Oct 2001 15:38:46 +0000 (15:38 +0000)]
* prj-attr.adb: Minor reformatting throughout
From-SVN: r46544
Robert Dewar [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)
* prj-attr.ads: Minor reformatting
Add ??? comment (this whole spec has almost no comments)
From-SVN: r46543
Vincent Celier [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.
* g-os_lib.adb (Normalize_Pathname): Preserve the double slash
("//") that precede the drive letter on Interix.
From-SVN: r46542
Daniel Berlin [Fri, 26 Oct 2001 14:43:47 +0000 (14:43 +0000)]
sched-rgn.c: Remove bitset typedef.
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.
From-SVN: r46541
Geert Bosch [Fri, 26 Oct 2001 13:55:51 +0000 (15:55 +0200)]
* gnat_rm.texi: Add GNAT Reference Manual.
From-SVN: r46540
Andreas 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...
* reload1.c (emit_input_reload_insns): Fix parens in last
(undocumented) change that was supposed to change only whitespace.
From-SVN: r46539
Richard Kenner [Fri, 26 Oct 2001 11:16:09 +0000 (11:16 +0000)]
cfgcleanup.c (BB_SET_FLAG, [...]): Add cast to avoid warning.
* 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.
From-SVN: r46538
Andreas Jaeger [Fri, 26 Oct 2001 09:20:01 +0000 (11:20 +0200)]
flow.c (clear_log_links): Remove unused variable.
* flow.c (clear_log_links): Remove unused variable.
* cfgcleanup.c (cleanup_cfg): Likewise.
From-SVN: r46537
Alexandre Oliva [Fri, 26 Oct 2001 08:05:08 +0000 (08:05 +0000)]
tree-inline.c (remap_decl): Don't copy size and size_unit here.
* 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.
From-SVN: r46536
Richard Henderson [Fri, 26 Oct 2001 08:01:13 +0000 (01:01 -0700)]
alpha.h (enum reg_class): Add R24_REG, R25_REG; rename PV_REG to R27_REG.
* 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.
From-SVN: r46535
Richard Henderson [Fri, 26 Oct 2001 07:49:34 +0000 (00:49 -0700)]
cfg.c (clear_aux_for_blocks): Split out of ...
* 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.
From-SVN: r46534
Richard Henderson [Fri, 26 Oct 2001 07:24:34 +0000 (00:24 -0700)]
Makefile.in (unstage*): Remove as, ld, collect-ld before moving everything back to the main build directory.
* Makefile.in (unstage*): Remove as, ld, collect-ld before
moving everything back to the main build directory.
From-SVN: r46533
Benjamin Kosnik [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.
From-SVN: r46532
GCC Administrator [Fri, 26 Oct 2001 07:16:20 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r46530
Benjamin Kosnik [Fri, 26 Oct 2001 06:23:47 +0000 (06:23 +0000)]
locale_facets.tcc (time_get::_M_extract_name): Fix.
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4542
* include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
From-SVN: r46529
Benjamin Kosnik [Fri, 26 Oct 2001 05:32:06 +0000 (05:32 +0000)]
[multiple changes]
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.
From-SVN: r46528
Bryce McKinlay [Fri, 26 Oct 2001 04:27:58 +0000 (05:27 +0100)]
Oops!
From-SVN: r46526
Christopher Faylor [Fri, 26 Oct 2001 04:16:23 +0000 (04:16 +0000)]
cygwin.h: Search target specfic include directory, if appropriate.
* config/i386/cygwin.h: Search target specfic include directory, if
appropriate.
From-SVN: r46524
Benjamin Kosnik [Fri, 26 Oct 2001 02:13:31 +0000 (02:13 +0000)]
os_defines.h: Set to 64 bit longs with __s390x__ only.
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.
Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com>
From-SVN: r46523
Bryce McKinlay [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.
* 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.
From-SVN: r46522
Bryce McKinlay [Fri, 26 Oct 2001 01:51:04 +0000 (01:51 +0000)]
VMClassLoader.java (getPrimitiveClass): Now native.
* 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.
From-SVN: r46521
Kaveh R. Ghazi [Fri, 26 Oct 2001 01:51:01 +0000 (01:51 +0000)]
dwarf2out.c (PTR_SIZE, [...]): Move outside of macro guards.
* 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.
From-SVN: r46520
Robert Dewar [Fri, 26 Oct 2001 01:46:11 +0000 (01:46 +0000)]
sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name is Error.
* sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name
is Error. Similar change for other renaming cases.
From-SVN: r46519
Robert Dewar [Fri, 26 Oct 2001 01:41:17 +0000 (01:41 +0000)]
s-atacco.ads: Add pragma Inline_Always for functions.
* s-atacco.ads: Add pragma Inline_Always for functions.
Fix header format. Add copyright 2001
From-SVN: r46518
Ed Schonberg [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.
* par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array
return Error rather than Empty so that analysis can proceed.
From-SVN: r46517
Ed Schonberg [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.
* sem_util.adb (Enter_Name): better handling of cascaded error
messages when a unit appears in its own context.
From-SVN: r46516
Ed Schonberg [Fri, 26 Oct 2001 01:26:05 +0000 (01:26 +0000)]
sem_util.adb (Defining_Entity): in case of error...
* sem_util.adb (Defining_Entity): in case of error, attach created
entity to specification, so that semantic analysis can proceed.
From-SVN: r46515
Robert Dewar [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.
From-SVN: r46514
Ed Schonberg [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...
* sem_elab.adb (Check_A_Call): refine message when call is in an
instance but callee is not declared in the generic unit.
From-SVN: r46513
Ed Schonberg [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...
* sem_elab.adb (Check_A_Call): check for renaming before finding the
enclosing unit, which may already be different from the calling unit.
From-SVN: r46512
Geert Bosch [Fri, 26 Oct 2001 00:50:40 +0000 (02:50 +0200)]
* 4gintnam.ads: fix header format.
From-SVN: r46511
Ed Schonberg [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...
* 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.
From-SVN: r46510
Ed Schonberg [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...
* 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.
From-SVN: r46509
Robert Dewar [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.
From-SVN: r46508
Robert Dewar [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.
* restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default
in no run time mode.
From-SVN: r46507
Pascal Obry [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): 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.
From-SVN: r46506
Robert Dewar [Thu, 25 Oct 2001 23:43:49 +0000 (23:43 +0000)]
* exp_ch4.adb (Expand_N_Allocator): Minor reformatting.
From-SVN: r46505
Geert Bosch [Thu, 25 Oct 2001 23:38:15 +0000 (01:38 +0200)]
* osint.adb (Is_Relative): Remove duplicate.
From-SVN: r46504
Pascal Obry [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.
* 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.
From-SVN: r46503
Pascal Obry [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 (Basename): correctly compute offset between the
original Path and the translated one.
* g-dirope.adb: (Base_Name): add some comments.
From-SVN: r46502
Robert Dewar [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 (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!)
From-SVN: r46501
Benjamin Kosnik [Thu, 25 Oct 2001 22:56:07 +0000 (22:56 +0000)]
locale_facets.tcc (collate::do_transform): Fix.
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (collate::do_transform): Fix.
From-SVN: r46500
Robert Dewar [Thu, 25 Oct 2001 22:51:49 +0000 (22:51 +0000)]
* s-tpinop.ads: Add 2001 to copyright notice. Fix header format.
From-SVN: r46499
Alexandre Petit-Bianco [Thu, 25 Oct 2001 21:37:44 +0000 (14:37 -0700)]
mangle.c (static tree compression_table): Fixed leading comment.
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 )
From-SVN: r46498
Phil Edwards [Thu, 25 Oct 2001 21:17:34 +0000 (21:17 +0000)]
documentation.html: Fix typo.
2001-10-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Fix typo.
From-SVN: r46497
Alexandre Petit-Bianco [Thu, 25 Oct 2001 21:13:18 +0000 (14:13 -0700)]
re PR java/3096 (GCJ does not increment)
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 )
From-SVN: r46496
Geert Bosch [Thu, 25 Oct 2001 19:56:43 +0000 (21:56 +0200)]
g-awk.ads: Move all pragma inlines next to the routine declarations.
* g-awk.ads: Move all pragma inlines next to the routine
declarations. This is more uniform with other GNAT spec.
From-SVN: r46495
Jeffrey A Law [Thu, 25 Oct 2001 18:25:08 +0000 (18:25 +0000)]
md.texi (movMM): Clarify semantics of storing into a non-paradoxical SUBREG.
* doc/md.texi (movMM): Clarify semantics of storing into a
non-paradoxical SUBREG.
From-SVN: r46494
Zack Weinberg [Thu, 25 Oct 2001 17:57:03 +0000 (17:57 +0000)]
langhooks.c (lang_hook_default_clear_binding_stack): New.
* 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.
From-SVN: r46492
Zack Weinberg [Thu, 25 Oct 2001 17:38:14 +0000 (17:38 +0000)]
msgs.exp: Delete.
* 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.
From-SVN: r46491
Hans Boehm [Thu, 25 Oct 2001 17:29:41 +0000 (17:29 +0000)]
boehm-gc.h: Call thread local allocation functions if THREAD_LOCAL_ALLOC is defined.
* include/boehm-gc.h: Call thread local allocation functions
if THREAD_LOCAL_ALLOC is defined.
From-SVN: r46490