Commit Graph

35410 Commits

Author SHA1 Message Date
Alexandre Oliva
334564454e ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

From-SVN: r42351
2001-05-20 18:55:59 +00:00
Joseph Myers
aa0cc56293 * invoke.texi: Add more options to summary list.
From-SVN: r42349
2001-05-20 18:08:38 +01:00
Joseph Myers
1b07e854d9 re PR other/567 ("make dvi" fails)
ch:
	* Make-lang.in (chill.dvi): Remove bogus dependencies.  Don't cd
	to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS.
	Don't move chill.dvi after creating it.  Fixes PR other/567 and
	PR other/1018.

f:
	* Make-lang.in (f/g77.dvi): Include $(srcdir) in TEXINPUTS.

From-SVN: r42345
2001-05-20 14:50:44 +01:00
Nathan Sidwell
d30a825a20 re PR c++/2781 (bad code generated for reference call with -O2 (regression from 2.95))
cp:
	PR c++/2781
	* optimize.c (update_cloned_parm): Copy addressability and other
	flags.
testsuite:
	* g++.old-deja/g++.other/optimize1.C: New test.

From-SVN: r42344
2001-05-20 13:41:34 +00:00
Kriang Lerdsuwanakij
3b82c24918 pt.c (determine_specialization): Ignore artificial functions.
2001-05-20  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>

	* pt.c (determine_specialization): Ignore artificial functions.

2001-05-20  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>

	* g++.old-deja/g++.pt/spec41.C: New test.

From-SVN: r42342
2001-05-20 13:22:24 +00:00
Joseph Myers
91ea548a25 re PR c/2291 (Pedantic may be too pedantic)
* invoke.texi: Document meaning of -pedantic when -std=gnu* is
	used.  Fixes PR c/2291.
	* gcc.1: Regenerate.

From-SVN: r42340
2001-05-20 13:49:31 +01:00
Stephane Carrez
dbf03ee31b m68hc11.c (m68hc11_override_options): Ignore the -fpic and -fPIC options, clear flag_pic.
* config/m68hc11/m68hc11.c (m68hc11_override_options): Ignore
	the -fpic and -fPIC options, clear flag_pic.

From-SVN: r42339
2001-05-20 13:37:11 +02:00
Neil Booth
a078edf813 hashtable.c (calc_hash): Fix HASHSTEP definition.
* hashtable.c (calc_hash): Fix HASHSTEP definition.
	* stringpool.c (make_identifier): No statistics here anymore.
	* objc-act.c (steup_string_decl): Remove redundant check.

From-SVN: r42337
2001-05-20 08:13:32 +00:00
GCC Administrator
b4cc41b814 Daily bump.
From-SVN: r42336
2001-05-20 07:16:37 +00:00
Neil Booth
2a967f3d3a Makefile.in (OBJS, [...]): Update.
* Makefile.in (OBJS, LIBCPP_OBJS, LIBCPP_DEPS,
	cpplib.o, cpphash.o, fix-header): Update.
	(hashtable.o): New target.
	* c-common.h: Include cpplib.h.  Define C_RID_CODE and
	struct c_common_identifier here.
	* c-lang.c (c_init_options): Update.  Call set_identifier_size.
	* c-lex.c (c_lex): Update.
	* c-pragma.h: Update.
	* c-tree.h (struct lang_identifier): Contain c_common_identifier.
	Delete rid_code.
	(C_RID_CODE): Delete.
	* cpphash.c: Rewrite to use hashtable.c.
	* cpphash.h: Update include guards.
	(struct cpp_reader): Remove hashtab.
	hash_ob and buffer_ob are no longer pointers.  Add hash_table
	and our_hashtable.
	(HASHSTEP, _cpp_init_hashtable,	_cpp_lookup_with_hash): Delete.
	(_cpp_cleanup_hashtable): Rename _cpp_destroy_hashtable.
	(_cpp_cleanup_stacks): Rename _cpp_init_directives.
	* cppinit.c (cpp_create_reader): Update.
	* cpplex.c (cpp_ideq, parse_identifier, cpp_output_token): Update.
	(cpp_interpret_charconst): Eliminate warning.
	* cpplib.c (do_pragma, do_endif, push_conditional,
	cpp_push_buffer, cpp_pop_buffer): Update.
	(_cpp_init_stacks): Rename cpp_init_directives.
	(_cpp_cleanup_stacks): Remove.
	* cpplib.h: Update include guards.  Include tree-core.h and c-rid.h.
	(cpp_hashnode, cpp_token, NODE_LEN, NODE_NAME,
	 cpp_forall_identifiers, cpp_create_reader): Update.
	(C_RID_CODE, cpp_make_node): New.
	(c_common_identifier): New identifier node for C front ends.
	* cppmain.c (main): Update.
	* fix-header.c (read_scan_file): Update.
	* flags.h (id_clash_len): Make unsigned.
	* ggc.h (ggc_mark_nonnull_tree): New.
	* hashtable.c: New.
	* hashtable.h: New.
	* stringpool.c: Update comments and copyright.  Update to use
	hashtable.c.
	* toplev.c (approx_sqrt): Move to hashtable.c.
	(id_clash_len): Make unsigned.
	* toplev.h (ident_hash): New.
	* tree.c (gcc_obstack_init): Move to hashtable.c.
	* tree.h: Include hashtable.h.
	(IDENTIFIER_POINTER, IDENTIFIER_LENGTH): Update.
	(GCC_IDENT_TO_HT_IDENT, HT_IDENT_TO_GCC_IDENT): New.
	(struct tree_identifier): Update.
	(make_identifier): New.
cp:
	* cp-tree.h (struct lang_identifier, C_RID_YYCODE): Update.
	(C_RID_CODE): Remove.
	* lex.c (cxx_init_options): Call set_identifier_size.  Update.
	(init_parse): Don't do it here.
objc:
	* objc-act.c (objc_init_options): Call set_identifier_size. Update.

From-SVN: r42334
2001-05-20 06:26:45 +00:00
Richard Henderson
9e800206ba except.c (dw2_build_landing_pads): Use word_mode, not Pmode, as ncessary.
* except.c (dw2_build_landing_pads): Use word_mode, not Pmode,
	as ncessary.
	(expand_eh_return): Convert between word_mode and Pmode.
	* unwind-dw2.c (extract_cie_info): Do not assume words and pointers
	are the same size.
	(execute_stack_op): Likewise.
	(execute_cfa_program): Likewise.
	(uw_frame_state_for): Likewise.
	(uw_update_context_1): Likewise.
	* unwind.inc (_Unwind_Reason_Code): Likewise.
	* config/mips/mips.h (EH_RETURN_DATA_REGNO): Define.
	(EH_RETURN_STACKADJ_RTX): Likewise.
	* config/mips/mips.c (compute_frame_size): Make space for saving
	EH return registers.
	(mips_expand_epilogue): Handle EH stack adjustments.
	* config/mips/mips.md (eh_return): New pattern.
	(eh_set_lr_si): Likewise.
	(eh_set_lr_di): Likewise.
	Add splitter to perform EH return after reload.

From-SVN: r42332
2001-05-20 00:35:24 +00:00
Mark Mitchell
878de307d6 * jump.c (mark_jump_label): Tidy previous change.
From-SVN: r42327
2001-05-19 23:54:07 +00:00
Bruce Korb
baacc9f7a1 open stdin for those building with a closed one.
From-SVN: r42326
2001-05-19 23:18:21 +00:00
Bruce Korb
c322646257 Do not use two warnings when one will do
From-SVN: r42323
2001-05-19 22:43:38 +00:00
Mark Mitchell
85b94003e1 jump.c (jump_optimize_1): Tidy.
* jump.c (jump_optimize_1): Tidy.
	(mark_jump_label): When changing the label in a LABEL_REF, change
	update any REG_EQUAL notes as well.

From-SVN: r42318
2001-05-19 21:16:51 +00:00
Phil Edwards
572051a275 acinclude.m4: Fix --help spacing, correct comments.
2001-05-19  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4:  Fix --help spacing, correct comments.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.
	* mkcheck.in:  Add usage comments.
	* docs/html/documentation.html:  Point to doxygen'd tarball.

From-SVN: r42316
2001-05-19 20:27:36 +00:00
Joseph Myers
97d2451609 re PR c/166 (C syntax problem in gcc)
* c-parse.in (parm_declarator): Split into
	parm_declarator_starttypename and parm_declarator_nostarttypename.
	(parm_declarator_starttypename, parm_declarator_nostarttypename):
	New.  Allow parenthesised sub-declarators which don't begin with a
	TYPENAME.  Fixes PR c/166.

testsuite:
	* gcc.c-torture/compile/20010114-1.x: Remove.

From-SVN: r42315
2001-05-19 21:19:24 +01:00
Matt Kraai
e48d3d009f * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r42314
2001-05-19 19:38:14 +00:00
Toon Moene
ae1aa9a172 Make-lang.in: Have $(MAKEINFO) look into the parent directory for includes.
2001-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>

	* Make-lang.in: Have $(MAKEINFO) look into the parent
	directory for includes.
	* g77.texi: Use the GFDL.

From-SVN: r42313
2001-05-19 18:09:56 +00:00
Mark Mitchell
4da5f005d4 defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New macro.
* defaults.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER): New
	macro.
	* tm.texi (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
	Document it.
	* toplev.c (main): If the target does not allow profiling without
	a frame pointer, issue an error message.
	* config/i386/linux.h (TARGET_ALLOWS_PROFILING_WITHOUT_FRAME_POINTER):
	Define it to false.

From-SVN: r42312
2001-05-19 17:56:48 +00:00
Richard Kenner
e86f9f3267 recog.c (general_operand): Modify last change to allow it if reload has completed.
* recog.c (general_operand): Modify last change to allow it if reload
	has completed.

From-SVN: r42309
2001-05-19 07:51:32 -04:00
Jan Hubicka
30cf266f94 recog.c (general_operand): Prohibit nonzero subreg bytes on subregs containing mem.
* recog.c (general_operand): Prohibit nonzero subreg bytes on
	subregs containing mem.

From-SVN: r42308
2001-05-19 08:24:50 +00:00
GCC Administrator
4ab7a7db6f Daily bump.
From-SVN: r42306
2001-05-19 07:16:09 +00:00
Denis Chertykov
65599eb413 regrename.c (regrename_optimize): frame pointer register can use a few hardregs.
* regrename.c (regrename_optimize): frame pointer register can
	use a few hardregs.

From-SVN: r42305
2001-05-19 09:59:52 +04:00
Alexandre Petit-Bianco
ec54a908e5 posix-threads.h (_Jv_CondInit): 0' used in place of NULL.'
2001-05-18  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * include/posix-threads.h (_Jv_CondInit): `0' used in place of `NULL.'
        (_Jv_MutexInit): Likewise.

(http://gcc.gnu.org/ml/java-patches/2001-q2/msg00245.html )

From-SVN: r42303
2001-05-18 22:43:00 -07:00
Benjamin Kosnik
9e0e191b0f configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.
2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libstdcxx_flags): Remove reference to libstdc++.INC.

From-SVN: r42299
2001-05-19 03:44:03 +00:00
Benjamin Kosnik
662d942545 README: Add notes.
2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/README: Add notes.

	* src/Makefile.am (libstdc++.INC): Remove.
	* src/Makefile.in: Regenerate.

	Phil Edwards <pedwards@disaster.jaj.com>
	* mkcheck.in: Add missing '#'.

From-SVN: r42298
2001-05-19 03:42:53 +00:00
Diego Novillo
f99df08ea8 decl2.c (finish_objects): Use the original SYMBOL_REF from the function declaration to avoid stripping...
2001-05-18  Diego Novillo  <dnovillo@redhat.com>

	* decl2.c (finish_objects): Use the original SYMBOL_REF from the
	function declaration to avoid stripping the symbol's attributes.

From-SVN: r42297
2001-05-18 23:05:15 -04:00
Jason Merrill
897979760b add emacs magic comment
From-SVN: r42294
2001-05-18 19:37:25 -04:00
Jason Merrill
ab1f084cdf fix
From-SVN: r42292
2001-05-18 19:32:45 -04:00
Jason Merrill
3804fe2e1b * README.DWARF: Move into dwarfout.c.
From-SVN: r42290
2001-05-18 18:39:38 -04:00
Stan Shebs
10d6cbb812 * gcc.c-torture/compile/20010518-1.c: New test.
From-SVN: r42289
2001-05-18 22:33:26 +00:00
Dale Johannesen
46fad5b721 rs6000.c (secondary_reload_class): Fix Darwin specific misuse of r0 as a reload address.
2001-05-18  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.c (secondary_reload_class): Fix Darwin
        specific misuse of r0 as a reload address.

From-SVN: r42287
2001-05-18 22:01:54 +00:00
Jan Hubicka
eb47ec1b69 combine.c (combine_simplify_rtx): Clear op0_mode if simplification suceeded.
* combine.c (combine_simplify_rtx): Clear op0_mode if simplification
	suceeded.

From-SVN: r42286
2001-05-18 21:04:56 +00:00
Richard Kenner
070ef6f4c4 genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
* genrecog.c (enum decision_type): Add DT_elt_zero-wide_safe.
	(add_to_sequence): Make that decision type.
	(maybe_both_true_2, nodes_identical_1, factor_tests): Use it.
	(write_switch, write_cond, debug_decision_2): Likewise.

From-SVN: r42285
2001-05-18 16:53:55 -04:00
Richard Kenner
8d81254bc0 Merge in proper ChangeLog
From-SVN: r42284
2001-05-18 16:48:28 -04:00
Richard Kenner
3342b6fdab /tmp/pl
From-SVN: r42283
2001-05-18 16:43:43 -04:00
Tom Tromey
63f36be6e7 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added Polygon.java.

From-SVN: r42276
2001-05-18 19:22:05 +00:00
Stan Shebs
41948db560 configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
* configure.in (gcc_cv_as_eh_frame): Cope with old assemblers.
        * configure: Regenerate.

From-SVN: r42274
2001-05-18 19:14:19 +00:00
Angela Marie Thomas
28e8acb68f libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags appropriately for remote testing and testing installed files without...
2001-05-18  Angela Marie Thomas <angela@cygnus.com>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
        appropriately for remote testing and testing installed files without
        a build dir.

From-SVN: r42272
2001-05-18 18:55:44 +00:00
Per Bothner
9d28960448 jvspec.c (lang_specific_pre_link): Re-arrange the linker command line so the jvgenmain-generated main program...
* jvspec.c (lang_specific_pre_link):  Re-arrange the linker
        command line so the jvgenmain-generated main program comes first.

From-SVN: r42270
2001-05-18 11:34:51 -07:00
Per Bothner
3a5a9edc34 Changes needed for java/jvspec.c
Changes needed for java/jvspec.c
        * gcc.h (n_infiles, outfiles):  Add declarations.
        * gcc.c (n_infiles, outfiles):  Mske no longer static.

From-SVN: r42269
2001-05-18 11:30:40 -07:00
Jeffrey A Law
c19814b607 * config/pa/som.h (EXCEPTION_SECTION): Define.
From-SVN: r42268
2001-05-18 10:12:34 -06:00
Daniel Berlin
63e4656873 dwarf2out.c: Add dw_loc_list_ref, a reference to a location list.
2001-05-18  Daniel Berlin  <dan@cgsoftware.com>

	* dwarf2out.c: Add dw_loc_list_ref, a reference to a location
	list.
	Add have_location_lists, a variable to determine whether we need a
	.debug_loc section or not.
	(enum dw_val_class): Add dw_val_class_loc_list.
	(dw_val_struct): Add val_loc_list.
	(dw_loc_list_struct): New structure, represents location lists.
	(new_loc_list): New function, return a new location list, given
	the range and location expression.
	(add_loc_descr_to_loc_list): New function, add a location
	expression to a location list, given the expression and range.
	(output_loc_list): New function, output a location list.
	(gen_internal_sym): Modified to take symbol prefix, so we can
	reuse it for location list symbols.
	(add_AT_loc_list): New function, add a location list to a DIE at
	the named attribute.
	(AT_loc_list): New function, return the location list reference
	for a given attribute, if it's a location list.
	(print_die): Handle dw_val_class_loc_list.
	(size_of_die): Ditto.
	(value_format): Ditto.
	(output_die): Ditto.
	(output_location_lists): New function, output all of the location
	lists for a DIE and it's children.
	(dwarf2out_finish): Call output_location_lists if we have location
	lists.

From-SVN: r42266
2001-05-18 15:39:11 +00:00
Nathan Sidwell
2b0cbc5d55 re PR c++/2526 (internal compiler error (version 2.95.3 and 3.0))
cp:
	PR c++/2526
	* decl.c (pushdecl): Adjust error string.
	(xref_tag): Adjust friend class injection warning. Remove the
	inherited name from the class shadowed scope.
testsuite:
	* g++.old-deja/g++.pt/inherit2.C: Remove XFAIL.
	* g++.old-deja/g++.pt/crash67.C: New test.

From-SVN: r42265
2001-05-18 15:00:29 +00:00
Jan Hubicka
9e71c818a1 gcse.c (try_replace_reg): First try global replace, later try to simplify the expression.
* gcse.c (try_replace_reg): First try global replace, later try to
	simplify the expression.

	* gcse.c (find_used_regs): Change calling convention; work via
	note_uses.
	(cprop_insn): Update call of find_used_regs; work for CALL_INSNs too.

From-SVN: r42264
2001-05-18 13:43:27 +00:00
Bernd Schmidt
24cdff3459 Revert an incorrect change
From-SVN: r42262
2001-05-18 12:45:03 +00:00
Andreas Jaeger
5a2c9d7035 Makefile.in (stamp-h): Only create config.h, touch stamp-h.
* libI77/Makefile.in (stamp-h): Only create config.h, touch stamp-h.
	(${srcdir}/config.h.in): Add true rule.

	* libI77/stamp-h.in: Added.

From-SVN: r42258
2001-05-18 09:45:56 +02:00
Andreas Jaeger
f3e16a470f * gcc_update: Add rules for libf2c/libI77.
From-SVN: r42257
2001-05-18 09:44:34 +02:00
Mark Mitchell
db3c03158c function.c (expand_function_start): Avoid creating BLKmode pseudos.
* function.c (expand_function_start): Avoid creating BLKmode
	pseudos.

	* dwarf2out.c (output_comp_unit): Always output a compilation-unit
	DIE, even if it has no children.
	(dwarf2out_finish): Always output the line-number table, even if
	it has no content.

From-SVN: r42254
2001-05-18 07:25:50 +00:00