]> gcc.gnu.org Git - gcc.git/log
gcc.git
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

26 years ago* call.c (build_over_call): Pass 1 to popclass.
Jason Merrill [Mon, 27 Jul 1998 17:03:39 +0000 (17:03 +0000)]
* call.c (build_over_call): Pass 1 to popclass.

From-SVN: r21418

26 years agoparse.y (direct_notype_declarator): Add precedence declaration to notype_unqualified_...
Jason Merrill [Mon, 27 Jul 1998 14:38:11 +0000 (14:38 +0000)]
parse.y (direct_notype_declarator): Add precedence declaration to notype_unqualified_id case.

* parse.y (direct_notype_declarator): Add precedence declaration
to notype_unqualified_id case.
* tree.c (ovl_member): Fix for single function in OVL.

From-SVN: r21417

26 years agostor-layout.c (layout_type): Handle arrays of bits, for Chill.
Dave Brolley [Mon, 27 Jul 1998 14:37:00 +0000 (14:37 +0000)]
stor-layout.c (layout_type): Handle arrays of bits, for Chill.

Mon Jul 27 17:18:52 1998  Dave Brolley  <brolley@cygnus.com>
* stor-layout.c (layout_type): Handle arrays of bits, for Chill.
* expr.c (get_inner_reference): Handle zero-based, unsigned, array
index conversion.

From-SVN: r21416

26 years agomn10300.h (DEBUGGER_AUTO_OFFSET): Define.
Jeff Law [Mon, 27 Jul 1998 13:53:27 +0000 (07:53 -0600)]
mn10300.h (DEBUGGER_AUTO_OFFSET): Define.

`
        * mn10300.h (DEBUGGER_AUTO_OFFSET): Define.
        (DEBUGGER_ARG_OFFSET): Likewise.
        * mn10300.md (movsf): Remove last change.  Not needed.

From-SVN: r21415

26 years agomn10300.h (DEBUGGER_AUTO_OFFSET): Define.
Jeff Law [Mon, 27 Jul 1998 13:53:24 +0000 (07:53 -0600)]
mn10300.h (DEBUGGER_AUTO_OFFSET): Define.

        * mn10300.h (DEBUGGER_AUTO_OFFSET): Define.
        (DEBUGGER_ARG_OFFSET): Likewise.
        * mn10300.md (movsf): Remove last change.  Not needed.

From-SVN: r21414

26 years agoc-lex.c (yylex): Fix boundary conditions in character literal and string literal...
Dave Brolley [Mon, 27 Jul 1998 12:51:56 +0000 (12:51 +0000)]
c-lex.c (yylex): Fix boundary conditions in character literal and string literal loops.

Mon Jul 27 14:22:36 1998  Dave Brolley  <brolley@cygnus.com>
* c-lex.c (yylex): Fix boundary conditions in character literal and
string literal loops.

From-SVN: r21413

26 years agoc-lex.c (yylex): Fix boundary conditions in character literal and string literal...
Dave Brolley [Mon, 27 Jul 1998 12:37:16 +0000 (12:37 +0000)]
c-lex.c (yylex): Fix boundary conditions in character literal and string literal loops.

1998-07-27  Dave Brolley  <brolley@cygnus.com>
* c-lex.c (yylex): Fix boundary conditions in character literal and
string literal loops.

From-SVN: r21412

26 years agoconfigure.in: Added i[34567]86-*-win32.
Stan Cox [Mon, 27 Jul 1998 11:56:18 +0000 (11:56 +0000)]
configure.in: Added i[34567]86-*-win32.

config.sub: Ditto.
configure: Rebuilt.
longlong.h (count_leading_zeros): Sparclite scan instruction
i386.c (ix86_prologue): Added SUBTARGET_PROLOGUE invocation.
i386/cygwin32.h (STARTFILE_SPEC, LIB_SPEC, SUBTARGET_PROLOGUE): Add -pg support.
i386/win.h: New file.  Hybrid mingw32.h/cygwin32.h configuration.

From-SVN: r21411

26 years agox
Jason Merrill [Mon, 27 Jul 1998 11:09:14 +0000 (07:09 -0400)]
x

From-SVN: r21409

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

From-SVN: r21404

26 years ago980615-0.f: New test.
Dave Love [Sun, 26 Jul 1998 14:57:37 +0000 (14:57 +0000)]
980615-0.f: New test.

1998-07-26  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/noncompile/980615-0.f: New test.

From-SVN: r21403

26 years agoNew test.
Dave Love [Sun, 26 Jul 1998 14:55:48 +0000 (14:55 +0000)]
New test.

From-SVN: r21402

26 years agoFix 980615-0.f:
Craig Burley [Sun, 26 Jul 1998 14:49:27 +0000 (10:49 -0400)]
Fix 980615-0.f:

Sat Jul 25 17:23:55 1998  Craig Burley  <burley@gnu.org>
Fix 980615-0.f:
* stc.c (ffestc_R1229_start): Set info to ANY as well.

From-SVN: r21401

26 years agoBUGS, [...]: Rebuilt.
Dave Love [Sun, 26 Jul 1998 14:36:13 +0000 (14:36 +0000)]
BUGS, [...]: Rebuilt.

1998-07-26  Dave Love  <d.love@dl.ac.uk>
* BUGS, INSTALL, NEWS: Rebuilt.

From-SVN: r21399

26 years agoRebuilt.
Dave Love [Sun, 26 Jul 1998 14:35:03 +0000 (14:35 +0000)]
Rebuilt.

From-SVN: r21398

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

From-SVN: r21394

26 years agoi386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Return 0 when eliminating the frame pointer...
H.J. Lu [Sun, 26 Jul 1998 00:34:10 +0000 (00:34 +0000)]
i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Return 0 when eliminating the frame pointer and compiling PIC code and reload...

        * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Return 0 when eliminating
        the frame pointer and compiling PIC code and reload has not completed.

From-SVN: r21392

26 years ago980312-1.c: Do link instead of compile.
H.J. Lu [Sun, 26 Jul 1998 00:16:26 +0000 (00:16 +0000)]
980312-1.c: Do link instead of compile.

        * gcc.dg/980312-1.c: Do link instead of compile.
        * gcc.dg/980313-1.c: Likewise.

From-SVN: r21391

26 years agoi386.c (output_to_reg): Add code to emulate non-popping DImode case.
H.J. Lu [Sun, 26 Jul 1998 00:12:12 +0000 (00:12 +0000)]
i386.c (output_to_reg): Add code to emulate non-popping DImode case.


        * i386.c (output_to_reg): Add code to emulate non-popping DImode
        case.

From-SVN: r21389

26 years ago* gcc.c-torture/compile/980726-1.c: New test.
Jeffrey A Law [Sun, 26 Jul 1998 00:05:36 +0000 (00:05 +0000)]
* gcc.c-torture/compile/980726-1.c: New test.

From-SVN: r21388

26 years ago* regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.
Jeffrey A Law [Sun, 26 Jul 1998 00:03:18 +0000 (00:03 +0000)]
* regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.

From-SVN: r21386

26 years agoMakefile.in (install-info): Only try to update the info directory file if it exists...
Gerald Pfeifer [Sat, 25 Jul 1998 22:30:26 +0000 (16:30 -0600)]
Makefile.in (install-info): Only try to update the info directory file if it exists in the first place.

8
        * Makefile.in (install-info): Only try to update the info
        directory file if it exists in the first place.

From-SVN: r21383

26 years agoMakefile.in (install-info): Only try to update the info directory file if it exists...
Gerald Pfeifer [Sat, 25 Jul 1998 22:30:24 +0000 (16:30 -0600)]
Makefile.in (install-info): Only try to update the info directory file if it exists in the first place.


        * Makefile.in (install-info): Only try to update the info
        directory file if it exists in the first place.

From-SVN: r21382

26 years agoMakefile.in (s-libe77, [...]): Rely on VPATH, dropping explicit use of $(srcdir)...
Dave Love [Sat, 25 Jul 1998 05:38:51 +0000 (05:38 +0000)]
Makefile.in (s-libe77, [...]): Rely on VPATH, dropping explicit use of $(srcdir) in various places.

1998-07-24  Dave Love  <d.love@dl.ac.uk>
* Makefile.in (s-libe77, ${srcdir}/configure, g2c.h, Makefile,
config.status, rebuilt): Rely on VPATH, dropping explicit use of
$(srcdir) in various places.

From-SVN: r21379

26 years ago(s-libe77, ${srcdir}/configure, g2c.h, Makefile,
Dave Love [Sat, 25 Jul 1998 05:37:48 +0000 (05:37 +0000)]
(s-libe77, ${srcdir}/configure, g2c.h, Makefile,

config.status, rebuilt): Rely on VPATH, dropping explicit use of
$(srcdir) in various places.

From-SVN: r21378

26 years agoio0.f: New test.
Dave Love [Sat, 25 Jul 1998 04:36:27 +0000 (04:36 +0000)]
io0.f: New test.

1998-07-25  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/io0.f: New test.

From-SVN: r21372

26 years agoNew test.
Dave Love [Sat, 25 Jul 1998 04:33:22 +0000 (04:33 +0000)]
New test.

From-SVN: r21371

26 years agodecl.c (lookup_name_real): OK, do return the from_obj value unless got_object depends...
Jason Merrill [Sat, 25 Jul 1998 03:19:28 +0000 (03:19 +0000)]
decl.c (lookup_name_real): OK, do return the from_obj value unless got_object depends on template parms.

* decl.c (lookup_name_real): OK, do return the from_obj value
unless got_object depends on template parms.

From-SVN: r21370

26 years agoDaily bump.
Jeff Law [Sat, 25 Jul 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r21368

26 years agocorrect change attribution
Klaus Espenlaub [Fri, 24 Jul 1998 20:11:35 +0000 (16:11 -0400)]
correct change attribution

From-SVN: r21367

26 years ago* rs6000.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Delete.
Klaus Espenlaub [Fri, 24 Jul 1998 16:04:27 +0000 (12:04 -0400)]
* rs6000.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Delete.

From-SVN: r21366

26 years agox
Jason Merrill [Fri, 24 Jul 1998 14:58:19 +0000 (10:58 -0400)]
x

From-SVN: r21365

26 years ago* parse.y (nested_name_specifier_1): Pull out the TYPE_MAIN_VARIANT.
Jason Merrill [Fri, 24 Jul 1998 14:51:54 +0000 (14:51 +0000)]
* parse.y (nested_name_specifier_1): Pull out the TYPE_MAIN_VARIANT.

From-SVN: r21364

26 years ago* pt.c (coerce_template_parms): Also complain about local enums.
Jason Merrill [Fri, 24 Jul 1998 14:02:32 +0000 (14:02 +0000)]
* pt.c (coerce_template_parms): Also complain about local enums.

From-SVN: r21363

26 years agomn10300.md (movqi, [...]): Correctly handle CONST_DOUBLE source.
Jeffrey A Law [Fri, 24 Jul 1998 13:21:44 +0000 (13:21 +0000)]
mn10300.md (movqi, [...]): Correctly handle CONST_DOUBLE source.

        * mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
        CONST_DOUBLE source.

From-SVN: r21362

26 years agocp-tree.h: Add prototype for set_identifier_local_value.
Jason Merrill [Fri, 24 Jul 1998 12:36:55 +0000 (12:36 +0000)]
cp-tree.h: Add prototype for set_identifier_local_value.

* cp-tree.h: Add prototype for set_identifier_local_value.
* decl.c (set_identifier_local_value_with_scope): Make static,
prototype.
* search.c (covariant_return_p): Likewise.
* except.c (build_terminate_handler, alloc_eh_object): Likewise.
* call.c (build_method_call): Only pull out the type of a destructor
if it's a template type parm.
* decl.c (lookup_name_real): Never return the from_obj value.

From-SVN: r21361

26 years agoFix use of USER_LABEL_PREFIX when calling gcc library functions
Nick Clifton [Fri, 24 Jul 1998 11:23:45 +0000 (11:23 +0000)]
Fix use of USER_LABEL_PREFIX when calling gcc library functions

From-SVN: r21360

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

From-SVN: r21358

26 years agoFix stabs bug with C array ranges.
Jim Wilson [Thu, 23 Jul 1998 19:14:18 +0000 (19:14 +0000)]
Fix stabs bug with C array ranges.

* dbxout.c (dbxout_range_type): Only call dbxout_type_index for
already defined type.

From-SVN: r21355

26 years agoupdate
Jason Merrill [Thu, 23 Jul 1998 19:11:58 +0000 (15:11 -0400)]
update

From-SVN: r21354

26 years agoexcept.c (process_start_catch_block_old): Call start_decl_1 for catch parm.
Jason Merrill [Thu, 23 Jul 1998 19:11:48 +0000 (15:11 -0400)]
except.c (process_start_catch_block_old): Call start_decl_1 for catch parm.

* except.c (process_start_catch_block_old): Call start_decl_1 for
catch parm.
* decl.c (start_decl_1): Avoid duplicate error.
* init.c (expand_default_init): Only perform the initialization if
it will do something.
* parse.y (base_class): Check for invalid base class.

From-SVN: r21353

26 years agoupdate
Jason Merrill [Thu, 23 Jul 1998 18:08:04 +0000 (14:08 -0400)]
update

From-SVN: r21352

26 years agox
Jason Merrill [Thu, 23 Jul 1998 18:05:41 +0000 (14:05 -0400)]
x

From-SVN: r21351

26 years agodecl2.c (import_export_template): Fold in...
Jason Merrill [Thu, 23 Jul 1998 17:51:17 +0000 (17:51 +0000)]
decl2.c (import_export_template): Fold in...

* decl2.c (import_export_template): Fold in...
(import_export_class): ...to here.  Handle dllimport/export.

From-SVN: r21350

26 years agoexpr.c (check_max_integer_computation_mode): Allow conversions of constant integers...
Jeffrey A Law [Thu, 23 Jul 1998 12:51:00 +0000 (12:51 +0000)]
expr.c (check_max_integer_computation_mode): Allow conversions of constant integers to MAX_INTEGER_COMPUTATION_MODE.

        * expr.c (check_max_integer_computation_mode): Allow conversions
        of constant integers to MAX_INTEGER_COMPUTATION_MODE.
        (expand_expr): Likewise.

From-SVN: r21349

26 years agoexpr.c (expand_expr): Expand RETURN_EXPR.
Alexandre Petit-Bianco [Thu, 23 Jul 1998 12:09:42 +0000 (05:09 -0700)]
expr.c (expand_expr): Expand RETURN_EXPR.


* expr.c (expand_expr): Expand RETURN_EXPR.

From-SVN: r21348

26 years agoexpr.c (expand_expr): Expand RETURN_EXPR.
Alexandre Petit-Bianco [Thu, 23 Jul 1998 12:09:39 +0000 (05:09 -0700)]
expr.c (expand_expr): Expand RETURN_EXPR.

8
* expr.c (expand_expr): Expand RETURN_EXPR.

From-SVN: r21347

26 years agoPatch from Torbjorn Granlund.
Jim Wilson [Thu, 23 Jul 1998 11:01:33 +0000 (11:01 +0000)]
Patch from Torbjorn Granlund.

* dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.

From-SVN: r21346

26 years agoclass.c (build_vtable): Pass at_eof to import_export_vtable.
Jason Merrill [Thu, 23 Jul 1998 02:29:34 +0000 (02:29 +0000)]
class.c (build_vtable): Pass at_eof to import_export_vtable.

* class.c (build_vtable): Pass at_eof to import_export_vtable.
(prepare_fresh_vtable): Likewise.
* decl2.c (import_export_class): Split out...
(finish_prevtable_vardecl): From here.
* class.c (finish_struct_1): Call import_export_class if at_eof.
* decl.c (start_function): #if 0 mysterious code I wrote and have
forgotten why.
* rtti.c (get_tinfo_fn): If this is for a class type, set
DECL_CONTEXT.

From-SVN: r21345

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

From-SVN: r21344

26 years agoexception: Change terminate and unexpected to ().
Jason Merrill [Wed, 22 Jul 1998 17:54:26 +0000 (17:54 +0000)]
exception: Change terminate and unexpected to ().

* inc/exception: Change terminate and unexpected to ().
* parse.y (named_class_head_sans_basetype_defn): A
named_class_head_sans_basetype followed by '{' or ':' is a defn.

From-SVN: r21342

26 years agodwarf2out.c (output_aranges): Call stripattributes for TEXT_SECTION references.
Catherine Moore [Wed, 22 Jul 1998 17:16:20 +0000 (17:16 +0000)]
dwarf2out.c (output_aranges): Call stripattributes for TEXT_SECTION references.

Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
        * dwarf2out.c (output_aranges):  Call stripattributes
        for TEXT_SECTION references.
        (output_line_info): Likewise.

From-SVN: r21341

26 years agoprofile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instr...
David S. Miller [Wed, 22 Jul 1998 16:14:27 +0000 (16:14 +0000)]
profile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instrument_arcs.

* profile.c (branch_prob): Call allocate_reg_info after outputting
profile rtl in instrument_arcs.

From-SVN: r21340

26 years agoAvoid irix 6.2/irix 6.3 header file conflict.
Jim Wilson [Wed, 22 Jul 1998 12:50:10 +0000 (12:50 +0000)]
Avoid irix 6.2/irix 6.3 header file conflict.

* fixinc.irix (math.h): Install wrapper instead of copying.

From-SVN: r21339

26 years agotree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded...
Alexandre Petit-Bianco [Wed, 22 Jul 1998 12:38:23 +0000 (12:38 +0000)]
tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded correctly when...


* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
  so WFL are expanded correctly when contained in a COMPOUND_EXPR.
* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
  lang_flag_0. Added documentation in the flag table.

From-SVN: r21338

26 years agotree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded...
Per Bothner [Wed, 22 Jul 1998 12:38:21 +0000 (05:38 -0700)]
tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression so WFL are expanded correctly when...

* tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
  so WFL are expanded correctly when contained in a COMPOUND_EXPR.
* tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
  lang_flag_0. Added documentation in the flag table.

From-SVN: r21337

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

From-SVN: r21336

26 years agog77spec.c (lang_specific_driver): Return unmolested command line when --help seen.
Craig Burley [Tue, 21 Jul 1998 22:34:23 +0000 (16:34 -0600)]
g77spec.c (lang_specific_driver): Return unmolested command line when --help seen.

P
* g77spec.c (lang_specific_driver): Return unmolested
command line when --help seen.
Comment out code that printed g77-specific --help info.

From-SVN: r21332

26 years agog77spec.c (lang_specific_driver): Return unmolested command line when --help seen.
Craig Burley [Tue, 21 Jul 1998 22:34:22 +0000 (16:34 -0600)]
g77spec.c (lang_specific_driver): Return unmolested command line when --help seen.


* g77spec.c (lang_specific_driver): Return unmolested
command line when --help seen.
Comment out code that printed g77-specific --help info.

From-SVN: r21331

26 years agocccp.c (do_include): Fix vax c style include handling.
Klaus Kaempf [Tue, 21 Jul 1998 22:31:41 +0000 (16:31 -0600)]
cccp.c (do_include): Fix vax c style include handling.

8
        * cccp.c (do_include): Fix vax c style include handling.

From-SVN: r21330

26 years agocccp.c (do_include): Fix vax c style include handling.
Klaus Kaempf [Tue, 21 Jul 1998 22:31:39 +0000 (16:31 -0600)]
cccp.c (do_include): Fix vax c style include handling.


        * cccp.c (do_include): Fix vax c style include handling.

From-SVN: r21329

26 years ago* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
Jason Merrill [Tue, 21 Jul 1998 18:16:29 +0000 (18:16 +0000)]
* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.

From-SVN: r21325

26 years agotree.c (canonical_type_variant): New fn to handle arrays.
Jason Merrill [Tue, 21 Jul 1998 18:16:09 +0000 (18:16 +0000)]
tree.c (canonical_type_variant): New fn to handle arrays.

* tree.c (canonical_type_variant): New fn to handle arrays.
* cp-tree.h (CANONICAL_TYPE_VARIANT): Remove.
* pt.c (unify, default case): Also fold arg.  Fix array bounds case.
* method.c (process_overload_item): Use build_overload_value for
arrays.

From-SVN: r21324

26 years agors6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
David Edelsohn [Tue, 21 Jul 1998 12:56:31 +0000 (12:56 +0000)]
rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.

        * rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
        * rs6000.md (movsi, movdi): Add CONSTANT_P_RTX.
        * rs6000.c (short_cint_operand): Add CONSTANT_P_RTX.
        (u_short_cint_operand): Same.
        (reg_or_cint_operand): Same.
        (logical_operand): Same.
        (input_operand): Same.
        (reg_or_short_operand): Use u_short_cint_operand.

From-SVN: r21323

26 years agoalpha.md (fix_truncdfsi2, [...]): Remove the define_expands, but keep the insns and...
Richard Henderson [Tue, 21 Jul 1998 08:57:27 +0000 (01:57 -0700)]
alpha.md (fix_truncdfsi2, [...]): Remove the define_expands, but keep the insns and splits.

        * alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
        but keep the insns and splits.  Adjust so when the ultimate destination
        is memory, use cvtql.

From-SVN: r21322

26 years ago* flow.c (regno_uninitialized): Fixed regs are never uninitialized.
Richard Henderson [Tue, 21 Jul 1998 08:54:29 +0000 (01:54 -0700)]
* flow.c (regno_uninitialized): Fixed regs are never uninitialized.

From-SVN: r21321

26 years agogcc.c (do_spec): Call "error" not "warning".
Jeffrey A Law [Tue, 21 Jul 1998 07:52:35 +0000 (07:52 +0000)]
gcc.c (do_spec): Call "error" not "warning".

        * gcc.c (do_spec): Call "error" not "warning".
Opps.

From-SVN: r21319

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

From-SVN: r21317

26 years agoconfigure.in: Fix minor problems with gas feature detection code.
Jeffrey A Law [Mon, 20 Jul 1998 23:56:42 +0000 (23:56 +0000)]
configure.in: Fix minor problems with gas feature detection code.

        * configure.in: Fix minor problems with gas feature detection code.
        * configure: Rebuilt.

From-SVN: r21315

26 years agogcc.c (do_spec): Issue a warning for '%[]' usage.
Jeffrey A Law [Mon, 20 Jul 1998 23:38:58 +0000 (23:38 +0000)]
gcc.c (do_spec): Issue a warning for '%[]' usage.

Tue Jul 21 00:31:01 1998  Jeffrey A Law  (law@cygnus.com)
        * gcc.c (do_spec): Issue a warning for '%[]' usage.
        * Undo this change.
        * gcc.c: Delete %[spec] support.
        (do_spec_1, case '('): Likewise.
        (do_spec_1, case '['): Call error.

From-SVN: r21314

26 years agoalpha.h (CPP_SPEC): Tidy.
Richard Henderson [Mon, 20 Jul 1998 23:04:58 +0000 (16:04 -0700)]
alpha.h (CPP_SPEC): Tidy.

        * alpha.h (CPP_SPEC): Tidy.  Hook to cpp_cpu and cpp_subtarget.
        (CPP_SUBTARGET_SPEC): Default to empty string.
        (CPP_AM_*, CPP_IM_*, CPP_CPU_*, CPP_CPU_SPEC): New.
        (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): New.
        * alpha/elf.h (LD_SPEC): Use %(elf_dynamic_linker).
        * alpha/linux-elf.h (SUBTARGET_EXTRA_SPECS): New.
        (LIB_SPEC): Tidy.
        * alpha/linux.h (CPP_PREDEFINES): Tidy.
        * alpha/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): New.
        * alpha/netbsd.h (CPP_PREDEFINES): Tidy.
        * alpha/osf.h (CPP_PREDEFINES): Remove bits subsumed by CPP_CPU_SPEC.
        * alpha/win-nt.h (CPP_PREDEFINES): Likewise.
        * alpha/vsf.h (CPP_PREDEFINES): Likewise.
        (CPP_SUBTARGET_SPEC): New.  Do this instead of overriding CPP_SPEC.
        * alpha/vxworks.h: Likewise.

From-SVN: r21311

26 years agoRemove accidental checkin.
Jeff Law [Mon, 20 Jul 1998 22:36:45 +0000 (16:36 -0600)]
Remove accidental checkin.

From-SVN: r21309

26 years agomips.md (reload_outsi): Added missing REGNO call.
Ken Raeburn [Mon, 20 Jul 1998 19:53:04 +0000 (19:53 +0000)]
mips.md (reload_outsi): Added missing REGNO call.

* mips.md (reload_outsi): Added missing REGNO call.
(smulsi3_highpart, umulsi3_highpart): Provide prototype for function pointer.
(mul_acc_di, mul_acc_64bit_di): Don't use match_op_dup, use another
match_operator and compare the codes.
* mips.h (MASK_DEBUG_E, MASK_DEBUG_I): Set to zero.
* MIPS multiply pattern fixes:
* mips.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add union
classes for HI, LO, or HILO plus general registers.
(GENERATE_MADD): Deleted.
* mips.md (mulsi3_mult3): Don't disparage output-LO alternative.  Add
TARGET_MAD to condition.
(mulsi3): Test HAVE_mulsi3_mult3, not specific flags.
(mul_acc_si): Expand GENERATE_MADD here; it's the only use.  Use "*d" for
accumulator, to give preference to LO initially but not during reload.

From-SVN: r21305

26 years agolex.c (mbchar.h): #include it.
Dave Brolley [Mon, 20 Jul 1998 13:36:43 +0000 (13:36 +0000)]
lex.c (mbchar.h): #include it.

1998-07-20  Dave Brolley  <brolley@cygnus.com>
* lex.c (mbchar.h): #include it.
(GET_ENVIRONMENT): New macro.
(init_parse): Set character set based on LANG environment variable.
(real_yylex): Handle multibyte characters in character literals.
(real_yylex): Handle multibyte characters in string literals.

From-SVN: r21304

26 years agoconfigure.in (enable_c_mbchar): New configure option.
Dave Brolley [Mon, 20 Jul 1998 13:35:38 +0000 (13:35 +0000)]
configure.in (enable_c_mbchar): New configure option.

Mon Jul 20 16:16:38 1998  Dave Brolley  <brolley@cygnus.com>
* configure.in (enable_c_mbchar): New configure option.
(extra_cpp_objs): Always available now.
* cexp.y (mbchar.h): #include it.
(yylex): Handle Multibyte characters in character literals.
* cccp.c (mbchar.h): #include it.
(main): Set character set based on LANG environment variable.
(rescan): Handle multibyte characters in comments.
(skip_if_group): See above.
(validate_else): See above.
(skip_to_end_of_comment): See above.
(macarg1): See above.
(discard_comments): See above.
(rescan): Handle multibyte characters in string and character literals.
(collect_expansion): See above.
(skip_quoted_string): See above.
(macroexpand): See above.
(macarg1): See above.
(discard_comments): See above.
(change_newlines): See above.
* c-lex.c (mbchar.h): #include it.
(GET_ENVIRONMENT): New macro.
(init_lex): Set character set based on LANG environment variable.
(yylex): Handle multibyte characters in character literals.
(yylex): Handle multibyte characters in string literals.
* Makefile.in (mbchar.o): New target.
(cccp$(exeext)): @extra_cpp_objs@ is always available.
(cppmain$(exeext)): @extra_cpp_objs@ is always available.
* mbchar.[ch]: New files for multibyte character handling.

From-SVN: r21303

26 years agojump.c (jump_optimize): When simplifying noop moves and PUSH_ROUNDING...
David S. Miller [Mon, 20 Jul 1998 02:20:07 +0000 (02:20 +0000)]
jump.c (jump_optimize): When simplifying noop moves and PUSH_ROUNDING...

* jump.c (jump_optimize): When simplifying noop moves and
PUSH_ROUNDING, fix thinko so we use same criterion for identifying
the PUSHes to rewrite in second loop as we did in the first.

From-SVN: r21302

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

From-SVN: r21301

26 years agonew
Jason Merrill [Mon, 20 Jul 1998 00:29:35 +0000 (20:29 -0400)]
new

From-SVN: r21300

26 years agoconfig.guess: (*-pc-sco3.2v5) Add detection for Pentium II.
Robert Lipe [Mon, 20 Jul 1998 00:00:54 +0000 (18:00 -0600)]
config.guess: (*-pc-sco3.2v5) Add detection for Pentium II.

8
* config.guess: (*-pc-sco3.2v5) Add detection for Pentium II.
(*-pc-unixware7) Add detection for Pentium II, Pentium Pro.

From-SVN: r21297

26 years agoconfig.guess: (*-pc-sco3.2v5) Add detection for Pentium II.
Robert Lipe [Mon, 20 Jul 1998 00:00:52 +0000 (18:00 -0600)]
config.guess: (*-pc-sco3.2v5) Add detection for Pentium II.

@
* config.guess: (*-pc-sco3.2v5) Add detection for Pentium II.
(*-pc-unixware7) Add detection for Pentium II, Pentium Pro.

From-SVN: r21296

26 years agolang-options.h: Fix up doc strings.
Craig Burley [Sun, 19 Jul 1998 23:55:30 +0000 (19:55 -0400)]
lang-options.h: Fix up doc strings.

        * lang-options.h: Fix up doc strings.
        Remove the unimplemented -fdcp-intrinsics-* options.
        * str-1t.fin: Change mixed-case spelling of `GoTo' from
        `Goto'.

From-SVN: r21292

26 years agolex.c (do_identifier): Look for class value even if we don't have a global value.
Jason Merrill [Sun, 19 Jul 1998 23:47:18 +0000 (23:47 +0000)]
lex.c (do_identifier): Look for class value even if we don't have a global value.

* lex.c (do_identifier): Look for class value even if we don't
have a global value.  Do implicit declaration if parsing is 2.
* semantics.c (finish_call_expr): Pass 2 if we're doing Koenig
lookup.

From-SVN: r21291

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