Commit Graph

18028 Commits

Author SHA1 Message Date
John Carr
b8d80a3a83 * Makefile.in (mbchar.o): Depend on mbchar.c.
From-SVN: r21656
1998-08-10 16:06:34 +00:00
Jason Merrill
863878b2f0 x
From-SVN: r21655
1998-08-10 09:55:04 -04:00
Jason Merrill
77d7c64b6e new
From-SVN: r21654
1998-08-10 08:39:12 -04:00
David Edelsohn
f625817271 AIX 4.1.5 binder -bbigtoc relocation overflow fix.
From-SVN: r21653
1998-08-10 06:28:59 -04:00
David S. Miller
e0d8018451 Sparc backend rewrite by rth and myself, please
peruse the lengthy ChangeLog for a blow by blow account.

Co-Authored-By: Richard Henderson <rth@cygnus.com>

From-SVN: r21652
1998-08-09 22:34:44 -07:00
Richard Henderson
b08b85c4a0 alpha.md (extxl+1,+2): New patterns to work around combine lossage.
* alpha.md (extxl+1,+2): New patterns to work around
        combine lossage.

From-SVN: r21651
1998-08-09 18:23:59 -07:00
Jeff Law
4ef30178c0 Daily bump.
From-SVN: r21649
1998-08-09 18:45:01 -06:00
HJ Lu
13fec84826 mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
* mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

From-SVN: r21648
1998-08-09 17:17:03 -06:00
HJ Lu
3cf2f67022 mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
�
        * mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

From-SVN: r21647
1998-08-09 17:17:02 -06:00
Mark Mitchell
8ec2ac347f pt.c (check_explicit_specialization): Don't abort on bogus explicit instantiations.
* pt.c (check_explicit_specialization): Don't abort on bogus
	explicit instantiations.

From-SVN: r21643
1998-08-09 15:20:40 +00:00
Dave Love
b86c2124e2 Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi with explicit use of tex.
1998-08-09  Dave Love  <d.love@dl.ac.uk>
	* Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi
	with explicit use of tex.
	(f77.mostlyclean): Remove TeX index files.
	* g77install.texi (Prerequisites): Kluge round TeX lossage with
	hyphen in @value in @code.

From-SVN: r21642
1998-08-09 03:59:14 +00:00
Jeff Law
7651f57282 Daily bump.
From-SVN: r21639
1998-08-08 18:45:01 -06:00
Gary Thomas
aa4201ad77 8
* rs6000.c (rs6000_allocate_stack_space) Fix typo which
        caused bad assembly code to be generated.

From-SVN: r21638
1998-08-08 12:22:01 -06:00
Gary Thomas
93e42b0fe0
* rs6000.c (rs6000_allocate_stack_space) Fix typo which
        caused bad assembly code to be generated.

From-SVN: r21637
1998-08-08 12:21:59 -06:00
Jeffrey A Law
495c8b281a * netbsd.h: Fix typo.
From-SVN: r21634
1998-08-08 11:53:54 -06:00
Jeff Law
e81b37aafb Daily bump.
From-SVN: r21628
1998-08-07 18:45:02 -06:00
Mark Mitchell
ae58fa02be typeck.c (require_complete_type): Use complete_type_or_else.
* typeck.c (require_complete_type): Use complete_type_or_else.
	(complete_type_or_else): Always return NULL_TREE on failure, as
	documented.
	* pt.c (tsubst_aggr_type): Prototype.
	(tsubst_decl): New function, split out from tsubst.  Set
	input_filename and lineno as appropriate.
	(pop_tinst_level): Restore the file and line number saved in
	push_tinst_level.
	(instantiate_class_template): Set input_filename and lineno as
	appropriate.
	(tsubst): Move _DECL processing to tsubst_decl.  Make sure the
	context for a TYPENAME_TYPE is complete.
	* decl2.c (grokbitfield): Issue errors on bitfields declared with
	function type.
	(do_dtors): As in do_ctors, pretend to be a member of the same
	class as a static data member while generating a call to its
	destructor.

From-SVN: r21627
1998-08-07 16:33:34 +00:00
Mark Mitchell
523633872a cvt.c (cp_convert_to_pointer): Handle NULL pointer conversions, even in complex virtual base class hierarchies.
* cvt.c (cp_convert_to_pointer): Handle NULL pointer
	conversions, even in complex virtual base class hierarchies.

From-SVN: r21626
1998-08-07 09:56:06 +00:00
Jeff Law
bd106708cf Daily bump.
From-SVN: r21623
1998-08-06 18:45:02 -06:00
Mark Mitchell
ed44da020e cp-tree.h (ENUM_TEMPLATE_INFO): New macro.
* cp-tree.h (ENUM_TEMPLATE_INFO): New macro.
	(TYPE_TEMPLATE_INFO): Likewise.
	(SET_TYPE_TEMPLATE_INFO): Likewise.
	(ENUM_TI_TEMPLATE): Likewise.
	(ENUM_TI_ARGS): Likewise.
	(lookup_nested_type_by_name): Remove.
	* decl.c (maybe_process_template_type_declaration): Handle enums.
	(start_enum): Don't check for primary-template enum declarations
	here.
	(finish_enum): Clean up, document.  Make sure template enum
	constants get the correct type.
	(build_enumerator): Copy initializers for template enumerations,
	too.
	(grok_enum_decls): Document.
	* lex.c (do_identifier): Document use of LOOKUP_EXPR a bit
	better.  Build LOOKUP_EXPRs for local variables, even if they are
	TREE_PERMANENT.
	* pt.c (tsubst_enum): Remove field_chain parameter.
	(template_class_depth): Include the depth of surrounding function
	contexts.
	(push_template_decl): Check for primary-template enum declarations
	here.  Deal with enumeration templates.
	(lookup_template_class): Likewise.
	(for_each_template_parm): Likewise.
	(instantiate_class_template): Don't call tsubst_enum directly,
	call tsubst instead, to instantiate enums.  Deal with all
	field_chain issues here, not in tsubst_enum.
	(lookup_nested_type_by_name): Remove.
	(tsubst_aggr_type): Revise handling of enumeration types.
	(tsubst): Likewise.
	(tsubst_copy): Likewise.
	(tsubst_expr): Call tsubst, not tsubst_enum for TAG_DEFNs.

From-SVN: r21622
1998-08-06 16:58:43 +00:00
Mark Mitchell
a8b0896fe6 New test
From-SVN: r21621
1998-08-06 09:56:09 +00:00
Jeff Law
debed82cde Daily bump.
From-SVN: r21619
1998-08-05 18:45:02 -06:00
Craig Burley
ca8769e3b2 com.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized integer...
Tue Aug  4 16:59:39 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
	Allow conversion from pointer to same-sized integer,
	to fix invoking SIGNAL as a function.

From-SVN: r21618
1998-08-05 11:22:15 +00:00
Craig Burley
a74de6ea68 com.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized integer...
Tue Aug  4 16:59:39 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_convert_narrow_, ffecom_convert_widen_):
	Allow conversion from pointer to same-sized integer,
	to fix invoking SIGNAL as a function.

[[Split portion of a mixed commit.]]

From-SVN: r21617.2
1998-08-05 11:19:05 +00:00
Bruce Korb
a16be29649 Update the generated file, too
From-SVN: r21615
1998-08-05 10:44:11 +00:00
Bruce Korb
725471d2bd Changes to allow bypassing tests for certain machines
From-SVN: r21614
1998-08-05 10:20:13 +00:00
Bruce Korb
7c3b5ba531 Document today's changes
From-SVN: r21613
1998-08-05 10:18:37 +00:00
Jeff Law
2dfef45f14 Daily bump.
From-SVN: r21611
1998-08-04 18:45:02 -06:00
Andreas Jaeger
887e305815 libioP.h: Use __PMT in typedefs.
* libioP.h: Use __PMT in typedefs.
* strfile.h: Likewise.

From-SVN: r21610
1998-08-04 15:21:08 +00:00
Mark Mitchell
e4a8420974 decl.c (pushtag): Don't mangle the name of a TYPE_DECL if it uses template parameters.
* decl.c (pushtag): Don't mangle the name of a TYPE_DECL if it
	uses template parameters.
	* method.c (build_template_parm_names): Use the full set of
	template arguments for tsubst'ing.
	(build_overload_identifier): Pass the full set of template
	arguments to build_template_parm_names, not just the
	innermost_args.
	* pt.c (TMPL_ARGS_DEPTH): Define using
	TMPL_ARGS_HAVE_MULTIPLE_LEVELS, for clarity.
	(NUM_TMPL_ARGS): New macro.
	(add_outermost_template_args): Deal with the case where the outer
	args will be completely discarded.
	(coerce_template_parms): Use the full set of template arguments
	for tsubst'ing.  Simplify.  Add some asserts.  Improve
	error messages.
	(lookup_template_class): Pass the full set of template arguments
	to coerce_template_parms.
	(tsubst): Add assertion.
	(do_type_instantiation): Don't instantiate member template
	classes.
	* init.c (build_offset_ref): Deal with a TEMPLATE_ID_EXPR whose
	name is a LOOKUP_EXPR, rather than an IDENTIFIER_NODE.

From-SVN: r21609
1998-08-04 11:46:41 +00:00
Jeff Law
be5ceb725b Daily bump.
From-SVN: r21554
1998-08-03 18:45:02 -06:00
Jason Merrill
c1def683c1 method.c (set_mangled_name_for_decl): Change return type to void.
* method.c (set_mangled_name_for_decl): Change return type to void.
	* decl.c (lookup_name_real): A namespace-level decl takes priority
	over implicit typename.  Avoid doing the same lookup twice.
	* search.c (dependent_base_p): New fn.
	(dfs_pushdecls, dfs_compress_decls): Use it.
	* typeck.c (get_member_function_from_ptrfunc): Don't try to handle
	virtual functions if the type doesn't have any.

From-SVN: r21551
1998-08-03 18:11:25 -04:00
Gerald Pfeifer
090f136ad2 Add myself, as per Jeff Law's request.
From-SVN: r21550
1998-08-03 11:22:28 +00:00
Mark Mitchell
93b7fd0af4 decl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it uses template parameters.
* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it
	uses template parameters.

From-SVN: r21549
1998-08-03 09:59:39 +00:00
Mark Mitchell
35fce3ceb2 decl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it uses template parameters.
* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it
	uses template parameters.

From-SVN: r21548
1998-08-03 09:58:34 +00:00
Jeff Law
9471ad135d Daily bump.
From-SVN: r21546
1998-08-02 18:45:02 -06:00
Robert Lipe
b72612b0c7 * config.sub: Fix typo.
From-SVN: r21545
1998-08-02 22:10:44 +00:00
Mark Mitchell
672476cbdf cp-tree.def (LOOKUP_EXPR): Document.
* cp-tree.def (LOOKUP_EXPR): Document.  Remove second argument.
	* cp-tree.h (DECL_TI_TEMPLATE): Improve documentation.
	* lex.c (do_identifier): Don't use a second argument, or a type,
	when building LOOKUP_EXPRs.
	(do_identifier): Likewise.
	(do_scoped_id): Likewise.
	* method.c (hack_identifier): Improve error message.
	* pt.c (lookup_template_function): Don't needlessly call
	copy_to_permanent or build_min.
	(tsubst_copy): Remove #if 0'd code.  Tsubst into LOOKUP_EXPRs if
	necessary.
	(do_decl_instantiation): Improve error message.
	* tree.c (mapcar, case LOOKUP_EXPR): Don't be sorry; make a copy.
	(build_min): Copy the type to the permanent obstack, too.

From-SVN: r21544
1998-08-02 21:37:23 +00:00
Mark Mitchell
151ab2f29e New test
From-SVN: r21543
1998-08-02 21:27:51 +00:00
Hans-Peter Nilsson
46103ab43a invoke.texi (Environment Variables): Typo: Change "ascpects" into "aspects".
(
        * invoke.texi (Environment Variables): Typo: Change "ascpects"
        into "aspects".
        (Running Protoize): Typo: Change "ther" into "other".

From-SVN: r21542
1998-08-02 10:00:17 -06:00
Hans-Peter Nilsson
b28dd84028 invoke.texi (Environment Variables): Typo: Change "ascpects" into "aspects".
* invoke.texi (Environment Variables): Typo: Change "ascpects"
        into "aspects".
        (Running Protoize): Typo: Change "ther" into "other".

From-SVN: r21541
1998-08-02 10:00:15 -06:00
Dave Love
3e3f53fba8 New SEL-HPC URL.
From-SVN: r21540
1998-08-02 09:44:00 +00:00
Jeff Law
e44d06c3a9 Initial revision
From-SVN: r21537
1998-08-02 00:46:46 -06:00
Jeff Law
d70283ce50 Initial revision
From-SVN: r21536
1998-08-02 00:46:43 -06:00
Jeff Law
19b7a780f4 Initial revision
From-SVN: r21533
1998-08-02 00:20:56 -06:00
Jeff Law
a2c0accaef Initial revision
From-SVN: r21532
1998-08-02 00:20:53 -06:00
Jeff Law
d70c01b8e2 Initial revision
From-SVN: r21531
1998-08-02 00:20:50 -06:00
Jeff Law
48011dd440 Initial revision
From-SVN: r21528
1998-08-02 00:12:03 -06:00
Jeff Law
37bf11847e Daily bump.
From-SVN: r21526
1998-08-01 18:45:02 -06:00
Jeff Law
47a0e5a84f netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
h
        * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
        * m68k/netbsd.h: Likewise.
        * ns32k/netbsd.h: Likewise.
        * sparc/netbsd.h: Likewise.

From-SVN: r21523
1998-08-01 17:50:00 -06:00