Richard Kenner
157bd2bb7d
* gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
...
From-SVN: r46574
2001-10-27 22:34:18 -04:00
Richard Kenner
e7af1d4538
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
2001-10-27 22:30:03 -04:00
Richard Kenner
6b7d57c7e7
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
2001-10-27 18:41:00 -04:00
Richard Kenner
70072ed99e
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
2001-10-27 17:30:46 -04:00
Tom Tromey
2bd989ca96
jni.h (struct JNINativeInterface): Returns jsize, not jint.
...
* include/jni.h (struct JNINativeInterface) [GetStringLength]:
Returns jsize, not jint.
From-SVN: r46569
2001-10-27 18:24:51 +00:00
Jan Hubicka
f4f17e7dc5
* ifcvt.c (if_convert): Call clear_aux_for_blocks.
...
From-SVN: r46568
2001-10-27 14:33:12 +00:00
Laurent Guerby
97f6baa0ca
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
2001-10-27 16:26:32 +02:00
Florian Weimer
46b58b8c69
* gnat_rm.texi: Use @./@: where appropriate.
...
From-SVN: r46566
2001-10-27 16:23:21 +02:00
Kriang Lerdsuwanakij
765430000d
* decl2.c (validate_nonmember_using_decl): Handle NAMESPACE_DECL.
...
From-SVN: r46565
2001-10-27 14:05:34 +00:00
Jan Hubicka
7dddfb65cf
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
2001-10-27 10:17:44 +00:00
GCC Administrator
ba087771c0
Daily bump.
...
From-SVN: r46563
2001-10-27 07:16:40 +00:00
Tom Tromey
a0e16076a2
Adler32.java: Use correct class name.
...
* java/util/zip/Adler32.java: Use correct class name. (Re-merge
from Classpath.)
From-SVN: r46561
2001-10-26 22:01:03 +00:00
Kazu Hirata
a7812c0b00
* config/h8300/h8300.c (get_shift_alg): Remove redundant code.
...
From-SVN: r46560
2001-10-26 21:08:47 +00:00
Neil Booth
a38b987a89
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
2001-10-26 20:49:48 +00:00
Robert Dewar
30151c7b3b
* sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup.
...
From-SVN: r46558
2001-10-26 20:49:37 +02:00
Kazu Hirata
d65f74782c
s390.c: Fix comment typos.
...
* s390/s390.c: Fix comment typos.
* s390/s390.h: Likewise.
* s390/s390.md: Likewise.
From-SVN: r46557
2001-10-26 18:29:51 +00:00
Alexandre Oliva
6c624f7f88
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
2001-10-26 18:27:13 +00:00
Alexandre Oliva
45c23566b6
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
2001-10-26 17:43:51 +00:00
Kazu Hirata
11a802bf1d
* config/h8300/h8300.md (4 anonymous patterns): New.
...
From-SVN: r46554
2001-10-26 17:09:33 +00:00
Kazu Hirata
cb33eb17f7
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
2001-10-26 17:06:27 +00:00
Richard Kenner
c0b1738da2
* gmem.c (__gnat_gmem_read_next): Properly check for EOF
...
From-SVN: r46552
2001-10-26 19:03:05 +02:00
Richard Kenner
5b09c15368
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
2001-10-26 18:59:34 +02:00
Robert Dewar
4d55366883
* prj-util.adb: Minor reformatting. Fix bad header format.
...
From-SVN: r46550
2001-10-26 18:52:22 +02:00
Robert Dewar
3e542a58b2
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
2001-10-26 18:44:45 +02:00
Joel Brobecker
0bf08bfe35
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
2001-10-26 18:09:47 +02:00
Richard Kenner
7a3a8c068b
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
2001-10-26 18:01:07 +02:00
Robert Dewar
b403bd177c
* prj-util.adb: Minor reformatting
...
From-SVN: r46546
2001-10-26 17:52:50 +02:00
Robert Dewar
a160babb35
* prj-util.adb: Minor reformatting
...
From-SVN: r46545
2001-10-26 17:41:11 +02:00
Robert Dewar
5fc3b4c70a
* prj-attr.adb: Minor reformatting throughout
...
From-SVN: r46544
2001-10-26 17:38:46 +02:00
Robert Dewar
8c73603482
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
2001-10-26 17:34:07 +02:00
Vincent Celier
47d5b6edfe
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
2001-10-26 17:12:03 +02:00
Daniel Berlin
bdfa170fda
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
2001-10-26 14:43:47 +00:00
Geert Bosch
41af791f49
* gnat_rm.texi: Add GNAT Reference Manual.
...
From-SVN: r46540
2001-10-26 15:55:51 +02:00
Andreas Schwab
019d2e99e0
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
2001-10-26 13:01:37 +00:00
Richard Kenner
6cf3f6e7f0
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
2001-10-26 07:16:09 -04:00
Andreas Jaeger
16e99e29fc
flow.c (clear_log_links): Remove unused variable.
...
* flow.c (clear_log_links): Remove unused variable.
* cfgcleanup.c (cleanup_cfg): Likewise.
From-SVN: r46537
2001-10-26 11:20:01 +02:00
Alexandre Oliva
350ebd5493
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
2001-10-26 08:05:08 +00:00
Richard Henderson
b73c0bc87d
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
2001-10-26 01:01:13 -07:00
Richard Henderson
108c1afce2
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
2001-10-26 00:49:34 -07:00
Richard Henderson
4992fc7ff5
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
2001-10-26 00:24:34 -07:00
Benjamin Kosnik
1a808622b6
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
2001-10-26 07:21:56 +00:00
GCC Administrator
f8c8c2ff39
Daily bump.
...
From-SVN: r46530
2001-10-26 07:16:20 +00:00
Benjamin Kosnik
013e8d9783
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
2001-10-26 06:23:47 +00:00
Benjamin Kosnik
6cf5465d43
[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
2001-10-26 05:32:06 +00:00
Bryce McKinlay
3b2a3c4c2a
Oops!
...
From-SVN: r46526
2001-10-26 05:27:58 +01:00
Christopher Faylor
e742b08ad3
cygwin.h: Search target specfic include directory, if appropriate.
...
* config/i386/cygwin.h: Search target specfic include directory, if
appropriate.
From-SVN: r46524
2001-10-26 04:16:23 +00:00
Benjamin Kosnik
e37beb47ba
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
2001-10-26 02:13:31 +00:00
Bryce McKinlay
961b8e7028
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
2001-10-26 02:53:56 +01:00
Bryce McKinlay
839f820424
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
2001-10-26 02:51:04 +01:00
Kaveh R. Ghazi
f3a8e4f58d
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
2001-10-26 01:51:01 +00:00