Commit Graph

16913 Commits

Author SHA1 Message Date
Jeffrey A Law
61819ba58e Bump for snapshot
From-SVN: r20032
1998-05-24 14:36:19 -06:00
Jason Merrill
46dc515752 old-dejagnu.exp: All tests fail if we got an internal compiler error for the line.
* lib/old-dejagnu.exp: All tests fail if we got an internal compiler
	error for the line.  Don't run multiple tests for the same line.

From-SVN: r20028
1998-05-24 12:21:23 -04:00
Jason Merrill
60f06d2f91 new
From-SVN: r20021
1998-05-24 10:00:07 -04:00
Alexandre Oliva
f098395833 Makefile.in (boostrap2-lean, [...]): new targets Forgot to commit.
* Makefile.in (boostrap2-lean, bootstrap3-lean,
        bootstrap4-lean): new targets
Forgot to commit.

From-SVN: r20016
1998-05-24 04:20:27 -06:00
Craig Burley
127e1a180e bad.def (FFEBAD_OPEN_UNSUPPORTED, [...]): Change these from warnings to errors.
Tue May 19 14:52:41 1998  Craig Burley  <burley@gnu.org>
        * bad.def (FFEBAD_OPEN_UNSUPPORTED, FFEBAD_INQUIRE_UNSUPPORTED,
        FFEBAD_READ_UNSUPPORTED, FFEBAD_WRITE_UNSUPPORTED,
        FFEBAD_QUAD_UNSUPPORTED, FFEBAD_BLOCKDATA_STMT,
        FFEBAD_TRUNCATING_CHARACTER, FFEBAD_TRUNCATING_HOLLERITH,
        FFEBAD_TRUNCATING_NUMERIC, FFEBAD_TRUNCATING_TYPELESS,
        FFEBAD_TYPELESS_OVERFLOW): Change these from warnings
        to errors.

From-SVN: r20015
1998-05-24 08:33:15 +00:00
Jeffrey A Law
f5c57ba7d0 Bump for snapshot
From-SVN: r20003
1998-05-23 20:09:00 -06:00
Manfred Hollstein
e7f62ad38b Makefile.in (ENQUIRE_CFLAGS, [...]): Move down to the end of the Makefile.
* Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): Move down to the end
	of the Makefile.
	(FLOAT_H_TEST): Likewise.
	(ENQUIRE): Likewise.
	(float.h-nat): Likewise.
	(float.h-cross): Likewise.
	(enquire): Likewise.
	(enquire.o): Likewise.
	(stmp-int-hdrs): Fix comment about enquire; depend upon gfloat.h.
	(stmp-headers): Move actions to stmp-int-hdrs, retaining only a
	no-op.
	(FLOAT_H): Remove old float.h-nat version; move current definition
	to CROSS_FLOAT_H location.
	(all.cross): Remove comments about enquire stuff.
	* Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
	(rest.encap): Likewise.
	(libgcc2.ready): Depend upon $(STMP_FIXPROTO)

From-SVN: r20000
1998-05-23 18:44:00 -06:00
Jeff Law
d7336000fa Daily bump.
From-SVN: r19999
1998-05-23 18:29:13 -06:00
Andreas Schwab
7a87758dfb m68k.h: Declare more functions used in macros.
* m68k.h: Declare more functions used in macros.
        (REG_CLASS_CONTENTS): Completely embrace initializer.
        * m68k.md (adddi3, subdi3): Add abort call to avoid warning
        about returning no value.
        * cse.c (find_best_addr): Declare p and found_better only if
        needed.
        * dbxout.c (dbxout_continue): Define only if DBX_CONTIN_LENGTH > 0.
        * dwarfout.c (string_length_attribute): #if 0 away.
        * function.c (expand_function_end): Define varible blktramp only
        if needed.
        * jump.c (find_insert_position): Define only if !HAVE_cc0.
        * loop.c (combine_givs_p): Define variable tem only if needed.
        * real.c: Comment out unused functions eabs, eround,
        e{24,53,64,113}toasc and eiinfin.

From-SVN: r19998
1998-05-23 17:14:57 -06:00
Alexandre Oliva
10ad38cac0 Makefile.in (boostrap2-lean, [...]): New targets.
* Makefile.in (boostrap2-lean, bootstrap3-lean,
        bootstrap4-lean): New targets.

From-SVN: r19997
1998-05-23 16:46:40 -06:00
Alexandre Oliva
eaed7b419f Makefile.in (boostrap2-lean, [...]): new targets
* Makefile.in (boostrap2-lean, bootstrap3-lean,
        bootstrap4-lean): new targets

From-SVN: r19996
1998-05-23 16:45:35 -06:00
Manfred Hollstein
8d45987f20 Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
* Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
	(rest.encap): Likewise.

From-SVN: r19993
1998-05-23 16:41:17 -06:00
Jeff Law
269df0f8c6 * test_summary: find good awk (copied from warn_summary).
From-SVN: r19992
1998-05-23 16:40:01 -06:00
Jeffrey A Law
57fec042aa * warn_summary, test_summary: Moved into the contrib directory.
From-SVN: r19991
1998-05-23 16:36:37 -06:00
Jeff Law
d258564a1d Moved here from the gcc subdir.
From-SVN: r19990
1998-05-23 16:35:33 -06:00
Andreas Schwab
10c62dce04 * Makefile.in (distclean): Don't remove alloca-conf.h
From-SVN: r19987
1998-05-23 16:32:53 -06:00
Manfred Hollstein
97263b8cbd toplev.h (tree_node): Provide global declaration to avoid `limited scope' warnings.
* toplev.h (tree_node): Provide global declaration to avoid
        `limited scope' warnings.

From-SVN: r19986
1998-05-23 16:29:52 -06:00
Jeffrey A Law
fd71378bb0 * gcc.dg/980523-1.c: New test.
From-SVN: r19985
1998-05-23 16:28:21 -06:00
Robert Lipe
a8c24967fc test_summary: Display section breaks for each entry in a multilibbed target's output.
* test_summary: Display section breaks for each entry
        in a multilibbed target's output.

From-SVN: r19980
1998-05-23 16:24:55 -06:00
Dave Love
6e4cdba004 970915-0.f: New test.
1998-05-23  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/compile/970915-0.f: New test.

From-SVN: r19973
1998-05-23 09:58:17 +00:00
Dave Love
2b9a5752b9 New test.
From-SVN: r19972
1998-05-23 09:54:41 +00:00
Dave Love
7b6a7d3b5f More commentary.
From-SVN: r19971
1998-05-23 09:51:54 +00:00
Craig Burley
6829256fb4 com.c (ffecom_finish_symbol_transform_): Don't transform statement (nested) functions...
Sat May 23 06:32:52 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_finish_symbol_transform_): Don't transform
	statement (nested) functions, to avoid gcc compiling them
	and thus producing linker errors if they refer to undefined
	exteral functions.  But warn if they're unused and -Wunused.

From-SVN: r19970
1998-05-23 09:45:45 +00:00
Jason Merrill
e125ac2661 tweak
From-SVN: r19969
1998-05-22 22:20:21 -04:00
Jason Merrill
cf22ce453e * lib/old-dejagnu.exp: Ignore C++ "instantiated from" mesages.
From-SVN: r19968
1998-05-22 22:20:08 -04:00
Jason Merrill
1139b3d870 cp-tree.def: Add SRCLOC.
* cp-tree.def: Add SRCLOC.
	* cp-tree.h: Add struct tree_srcloc and accessor macros.
	* tree.c (build_srcloc, build_srcloc_here): New fns.
	* pt.c (add_pending_template): Use build_srcloc_here.
	(push_tinst_level): Update last_template_error_tick before erroring.
	(instantiate_decl): Restore lineno and input_filename before
	calling add_pending_template.
	* decl2.c (finish_file): Set up lineno and input_filename for
	pending templates.

From-SVN: r19967
1998-05-22 22:18:33 -04:00
Jason Merrill
62c154ed39 decl.c (lang_print_error_function): New fn.
* decl.c (lang_print_error_function): New fn.
	(init_decl_processing): Set print_error_function to use it.
	* errfn.c (cp_thing): Don't call maybe_print_template_context here.
	* call.c (maybe_handle_ref_bind): Propagate ICS_USER_FLAG and
	ICS_BAD_FLAG.
	* cvt.c (ocp_convert): Don't set LOOKUP_NO_CONVERSION for
	copy-initialization.

From-SVN: r19966
1998-05-22 19:13:28 -04:00
Richard Henderson
bd070e1aa9 expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...
* expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
offset's mode is not ptr_mode, convert it.

From-SVN: r19965
1998-05-22 16:03:25 -07:00
Jason Merrill
329745f7c1 class.c (build_vtable_entry): Use int_fits_type_p.
* class.c (build_vtable_entry): Use int_fits_type_p.
	(build_vtable): Pass a signed offset to build_vtable_entry.
	(prepare_fresh_vtable, modify_one_vtable, fixup_vtable_deltas1,
	set_rtti_entry): Likewise.

From-SVN: r19964
1998-05-22 17:05:09 -04:00
Jason Merrill
697073d938 fold-const.c (ssize_binop): New fn.
* fold-const.c (ssize_binop): New fn.
	* tree.h: Declare it.

From-SVN: r19963
1998-05-22 16:58:14 -04:00
Ulrich Drepper
49feb20cf7 Update.
From-SVN: r19962
1998-05-22 20:40:16 +00:00
Ulrich Drepper
d2f023622c (_IO_str_underflow): Read newly available character from buffer as unsigned.
From-SVN: r19961
1998-05-22 20:40:02 +00:00
Per Bothner
cfdd055184 cp-tree.h: Add comments documenting which LANG_FLAGS are used.
�
	* cp-tree.h:  Add comments documenting which LANG_FLAGS are used.
	(C_TYPE_VARIABLE_SIZE, C_DECL_VARIABLE_SIZE):  Removed, not used.

From-SVN: r19960
1998-05-22 05:22:54 -07:00
Craig Burley
2e0773e857 [multiple changes]
Tue May 19 14:52:41 1998  Craig Burley  <burley@gnu.org>
	* bad.def (FFEBAD_OPEN_UNSUPPORTED, FFEBAD_INQUIRE_UNSUPPORTED,
	FFEBAD_READ_UNSUPPORTED, FFEBAD_WRITE_UNSUPPORTED,
	FFEBAD_QUAD_UNSUPPORTED, FFEBAD_BLOCKDATA_STMT,
	FFEBAD_TRUNCATING_CHARACTER, FFEBAD_TRUNCATING_HOLLERITH,
	FFEBAD_TRUNCATING_NUMERIC, FFEBAD_TRUNCATING_TYPELESS,
	FFEBAD_TYPELESS_OVERFLOW): Change these from warnings
	to errors.
Tue May 19 14:51:59 1998  Craig Burley  <burley@gnu.org>
	* Make-lang.in (f77.install-info, f77.uninstall):
	Use install-info as appropriate.
Tue May 19 12:56:54 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_init_0): Rename xargc to f__xargc,
	in accord with same-dated change to f/runtime.

From-SVN: r19959
1998-05-22 10:55:52 +00:00
Dave Love
43ebf5a445 JCB update.
From-SVN: r19958
1998-05-22 10:55:21 +00:00
Dave Love
2929d7a2a0 Makefile.in ($(lib)): Use shell loop instead of unportable make variable substitution.
1998-05-20  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in ($(lib)): Use shell loop instead of unportable
	make variable substitution.

From-SVN: r19957
1998-05-22 10:49:26 +00:00
Craig Burley
5a276a25c6 Break up main() into separate .o's so making and linking against shared...
Tue May 19 12:50:27 1998  Craig Burley  <burley@gnu.org>
	Break up main() into separate .o's so making and
	linking against shared libraries with non-Fortran
	main() routines is easier:
	* Makefile.in (MISC): Add setarg.o and setsig.o.
	* libF77/Makefile.in (MISC): Ditto.
	* libF77/setarg.c: New file, contains f_setarg().
	* libF77/setsig.c: New file, contains f_setsig().
	* libF77/getarg_.c: Rename xarg* to f__xarg*.
	* libF77/iargc_.c: Ditto

From-SVN: r19956
1998-05-22 10:32:18 +00:00
Dave Love
aa43c90be9 JCB patch.
From-SVN: r19955
1998-05-22 10:27:20 +00:00
Craig Burley
7026990ba2 bad.def (FFEBAD_OPEN_UNSUPPORTED, [...]): Change these from warnings to errors.
Tue May 19 14:52:41 1998  Craig Burley  <burley@gnu.org>
* bad.def (FFEBAD_OPEN_UNSUPPORTED, FFEBAD_INQUIRE_UNSUPPORTED,
FFEBAD_READ_UNSUPPORTED, FFEBAD_WRITE_UNSUPPORTED,
FFEBAD_QUAD_UNSUPPORTED, FFEBAD_BLOCKDATA_STMT,
FFEBAD_TRUNCATING_CHARACTER, FFEBAD_TRUNCATING_HOLLERITH,
FFEBAD_TRUNCATING_NUMERIC, FFEBAD_TRUNCATING_TYPELESS,
FFEBAD_TYPELESS_OVERFLOW): Change these from warnings
to errors.

From-SVN: r19954
1998-05-22 10:26:01 +00:00
Craig Burley
92edcdc833 Make-lang.in (f77.install-info, [...]): Use install-info as appropriate.
Tue May 19 14:51:59 1998  Craig Burley  <burley@gnu.org>
* Make-lang.in (f77.install-info, f77.uninstall):
Use install-info as appropriate.

From-SVN: r19953
1998-05-22 10:25:34 +00:00
Craig Burley
1ed565d7a6 com.c (ffecom_init_0): Rename xargc to f__xargc, in accord with same-dated change to f/runtime.
Tue May 19 12:56:54 1998  Craig Burley  <burley@gnu.org>
* com.c (ffecom_init_0): Rename xargc to f__xargc,
in accord with same-dated change to f/runtime.

From-SVN: r19952
1998-05-22 10:24:50 +00:00
Dave Love
e72d9e6b9d JCB update
From-SVN: r19951
1998-05-22 10:22:44 +00:00
Jason Merrill
038fb86f04 * pt.c (print_template_context): Use fprintf instead of cp_error.
From-SVN: r19950
1998-05-22 01:01:43 -04:00
Jason Merrill
82a7448c53 (check_explicit_specialization): Don't mess with a returned
error_mark_node.

From-SVN: r19949
1998-05-22 00:18:51 -04:00
Jason Merrill
d7fe837368 comment
From-SVN: r19948
1998-05-21 23:49:13 -04:00
Richard Earnshaw
07704a9adb genextract.c (print_path): Handle zero-length path as a special case.
From-SVN: r19947
1998-05-22 03:44:58 +00:00
Jason Merrill
27fafc8de1 pt.c (determine_specialization): Just return an error_mark_node.
* pt.c (determine_specialization): Just return an error_mark_node.
	Also print the decl we want in error messages.  If we complain,
	return error_mark_node.
	(tsubst_friend_function): Set lineno and input_filename so
	error messages will be useful.
	(instantiate_template): Just return an error_mark_node.
	* pt.c (print_template_context): Add new argument.
	(maybe_print_template_context): New fn.
	(push_tinst_level): Increment tinst_level_tick.
	(pop_tinst_level): Likewise.
	* errfn.c (cp_thing): Call maybe_print_template_context.  Use
	xrealloc instead of xmalloc.
	* typeck.c (build_unary_op, CONVERT_EXPR): Propagate TREE_CONSTANT.

From-SVN: r19946
1998-05-21 23:32:43 -04:00
Hans-Peter Nilsson
911c3b7d7c cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
�
        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

From-SVN: r19945
1998-05-21 18:39:52 -06:00
Hans-Peter Nilsson
75f6bf44da cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
�
        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

From-SVN: r19944
1998-05-21 18:39:51 -06:00
Hans-Peter Nilsson
4e3769ae80 cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
8
        * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.

From-SVN: r19943
1998-05-21 18:39:44 -06:00