]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years agoAlso fix op1's predicate, though extract_bit_field ignores it.
Richard Henderson [Wed, 18 Mar 1998 16:22:17 +0000 (08:22 -0800)]
Also fix op1's predicate, though extract_bit_field ignores it.

From-SVN: r18677

26 years agoalpha.md (extzv): Don't reject register operands.
Richard Henderson [Wed, 18 Mar 1998 16:21:14 +0000 (08:21 -0800)]
alpha.md (extzv): Don't reject register operands.

* alpha.md (extzv): Don't reject register operands.  Fix
mode of operand 1.

From-SVN: r18676

26 years agodbxout.c (dbxout_function_end): Fix last change.
Richard Henderson [Wed, 18 Mar 1998 16:14:28 +0000 (08:14 -0800)]
dbxout.c (dbxout_function_end): Fix last change.

* dbxout.c (dbxout_function_end): Fix last change.  The correct
predicate is ASM_OUTPUT_SECTION_NAME.

From-SVN: r18675

26 years agoFix bug reported by Toshi Morita.
Jim Wilson [Wed, 18 Mar 1998 15:45:35 +0000 (15:45 +0000)]
Fix bug reported by Toshi Morita.

* sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
(ashlsi): Use match_dup 1 instead of match_operand 2.

From-SVN: r18674

26 years agoCorrected spelling of my name
Bruce Korb [Wed, 18 Mar 1998 14:09:23 +0000 (14:09 +0000)]
Corrected spelling of my name

From-SVN: r18673

26 years agofold-const.c (operand_equal_for_comparison_p): See if equal when nop conversions...
Richard Kenner [Wed, 18 Mar 1998 13:45:28 +0000 (13:45 +0000)]
fold-const.c (operand_equal_for_comparison_p): See if equal when nop conversions are removed.

Wed Mar 18 13:46:07 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * fold-const.c (operand_equal_for_comparison_p): See if equal
        when nop conversions are removed.

From-SVN: r18672

26 years agoexpr.c (expand_expr, [...]): If have conditional move, don't use ORIGINAL_TARGET...
Richard Kenner [Wed, 18 Mar 1998 13:41:50 +0000 (13:41 +0000)]
expr.c (expand_expr, [...]): If have conditional move, don't use ORIGINAL_TARGET unless REG.

Wed Mar 18 13:42:01 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * expr.c (expand_expr, case COND_EXPR): If have conditional move,
        don't use ORIGINAL_TARGET unless REG.

From-SVN: r18671

26 years ago* netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
J"orn Rennecke [Wed, 18 Mar 1998 12:52:07 +0000 (12:52 +0000)]
* netbsd.h (ASM_OUTPUT_ALIGN): Redefine.

From-SVN: r18670

26 years agoFix sparc-sun-solaris2 -O2 -fPIC bootstrap failure with gcse code.
Jim Wilson [Wed, 18 Mar 1998 12:45:22 +0000 (12:45 +0000)]
Fix sparc-sun-solaris2 -O2 -fPIC bootstrap failure with gcse code.

* loop.c (struct movable): New field move_insn_first.
(scan_loop): In consec sets code, set it.  Clear it otherwise.
(move_movables): In consec sets code, use it.  Copy REG_NOTES from
p to i1 only if i1 does not have REG_NOTES.  Delete obsolete ifdefed
out code.

From-SVN: r18669

26 years agodecl.c (make_implicit_typename): Only change the type of a TYPENAME_TYPE.
Jason Merrill [Wed, 18 Mar 1998 12:42:05 +0000 (12:42 +0000)]
decl.c (make_implicit_typename): Only change the type of a TYPENAME_TYPE.

* decl.c (make_implicit_typename): Only change the type of a
TYPENAME_TYPE.

From-SVN: r18668

26 years agosemantics.c: New file, containing routines to perform the semantic phase of parsing.
Mark Mitchell [Wed, 18 Mar 1998 10:52:04 +0000 (10:52 +0000)]
semantics.c: New file, containing routines to perform the semantic phase of parsing.

* semantics.c: New file, containing routines to perform the
semantic phase of parsing.
* parse.y: Use it.
* pt.c (tsubst_expr): Likewise.
* cp-tree.h: Declare the various functions in semantics.c.
Provide macros to access _STMT tree nodes.
* cp-tree.def: Add ASM_STMT tree node.
* Makefile.in, Make-lang.in: Add dependencies on and for
semantics.c.

From-SVN: r18658

26 years agortl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT is large...
Richard Henderson [Wed, 18 Mar 1998 09:55:53 +0000 (01:55 -0800)]
rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT is large...

        * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
        is large, and the system doesn't provide atoll or atoq.
        (atoll): New.
        * alpha/xm-vms.h (HAVE_ATOLL): Define.
        Reported by Klaus Kaempf <kkaempf@progis.de>.

From-SVN: r18657

26 years agoMakefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a non-existent file...
Dave Love [Wed, 18 Mar 1998 08:51:01 +0000 (08:51 +0000)]
Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a non-existent file since /dev/null loses with bash...

1998-03-18  Dave Love  <d.love@dl.ac.uk>
* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
non-existent file since /dev/null loses with bash 2.0/autoconf 2.12.

From-SVN: r18656

26 years ago($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a non-existent file since...
Dave Love [Wed, 18 Mar 1998 08:39:32 +0000 (08:39 +0000)]
($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a non-existent file since...

($(CONFIGURE_TARGET_MODULES)): Set CONFIG_SITE to a
non-existent file since /dev/null loses with bash 2.0/autoconf 2.12.

From-SVN: r18655

26 years agoFix more warnings...
Kaveh R. Ghazi [Wed, 18 Mar 1998 07:18:06 +0000 (07:18 +0000)]
Fix more warnings...

        * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
        test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
        * calls.c (emit_call_1): Wrap variable `already_popped' with macro
        test !ACCUMULATE_OUTGOING_ARGS.
        * collect2.c (write_c_file_glob): Wrap function definition in
        macro test !LD_INIT_SWITCH.
        * combine.c (try_combine): Wrap variables `cc_use' and
        `compare_mode' in macro test EXTRA_CC_MODES.
        * cpplib.c (do_ident): Remove unused variable `len'.
        (skip_if_group): Remove unused variables `at_beg_of_line' and
        `after_ident'.
        (cpp_get_token): Remove unused variable `dummy'.
        * dbxout.c (scope_labelno): Move static variable definition inside
        the one function scope where it is used.
        (dbxout_function_end): Wrap prototype and definition in
        macro test !NO_DBX_FUNCTION_END.
        * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
        in macro test !MIPS_DEBUGGING_INFO.
        * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
        into the scope where it is used.  Wrap empty else-statement body
        in braces.
        * fix-header.c: Fix typo in comment.
        (inf_skip_spaces): Cast results of INF_UNGET to (void).
        (check_protection, main): Likewise.
        * flow.c (find_basic_blocks_1): Remove dangling comment text.
        * function.c (contains): Wrap prototype and definition in macro
        test HAVE_prologue || HAVE_epilogue.
        (fixup_var_refs_1): Remove unused variable `width'.
        * gen-protos.c (main): Remove unused variable `optr'.
        * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
        * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
        (__sjpopnthrow): Remove unused variable `jmpbuf'.
        (__throw): Remove unused variable `val'.
        * protoize.c: Check for a previously existing definition before
        defining *_OK macros.
        * scan-decls.c (scan_decls): Remove unused variable `old_written'.

From-SVN: r18654

26 years ago* pt.c (push_template_decl): Only check primary templates.
Jason Merrill [Wed, 18 Mar 1998 02:30:09 +0000 (02:30 +0000)]
* pt.c (push_template_decl): Only check primary templates.

From-SVN: r18653

26 years agopt.c (check_explicit_specialization): Complain about default args in explicit special...
Jason Merrill [Wed, 18 Mar 1998 01:07:57 +0000 (01:07 +0000)]
pt.c (check_explicit_specialization): Complain about default args in explicit specialization.

* pt.c (check_explicit_specialization): Complain about default args
in explicit specialization.

From-SVN: r18652

26 years agoupdate
Jason Merrill [Wed, 18 Mar 1998 01:05:51 +0000 (20:05 -0500)]
update

From-SVN: r18651

26 years agoparse.y (nomods_initdcl0): Also call cp_finish_decl for a constructor_declarator.
Jason Merrill [Wed, 18 Mar 1998 00:31:01 +0000 (00:31 +0000)]
parse.y (nomods_initdcl0): Also call cp_finish_decl for a constructor_declarator.

* parse.y (nomods_initdcl0): Also call cp_finish_decl for a
constructor_declarator.

From-SVN: r18650

26 years agoRegenerate.
Jim Wilson [Tue, 17 Mar 1998 17:14:11 +0000 (09:14 -0800)]
Regenerate.

From-SVN: r18649

26 years agoRegenerate.
Jim Wilson [Tue, 17 Mar 1998 16:48:45 +0000 (08:48 -0800)]
Regenerate.

From-SVN: r18648

26 years agotypeck2.c (build_x_arrow): Don't crash when an aggregate type has no overloaded opera...
Mark Mitchell [Tue, 17 Mar 1998 14:59:43 +0000 (14:59 +0000)]
typeck2.c (build_x_arrow): Don't crash when an aggregate type has no overloaded operator ->.

* typeck2.c (build_x_arrow): Don't crash when an aggregate type
has no overloaded operator ->.
* call.c (build_field_call): Don't crash when presented with a
field that is actually a nested type.
* decl.c (pushtag): Deal with friend class injection in local
classes.
* call.c (build_object_call): Don't crash if OBJ is a
pointer-to-member-function.

From-SVN: r18647

26 years agopt.c (push_template_decl): Complain about template with C linkage, anonymous template...
Jason Merrill [Tue, 17 Mar 1998 12:20:38 +0000 (12:20 +0000)]
pt.c (push_template_decl): Complain about template with C linkage, anonymous template class.

* pt.c (push_template_decl): Complain about template with C linkage,
anonymous template class.

From-SVN: r18646

26 years agoconfig-ml.in: After building symlink tree call make distclean if...
Manfred Hollstein [Tue, 17 Mar 1998 01:38:14 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...


* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

From-SVN: r18645

26 years agoconfig-ml.in: After building symlink tree call make distclean if...
Manfred Hollstein [Tue, 17 Mar 1998 01:38:13 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...


* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

From-SVN: r18644

26 years agoconfig-ml.in: After building symlink tree call make distclean if...
Manfred Hollstein [Tue, 17 Mar 1998 01:38:12 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...


* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

From-SVN: r18643

26 years agoconfig-ml.in: After building symlink tree call make distclean if...
Manfred Hollstein [Tue, 17 Mar 1998 01:38:10 +0000 (01:38 +0000)]
config-ml.in: After building symlink tree call make distclean if...

P
* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

From-SVN: r18642

26 years agoconfigure: When making link, also check the current directory.
H.J. Lu [Tue, 17 Mar 1998 01:24:55 +0000 (01:24 +0000)]
configure: When making link, also check the current directory.

8
* configure: When making link, also check the current
directory. The configure scripts may create one.

From-SVN: r18641

26 years agoconfigure: When making link, also check the current directory.
H.J. Lu [Tue, 17 Mar 1998 01:24:54 +0000 (01:24 +0000)]
configure: When making link, also check the current directory.

p
* configure: When making link, also check the current
directory. The configure scripts may create one.

From-SVN: r18640

26 years agoundo
Jason Merrill [Tue, 17 Mar 1998 00:20:08 +0000 (19:20 -0500)]
undo

From-SVN: r18639

26 years agonew
Jason Merrill [Tue, 17 Mar 1998 00:19:43 +0000 (19:19 -0500)]
new

From-SVN: r18638

26 years agoclass.c (pushclass): Only use the mi_matrix stuff #ifdef MI_MATRIX.
Jason Merrill [Tue, 17 Mar 1998 00:03:43 +0000 (00:03 +0000)]
class.c (pushclass): Only use the mi_matrix stuff #ifdef MI_MATRIX.

* class.c (pushclass): Only use the mi_matrix stuff #ifdef MI_MATRIX.
* search.c: Likewise.
* lex.c (do_pending_defargs): Only call
maybe_{begin,end}_member_template_processing for FUNCTION_DECLs.
* parse.y (initdcl0_innards): Move maybeasm back into initdcl0 et al.

From-SVN: r18637

26 years agofix
Jason Merrill [Mon, 16 Mar 1998 23:56:43 +0000 (18:56 -0500)]
fix

From-SVN: r18636

26 years agoNew testcase from H.J. Lu for PPro FP conditional move bug.
H.J. Lu [Mon, 16 Mar 1998 20:03:19 +0000 (20:03 +0000)]
New testcase from H.J. Lu for PPro FP conditional move bug.

* gcc.dg/980312-1.c: Another new test for fp on PPro.

From-SVN: r18633

26 years ago* vax.h (ADDR_VEC_ALIGN): Define.
J"orn Rennecke [Mon, 16 Mar 1998 16:47:30 +0000 (16:47 +0000)]
* vax.h (ADDR_VEC_ALIGN): Define.

From-SVN: r18632

26 years agoEnsure sum from SDA is 16-bit
Michael Meissner [Mon, 16 Mar 1998 15:35:24 +0000 (15:35 +0000)]
Ensure sum from SDA is 16-bit

From-SVN: r18631

26 years agoFix off by 1 error in handling multilibs
Michael Meissner [Mon, 16 Mar 1998 13:06:49 +0000 (13:06 +0000)]
Fix off by 1 error in handling multilibs

From-SVN: r18630

26 years agoPatch from Ingolf Kock to fix -m68060 problems.
Jim Wilson [Mon, 16 Mar 1998 12:57:02 +0000 (12:57 +0000)]
Patch from Ingolf Kock to fix -m68060 problems.

* config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.

From-SVN: r18629

26 years ago* minor update in posting address
Andrew Macleod [Mon, 16 Mar 1998 12:55:45 +0000 (12:55 +0000)]
* minor update in posting address

From-SVN: r18628

26 years agosparc.md: Add calls to 'in_same_eh_region' in 4 peepholes involving calls and...
Andrew Macleod [Mon, 16 Mar 1998 12:52:33 +0000 (12:52 +0000)]
sparc.md: Add calls to 'in_same_eh_region' in 4 peepholes involving calls and...

* config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
peepholes involving calls and unconditional branches.

From-SVN: r18627

26 years agogenpeep.c (main): Add "except.h" to include file list in generated file insn-peep.c.
Andrew Macleod [Mon, 16 Mar 1998 12:52:09 +0000 (12:52 +0000)]
genpeep.c (main): Add "except.h" to include file list in generated file insn-peep.c.

* genpeep.c (main): Add "except.h" to include file list in generated
file insn-peep.c.

From-SVN: r18626

26 years agofinal.c (final): Initialize the table indicating which instructions belong in which...
Andrew Macleod [Mon, 16 Mar 1998 12:51:56 +0000 (12:51 +0000)]
final.c (final): Initialize the table indicating which instructions belong in which exception region.

* final.c (final): Initialize the table indicating which instructions
belong in which exception region.

From-SVN: r18625

26 years agoexcept.c (insn_eh_region, [...]): New static variables.
Andrew Macleod [Mon, 16 Mar 1998 12:51:39 +0000 (12:51 +0000)]
except.c (insn_eh_region, [...]): New static variables.

* except.c (insn_eh_region, maximum_uid): New static variables.
(set_insn_eh_region): New static function to set region numbers.
(free_insn_eh_region): New function to free EH region table.
(init_insn_eh_region): New function to initialize EH region table.
(in_same_eh_region): New function used to determine if two rtl
instructions are in the same exception region or not.

From-SVN: r18624

26 years agoexcept.h (in_same_eh_region): New prototype.
Andrew Macleod [Mon, 16 Mar 1998 12:51:14 +0000 (12:51 +0000)]
except.h (in_same_eh_region): New prototype.

* except.h (in_same_eh_region): New prototype.
(free_insn_eh_region, init_insn_eh_region): New prototypes.

From-SVN: r18623

26 years agoexcept.h (in_same_eh_region): New prototype.
Andrew Macleod [Mon, 16 Mar 1998 12:50:46 +0000 (12:50 +0000)]
except.h (in_same_eh_region): New prototype.

* except.h (in_same_eh_region): New prototype.
(free_insn_eh_region, init_insn_eh_region): New prototypes.
* except.c (insn_eh_region, maximum_uid): New static variables.
(set_insn_eh_region): New static function to set region numbers.
(free_insn_eh_region): New function to free EH region table.
(init_insn_eh_region): New function to initialize EH region table.
(in_same_eh_region): New function used to determine if two rtl
instructions are in the same exception region or not.
* final.c (final): Initialize the table indicating which instructions
belong in which exception region.
* genpeep.c (main): Add "except.h" to include file list in generated
file insn-peep.c.
* config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
peepholes involving calls and unconditional branches.

From-SVN: r18622

26 years agoChange MEMORY_MOVE_COST defs and uses to be able to take register class into account.
Ken Raeburn [Mon, 16 Mar 1998 11:56:25 +0000 (11:56 +0000)]
Change MEMORY_MOVE_COST defs and uses to be able to take register class into account.

Change MEMORY_MOVE_COST defs and uses to be able to take register class into
account.  Change mips def to actually do so, others to just ignore extra args.
Doc changes too.

From-SVN: r18621

26 years ago* parse.y: Deal with CONSTRUCTORS in new_initializers.
Mark Mitchell [Mon, 16 Mar 1998 11:46:07 +0000 (11:46 +0000)]
* parse.y: Deal with CONSTRUCTORS in new_initializers.

From-SVN: r18620

26 years agoInstructions and patches for building GNAT with EGCS.
Jim Wilson [Mon, 16 Mar 1998 11:19:03 +0000 (11:19 +0000)]
Instructions and patches for building GNAT with EGCS.

* README.gnat: New file.

From-SVN: r18619

26 years agopt.c (tsubst_copy): Deal with BIND_EXPR in a way that more closely mimics the behavio...
Mark Mitchell [Mon, 16 Mar 1998 10:54:48 +0000 (10:54 +0000)]
pt.c (tsubst_copy): Deal with BIND_EXPR in a way that more closely mimics the behavior in parse.y.

* pt.c (tsubst_copy): Deal with BIND_EXPR in a way that more
closely mimics the behavior in parse.y.
(tsubst_expr): Return the resuting BLOCK when making a tsubst'ing
into a compound statement.

From-SVN: r18618

26 years agom68k.c: Include <stdlib.h> for atoi.
Andreas Schwab [Mon, 16 Mar 1998 02:16:43 +0000 (02:16 +0000)]
m68k.c: Include <stdlib.h> for atoi.

* config/m68k/m68k.c: Include <stdlib.h> for atoi.  Include
"recog.h" for offsettable_memref_p.
(legitimize_pic_address): Remove unused variable `offset'.
(notice_update_cc): Change return type to void.  Add default label
to switch.
(standard_68881_constant_p): Remove unused variable mode.
(print_operand): Define local variable i only if SUPPORT_SUN_FPA.
(const_int_cost): Explicitly declare as returning int.
(output_dbcc_and_branch): Change return type to void.
* config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
(...).  Use GEN_INT instead of gen_rtx_CONST_INT.

From-SVN: r18617

26 years agoBump for snapshot
Jeffrey A Law [Sun, 15 Mar 1998 22:30:46 +0000 (15:30 -0700)]
Bump for snapshot

From-SVN: r18611

26 years agonew
Jason Merrill [Sun, 15 Mar 1998 19:54:36 +0000 (14:54 -0500)]
new

From-SVN: r18596

26 years agocp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
Jason Merrill [Sun, 15 Mar 1998 19:53:08 +0000 (14:53 -0500)]
cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.

* cp-tree.h (TEMPLATE_PARMS_FOR_INLINE): New macro.
* pt.c (inline_needs_template_parms): New fn.
(original_template): New fn.
(push_inline_template_parms_recursive): New fn.
(maybe_begin_member_template_processing): Use them.
(maybe_end_member_template_processing): Likewise.
(is_member_or_friend_template): Rename to is_member_template.
Member functions of local classes are never member templates.
* lex.c (do_identifier): Handle TEMPLATE_DECL that was
added in the class scope to catch redefinition error.
* pt.c (reduce_template_parm_level): Also copy
the DECL_TEMPLATE_PARMS field.

From-SVN: r18595

26 years agopt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a reduced-level template type...
Mark Mitchell [Sun, 15 Mar 1998 10:57:04 +0000 (10:57 +0000)]
pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a reduced-level template type parameter.

* pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a
        reduced-level template type parameter.

From-SVN: r18591

26 years agocp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
Manfred Hollstein [Sun, 15 Mar 1998 03:28:07 +0000 (03:28 +0000)]
cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.

d
* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
* decl.c (duplicate_decls): Propagate it.
* typeck2.c (abstract_virtuals_error): Use two loops to emit
abstract virtual functions and virtual functions which need a
final overrider separately.

From-SVN: r18588

26 years agocp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
Manfred Hollstein [Sun, 15 Mar 1998 03:28:04 +0000 (03:28 +0000)]
cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.

a
* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
* decl.c (duplicate_decls): Propagate it.
* typeck2.c (abstract_virtuals_error): Use two loops to emit
abstract virtual functions and virtual functions which need a
final overrider separately.

From-SVN: r18587

26 years agocp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
Manfred Hollstein [Sun, 15 Mar 1998 03:28:01 +0000 (03:28 +0000)]
cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.


* cp-tree.h (struct lang_decl_flags): Add needs_final_overrider.
(DECL_NEEDS_FINAL_OVERRIDER_P): New macro.
* class.c (override_one_vtable): Set DECL_NEEDS_FINAL_OVERRIDER_P.
* decl.c (duplicate_decls): Propagate it.
* typeck2.c (abstract_virtuals_error): Use two loops to emit
abstract virtual functions and virtual functions which need a
final overrider separately.

From-SVN: r18586

26 years agoupdate
Jason Merrill [Sun, 15 Mar 1998 00:16:49 +0000 (19:16 -0500)]
update

From-SVN: r18585

26 years agoInitial revision
Jeff Law [Sat, 14 Mar 1998 10:55:20 +0000 (03:55 -0700)]
Initial revision

From-SVN: r18557

26 years agoInitial revision
Jeff Law [Sat, 14 Mar 1998 10:49:19 +0000 (03:49 -0700)]
Initial revision

From-SVN: r18554

26 years agom68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range check for 'M' constraint.
Andreas Schwab [Fri, 13 Mar 1998 02:33:38 +0000 (02:33 +0000)]
m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range check for 'M' constraint.

* config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
check for 'M' constraint.

From-SVN: r18523

26 years agoDon't accept GNU C macro varargs extension when pedantic.
Jim Wilson [Thu, 12 Mar 1998 14:49:30 +0000 (14:49 +0000)]
Don't accept GNU C macro varargs extension when pedantic.

* cccp.c (create_definition): If pedantic, call pedwarn for macro
varargs feature.

From-SVN: r18522

26 years agoi386.c (ix86_logical_operator): New function.
Bernd Schmidt [Thu, 12 Mar 1998 12:43:42 +0000 (05:43 -0700)]
i386.c (ix86_logical_operator): New function.

        * i386.c (ix86_logical_operator): New function.
        (split_di): Ensure that when a MEM is split, the resulting MEMs have
        SImode.
        * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
        to implement them.

From-SVN: r18514

26 years agoWarning fixes, resulting in the addition of a new target macro:
Kaveh R. Ghazi [Thu, 12 Mar 1998 12:32:24 +0000 (12:32 +0000)]
Warning fixes, resulting in the addition of a new target macro:

        * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
        * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
        * cse.c (rtx_cost): Provide a default case in an enumeration
        switch, and call DEFAULT_RTX_COSTS if it's defined.

Co-Authored-By: Nick Clifton <nickc@cygnus.com>
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r18513

26 years agobasic-block.h (compute_preds_succs): Change return type in prototype to void.
Manfred Hollstein [Thu, 12 Mar 1998 01:04:46 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.

* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.

From-SVN: r18508

26 years agobasic-block.h (compute_preds_succs): Change return type in prototype to void.
Manfred Hollstein [Thu, 12 Mar 1998 01:04:45 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.

d
* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.

From-SVN: r18507

26 years agobasic-block.h (compute_preds_succs): Change return type in prototype to void.
Manfred Hollstein [Thu, 12 Mar 1998 01:04:43 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.

a
* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.

From-SVN: r18506

26 years agobasic-block.h (compute_preds_succs): Change return type in prototype to void.
Manfred Hollstein [Thu, 12 Mar 1998 01:04:42 +0000 (01:04 +0000)]
basic-block.h (compute_preds_succs): Change return type in prototype to void.


* basic-block.h (compute_preds_succs): Change return type in
prototype to void.
* flow.c (compute_preds_succs): Likewise in function definition.
* regmove.c (find_matches): Cast char used as array index to unsigned char
to supress warning.

From-SVN: r18505

26 years agotypeck.c (build_binary_op_nodefault): Correctly place parens around && and || in...
Manfred Hollstein [Thu, 12 Mar 1998 01:01:10 +0000 (01:01 +0000)]
typeck.c (build_binary_op_nodefault): Correctly place parens around && and || in expression.


* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.

From-SVN: r18504

26 years ago
Manfred Hollstein [Thu, 12 Mar 1998 00:43:13 +0000 (00:43 +0000)]

In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18503

26 years agoa
Manfred Hollstein [Thu, 12 Mar 1998 00:43:12 +0000 (00:43 +0000)]
a
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18502

26 years ago/
Manfred Hollstein [Thu, 12 Mar 1998 00:43:11 +0000 (00:43 +0000)]
/
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18501

26 years agod
Manfred Hollstein [Thu, 12 Mar 1998 00:43:09 +0000 (00:43 +0000)]
d
In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18500

26 years ago
Manfred Hollstein [Thu, 12 Mar 1998 00:43:08 +0000 (00:43 +0000)]

In gcc/:
* i386.h (RTX_COSTS): Insert braces around nested if.
(ADDITIONAL_REGISTER_NAMES): Insert braces around structured
elements.
* gcc.c (default_compilers): Properly put brackets around array elements in
initializer.
* getopt.c (_getopt_internal): Add explicit braces around nested if;
reformatted.
* reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
(record_reg_life_pat): Add explicit parens around && and || in expression.
(stack_reg_life_analysis): Add parens around assignment used as expression.
(convert_regs): Likewise.
In gcc/cp/:
* lang-specs.h: Properly put brackets around array elements in initializer.
* typeck.c (build_binary_op_nodefault): Correctly place parens around
&& and || in expression.
In gcc/f/:
* lang-specs.h: Properly put brackets around array elements in initializer.

From-SVN: r18499

26 years agod
Manfred Hollstein [Thu, 12 Mar 1998 00:29:17 +0000 (00:29 +0000)]
d
In gcc/:
* bitmap.c (bitmap_element_allocate): Remove unused parameter;
change callers accordingly.
* cplus-dem.c (arm_special): Remove unused parameter work in prototype
and definition; change all callers accordingly.
* except.c (init_eh): Avoid assignment of unused return value of
build_pointer_type; cast it to void, instead, and remove unused
variable type.
* gcc.c (lang_specific_driver): Define prototype only #ifdef
LANG_SPECIFIC_DRIVER.
(temp_names): Define only #ifdef MKTEMP_EACH_FILE.
* genoutput.c (output_epilogue): Initialize next_name to 0.
* real.c (efrexp): #if 0 prototype and function definition.
(eremain): Likewise.
(uditoe): Likewise.
(ditoe): Likewise.
(etoudi): Likewise.
(etodi): Likewise.
(esqrt): Likewise.
* reload.c (push_secondary_reload): Define prototype only
#ifdef HAVE_SECONDARY_RELOADS.
* varasm.c (assemble_static_space): Define rounded only
#ifndef ASM_OUTPUT_ALIGNED_LOCAL.
In gcc/cp/:
* call.c (default_parm_conversions): Remove prototype definition.
(build_method_call): Remove unused variable result.
* cvt.c (ocp_convert): Remove unused variable conversion.
* decl2.c (ambiguous_decl): Add explicit parameter definition for name.
* except.c (do_unwind): #if 0 definition of unused variables fcall
and next_pc.
* expr.c (extract_scalar_init): #if 0 prototype and function definition.
* init.c (expand_aggr_init_1): Remove unused variable init_type.
(build_new_1): Remove unused variable t.
* pt.c (instantiate_class_template): Remove unused variable newtag;
cast called function return value to void.
(do_decl_instantiation): Remove unused variables name and fn.
* tree.c (get_type_decl): Add default return to shut up compiler from
complaining control reaches end of non-void function.
* typeck.c (build_x_conditional_expr): Remove unused variable rval.

From-SVN: r18498

26 years agoa
Manfred Hollstein [Thu, 12 Mar 1998 00:29:16 +0000 (00:29 +0000)]
a
In gcc/:
* bitmap.c (bitmap_element_allocate): Remove unused parameter;
change callers accordingly.
* cplus-dem.c (arm_special): Remove unused parameter work in prototype
and definition; change all callers accordingly.
* except.c (init_eh): Avoid assignment of unused return value of
build_pointer_type; cast it to void, instead, and remove unused
variable type.
* gcc.c (lang_specific_driver): Define prototype only #ifdef
LANG_SPECIFIC_DRIVER.
(temp_names): Define only #ifdef MKTEMP_EACH_FILE.
* genoutput.c (output_epilogue): Initialize next_name to 0.
* real.c (efrexp): #if 0 prototype and function definition.
(eremain): Likewise.
(uditoe): Likewise.
(ditoe): Likewise.
(etoudi): Likewise.
(etodi): Likewise.
(esqrt): Likewise.
* reload.c (push_secondary_reload): Define prototype only
#ifdef HAVE_SECONDARY_RELOADS.
* varasm.c (assemble_static_space): Define rounded only
#ifndef ASM_OUTPUT_ALIGNED_LOCAL.
In gcc/cp/:
* call.c (default_parm_conversions): Remove prototype definition.
(build_method_call): Remove unused variable result.
* cvt.c (ocp_convert): Remove unused variable conversion.
* decl2.c (ambiguous_decl): Add explicit parameter definition for name.
* except.c (do_unwind): #if 0 definition of unused variables fcall
and next_pc.
* expr.c (extract_scalar_init): #if 0 prototype and function definition.
* init.c (expand_aggr_init_1): Remove unused variable init_type.
(build_new_1): Remove unused variable t.
* pt.c (instantiate_class_template): Remove unused variable newtag;
cast called function return value to void.
(do_decl_instantiation): Remove unused variables name and fn.
* tree.c (get_type_decl): Add default return to shut up compiler from
complaining control reaches end of non-void function.
* typeck.c (build_x_conditional_expr): Remove unused variable rval.

From-SVN: r18497

26 years agoW
Manfred Hollstein [Thu, 12 Mar 1998 00:29:12 +0000 (00:29 +0000)]
W
In gcc/:
* bitmap.c (bitmap_element_allocate): Remove unused parameter;
change callers accordingly.
* cplus-dem.c (arm_special): Remove unused parameter work in prototype
and definition; change all callers accordingly.
* except.c (init_eh): Avoid assignment of unused return value of
build_pointer_type; cast it to void, instead, and remove unused
variable type.
* gcc.c (lang_specific_driver): Define prototype only #ifdef
LANG_SPECIFIC_DRIVER.
(temp_names): Define only #ifdef MKTEMP_EACH_FILE.
* genoutput.c (output_epilogue): Initialize next_name to 0.
* real.c (efrexp): #if 0 prototype and function definition.
(eremain): Likewise.
(uditoe): Likewise.
(ditoe): Likewise.
(etoudi): Likewise.
(etodi): Likewise.
(esqrt): Likewise.
* reload.c (push_secondary_reload): Define prototype only
#ifdef HAVE_SECONDARY_RELOADS.
* varasm.c (assemble_static_space): Define rounded only
#ifndef ASM_OUTPUT_ALIGNED_LOCAL.
In gcc/cp/:
* call.c (default_parm_conversions): Remove prototype definition.
(build_method_call): Remove unused variable result.
* cvt.c (ocp_convert): Remove unused variable conversion.
* decl2.c (ambiguous_decl): Add explicit parameter definition for name.
* except.c (do_unwind): #if 0 definition of unused variables fcall
and next_pc.
* expr.c (extract_scalar_init): #if 0 prototype and function definition.
* init.c (expand_aggr_init_1): Remove unused variable init_type.
(build_new_1): Remove unused variable t.
* pt.c (instantiate_class_template): Remove unused variable newtag;
cast called function return value to void.
(do_decl_instantiation): Remove unused variables name and fn.
* tree.c (get_type_decl): Add default return to shut up compiler from
complaining control reaches end of non-void function.
* typeck.c (build_x_conditional_expr): Remove unused variable rval.

From-SVN: r18496

26 years agoIn gcc/:
Manfred Hollstein [Thu, 12 Mar 1998 00:29:02 +0000 (00:29 +0000)]
In gcc/:

* bitmap.c (bitmap_element_allocate): Remove unused parameter;
change callers accordingly.
* cplus-dem.c (arm_special): Remove unused parameter work in prototype
and definition; change all callers accordingly.
* except.c (init_eh): Avoid assignment of unused return value of
build_pointer_type; cast it to void, instead, and remove unused
variable type.
* gcc.c (lang_specific_driver): Define prototype only #ifdef
LANG_SPECIFIC_DRIVER.
(temp_names): Define only #ifdef MKTEMP_EACH_FILE.
* genoutput.c (output_epilogue): Initialize next_name to 0.
* real.c (efrexp): #if 0 prototype and function definition.
(eremain): Likewise.
(uditoe): Likewise.
(ditoe): Likewise.
(etoudi): Likewise.
(etodi): Likewise.
(esqrt): Likewise.
* reload.c (push_secondary_reload): Define prototype only
#ifdef HAVE_SECONDARY_RELOADS.
* varasm.c (assemble_static_space): Define rounded only
#ifndef ASM_OUTPUT_ALIGNED_LOCAL.
In gcc/cp/:
* call.c (default_parm_conversions): Remove prototype definition.
(build_method_call): Remove unused variable result.
* cvt.c (ocp_convert): Remove unused variable conversion.
* decl2.c (ambiguous_decl): Add explicit parameter definition for name.
* except.c (do_unwind): #if 0 definition of unused variables fcall
and next_pc.
* expr.c (extract_scalar_init): #if 0 prototype and function definition.
* init.c (expand_aggr_init_1): Remove unused variable init_type.
(build_new_1): Remove unused variable t.
* pt.c (instantiate_class_template): Remove unused variable newtag;
cast called function return value to void.
(do_decl_instantiation): Remove unused variables name and fn.
* tree.c (get_type_decl): Add default return to shut up compiler from
complaining control reaches end of non-void function.
* typeck.c (build_x_conditional_expr): Remove unused variable rval.

From-SVN: r18495

26 years ago/
Manfred Hollstein [Thu, 12 Mar 1998 00:29:01 +0000 (00:29 +0000)]
/
In gcc/:
* bitmap.c (bitmap_element_allocate): Remove unused parameter;
change callers accordingly.
* cplus-dem.c (arm_special): Remove unused parameter work in prototype
and definition; change all callers accordingly.
* except.c (init_eh): Avoid assignment of unused return value of
build_pointer_type; cast it to void, instead, and remove unused
variable type.
* gcc.c (lang_specific_driver): Define prototype only #ifdef
LANG_SPECIFIC_DRIVER.
(temp_names): Define only #ifdef MKTEMP_EACH_FILE.
* genoutput.c (output_epilogue): Initialize next_name to 0.
* real.c (efrexp): #if 0 prototype and function definition.
(eremain): Likewise.
(uditoe): Likewise.
(ditoe): Likewise.
(etoudi): Likewise.
(etodi): Likewise.
(esqrt): Likewise.
* reload.c (push_secondary_reload): Define prototype only
#ifdef HAVE_SECONDARY_RELOADS.
* varasm.c (assemble_static_space): Define rounded only
#ifndef ASM_OUTPUT_ALIGNED_LOCAL.
In gcc/cp/:
* call.c (default_parm_conversions): Remove prototype definition.
(build_method_call): Remove unused variable result.
* cvt.c (ocp_convert): Remove unused variable conversion.
* decl2.c (ambiguous_decl): Add explicit parameter definition for name.
* except.c (do_unwind): #if 0 definition of unused variables fcall
and next_pc.
* expr.c (extract_scalar_init): #if 0 prototype and function definition.
* init.c (expand_aggr_init_1): Remove unused variable init_type.
(build_new_1): Remove unused variable t.
* pt.c (instantiate_class_template): Remove unused variable newtag;
cast called function return value to void.
(do_decl_instantiation): Remove unused variables name and fn.
* tree.c (get_type_decl): Add default return to shut up compiler from
complaining control reaches end of non-void function.
* typeck.c (build_x_conditional_expr): Remove unused variable rval.

From-SVN: r18494

26 years agoi386.md (andsi): Add default case in enumeration switch.
Manfred Hollstein [Thu, 12 Mar 1998 00:15:19 +0000 (00:15 +0000)]
i386.md (andsi): Add default case in enumeration switch.

d
* i386.md (andsi): Add default case in enumeration switch.
(iorsi3): Likewise.
(iorhi3): Likewise.
(xorsi3): Likewise.
* call.c (default_parm_conversions): Remove prototype definition.
(build_method_call): Remove unused variable result.
(build_over_call): Add default case in enumeration switch.

From-SVN: r18493

26 years agoi386.md (andsi): Add default case in enumeration switch.
Manfred Hollstein [Thu, 12 Mar 1998 00:15:18 +0000 (00:15 +0000)]
i386.md (andsi): Add default case in enumeration switch.

a
* i386.md (andsi): Add default case in enumeration switch.
(iorsi3): Likewise.
(iorhi3): Likewise.
(xorsi3): Likewise.
* call.c (default_parm_conversions): Remove prototype definition.
(build_method_call): Remove unused variable result.
(build_over_call): Add default case in enumeration switch.

From-SVN: r18492

26 years agoc-decl (finish_struct): Change type of min_align to unsigned.
Manfred Hollstein [Thu, 12 Mar 1998 00:02:52 +0000 (00:02 +0000)]
c-decl (finish_struct): Change type of min_align to unsigned.

a
gcc/ChangeLog:
* c-decl (finish_struct): Change type of min_align to unsigned.
* cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
remove unused variable len.
* dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
comment indicating this is proper behaviour.
(reg_loc_descriptor): Remove redundant comparison of unsigned variable
reg >= 0.
(based_loc_descr): Likewise.
* enquire.c (bitpattern): Change type of variable i to unsigned.
* final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
* flow.c (life_analysis): Change type of variable i to size_t;
remove unused variable insn.
* gcc.c (translate_options): Change type of variables optlen, arglen and
complen to size_t.
(input_filename_length): Change type to size_t.
(do_spec_1): Change type of variable bufsize to size_t.
(main): Change type of variables i and j to size_t;
  remove subblock local definition of variable i.
(lookup_compiler): Change type of second argument to size_t;
change type of variable i to size_t.
* genemit.c (output_init_mov_optab): Change type of variable i to size_t.
* genopinit.c (get_insn): Change type of variable pindex to size_t.
* genrecog.c (add_to_sequence): Change type of variable i to size_t.
* global.c (global_alloc): Change type of variable i to size_t.
* regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
* stmt.c (expand_end_bindings): Change type of variable i to size_t.
(expand_end_case): Change type of variable count to size_t.
* toplev.c (main): Change type of variable j to size_t.
(set_target_switch): Change type of variable j to size_t.
(print_switch_values): Change type of variable j to size_t;
remove unused variable flags.
* varasm.c (assemble_variable): Change type of variable align to size_t.
(const_hash_rtx): Change type of variable i to size_t.
gcc/cp/ChangeLog:
Sun Mar  8 17:13:38 1998  Manfred Hollstein  <manfred@s-direktnet.de>
* decl2.c (lang_decode_option): Change j's type to size_t.
* tree.c (layout_vbasetypes): record_align and desired_align are of
type unsigned int; const_size and nonvirtual_const_size likewise.

From-SVN: r18491

26 years agoc-decl (finish_struct): Change type of min_align to unsigned.
Manfred Hollstein [Thu, 12 Mar 1998 00:02:51 +0000 (00:02 +0000)]
c-decl (finish_struct): Change type of min_align to unsigned.

d
gcc/ChangeLog:
* c-decl (finish_struct): Change type of min_align to unsigned.
* cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
remove unused variable len.
* dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
comment indicating this is proper behaviour.
(reg_loc_descriptor): Remove redundant comparison of unsigned variable
reg >= 0.
(based_loc_descr): Likewise.
* enquire.c (bitpattern): Change type of variable i to unsigned.
* final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
* flow.c (life_analysis): Change type of variable i to size_t;
remove unused variable insn.
* gcc.c (translate_options): Change type of variables optlen, arglen and
complen to size_t.
(input_filename_length): Change type to size_t.
(do_spec_1): Change type of variable bufsize to size_t.
(main): Change type of variables i and j to size_t;
  remove subblock local definition of variable i.
(lookup_compiler): Change type of second argument to size_t;
change type of variable i to size_t.
* genemit.c (output_init_mov_optab): Change type of variable i to size_t.
* genopinit.c (get_insn): Change type of variable pindex to size_t.
* genrecog.c (add_to_sequence): Change type of variable i to size_t.
* global.c (global_alloc): Change type of variable i to size_t.
* regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
* stmt.c (expand_end_bindings): Change type of variable i to size_t.
(expand_end_case): Change type of variable count to size_t.
* toplev.c (main): Change type of variable j to size_t.
(set_target_switch): Change type of variable j to size_t.
(print_switch_values): Change type of variable j to size_t;
remove unused variable flags.
* varasm.c (assemble_variable): Change type of variable align to size_t.
(const_hash_rtx): Change type of variable i to size_t.
gcc/cp/ChangeLog:
Sun Mar  8 17:13:38 1998  Manfred Hollstein  <manfred@s-direktnet.de>
* decl2.c (lang_decode_option): Change j's type to size_t.
* tree.c (layout_vbasetypes): record_align and desired_align are of
type unsigned int; const_size and nonvirtual_const_size likewise.

From-SVN: r18490

26 years agoc-decl (finish_struct): Change type of min_align to unsigned.
Manfred Hollstein [Thu, 12 Mar 1998 00:02:45 +0000 (00:02 +0000)]
c-decl (finish_struct): Change type of min_align to unsigned.

gcc/ChangeLog:
* c-decl (finish_struct): Change type of min_align to unsigned.
* cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
remove unused variable len.
* dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
comment indicating this is proper behaviour.
(reg_loc_descriptor): Remove redundant comparison of unsigned variable
reg >= 0.
(based_loc_descr): Likewise.
* enquire.c (bitpattern): Change type of variable i to unsigned.
* final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
* flow.c (life_analysis): Change type of variable i to size_t;
remove unused variable insn.
* gcc.c (translate_options): Change type of variables optlen, arglen and
complen to size_t.
(input_filename_length): Change type to size_t.
(do_spec_1): Change type of variable bufsize to size_t.
(main): Change type of variables i and j to size_t;
  remove subblock local definition of variable i.
(lookup_compiler): Change type of second argument to size_t;
change type of variable i to size_t.
* genemit.c (output_init_mov_optab): Change type of variable i to size_t.
* genopinit.c (get_insn): Change type of variable pindex to size_t.
* genrecog.c (add_to_sequence): Change type of variable i to size_t.
* global.c (global_alloc): Change type of variable i to size_t.
* regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
* stmt.c (expand_end_bindings): Change type of variable i to size_t.
(expand_end_case): Change type of variable count to size_t.
* toplev.c (main): Change type of variable j to size_t.
(set_target_switch): Change type of variable j to size_t.
(print_switch_values): Change type of variable j to size_t;
remove unused variable flags.
* varasm.c (assemble_variable): Change type of variable align to size_t.
(const_hash_rtx): Change type of variable i to size_t.
gcc/cp/ChangeLog:
Sun Mar  8 17:13:38 1998  Manfred Hollstein  <manfred@s-direktnet.de>
* decl2.c (lang_decode_option): Change j's type to size_t.
* tree.c (layout_vbasetypes): record_align and desired_align are of
type unsigned int; const_size and nonvirtual_const_size likewise.

From-SVN: r18489

26 years agoRemove bogus test
Mark Mitchell [Wed, 11 Mar 1998 23:38:50 +0000 (23:38 +0000)]
Remove bogus test

From-SVN: r18488

26 years agodbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a TREE_VEC if that's what...
Mark Mitchell [Wed, 11 Mar 1998 23:34:32 +0000 (23:34 +0000)]
dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a TREE_VEC if that's what it really is.

* dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
TREE_VEC if that's what it really is.

From-SVN: r18487

26 years agoMake qsort compare function type correct
Michael Meissner [Wed, 11 Mar 1998 13:18:30 +0000 (13:18 +0000)]
Make qsort compare function type correct

From-SVN: r18483

26 years agoReference fix.
Robert Lipe [Wed, 11 Mar 1998 12:17:05 +0000 (12:17 +0000)]
Reference fix.

From-SVN: r18482

26 years agoRemove political statement.
Robert Lipe [Wed, 11 Mar 1998 12:14:36 +0000 (12:14 +0000)]
Remove political statement.

From-SVN: r18481

26 years agoPatch from Teemu Torma to fix Solaris 2.6 EH failures.
Teemu Torma [Wed, 11 Mar 1998 12:07:25 +0000 (12:07 +0000)]
Patch from Teemu Torma to fix Solaris 2.6 EH failures.

* gthr.h: Changed the comment about return values.
* gthr-solaris.h (__gthread_once): Do not use errno; return the
error number instead of -1.
(__gthread_key_create): Any non-zero return value is an error.
* libgcc2.c (eh_context_initialize): Check for non-zero return
value from __gthread_once.
Check that the value of get_eh_context was really changed.

From-SVN: r18480

26 years ago980310-5.f: Deleted.
Robert Lipe [Wed, 11 Mar 1998 11:15:31 +0000 (11:15 +0000)]
980310-5.f: Deleted.

        * g77.f-torture/execute/980310-5.f: Deleted.  Craig Burley and
        Dave Love agree the Fortran source is bogus.

From-SVN: r18475

26 years agosh.h (LOOP_ALIGN): Only align when optimizing.
J"orn Rennecke [Wed, 11 Mar 1998 10:33:51 +0000 (10:33 +0000)]
sh.h (LOOP_ALIGN): Only align when optimizing.

* sh.h (LOOP_ALIGN): Only align when optimizing.
* sh.c (find_barrier): Clear inc for CODE_LABELs.
When not optimizing, calculate alignment for BARRIERs directly.

From-SVN: r18473

26 years agopt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a reduced-level template type...
Mark Mitchell [Wed, 11 Mar 1998 07:37:49 +0000 (07:37 +0000)]
pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a reduced-level template type parameter.

* pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a
        reduced-level template type parameter.

From-SVN: r18472

26 years agoparse.y (new_initializer): Make sure all initializers are lists.
Mark Mitchell [Wed, 11 Mar 1998 07:25:20 +0000 (07:25 +0000)]
parse.y (new_initializer): Make sure all initializers are lists.

* parse.y (new_initializer): Make sure all initializers are
lists.

From-SVN: r18471

26 years agofinal.c (shorten_branches): Remove conditionalizing on SHORTEN_WITH_ADJUST_INSN_LENGTH
J"orn Rennecke [Wed, 11 Mar 1998 07:12:31 +0000 (07:12 +0000)]
final.c (shorten_branches): Remove conditionalizing on SHORTEN_WITH_ADJUST_INSN_LENGTH

* final.c (shorten_branches): Remove conditionalizing on
SHORTEN_WITH_ADJUST_INSN_LENGTH
* sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.

From-SVN: r18470

26 years agoAdd Bruce Korbb as maintainer of "new fixincludes stuff".
Jeff Law [Wed, 11 Mar 1998 01:55:49 +0000 (18:55 -0700)]
Add Bruce Korbb as maintainer of "new fixincludes stuff".

From-SVN: r18469

26 years agoflow.c (find_basic_blocks_1): Keep the cfg accurate when removing an unconditional...
Jeff Law [Wed, 11 Mar 1998 01:35:44 +0000 (18:35 -0700)]
flow.c (find_basic_blocks_1): Keep the cfg accurate when removing an unconditional jump around deleted blocks.

P
        * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
        an unconditional jump around deleted blocks.

From-SVN: r18468

26 years agoflow.c (find_basic_blocks_1): Keep the cfg accurate when removing an unconditional...
Jeff Law [Wed, 11 Mar 1998 01:35:43 +0000 (18:35 -0700)]
flow.c (find_basic_blocks_1): Keep the cfg accurate when removing an unconditional jump around deleted blocks.


        * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
        an unconditional jump around deleted blocks.

From-SVN: r18467

26 years ago980310-1.f, [...]: New tests from egcs-bugs archives.
Robert Lipe [Tue, 10 Mar 1998 22:07:48 +0000 (22:07 +0000)]
980310-1.f, [...]: New tests from egcs-bugs archives.

* g77.f-torture/compile/980310-1.f, g77.f-torture/compile/980310-2.f
g77.f-torture/compile/980310-3.f, g77.f-torture/compile/980310-4.f
g77.f-torture/compile/980310-6.f, g77.f-torture/compile/980310-7.f
g77.f-torture/compile/980310-8.f: New tests from egcs-bugs archives.
* g77.f-torture/execute/980310-5.f: New test from egcs-bugs archives.

From-SVN: r18466

26 years agodecl2.c (import_export_decl): Mark tinfo functions for cv-qualified versions of class...
Mark Mitchell [Tue, 10 Mar 1998 07:32:11 +0000 (07:32 +0000)]
decl2.c (import_export_decl): Mark tinfo functions for cv-qualified versions of class types as...

Tue Mar 10 07:32:36 1998  Mark Mitchell  <mmitchell@usa.net>
* decl2.c (import_export_decl): Mark tinfo functions for
cv-qualified versions of class types as DECL_NOT_REALLY_EXTERN.

From-SVN: r18456

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