Commit Graph

38400 Commits

Author SHA1 Message Date
Zack Weinberg 0461a052b8 configure.in: Do not assume that gas's version number is the last thing on the first line of...
* configure.in: Do not assume that gas's version number is the
	last thing on the first line of as --version output.
	* configure: Regenerate.

From-SVN: r46629
2001-10-30 04:57:42 +00:00
Bryce McKinlay 2b472f91ee re PR java/4717 (miscompiling class reference)
* mangle.c (find_compression_record_match): Don't match compression
       records for package name elements unless they occur at the start of
       the name. Fix for PR java/4717.

From-SVN: r46628
2001-10-30 04:43:16 +00:00
Zack Weinberg 79e2e1605e tradcpp.c: Include intl.h.
* tradcpp.c: Include intl.h.  Rename WARNING, ERROR, FATAL to
	MT_WARNING, MT_ERROR, MT_FATAL.
	(main): Call gcc_init_libintl.
	(v_message): Call gettext on msgid and "warning: "
	* tradcif.y: Include intl.h.
	(yyerror): Make parameter definition consistent with
	prototype.  Call gettext on msgid argument.

From-SVN: r46627
2001-10-30 04:43:03 +00:00
Zack Weinberg bae5261adb convert.c, [...]: Use /* */ for all commentary, not #if 0 ...
* convert.c, inout.c, loop.c, nloop.c, tasking.c, timing.c,
	typeck.c: Use /* */ for all commentary, not #if 0 ... #endif.
	Change the nested comments this creates to // notation.
	Un-double apostrophes.

From-SVN: r46626
2001-10-30 04:27:17 +00:00
Kaveh R. Ghazi b016d07e15 combine.c (num_sign_bit_copies): Avoid signed/unsigned warnings.
* combine.c (num_sign_bit_copies): Avoid signed/unsigned
	warnings.

From-SVN: r46625
2001-10-30 03:24:08 +00:00
Kaveh R. Ghazi 1ac0469598 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
From-SVN: r46624
2001-10-30 03:11:45 +00:00
Richard Kenner cd7c9015a6 reload1.c (eliminate_regs): Test for reg_renumber being allocated before referencing it.
* reload1.c (eliminate_regs): Test for reg_renumber being allocated
	before referencing it.

From-SVN: r46623
2001-10-29 19:19:58 -05:00
DJ Delorie f3597919c5 sysv4.h (LINK_SPEC): Allow -msdata=none to override -G, and force -G0.
* config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
override -G, and force -G0.

From-SVN: r46622
2001-10-29 18:09:43 -05:00
Joseph Myers 684d9f3beb ChangeLog.2, [...]: Fix spelling errors and typos.
* ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
	FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
	c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
	timevar.h, tree.h, varasm.c: Fix spelling errors and typos.

From-SVN: r46621
2001-10-29 23:01:45 +00:00
Joseph Myers affd4f3309 loop.h (struct induction): Rename ext_dependant to ext_dependent.
* loop.h (struct induction): Rename ext_dependant to
	ext_dependent.
	* loop.c: Change all uses.
	(check_ext_dependant_givs): Rename to check_ext_dependent_givs.
	All callers changed.
	* timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.

From-SVN: r46620
2001-10-29 22:13:41 +00:00
Joseph Myers 686deecbf3 * c-parse.in (expr_no_commas, primary), c-typeck.c
(parser_build_binary_op): Use IS_EXPR_CODE_CLASS.

From-SVN: r46619
2001-10-29 22:12:07 +00:00
Tom Tromey 0db58ea45f re PR libgcj/4728 (java.util.zip.GZIPOutputStream.write(int) doesn't update CRC)
* java/util/zip/GZIPOutputStream.java (write(int)): New method.
	Fixes PR libgcj/4728.

From-SVN: r46618
2001-10-29 21:50:07 +00:00
David Edelsohn 54ee97997a Undo assemble_name change in earlier patch.
From-SVN: r46617
2001-10-29 16:29:30 -05:00
Nicola Pero 26e51caa4d Rewritten from scratch class lookup internals - getting a good performance
boost for class method invocations

From-SVN: r46616
2001-10-29 21:24:48 +00:00
Nicola Pero 2726bdbaac Rewritten all the internals - great performance boost.
From-SVN: r46615
2001-10-29 21:23:31 +00:00
Nicola Pero 3df95b7b7c New objc tests
From-SVN: r46614
2001-10-29 21:00:46 +00:00
Nicola Pero 92bcd93d73 Improved compiler checkings for ObjC + GNU runtime when sending messages
to self in class methods

From-SVN: r46613
2001-10-29 20:54:45 +00:00
Nicola Pero 5286a9ceff (GNU runtime only) statically type `self' in a class method context to be
the class the method belongs to

From-SVN: r46612
2001-10-29 20:51:04 +00:00
John David Anglin 4ff3bd5f75 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
From-SVN: r46611
2001-10-29 19:48:20 +00:00
Benjamin Kosnik 99e9125d77 fstream.tcc (filebuf::showmanyc): Simplify.
2001-10-29  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3647
	* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
	* testsuite/27_io/filebuf.cc (test07): New test.
	(test03): Modify showmanyc test.

From-SVN: r46610
2001-10-29 19:29:29 +00:00
Geert Bosch 4565903525 * init.c:
(Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
	const.
	(_gnat_error_handler): Make MSG const.

	* sysdep.c: Fix localtime_r problem on LynxOS.
	Also remove #elif to avoid warnings.

	* misc.c (yyparse): Don't set up and register jmpbuf; remove decls
	used by this.

	* decl.c (annotate_value): Make SIZE unsigned to avoid warning.

From-SVN: r46609
2001-10-29 18:45:03 +01:00
Toon Moene 4b77bfab08 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
2001-10-29 17:41:16 +00:00
Richard Kenner 15228eb606 * Makefile.in (OBJS): Put all files in alphabetical order.
From-SVN: r46607
2001-10-29 09:34:18 -05:00
Richard Kenner 94784fb92a 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
2001-10-29 07:24:17 -05:00
Jan Hubicka 473fb060f3 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
2001-10-29 11:45:45 +00:00
GCC Administrator 4fdaa8786f Daily bump.
From-SVN: r46602
2001-10-29 08:16:23 +00:00
Joseph Myers 4d42a8ae2e * update_web_docs: Generate libiberty and gnat-style manuals.
From-SVN: r46601
2001-10-29 01:30:31 +00:00
David Edelsohn d2574c50f6 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
2001-10-28 16:45:46 -05:00
Richard Kenner ce2d32cd37 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
2001-10-28 15:42:29 -05:00
Joseph Myers ff7cc30768 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
2001-10-28 20:09:17 +00:00
Joseph Myers 306ef64467 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
2001-10-28 19:25:00 +00:00
Joseph Myers 0c688a7d77 * doc/extend.texi, doc/invoke.texi: Fix spelling.
From-SVN: r46591
2001-10-28 19:12:12 +00:00
Joseph Myers 67dda4b520 * doc/gcc.texi: Document use of "dependent" and American spelling.
From-SVN: r46589
2001-10-28 18:59:25 +00:00
Jan Hubicka 58f698416a 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
2001-10-28 16:10:12 +00:00
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