Commit Graph

38504 Commits

Author SHA1 Message Date
Eric Christopher
e0e0032981 mips.md (movdf_internal2): Add constraints for float to general register move.
2001-11-06  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.md(movdf_internal2): Add constraints for float
	to general register move.
	* config/mips/elf64.h: Add default ABI.

From-SVN: r46814
2001-11-06 22:38:15 +00:00
Neil Booth
d23c55c28c Clean up langhooks
* alias.c:: Include langhooks.h.
	* emit-rtl.c: Similarly.
	* toplev.c: Similarly.
	* tree-inline.c: Similarly.
	* langhooks-def.h: New, the old langhooks.h.  Give the default
	hooks a common prefix.
	* langhooks.h: Contents extracted from toplev.h.
	* toplev.h: Move langhook stuff to langhooks.h.
	* langhooks.c: Give default hooks a common prefix.

	* c-lang.c: Include langhooks-def.h.
	* ada/misc.c: Similarly.
	* cp/cp-lang.c: Similarly.
	* f/com.c: Similarly.
	* java/lang.c: Similarly.
	* objc/objc-act.c: Similarly.

	* Makefile.in: Update.
	* ada/Makefile.in: Similarly.
	* cp/Make-lang.in: Similarly.
	* f/Make-lang.in: Similarly.
	* java/Make-lang.in: Similarly.
	* objc/Make-lang.in: Similarly.

From-SVN: r46813
2001-11-06 21:12:14 +00:00
Joseph Myers
80f9249ada install.texi: Document that configure options not listed in this file are unsupported.
* doc/install.texi: Document that configure options not listed in
	this file are unsupported.  Document --with-system-zlib.

From-SVN: r46811
2001-11-06 20:05:07 +00:00
Joseph Myers
e180d2b01d update_web_docs: Set SOURCEDIR so that install manual can be found when running install.texi2html.
* update_web_docs: Set SOURCEDIR so that install manual can be
	found when running install.texi2html.

From-SVN: r46810
2001-11-06 17:59:19 +00:00
Joseph Myers
b47a72ea38 * gcc_release: Don't require a username if running locally.
From-SVN: r46809
2001-11-06 16:45:37 +00:00
Richard Kenner
03f5402658 rtl.h (mem_for_const_double): New declaration.
* rtl.h (mem_for_const_double): New declaration.
	* varasm.c (mem_for_const_double): New function.
	* config/convex/convex.md (movdf): Use it.
	* config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
	* config/m68k/linux.h, config/m68k/m68k.h: Likewise.
	* config/m68k/m68kv4.h: Likewise.

From-SVN: r46808
2001-11-06 09:47:43 -05:00
Richard Kenner
bfd82dbfc7 alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition of new GP reg classes.
* config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
	of new GP reg classes.

From-SVN: r46807
2001-11-06 09:27:58 -05:00
Richard Kenner
9e446a5c1e expr.c (store_field): When making temp object for unaligned component, set it to alias set 0.
* expr.c (store_field): When making temp object for unaligned
	component, set it to alias set 0.

From-SVN: r46806
2001-11-06 09:20:30 -05:00
Joseph Myers
207bf4854d re PR c/461 (non-lvalue arrays)
* c-common.c (c_expand_expr_stmt): Apply default conversions to
	non-lvalue arrays if C99.
	* c-typeck.c (default_conversion): Split out code handling
	array-to-pointer and function-to-pointer conversions into a
	separate default_function_array_conversion function.
	(default_function_array_conversion): New function.  Keep track of
	whether any NON_LVALUE_EXPRs were stripped.  Return non-lvalue
	arrays unchanged outside C99 mode instead of giving an error for
	them.
	(build_component_ref): Use pedantic_non_lvalue when handling
	COMPOUND_EXPR.  Don't handle COND_EXPR specially.
	(convert_arguments): Use default_function_array_conversion.
	(build_unary_op): For ADDR_EXPR, take a flag indicating whether
	non-lvalues are OK.
	(unary_complex_lvalue): Likewise.
	(internal_build_compound_expr): Use
	default_function_array_conversion.  Apply default conversions to
	function in compound expression.
	(build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
	Use default_function_array_conversion.
	* doc/extend.texi: Update documentation of subscripting non-lvalue
	arrays.
	Fixes PR c/461.

testsuite:
	* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-array-lval-2.c,
	gcc.dg/c99-array-lval-1.c, gcc.dg/c99-array-lval-2.c: Remove
	XFAILs.  Adjust expected error texts.
	* gcc.c-torture/compile/20011106-1.c,
	gcc.c-torture/compile/20011106-2.c, gcc.dg/c90-array-lval-3.c,
	gcc.dg/c90-array-lval-4.c, gcc.dg/c90-array-lval-5.c,
	gcc.dg/c99-array-lval-3.c, gcc.dg/c99-array-lval-4.c,
	gcc.dg/c99-array-lval-5.c: New tests.

From-SVN: r46805
2001-11-06 12:39:36 +00:00
GCC Administrator
25cece2fbd Daily bump.
From-SVN: r46803
2001-11-06 08:16:43 +00:00
Hans-Peter Nilsson
53cdb27aad * Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
From-SVN: r46802
2001-11-06 07:15:44 +00:00
Zack Weinberg
9f6682b722 aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
* aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
	(AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
	corresponding to the complete set of .po and .gmo files in
	the source directory's po subdir, modified by LINGUAS.  Don't
	look at ALL_LINGUAS.
	* configure.in: Don't set ALL_LINGUAS.
	* configure: Regenerate.

	* Makefile.in (.po.gmo): Don't move into source directory.
	(.po.pox): Clarify comments.
	(install-po): Look for .gmo files in both srcdir and objdir;
	don't fail if a file is totally missing.
	(distclean): rmdir ada subdirectory too.

From-SVN: r46800
2001-11-06 02:39:47 +00:00
Geoffrey Keating
f3afc192ae rs6000.c (rs6000_select_section): Handle CONSTRUCTORs _correctly_.
* config/rs6000/rs6000.c (rs6000_select_section): Handle
	CONSTRUCTORs _correctly_.

From-SVN: r46798
2001-11-06 00:21:34 +00:00
Phil Edwards
eb6e2e5bef porting.texi: Move...
2001-11-05  Phil Edwards  <pme@gcc.gnu.org>

	* porting.texi:  Move...
	* docs/html/17_intro/porting.texi:  ...to here.
	* docs/html/Makefile:  Add rule to rebuild...
	* docs/html/17_intro/porting.html:  ...this.  New file.

From-SVN: r46797
2001-11-06 00:18:37 +00:00
Tom Tromey
a12fe13ddb Class.h (Class): Made _Jv_BytecodeVerifier a friend.
* java/lang/Class.h (Class): Made _Jv_BytecodeVerifier a friend.
	* Makefile.in: Rebuilt.
	* Makefile.am (libgcj_la_SOURCES): Added verify.cc.
	* verify.cc: New file.
	* include/java-interp.h (_Jv_count_arguments): Declare.
	(_Jv_VerifyMethod): Likewise.
	(class _Jv_InterpMethod): Made _Jv_BytecodeVerifier a friend.
	(class _Jv_InterpException): Likewise.
	* resolve.cc (_Jv_count_arguments): Renamed from count_arguments.
	No longer static.  Updated callers.
	* defineclass.cc (int_bits_to_float): Removed.
	(long_bits_to_double): Likewise.
	(prepare_pool_entry): Updated.
	(handleCodeAttribute): Verify method (commented out for now).

From-SVN: r46796
2001-11-05 23:39:54 +00:00
Neil Booth
e6ec164c8d c-decl.c (delete_block): Remove.
* c-decl.c (delete_block): Remove.
	* c-tree.h (delete_block): Remove.

From-SVN: r46795
2001-11-05 23:21:35 +00:00
Neil Booth
63d7500569 cppexp.c (lex, [...]): Update warning about defined.
* cppexp.c (lex, parse_defined): Update warning about defined.
	* gcc.dg/cpp/defined.c: Update.

From-SVN: r46794
2001-11-05 22:26:13 +00:00
Felix Natter
a5356269d3 porting-howto.xml: check in v0.9.4
2001-11-05  Felix Natter  <fnatter@gmx.net>

	* docs/html/17_intro/porting-howto.xml:  check in v0.9.4
	* docs/html/17_intro/porting-howto.html:  regenerate

From-SVN: r46793
2001-11-05 21:54:43 +00:00
Geoffrey Keating
ac4f7ad92f rs6000.c (rs6000_select_section): Handle CONSTRUCTORs too.
* config/rs6000/rs6000.c (rs6000_select_section): Handle
	CONSTRUCTORs too.

From-SVN: r46792
2001-11-05 21:04:07 +00:00
Nick Clifton
e529bd42ef Cope with int_size_in_bytes returning -1.
From-SVN: r46788
2001-11-05 17:00:45 +00:00
Nick Clifton
648f5f0435 Handle a NULL DECL being passed to ASM_OUTPUT_ALIGNED_DECL_LOCAL.
From-SVN: r46787
2001-11-05 16:36:35 +00:00
Jan Hubicka
d56a82115f Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h; remove unneded depdendencies;
* Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h;
	remove unneded depdendencies;
	(cfglayout.o): New.
	* cfglayout.c, cfglayout.h: New files; break out from ...
	* bb-reorder.c: ... here; Remove unneeded includes;

From-SVN: r46786
2001-11-05 15:38:01 +00:00
Joseph Myers
3b0c635f60 update_web_docs: Eliminate warnings about keeping files from web page preprocessing.
* update_web_docs: Eliminate warnings about keeping files from web
	page preprocessing.

From-SVN: r46785
2001-11-05 09:55:25 +00:00
Joseph Myers
286970ee61 update_web_docs: Allow for the same file name in different directories.
* update_web_docs: Allow for the same file name in different
	directories.

From-SVN: r46784
2001-11-05 08:47:51 +00:00
GCC Administrator
a33b51de36 Daily bump.
From-SVN: r46783
2001-11-05 08:16:40 +00:00
Bryce McKinlay
5a1c2f80f1 * java/util/ResourceBundle.java (class Security): Now static.
From-SVN: r46781
2001-11-05 03:22:18 +00:00
Hans-Peter Nilsson
dd3a88c9a6 config.sub: Import from master sources, rev 1.226.
* config.sub: Import from master sources, rev 1.226.
	* config.guess: Import from master sources, rev 1.216.

From-SVN: r46780
2001-11-05 01:52:42 +00:00
DJ Delorie
fae8182ab4 remove trailing whitespace
From-SVN: r46779
2001-11-04 20:11:12 -05:00
Alan Modra
55a10d7ca3 Add missing entry.
From-SVN: r46778
2001-11-05 10:36:31 +10:30
David Edelsohn
46aaf10d1e [multiple changes]
2001-11-04  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.

2001-11-04  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
        mode as well.  Do not explicitly create intermediate regs.

From-SVN: r46777
2001-11-04 18:30:02 -05:00
Kaveh R. Ghazi
5f37d07c6e aof.h (aof_text_section, [...]): Don't declare.
* arm/aof.h (aof_text_section, aof_data_section): Don't declare.
	(common_section): Delete unused variable.
	(ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
	(ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
	* arm-protos.h (arm_poke_function_name, aof_add_import,
	aof_delete_import): Const-ify.
	* arm.c (legitimize_pic_address): Wrap variables in the macro
	controlling their usage.
	(arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
	(arm_poke_function_name, pic_chain, import, aof_add_import,
	aof_delete_import): Const-ify.
	* i386.c (ix86_osf_output_function_prologue): Const-ify.
	* i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
	ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
	* i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
	* i860/sysv3.h: Add missing comment closure.
	* m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
	* m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
	to symbolic_operand.

	* config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
	(i960-*-*): Set tmake_file.
	(sparc86x-*-elf*): Fix typo in header name.

	* sched-rgn.c (schedule_insns): Delete unused variable.

From-SVN: r46776
2001-11-04 22:37:46 +00:00
Toon Moene
966c049dbf g77.texi: Split off invoke.texi (preliminary to using it to generate a man page).
2001-11-04  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.texi: Split off invoke.texi (preliminary to using it
	to generate a man page).
	* Make-lang.in: Reflect in build rules.

From-SVN: r46775
2001-11-04 21:53:41 +00:00
Neil Booth
e9b2c82318 re PR c/2820 (unnamed union inside unnamed struct changes rest of the struct)
PR c/2820
	* c-typeck.c (lookup_field): Rework to return a chain down to
	the looked-up field.
	(build_component_ref): Use the new lookup_field to handle
	nested anonymous entities correctly.

	* testsuite/gcc.c-torture/execute/anon-1.c: New test.

From-SVN: r46774
2001-11-04 17:54:57 +00:00
Richard Kenner
f282747406 sparc.c (sparc_emit_set_const32, [...]): Change parameters to gen_rtx_CONST_DOUBLE.
* config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
	Change parameters to gen_rtx_CONST_DOUBLE.
	(GEN_INT64, sparc_emit_set_const64): Likewise.
	* config/sparc/sparc.md (movdf split): Likewise.

From-SVN: r46773
2001-11-04 11:54:00 -05:00
Kriang Lerdsuwanakij
2a2b1d56d3 * pt.c (tsubst_copy): Call tsubst for TYPEOF_EXPR.
From-SVN: r46772
2001-11-04 09:50:44 +00:00
GCC Administrator
5f850402c7 Daily bump.
From-SVN: r46771
2001-11-04 08:17:44 +00:00
Geoffrey Keating
27d80140ec unroll.c (calculate_giv_inc): Use find_last_value rather than just hoping the last instruction is the right SET.
* unroll.c (calculate_giv_inc): Use find_last_value rather
	than just hoping the last instruction is the right SET.
	[Fixes 990604-1.c on stormy16.]

From-SVN: r46769
2001-11-04 08:12:09 +00:00
Geoffrey Keating
3eaaf577ce stormy16.h (LIB_SPEC): Don't supply any libgloss library at all if -T is used.
* config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
	library at all if -T is used.

From-SVN: r46768
2001-11-04 07:43:50 +00:00
Alan Modra
f749bd83cb * configure.in: Cope with missing makeinfo.
From-SVN: r46767
2001-11-04 18:12:47 +10:30
Geoffrey Keating
e9818db201 stormy16.c (stormy16_print_operand): Avoid some uses of uninitialized variables in error cases.
* config/stormy16/stormy16.c (stormy16_print_operand): Avoid
	some uses of uninitialized variables in error cases.

From-SVN: r46766
2001-11-04 07:42:04 +00:00
Geoffrey Keating
5766e0ef6a stormy16.c (stormy16_output_shift): Don't look at 'temp' if we won't be using it.
* config/stormy16/stormy16.c (stormy16_output_shift): Don't
	look at 'temp' if we won't be using it.

From-SVN: r46765
2001-11-04 07:41:04 +00:00
Geoffrey Keating
3fdb2f711e stormy16.h (CONST_COSTS): Define.
* config/stormy16/stormy16.h (CONST_COSTS): Define.
	(RTX_COSTS): Define.
	(ADDRESS_COST): Define.
	(MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.

From-SVN: r46764
2001-11-04 07:40:15 +00:00
Geoffrey Keating
e06bc4e1fd * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
From-SVN: r46763
2001-11-04 07:38:38 +00:00
Geoffrey Keating
52560c7b98 stormy16.h (ASM_OUTPUT_MI_THUNK): Call stormy16_asm_output_mi_thunk.
* config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
	stormy16_asm_output_mi_thunk.
	* config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
	function.
	* config/stormy16/stormy16-protos.h
	(stormy16_asm_output_mi_thunk): New prototype.

From-SVN: r46762
2001-11-04 07:37:48 +00:00
Bryce McKinlay
cb3f834fb6 ResourceBundle.java (getClassContext): Removed.
* java/util/ResourceBundle.java (getClassContext): Removed.
	(Security): New class, extends SecurityManger.
	(getBundle): Use Security.getCallingClassLoader instead of
	getClassContext.
	* java/util/natResourceBundle.cc: Removed.

From-SVN: r46761
2001-11-04 04:15:09 +00:00
Joseph Myers
f5143c46a9 ChangeLog.2, [...]: Fix spelling errors.
* ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
	FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
	caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
	cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
	sched-int.h, toplev.c, config/alpha/alpha.c,
	config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
	config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
	config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
	config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
	config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
	config/ns32k/ns32k.md, config/rs6000/rs6000.c,
	config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.

From-SVN: r46760
2001-11-04 02:51:28 +00:00
Kaveh R. Ghazi
c3fb23f441 Makefile.in (dbxout.o): Depend on function.h.
* Makefile.in (dbxout.o): Depend on function.h.
	* collect2.c (is_in_list): Hide unused function.
	* dbxout.c: Include function.h.
	(source_label_number, dbxout_source_line, dbxout_source_file,
	dbxout_function_end, dbxout_begin_function): Wrap/move inside
	macros controlling usage.
	* gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
	* output.h (exports_section): Prototype.

From-SVN: r46759
2001-11-04 02:47:36 +00:00
Kaveh R. Ghazi
55710451f2 convex.c (convex_output_function_prologue): Fix format specifier warning.
* convex.c (convex_output_function_prologue): Fix format specifier
	warning.
	(asm_declare_function_name): Fix signed/unsigned warning.
	(print_operand): Fix format specifier warning.
	* convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
	* dsp16xx-protos.h (uns_comparison_operator,
	num_1600_core_shifts): Prototype.
	* dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
	(frame_size, frame_pointer_offset): Delete.
	(dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
	Make static.  Fix format specifier warnings.
	* dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
	(EXTRA_SECTION_FUNCTIONS): Prototype const_section.
	* dsp16xx.md: Add default case in switches.
	* fr30.h (IN_RANGE): Delete.
	* ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
	* mcore-protos.h (mcore_output_cmov): Const-ify.
	* mcore.c (mcore_output_cmov): Likewise.
	* mcore.h (switch_to_section): Make static and prototype.
	* mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
	unsigned>=0 warnings.
	* mn10300.h (REGNO_IN_RANGE_P): Likewise.
	* rs6000-protos.h (read_only_data_section,
	read_only_private_data_section): Prototype.
	* rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
	* sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
	* sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.

From-SVN: r46758
2001-11-04 02:40:39 +00:00
Kaveh R. Ghazi
40cdfca60c dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with ATTRIBUTE_UNUSED.
* dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
	ATTRIBUTE_UNUSED.
	* final.c (final_scan_insn): Add brackets around body of if-stmt.
	* gcc.c (convert_filename): Add static prototype.  Const-ify.
	Wrap variable in macros controlling its use.
	* output.h (sdata_section): Add prototype.

From-SVN: r46757
2001-11-04 02:26:55 +00:00
Kaveh R. Ghazi
76648a8bad * lex.c (copy_lang_type): Add static prototype.
From-SVN: r46756
2001-11-04 02:20:02 +00:00