Commit Graph

38366 Commits

Author SHA1 Message Date
Richard Kenner
61cb205c64 * expr.c (store_constructor_field): Only call adjust_address on MEM.
From-SVN: r46585
2001-10-28 11:06:17 -05:00
Jan Hubicka
9591d21063 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
2001-10-28 16:00:22 +00:00
Kaveh R. Ghazi
d506f6496f 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
2001-10-28 14:01:20 +00:00
Joseph Myers
f710504c07 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
2001-10-28 13:22:02 +00:00
Joseph Myers
638e383e25 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
2001-10-28 12:56:08 +00:00
Joseph Myers
f63d1bf775 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
2001-10-28 12:42:06 +00:00
Joseph Myers
63f6bcd791 * ChangeLog, configure: Fix spelling errors.
From-SVN: r46579
2001-10-28 12:08:43 +00:00
GCC Administrator
82e255f2d4 Daily bump.
From-SVN: r46575
2001-10-28 07:16:09 +00:00
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