]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years agoalpha.md (extxl+1,+2): New patterns to work around combine lossage.
Richard Henderson [Mon, 10 Aug 1998 01:23:59 +0000 (18:23 -0700)]
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

26 years agoDaily bump.
Jeff Law [Mon, 10 Aug 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21649

26 years agomt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
HJ Lu [Sun, 9 Aug 1998 23:17:03 +0000 (17:17 -0600)]
mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

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

From-SVN: r21648

26 years agomt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.
HJ Lu [Sun, 9 Aug 1998 23:17:02 +0000 (17:17 -0600)]
mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.


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

From-SVN: r21647

26 years agopt.c (check_explicit_specialization): Don't abort on bogus explicit instantiations.
Mark Mitchell [Sun, 9 Aug 1998 15:20:40 +0000 (15:20 +0000)]
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

26 years agoMake-lang.in (f/g77.dvi): Replace non-working use of texi2dvi with explicit use of...
Dave Love [Sun, 9 Aug 1998 03:59:14 +0000 (03:59 +0000)]
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

26 years agoDaily bump.
Jeff Law [Sun, 9 Aug 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21639

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

From-SVN: r21638

26 years ago
Gary Thomas [Sat, 8 Aug 1998 18:21:59 +0000 (12:21 -0600)]

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

From-SVN: r21637

26 years ago* netbsd.h: Fix typo.
Jeffrey A Law [Sat, 8 Aug 1998 17:53:54 +0000 (17:53 +0000)]
* netbsd.h: Fix typo.

From-SVN: r21634

26 years agoDaily bump.
Jeff Law [Sat, 8 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21628

26 years agotypeck.c (require_complete_type): Use complete_type_or_else.
Mark Mitchell [Fri, 7 Aug 1998 16:33:34 +0000 (16:33 +0000)]
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

26 years agocvt.c (cp_convert_to_pointer): Handle NULL pointer conversions, even in complex virtu...
Mark Mitchell [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.

* cvt.c (cp_convert_to_pointer): Handle NULL pointer
conversions, even in complex virtual base class hierarchies.

From-SVN: r21626

26 years agoDaily bump.
Jeff Law [Fri, 7 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21623

26 years agocp-tree.h (ENUM_TEMPLATE_INFO): New macro.
Mark Mitchell [Thu, 6 Aug 1998 16:58:43 +0000 (16:58 +0000)]
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

26 years agoNew test
Mark Mitchell [Thu, 6 Aug 1998 09:56:09 +0000 (09:56 +0000)]
New test

From-SVN: r21621

26 years agoDaily bump.
Jeff Law [Thu, 6 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21619

26 years agocom.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized...
Craig Burley [Wed, 5 Aug 1998 11:22:15 +0000 (11:22 +0000)]
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

26 years agocom.c (ffecom_convert_narrow_, [...]): Allow conversion from pointer to same-sized...
Craig Burley [Wed, 5 Aug 1998 11:19:05 +0000 (07:19 -0400)]
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

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

From-SVN: r21615

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

From-SVN: r21614

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

From-SVN: r21613

26 years agoDaily bump.
Jeff Law [Wed, 5 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21611

26 years agolibioP.h: Use __PMT in typedefs.
Andreas Jaeger [Tue, 4 Aug 1998 15:21:08 +0000 (15:21 +0000)]
libioP.h: Use __PMT in typedefs.

* libioP.h: Use __PMT in typedefs.
* strfile.h: Likewise.

From-SVN: r21610

26 years agodecl.c (pushtag): Don't mangle the name of a TYPE_DECL if it uses template parameters.
Mark Mitchell [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.

* 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

26 years agoDaily bump.
Jeff Law [Tue, 4 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21554

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

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

From-SVN: r21550

26 years agodecl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it uses template parameters.
Mark Mitchell [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.

* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL if it
uses template parameters.

From-SVN: r21549

26 years agodecl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it uses template parameters.
Mark Mitchell [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.

* decl2.c (grokfield): Don't mangle the name of a TYPE_DECL is it
uses template parameters.

From-SVN: r21548

26 years agoDaily bump.
Jeff Law [Mon, 3 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21546

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

From-SVN: r21545

26 years agocp-tree.def (LOOKUP_EXPR): Document.
Mark Mitchell [Sun, 2 Aug 1998 21:37:23 +0000 (21:37 +0000)]
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

26 years agoNew test
Mark Mitchell [Sun, 2 Aug 1998 21:27:51 +0000 (21:27 +0000)]
New test

From-SVN: r21543

26 years agoinvoke.texi (Environment Variables): Typo: Change "ascpects" into "aspects".
Hans-Peter Nilsson [Sun, 2 Aug 1998 16:00:17 +0000 (10:00 -0600)]
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

26 years agoinvoke.texi (Environment Variables): Typo: Change "ascpects" into "aspects".
Hans-Peter Nilsson [Sun, 2 Aug 1998 16:00:15 +0000 (10:00 -0600)]
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

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

From-SVN: r21540

26 years agoInitial revision
Jeff Law [Sun, 2 Aug 1998 06:46:46 +0000 (00:46 -0600)]
Initial revision

From-SVN: r21537

26 years agoInitial revision
Jeff Law [Sun, 2 Aug 1998 06:46:43 +0000 (00:46 -0600)]
Initial revision

From-SVN: r21536

26 years agoInitial revision
Jeff Law [Sun, 2 Aug 1998 06:20:56 +0000 (00:20 -0600)]
Initial revision

From-SVN: r21533

26 years agoInitial revision
Jeff Law [Sun, 2 Aug 1998 06:20:53 +0000 (00:20 -0600)]
Initial revision

From-SVN: r21532

26 years agoInitial revision
Jeff Law [Sun, 2 Aug 1998 06:20:50 +0000 (00:20 -0600)]
Initial revision

From-SVN: r21531

26 years agoInitial revision
Jeff Law [Sun, 2 Aug 1998 06:12:03 +0000 (00:12 -0600)]
Initial revision

From-SVN: r21528

26 years agoDaily bump.
Jeff Law [Sun, 2 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21526

26 years agonetbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
Jeff Law [Sat, 1 Aug 1998 23:50:00 +0000 (17:50 -0600)]
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

26 years agonetbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
Jeff Law [Sat, 1 Aug 1998 23:49:55 +0000 (17:49 -0600)]
netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.

        * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
        * m68k/netbsd.h: Likewise.
        * ns32k/netbsd.h: Likewise.
        * sparc/netbsd.h: Likewise.

From-SVN: r21522

26 years agova-alpha.h (va_list): Use a typedef, not a define.
Richard Henderson [Sat, 1 Aug 1998 18:00:15 +0000 (11:00 -0700)]
va-alpha.h (va_list): Use a typedef, not a define.

        * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
        * ginclude/va-clipper.h (va_list): Likewise.

From-SVN: r21518

26 years ago980729-0.f: New test.
Dave Love [Sat, 1 Aug 1998 09:41:39 +0000 (09:41 +0000)]
980729-0.f: New test.

1998-08-01  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/compile/980729-0.f: New test.

From-SVN: r21516

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

From-SVN: r21515

26 years agoinit.c (init_init_processing): Remove BI* handling.
Jason Merrill [Sat, 1 Aug 1998 02:36:54 +0000 (02:36 +0000)]
init.c (init_init_processing): Remove BI* handling.

* init.c (init_init_processing): Remove BI* handling.
(build_builtin_call): Remove.
(build_builtin_delete_call): New fn.
(build_delete): Use it.

From-SVN: r21514

26 years agoDaily bump.
Jeff Law [Sat, 1 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21512

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

From-SVN: r21511

26 years agonetbsd.h: Fix typo.
Jeff Law [Fri, 31 Jul 1998 16:10:59 +0000 (10:10 -0600)]
netbsd.h: Fix typo.


        * ns32k/netbsd.h: Fix typo.

From-SVN: r21507

26 years agonetbsd.h: Fix typo.
Jeff Law [Fri, 31 Jul 1998 16:10:57 +0000 (10:10 -0600)]
netbsd.h: Fix typo.


        * ns32k/netbsd.h: Fix typo.

From-SVN: r21506

26 years agocp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): New macro.
Mark Mitchell [Fri, 31 Jul 1998 15:01:21 +0000 (15:01 +0000)]
cp-tree.h (PROCESSING_REAL_TEMPLATE_DECL_P): New macro.

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.

From-SVN: r21505

26 years agom32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number labels with .debugsym...
Doug Evans [Fri, 31 Jul 1998 12:29:10 +0000 (12:29 +0000)]
m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number labels with .debugsym if no parallel insns.

* m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
labels with .debugsym if no parallel insns.

From-SVN: r21504

26 years agoDaily bump.
Jeff Law [Fri, 31 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21502

26 years agoalpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
Richard Henderson [Thu, 30 Jul 1998 19:16:39 +0000 (12:16 -0700)]
alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.

        * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
        (fcmov): Remove ALPHA_TP_INSN patterns -- fcmov doesn't trap.

From-SVN: r21501

26 years agox-aix43 (AR_FOR_TARGET_FLAGS): Delete.
David Edelsohn [Thu, 30 Jul 1998 17:07:25 +0000 (17:07 +0000)]
x-aix43 (AR_FOR_TARGET_FLAGS): Delete.

        * rs6000/x-aix43 (AR_FOR_TARGET_FLAGS): Delete.
        (AR_FOR_TARGET): Define.

From-SVN: r21499

26 years agodyn-string.h: New file.
Mark Mitchell [Thu, 30 Jul 1998 12:30:30 +0000 (12:30 +0000)]
dyn-string.h: New file.

* 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.

From-SVN: r21496

26 years agoFunction entry/exit profiling instrumentation:
Ken 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.

From-SVN: r21495

26 years agoDaily bump.
Jeff Law [Thu, 30 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21493

26 years agoi386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P...
Jeff Law [Thu, 30 Jul 1998 00:00:18 +0000 (18:00 -0600)]
i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P...

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.

From-SVN: r21490

26 years agoi386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_P...
Jeff Law [Thu, 30 Jul 1998 00:00:16 +0000 (18:00 -0600)]
i386.md (movqi): When optimizing a load of (const_int 1) into a NON_QI_REG_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.

From-SVN: r21489

26 years agoconfigure: Fix --without/--disable cases for gxx-include-dir.
Manfred Hollstein [Wed, 29 Jul 1998 23:13:57 +0000 (23:13 +0000)]
configure: Fix --without/--disable cases for gxx-include-dir.

1998-07-29  Manfred Hollstein  <manfred@s-direktnet.de>
* configure: Fix --without/--disable cases for gxx-include-dir.

From-SVN: r21486

26 years agoconfigure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
Todd Vierling [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).

        * 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.

From-SVN: r21480

26 years agounroll.c (unroll_loop): Do not abort for an UNROLL_MODULO or UNROLL_COMPLETELY loop...
Jeff Law [Wed, 29 Jul 1998 21:41:04 +0000 (15:41 -0600)]
unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO or UNROLL_COMPLETELY loop that starts with a...

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.

From-SVN: r21476

26 years agounroll.c (unroll_loop): Do not abort for an UNROLL_MODULO or UNROLL_COMPLETELY loop...
Jeff Law [Wed, 29 Jul 1998 21:41:01 +0000 (15:41 -0600)]
unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO or UNROLL_COMPLETELY loop that starts with a...


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

From-SVN: r21475

26 years agors6000.md (absdi2 define_split): Swap operands of MINUS.
David Edelsohn [Wed, 29 Jul 1998 19:35:05 +0000 (19:35 +0000)]
rs6000.md (absdi2 define_split): Swap operands of MINUS.

        * 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.

From-SVN: r21474

26 years agodecl.c (push_overloaded_decl): Use current_namespace instead of DECL_CONTEXT (decl...
Jason Merrill [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.

* decl.c (push_overloaded_decl): Use current_namespace instead of
DECL_CONTEXT (decl) to determine where we go.

From-SVN: r21473

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

From-SVN: r21471

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

From-SVN: r21469

26 years agoDaily bump.
Jeff Law [Wed, 29 Jul 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21466

26 years agoconfigure.in: Fix --without/--disable cases for local-prefix, gxx-include-dir and...
Jason Merrill [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.

        * configure.in: Fix --without/--disable cases for local-prefix,
        gxx-include-dir and checking.

From-SVN: r21464

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

From-SVN: r21463

26 years agoEnable haifa for sparc64 too.
David S. Miller [Tue, 28 Jul 1998 23:13:44 +0000 (23:13 +0000)]
Enable haifa for sparc64 too.

From-SVN: r21461

26 years agocygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
Jason Merrill [Tue, 28 Jul 1998 22:30:29 +0000 (22:30 +0000)]
cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.

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.

From-SVN: r21456

26 years agotree.c (build_range_type): Copy TYPE_SIZE_UNIT.
Peter Gerwinski [Tue, 28 Jul 1998 22:19:53 +0000 (22:19 +0000)]
tree.c (build_range_type): Copy TYPE_SIZE_UNIT.


        * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.

From-SVN: r21455

26 years agoTweak last entry
Jeff Law [Tue, 28 Jul 1998 22:06:42 +0000 (16:06 -0600)]
Tweak last entry

From-SVN: r21451

26 years agogcc.c: Fix commentary describing %g, %u, %U, and %O.
Craig Burley [Tue, 28 Jul 1998 21:33:43 +0000 (15:33 -0600)]
gcc.c: Fix commentary describing %g, %u, %U, and %O.

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.

From-SVN: r21450

26 years agogcc.c: Fix commentary describing %g, %u, %U, and %O.
Craig Burley [Tue, 28 Jul 1998 21:33:41 +0000 (15:33 -0600)]
gcc.c: Fix commentary describing %g, %u, %U, and %O.

        * 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.

From-SVN: r21449

26 years agofriend.c (is_friend): Be lenient with member functions to deal with nested friends.
Mark Mitchell [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.

* friend.c (is_friend): Be lenient with member functions to deal
with nested friends.

From-SVN: r21444

26 years ago
Benjamin Kosnik [Tue, 28 Jul 1998 14:07:12 +0000 (14:07 +0000)]

try 2

From-SVN: r21443

26 years ago
Benjamin Kosnik [Tue, 28 Jul 1998 14:06:48 +0000 (14:06 +0000)]

friend test

From-SVN: r21442

26 years ago*** empty log message ***
Benjamin Kosnik [Tue, 28 Jul 1998 14:06:12 +0000 (14:06 +0000)]
*** empty log message ***

From-SVN: r21441

26 years ago
Benjamin Kosnik [Tue, 28 Jul 1998 14:05:55 +0000 (14:05 +0000)]

try 1

From-SVN: r21440

26 years ago
Benjamin Kosnik [Tue, 28 Jul 1998 14:01:25 +0000 (14:01 +0000)]

try 3

From-SVN: r21439

26 years agoclass.c (finish_struct_1): Convert integer_zero_node to ssizetype before passing...
Jason Merrill [Tue, 28 Jul 1998 14:00:46 +0000 (14:00 +0000)]
class.c (finish_struct_1): Convert integer_zero_node to ssizetype before passing it to set_rtti_entry.

* class.c (finish_struct_1): Convert integer_zero_node to
  ssizetype before passing it to set_rtti_entry.
* typeck2.c (initializer_constant_valid_p): Allow conversion of 0
of any size to a pointer.

From-SVN: r21438

26 years ago*** empty log message ***
Benjamin Kosnik [Tue, 28 Jul 1998 13:38:38 +0000 (13:38 +0000)]
*** empty log message ***

From-SVN: r21436

26 years agocse.c (cse_insn): Enable subsitution inside libcall only for REG, SUBREG, MEM.
Vladimir N. Makarov [Tue, 28 Jul 1998 12:54:04 +0000 (12:54 +0000)]
cse.c (cse_insn): Enable subsitution inside libcall only for REG, SUBREG, MEM.


* cse.c (cse_insn): Enable subsitution inside libcall only for REG,
SUBREG, MEM.
* rtlanal.c (replace_rtx): Prohibit replaces in CONST_DOUBLE.

From-SVN: r21435

26 years agocplus-dem.c (type_kind_t): New type.
Mark Mitchell [Tue, 28 Jul 1998 11:45:32 +0000 (11:45 +0000)]
cplus-dem.c (type_kind_t): New type.

* cplus-dem.c (type_kind_t): New type.
(demangle_template_value_parm): Add type_kind_t parameter.  Rely
on this paramter, rather than demangling the type again.
(demangle_integral_value): Pass tk_integral.
(demangle_template_: Pass the value returned from do_type.
(do_type): Return a type_kind_t.  Pass tk_integral to
demangle_template_value_parm for array bounds.
(demangle_fund_type): Likewise.

From-SVN: r21434

26 years agocp-tree.h (TI_USES_TEMPLATE_PARMS): Remove.
Mark Mitchell [Tue, 28 Jul 1998 01:03:16 +0000 (01:03 +0000)]
cp-tree.h (TI_USES_TEMPLATE_PARMS): Remove.

* cp-tree.h (TI_USES_TEMPLATE_PARMS): Remove.
(build_template_decl_overload): Remove.
(set_mangled_name_for_decl): New function.
(innermost_args): Remove is_spec parameter.
(most_specialized, most_specialized_class): Remove declarations.
(lookup_template_class): Add entering_scope parameter.
(maybe_process_partial_specialization): New function.
(finish_template_decl): Likewise.
(finish_template_type): Likewise.
* class.c (finish_struct): Clean up processing of member template
specializations.
* decl.c (pushtag): Fix formatting.
(lookup_tag): Improve handling of pseudo-global levels.
(make_typename_type): Adjust call to lookup_template_class.
(shadow_tag): Use maybe_process_partial_specialization.
(xref_tag): Improve handling of member friends.
(start_function): Call push_nested_class before
push_template_decl.  Don't call push_template_decl for
specializations.
* decl2.c (grok_x_components): Don't call xref_tag for
template instantiations.  Handle UNION_TYPEs like RECORD_TYPEs.
(grokclassfn): Use set_mangled_name_for_decl.
(arg_assoc_class): Adjust call to innermost_args.
(mark_used): Don't call instantiate_decl for a TEMPLATE_DECL.
* error.c (dump_function_name): Improve printing of template
function names.
* friend.c (is_friend): Don't compare types of decls to determine
friendship, unless flag_guiding_decls.
(make_friend_class): Partial specializations cannot be friends.
(do_friend): Use set_mangled_name_for_decl.  Call
push_template_decl_real instead of push_template_decl.
* method.c (build_decl_overload_real): Remove prototype.  Give it
external linkage.
(build_overload_identififer): Adjust call to innermost_args.
(build_template_decl_overload): Remove.
(set_mangled_name_for_decl): New function.
* parse.y (.finish_template_type): New non-terminal.
(template_def): Use finish_template_decl.  Use template_extdef
instead of extdef.
(template_extdef, template_datadef): New non-terminals, containing
only those rules for things which can be templates.
(datadef): Tidy.
(template_type, self_template_type): Use .finish_template_type.
(named_class_head): Use maybe_process_partial_specialization.
* pt.c (mangle_class_name_for_template): Remove context parameter.
(get_class_bindings): Remove outer_args parameter.
(complete_template_args): Remove.
(add_outermost_template_args): New function.
(register_specialization): Return the specialization.
(unregister_specialization): New function.
(tsubst_template_parms): Likewise.
(most_specialized, most_specialized_class): Prototype here as
static.
(original_template): Rename to most_general_template.
(tsubst_template_parms): New function.
(set_mangled_name_for_template_decl): Likewise.
(TMPL_ARGS_DEPTH): New macro.
(TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Adjust.
(TMPL_ARGS_LEVEL): New macro.
(SET_TMPL_ARGS_LEVEL): Likewise.
(TMPL_ARG): Likewise.
(SET_TMPL_ARG): Likewise.
(TMPL_ARGS_DEPTH): Likewise.
(finish_member_template_decl): Use finish_template_decl.
(maybe_process_partial_specialization): New function, split out
from tsubst.
(inline_needs_template_parms): Use TMPL_PARMS_DEPTH.
(maybe_begin_member_template_processing): Use new macros.
(is_member_template): Likewise.
(is_member_template_class): Likewise.
(add_to_template_args): Likewise.  Deal with multiple levels of
args.
(maybe_process_partial_specialization): New function.
(retrieve_specialization): Add consistency check.
(determine_specialization): Return full argument list.
(check_explicit_specialization): Tweak friend handling.  Use full
argument lists.  Simplify.
(current_template_args): Use new macros.
(push_template_decl_real): Change ill-named mainargs to specargs.
Check that a partial specialization actually specializes at least
one parameter.   Improve friend handling.  Modify for full
template arguments.
(classtype_mangled_name): Don't mangle the names of
specializations.
(lookup_template_class): Add entering_scope parameter.  Use it to
avoid finding a template type when an instantiation is required.
Simplify.  Use full template arguments.
(tsubst_friend_function): Use unregister_specialization.  Use new
macros.  Use full template arguments.
(tsubst_friend_class): Substitute, using tsubst_template_parms,
into the template parameters before passing them to
redeclare_class_template.
(instantiate_class_template): Simplify.  Use full template
arguments.  Adjust calls to get_class_bindings.  Use
SET_IDENTIFIER_TYPE_VALUE where needed.  Improve friend handling.
(innermost_args): Use new macros.
(tsubst_aggr_type): New function, split out from tsubst.
(tsubst): Use tsubst_aggr_type, tsubst_template_parms, new calling
conventions for lookup_tmeplate_class.  Refine handling of partial
instantiations.   Remove calls to complete_template_args.
Simplify.  Add consistency checks.  Use set_mangled_name_for_decl
and set_mangled_name_for_template_decl.
(tsubst_copy): Use tsubst_aggr_type.
(instantiate_template): Use full template arguments.
(more_specialized): Improve formatting.
(more_specialized_class): Adjust calls to get_class_bindings.
(get_bindings_real): Don't call complete_template_args.
(most_specialized): Don't overwrite input; create a new list.
(most_specialized_class): Use most_general_template.
(regenerate_decl_from_template): Use unregister_specialization.
Use full template arguments.
(instantiate_decl): Use full template arguments.
(set_mangled_name_for_template_decl): New function.
* semantics.c (begin_class_definition): Use
maybe_process_partial_specialization.
(finish_member_class_template): New function.
(finish_template_decl): Likewise.
(finish_template_type): Likewise.
(typeck.c): Don't crash after issuing a compiler_error.
* Makefile.in (CONFLICTS): Adjust; we removed a s/r conflict.

From-SVN: r21433

26 years agoDaily bump.
Jeff Law [Tue, 28 Jul 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21431

26 years ago* typeck2.c (build_functional_cast): Handle default-initialization.
Jason Merrill [Mon, 27 Jul 1998 21:47:41 +0000 (21:47 +0000)]
* typeck2.c (build_functional_cast): Handle default-initialization.

From-SVN: r21427

26 years agotree.c (simple_cst_equal, [...]): OK if the elts are identical.
Jason Merrill [Mon, 27 Jul 1998 21:42:35 +0000 (21:42 +0000)]
tree.c (simple_cst_equal, [...]): OK if the elts are identical.

* tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
identical.

From-SVN: r21425

26 years ago* pa.c (move_operand): Accept CONSTANT_P_RTX.
Jeffrey A Law [Mon, 27 Jul 1998 21:20:00 +0000 (21:20 +0000)]
* pa.c (move_operand): Accept CONSTANT_P_RTX.

From-SVN: r21423

26 years ago* compare_tests: New script.
Mike Stump [Mon, 27 Jul 1998 21:12:03 +0000 (21:12 +0000)]
* compare_tests: New script.

From-SVN: r21422

26 years ago* test_summary: assigned copyright to FSF
Alexandre Oliva [Mon, 27 Jul 1998 21:01:54 +0000 (21:01 +0000)]
* test_summary: assigned copyright to FSF

From-SVN: r21421

26 years agotest_summary: Corrected script name in comments providing documentation.
Gerald Pfeifer [Mon, 27 Jul 1998 20:37:47 +0000 (14:37 -0600)]
test_summary: Corrected script name in comments providing documentation.

P
* test_summary: Corrected script name in comments providing
documentation.  Added linebreaks for lines with > 80 characters.

From-SVN: r21420

26 years agotest_summary: Corrected script name in comments providing documentation.
Gerald Pfeifer [Mon, 27 Jul 1998 20:37:46 +0000 (14:37 -0600)]
test_summary: Corrected script name in comments providing documentation.

F
* test_summary: Corrected script name in comments providing
documentation.  Added linebreaks for lines with > 80 characters.

From-SVN: r21419

This page took 0.10177 seconds and 5 git commands to generate.