OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years ago
bothner [Tue, 11 Aug 1998 16:34:05 +0000 (16:34 +0000)]

Fix incorrect comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21676 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * except.c (set_exception_lang_code, set_exception_version_code):
jfc [Tue, 11 Aug 1998 13:36:42 +0000 (13:36 +0000)]
* except.c (set_exception_lang_code, set_exception_version_code):
Use prototype-style definition if __STDC__, to match declaration
in except.h.
* genemit.c: Change FAIL and DONE macros not to use loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21675 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix sparc64-elf build problem.
wilson [Tue, 11 Aug 1998 13:23:44 +0000 (13:23 +0000)]
Fix sparc64-elf build problem.
* dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
ASM_OUTPUT_DWARF2_ADDR_CONST if defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21674 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix mips16 libgcc build failure.
wilson [Tue, 11 Aug 1998 12:28:52 +0000 (12:28 +0000)]
Fix mips16 libgcc build failure.
* mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21673 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-08-11 Dave Love <d.love@dl.ac.uk>
fx [Tue, 11 Aug 1998 10:15:04 +0000 (10:15 +0000)]
1998-08-11  Dave Love  <d.love@dl.ac.uk>
* README: Update from Craig.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21672 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue Aug 11 17:45:39 1998 Dave Love <d.love@dl.ac.uk>
fx [Tue, 11 Aug 1998 10:13:57 +0000 (10:13 +0000)]
Tue Aug 11 17:45:39 1998  Dave Love  <d.love@dl.ac.uk>
* README.g77: Update from Craig.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21671 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * egcs_update: New switch --nostdflags and documentation
gerald [Tue, 11 Aug 1998 09:04:53 +0000 (09:04 +0000)]
* egcs_update: New switch --nostdflags and documentation
enhancements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21667 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * egcs_update: New script.
gerald [Tue, 11 Aug 1998 08:38:09 +0000 (08:38 +0000)]
    * egcs_update: New script.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21664 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/sparc/sparc.c (const64_operand, const64_high_operand):
davem [Tue, 11 Aug 1998 07:13:17 +0000 (07:13 +0000)]
* config/sparc/sparc.c (const64_operand, const64_high_operand):
New predicates.
* config/sparc/sparc.h: Declare them.
(PREDICATE_CODES): Add them.
* config/sparc/sparc.md (movdi_lo_sum_sp64_dbl,
movdi_high_sp64_dbl, xordi3_sp64_dbl): Use them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21663 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
davem [Tue, 11 Aug 1998 05:54:17 +0000 (05:54 +0000)]
* config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
type HOST_WIDE_INT.
(safe_constDI sparc_emit_set_const64_quick1,
sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
analyze_64bit_constant, const64_is_2insns,
create_simple_focus_bits): Fix some bugs when compiled on real
64-bit hosts.
(function_arg_record_value_3, function_arg_record_value_2,
function_arg_record_value): Add fully prototyped forward decls.
* config/sparc/sparc.md (define_insn cmpsi_insn_sp32): Rename back
to cmpsi_insn and use on both 64 and 32 bit targets.
(define_insn cmpsi_insn_sp64): Remove.
(define_expand zero_extendsidi2): Allow for 32-bit target too.
(define_insn zero_extendsidi2_insn): Rename to
zero_extendsidi2_insn_sp64.
(define_insn zero_extendsidi2_insn_sp32): New pattern and
assosciated forced split for it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21662 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Tue, 11 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21660 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
davem [Tue, 11 Aug 1998 00:03:39 +0000 (00:03 +0000)]
* config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
in v9 case as the latter makes the Solaris assembler crash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21659 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
davem [Mon, 10 Aug 1998 23:47:28 +0000 (23:47 +0000)]
* config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
for TFmode when !v9.  We require offsettable memory addresses.
* config/sparc/sparc.h (ALTER_HARD_SUBREG): Handle TFmode to
DFmode register number conversions.
* config/sparc/sparc.md (define_split DFmode moves): If register
is a SUBREG do alter_subreg on it before using.
(define_expand movtf): Fixup comment about alignment on v9.
(define_split TFmode moves): Don't use gen_{high,low}part, create
explicit SUBREGs instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21658 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in (mbchar.o): Depend on mbchar.c.
jfc [Mon, 10 Aug 1998 16:06:34 +0000 (16:06 +0000)]
* Makefile.in (mbchar.o): Depend on mbchar.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21656 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agox
jason [Mon, 10 Aug 1998 13:55:04 +0000 (13:55 +0000)]
x

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21655 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agonew
jason [Mon, 10 Aug 1998 12:39:12 +0000 (12:39 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21654 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAIX 4.1.5 binder -bbigtoc relocation overflow fix.
dje [Mon, 10 Aug 1998 10:28:59 +0000 (10:28 +0000)]
AIX 4.1.5 binder -bbigtoc relocation overflow fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21653 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoSparc backend rewrite by rth and myself, please
davem [Mon, 10 Aug 1998 05:34:44 +0000 (05:34 +0000)]
Sparc backend rewrite by rth and myself, please
peruse the lengthy ChangeLog for a blow by blow account.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21652 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * alpha.md (extxl+1,+2): New patterns to work around
rth [Mon, 10 Aug 1998 01:23:59 +0000 (01:23 +0000)]
    * alpha.md (extxl+1,+2): New patterns to work around
        combine lossage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21651 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Mon, 10 Aug 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21649 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
law [Sun, 9 Aug 1998 23:17:03 +0000 (23:17 +0000)]
    * mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21648 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Sun, 9 Aug 1998 23:17:02 +0000 (23:17 +0000)]

        * mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21647 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pt.c (check_explicit_specialization): Don't abort on bogus
mmitchel [Sun, 9 Aug 1998 15:20:40 +0000 (15:20 +0000)]
* pt.c (check_explicit_specialization): Don't abort on bogus
explicit instantiations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21643 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-08-09 Dave Love <d.love@dl.ac.uk>
fx [Sun, 9 Aug 1998 03:59:14 +0000 (03:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21642 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sun, 9 Aug 1998 00:45:01 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21639 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
law [Sat, 8 Aug 1998 18:22:01 +0000 (18:22 +0000)]
8
        * rs6000.c (rs6000_allocate_stack_space) Fix typo which
        caused bad assembly code to be generated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21638 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Sat, 8 Aug 1998 18:21:59 +0000 (18:21 +0000)]

        * rs6000.c (rs6000_allocate_stack_space) Fix typo which
        caused bad assembly code to be generated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21637 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * netbsd.h: Fix typo.
law [Sat, 8 Aug 1998 17:53:54 +0000 (17:53 +0000)]
    * netbsd.h: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21634 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sat, 8 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21628 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * typeck.c (require_complete_type): Use complete_type_or_else.
mmitchel [Fri, 7 Aug 1998 16:33:34 +0000 (16:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21627 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cvt.c (cp_convert_to_pointer): Handle NULL pointer
mmitchel [Fri, 7 Aug 1998 09:56:06 +0000 (09:56 +0000)]
* cvt.c (cp_convert_to_pointer): Handle NULL pointer
conversions, even in complex virtual base class hierarchies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21626 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Fri, 7 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21623 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cp-tree.h (ENUM_TEMPLATE_INFO): New macro.
mmitchel [Thu, 6 Aug 1998 16:58:43 +0000 (16:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21622 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoNew test
mmitchel [Thu, 6 Aug 1998 09:56:09 +0000 (09:56 +0000)]
New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21621 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Thu, 6 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21619 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue Aug 4 16:59:39 1998 Craig Burley <burley@gnu.org>
fx [Wed, 5 Aug 1998 11:22:15 +0000 (11:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21618 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue Aug 4 16:59:39 1998 Craig Burley <burley@gnu.org>
fx [Wed, 5 Aug 1998 11:19:05 +0000 (11:19 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21617 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUpdate the generated file, too
korbb [Wed, 5 Aug 1998 10:44:11 +0000 (10:44 +0000)]
Update the generated file, too

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21615 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoChanges to allow bypassing tests for certain machines
korbb [Wed, 5 Aug 1998 10:20:13 +0000 (10:20 +0000)]
Changes to allow bypassing tests for certain machines

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21614 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDocument today's changes
korbb [Wed, 5 Aug 1998 10:18:37 +0000 (10:18 +0000)]
Document today's changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21613 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Wed, 5 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21611 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* libioP.h: Use __PMT in typedefs.
drepper [Tue, 4 Aug 1998 15:21:08 +0000 (15:21 +0000)]
* libioP.h: Use __PMT in typedefs.
* strfile.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21610 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (pushtag): Don't mangle the name of a TYPE_DECL if it
mmitchel [Tue, 4 Aug 1998 11:46:41 +0000 (11:46 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21609 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Tue, 4 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21554 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * method.c (set_mangled_name_for_decl): Change return type to void.
jason [Mon, 3 Aug 1998 22:11:25 +0000 (22:11 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21551 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAdd myself, as per Jeff Law's request.
gerald [Mon, 3 Aug 1998 11:22:28 +0000 (11:22 +0000)]
Add myself, as per Jeff Law's request.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21550 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it
mmitchel [Mon, 3 Aug 1998 09:59:39 +0000 (09:59 +0000)]
* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it
uses template parameters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21549 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it
mmitchel [Mon, 3 Aug 1998 09:58:34 +0000 (09:58 +0000)]
* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it
uses template parameters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21548 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Mon, 3 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21546 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config.sub: Fix typo.
robertl [Sun, 2 Aug 1998 22:10:44 +0000 (22:10 +0000)]
* config.sub: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21545 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cp-tree.def (LOOKUP_EXPR): Document. Remove second argument.
mmitchel [Sun, 2 Aug 1998 21:37:23 +0000 (21:37 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21544 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoNew test
mmitchel [Sun, 2 Aug 1998 21:27:51 +0000 (21:27 +0000)]
New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21543 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago(
law [Sun, 2 Aug 1998 16:00:17 +0000 (16:00 +0000)]
(
        * invoke.texi (Environment Variables): Typo: Change "ascpects"
        into "aspects".
        (Running Protoize): Typo: Change "ther" into "other".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21542 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * invoke.texi (Environment Variables): Typo: Change "ascpects"
law [Sun, 2 Aug 1998 16:00:15 +0000 (16:00 +0000)]
    * invoke.texi (Environment Variables): Typo: Change "ascpects"
        into "aspects".
        (Running Protoize): Typo: Change "ther" into "other".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21541 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoNew SEL-HPC URL.
fx [Sun, 2 Aug 1998 09:44:00 +0000 (09:44 +0000)]
New SEL-HPC URL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21540 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Sun, 2 Aug 1998 06:46:46 +0000 (06:46 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21537 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Sun, 2 Aug 1998 06:46:43 +0000 (06:46 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21536 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Sun, 2 Aug 1998 06:20:56 +0000 (06:20 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21533 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Sun, 2 Aug 1998 06:20:53 +0000 (06:20 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21532 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Sun, 2 Aug 1998 06:20:50 +0000 (06:20 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21531 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoInitial revision
law [Sun, 2 Aug 1998 06:12:03 +0000 (06:12 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21528 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sun, 2 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21526 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoh
law [Sat, 1 Aug 1998 23:50:00 +0000 (23:50 +0000)]
h
        * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
        * m68k/netbsd.h: Likewise.
        * ns32k/netbsd.h: Likewise.
        * sparc/netbsd.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21523 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
law [Sat, 1 Aug 1998 23:49:55 +0000 (23:49 +0000)]
    * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
        * m68k/netbsd.h: Likewise.
        * ns32k/netbsd.h: Likewise.
        * sparc/netbsd.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21522 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
rth [Sat, 1 Aug 1998 18:00:15 +0000 (18:00 +0000)]
    * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
        * ginclude/va-clipper.h (va_list): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21518 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-08-01 Dave Love <d.love@dl.ac.uk>
fx [Sat, 1 Aug 1998 09:41:39 +0000 (09:41 +0000)]
1998-08-01  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/compile/980729-0.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21516 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoNew test.
fx [Sat, 1 Aug 1998 09:38:20 +0000 (09:38 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21515 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * init.c (init_init_processing): Remove BI* handling.
jason [Sat, 1 Aug 1998 02:36:54 +0000 (02:36 +0000)]
* init.c (init_init_processing): Remove BI* handling.
(build_builtin_call): Remove.
(build_builtin_delete_call): New fn.
(build_delete): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21514 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sat, 1 Aug 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21512 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoIf -Os use load/store multiple instructions
meissner [Fri, 31 Jul 1998 17:30:57 +0000 (17:30 +0000)]
If -Os use load/store multiple instructions

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21511 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Fri, 31 Jul 1998 16:10:59 +0000 (16:10 +0000)]

        * ns32k/netbsd.h: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21507 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Fri, 31 Jul 1998 16:10:57 +0000 (16:10 +0000)]

        * ns32k/netbsd.h: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21506 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-07-31 Mark Mitchell <mark@markmitchell.com>
mmitchel [Fri, 31 Jul 1998 15:01:21 +0000 (15:01 +0000)]
1998-07-31  Mark Mitchell  <mark@markmitchell.com>
* cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): New macro.
(maybe_check_template_type): New function.
* decl.c (maybe_process_template_type_declaration): New function,
split out from pushtag  Call maybe_check_template_type.
(pushtag): Use it.  Use PROCESSING_REAL_TEMPLATE_DECL_P.
(xref_tag): Use PROCESSING_REAL_TEMPLATE_DECL_P.
* friend.c (do_friend): Use PROCESSING_REAL_TEMPLATE_DECL_P.
* pt.c (template_class_depth_real): Generalization of ...
(template_class_depth): Use it.
(register_specialization): Use duplicate_decls for duplicate
declarations of specializations.
(maybe_check_template_type): New function.
(push_template_decl_real): Fix comment.
(convert_nontype_argument): Likewise.
(lookup_template_class): Likewise.  Avoid an infinite loop on
erroneous code.
(tsubst_friend_function): Fix comment.
(tsubst, case FUNCTION_DECL): Deal with a DECL_TI_TEMPLATE that is
an IDENTIFIER_NODE.
* semantics.c (begin_function_definition): Use
reset_specialization to note that template headers don't apply
directly to declarations after the opening curly for a function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21505 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
devans [Fri, 31 Jul 1998 12:29:10 +0000 (12:29 +0000)]
* m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
labels with .debugsym if no parallel insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21504 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Fri, 31 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21502 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
rth [Thu, 30 Jul 1998 19:16:39 +0000 (19:16 +0000)]
    * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
        (fcmov): Remove ALPHA_TP_INSN patterns -- fcmov doesn't trap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21501 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * rs6000/x-aix43 (AR_FOR_TARGET_FLAGS): Delete.
dje [Thu, 30 Jul 1998 17:07:25 +0000 (17:07 +0000)]
    * rs6000/x-aix43 (AR_FOR_TARGET_FLAGS): Delete.
        (AR_FOR_TARGET): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21499 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * dyn-string.h: New file.
mmitchel [Thu, 30 Jul 1998 12:30:30 +0000 (12:30 +0000)]
* dyn-string.h: New file.
* dyn-string.c: Likewise.
* Makefile.in (OBJS): Add dyn-string.o.
(dwarf2out.o): Add dyn-string.h dependency.
(dyn-string.o): List dependencies.
* dwarf2out.c: Include dyn-string.h.
(ASM_NAME_TO_STRING): Use dyn_string_append, rather than strcpy.
(addr_const_to_string): Take a dyn_string_t, not a char* as a
prototype.  Use dyn_string_append rather than strcat, throughout.
(addr_to_string): Use dyn_string_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21496 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFunction entry/exit profiling instrumentation:
raeburn [Thu, 30 Jul 1998 10:38:22 +0000 (10:38 +0000)]
Function entry/exit profiling instrumentation:
* expr.h (profile_function_entry_libfunc, profile_function_exit_libfunc):
Declare new variables.
* optabs.c: Define them here.
(init_optabs): Initialize them.
* tree.h (struct tree_decl): New flag no_instrument_function_entry_exit.
(DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT): New accessor macro.
* c-decl.c (duplicate_decls): Merge it.
* c-common.c (enum attrs): New value A_NO_INSTRUMENT_FUNCTION.
(init_attributes): Use it for "no_instrument_function".
(decl_attributes): Handle it, for functions that have not yet been compiled.
Set decl flag.
* flags.h (flag_instrument_function_entry_exit): Declare new variable.
* toplev.c (flag_instrument_function_entry_exit): Define it here.
(f_options): New option "instrument-functions".
* function.h (struct function): New field instrument_entry_exit.
* function.c (current_function_instrument_entry_exit): New variable.
(push_function_context_to, pop_function_context_from): Save and restore.
(expand_function_start): Set current_ variable, maybe emit return label and
entry profile call.
(expand_function_end): Maybe emit exit profile call.
Testsuite:
* gcc.c-torture/special/eeprof-1.c: New test, for -finstrument-functions.
* gcc.c-torture/special/special.exp: Run it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21495 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Thu, 30 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21493 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agop
law [Thu, 30 Jul 1998 00:00:18 +0000 (00:00 +0000)]
p
        * i386.md (movqi): When optimizing a load of (const_int 1) into a
        NON_QI_REG_P, pretend the register is SImode.
Fixes minor egcs-1.1 regression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21490 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Thu, 30 Jul 1998 00:00:16 +0000 (00:00 +0000)]

        * i386.md (movqi): When optimizing a load of (const_int 1) into a
        NON_QI_REG_P, pretend the register is SImode.
Fixes minor egcs-1.1 regression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21489 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-07-29 Manfred Hollstein <manfred@s-direktnet.de>
law [Wed, 29 Jul 1998 23:13:57 +0000 (23:13 +0000)]
1998-07-29  Manfred Hollstein  <manfred@s-direktnet.de>
* configure: Fix --without/--disable cases for gxx-include-dir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21486 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
law [Wed, 29 Jul 1998 22:51:47 +0000 (22:51 +0000)]
    * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
        Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any
        manufacturer id for ns32k.
        * configure: Regenerated.
        * config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too.
        * config/t-netbsd: Don't compile libgcc1-test as the fns are in libc.
        * config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
        * config/m68k/netbsd.h: Same.
        * config/ns32k/netbsd.h: Same.
        * config/sparc/netbsd.h: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21480 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoP
law [Wed, 29 Jul 1998 21:41:04 +0000 (21:41 +0000)]
P
        * unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO
        or UNROLL_COMPLETELY loop that starts with a jump to its
        exit code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21476 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Wed, 29 Jul 1998 21:41:01 +0000 (21:41 +0000)]

        * unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO
        or UNROLL_COMPLETELY loop that starts with a jump to its
        exit code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21475 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * rs6000/rs6000.md (absdi2 define_split): Swap operands of MINUS.
dje [Wed, 29 Jul 1998 19:35:05 +0000 (19:35 +0000)]
    * rs6000/rs6000.md (absdi2 define_split): Swap operands of MINUS.
        * rs6000/rs6000.c (mask64_operand): Use HOST_BITS_PER_WIDE_INT.
        (print_operand, case 'B'): Don't fall through.
        (print_operand, case 'S'): Correct mask begin/end computation.
        Use HOST_BITS_PER_WIDE_INT.
        * rs6000/rs6000.h (CPP_PREDEFINES): Define _LONG_LONG.
        (CONDITIONAL_REGISTER_USAGE): GPR13 fixed if TARGET_64BIT.
        * rs6000/aix41.h (CPP_PREDEFINES): Same.
        * rs6000/aix43.h (CPP_PREDEFINES): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21474 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (push_overloaded_decl): Use current_namespace instead of
jason [Wed, 29 Jul 1998 14:56:33 +0000 (14:56 +0000)]
* decl.c (push_overloaded_decl): Use current_namespace instead of
DECL_CONTEXT (decl) to determine where we go.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21473 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoremove earlyclobber constraint from extendqisi2_insn
nickc [Wed, 29 Jul 1998 14:11:16 +0000 (14:11 +0000)]
remove earlyclobber constraint from extendqisi2_insn

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21471 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (lookup_name_real): Fix typo.
jason [Wed, 29 Jul 1998 13:05:28 +0000 (13:05 +0000)]
* decl.c (lookup_name_real): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21469 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Wed, 29 Jul 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21466 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in: Fix --without/--disable cases for local-prefix,
law [Tue, 28 Jul 1998 23:47:28 +0000 (23:47 +0000)]
    * configure.in: Fix --without/--disable cases for local-prefix,
        gxx-include-dir and checking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21464 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.c-torture/compile/980729-1.c: New test.
law [Tue, 28 Jul 1998 23:18:04 +0000 (23:18 +0000)]
    * gcc.c-torture/compile/980729-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21463 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoEnable haifa for sparc64 too.
davem [Tue, 28 Jul 1998 23:13:44 +0000 (23:13 +0000)]
Enable haifa for sparc64 too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21461 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTue Jul 28 23:29:04 1998 Jason Merrill <jason@yorick.cygnus.com>
law [Tue, 28 Jul 1998 22:30:29 +0000 (22:30 +0000)]
Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
        * i386/cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
        * i386/winnt.c (associated_type): New fn.
        (i386_pe_valid_type_attribute_p): New fn.
        (i386_pe_check_vtable_importexport): Remove.
        (i386_pe_dllexport_p): Use associated_type.
        (i386_pe_dllimport_p): Likewise.
        From Antonio M. O. Neto <anmendes@cruzeironet.com.br>:
        * i386.c (i386_valid_type_attribute_p): Also accept
        attributes for METHOD_TYPEs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21456 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Tue, 28 Jul 1998 22:19:53 +0000 (22:19 +0000)]

        * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21455 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoTweak last entry
law [Tue, 28 Jul 1998 22:06:42 +0000 (22:06 +0000)]
Tweak last entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21451 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agod
law [Tue, 28 Jul 1998 21:33:43 +0000 (21:33 +0000)]
d
        * gcc.c: Fix commentary describing %g, %u, %U, and %O.
        * gcc.c (do_spec_1): Fix support for %O so the
        temporary file name made for it the first time
        gets reused subsequently.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21450 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.c: Fix commentary describing %g, %u, %U, and %O.
law [Tue, 28 Jul 1998 21:33:41 +0000 (21:33 +0000)]
    * gcc.c: Fix commentary describing %g, %u, %U, and %O.
        * gcc.c (do_spec_1): Fix support for %O so the
        temporary file name made for it the first time
        gets reused subsequently.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21449 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * friend.c (is_friend): Be lenient with member functions to deal
mmitchel [Tue, 28 Jul 1998 16:50:16 +0000 (16:50 +0000)]
* friend.c (is_friend): Be lenient with member functions to deal
with nested friends.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21444 138bc75d-0d04-0410-961f-82ee72b054a4