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
Robert Dewar
ed4a14688d
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
2001-10-26 03:46:11 +02:00
Robert Dewar
24377ae42f
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
2001-10-26 03:41:17 +02:00
Ed Schonberg
fef3204ec6
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
2001-10-26 03:34:58 +02:00
Ed Schonberg
dfc69d80c1
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
2001-10-26 03:29:47 +02:00
Ed Schonberg
5a15af6295
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
2001-10-26 03:26:05 +02:00
Robert Dewar
2b881d5390
* sem_util.adb
...
(Defining_Entity): Deal with Error.
(Process_End_Label): Deal with bad end label for.
From-SVN: r46514
2001-10-26 03:18:58 +02:00
Ed Schonberg
578053f234
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
2001-10-26 03:12:44 +02:00
Ed Schonberg
0597ce0bbf
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
2001-10-26 03:07:23 +02:00
Geert Bosch
3de6e6da5d
* 4gintnam.ads: fix header format.
...
From-SVN: r46511
2001-10-26 02:50:40 +02:00
Ed Schonberg
6f31131619
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
2001-10-26 02:47:09 +02:00