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
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
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
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
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
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
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
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
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
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
Robert Lipe [Mon, 9 Mar 1998 22:45:29 +0000 (22:45 +0000)]
g++.robertl: New testsuite area.
From-SVN: r18455
Alexandre Oliva [Mon, 9 Mar 1998 22:38:00 +0000 (22:38 +0000)]
g++.old-deja/g++.other/friend1.C: New test.
From-SVN: r18454
Jim Wilson [Mon, 9 Mar 1998 17:11:32 +0000 (17:11 +0000)]
Workaround for -fprofile-arcs/computed goto failure.
* profile.c (branch_prob): If see computed goto, call fatal instead of
abort.
From-SVN: r18453
Jim Wilson [Mon, 9 Mar 1998 15:18:50 +0000 (15:18 +0000)]
Patch from Eric Dana to add macros defined by Siemens compiler.
* config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
From-SVN: r18452
Jim Wilson [Mon, 9 Mar 1998 15:14:51 +0000 (15:14 +0000)]
Patch from Bruno Haible for alpha-dec-osf build failure.
* configure.in (alpha-dec-osf): Add default case for osf* to switch.
From-SVN: r18451
Jim Wilson [Mon, 9 Mar 1998 12:03:21 +0000 (12:03 +0000)]
Patch to fix mips64-elf varargs aliasing failures.
* function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
(assign_parms): Set aggregate if hide_last_arg and last_named.
From-SVN: r18450
Joern Rennecke [Mon, 9 Mar 1998 12:02:59 +0000 (12:02 +0000)]
Typo fix.
From-SVN: r18449
J"orn Rennecke [Mon, 9 Mar 1998 12:00:42 +0000 (12:00 +0000)]
* final.c (shorten_branches): Initialize insn_addresses.
From-SVN: r18448
J"orn Rennecke [Mon, 9 Mar 1998 06:13:39 +0000 (06:13 +0000)]
* sh.h (MUST_PASS_IN_STACK): Define.
From-SVN: r18447
Jeffrey A Law [Sun, 8 Mar 1998 12:04:17 +0000 (12:04 +0000)]
final.c (shorten_branches): Fix minor logic error in ADDR_DIFF_VEC shortening support.
* final.c (shorten_branches): Fix minor logic error in
ADDR_DIFF_VEC shortening support.
From-SVN: r18443
Jeffrey A Law [Sun, 8 Mar 1998 02:17:44 +0000 (19:17 -0700)]
Bump for snapshot
From-SVN: r18440
Jeffrey A Law [Sun, 8 Mar 1998 02:15:26 +0000 (02:15 +0000)]
haifa-sched.c (is_cfg_nonregular): Change return type to an int.
* haifa-sched.c (is_cfg_nonregular): Change return type to
an int. No longer compute "estimated" number of edges. Use
computed_jump_p instead of duplicating the code. Fixup/add
some comments.
(build_control_flow): Returns a value indicating an irregularity
in the cfg was detected. Count the number of edges in the cfg.
allocate various edge tables.
(find_rgns): No longer look for unreachable blocks.
(schedule_insns): Do not allocate memory for edge tables here.
Free memory for edge tables before returning. Do not perform
cross block scheduling if build_control_flow returns nonzero.
* flow.c (compute_preds_succs): More accurately determine when
a block drops in.
Fixes various compile hangs after haifa cleanup.
From-SVN: r18439
Jeffrey A Law [Sat, 7 Mar 1998 01:14:32 +0000 (01:14 +0000)]
* basic-block.h (free_basic_block_vargs): Provide prototype.
From-SVN: r18438
Jeff Law [Fri, 6 Mar 1998 23:55:14 +0000 (16:55 -0700)]
Tweak from Craig.
From-SVN: r18436
Jeffrey A Law [Fri, 6 Mar 1998 23:54:33 +0000 (23:54 +0000)]
* cccp.c (main): Fix dumb mistakes in last change.
From-SVN: r18435
Jeffrey A Law [Fri, 6 Mar 1998 22:24:29 +0000 (22:24 +0000)]
Fix typo.
From-SVN: r18434
Joern Rennecke [Fri, 6 Mar 1998 14:54:07 +0000 (14:54 +0000)]
rtl.h (addr_diff_vec_flags): New typedef.
* rtl.h (addr_diff_vec_flags): New typedef.
(union rtunion_def): New member rt_addr_diff_vec_flags.
(ADDR_DIFF_VEC_FLAGS): New macro.
* sh.c (output_branch): Fix offset overflow problems.
* final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
(final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
* rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
* stmt.c (expand_end_case): Supply new arguments to
gen_rtx_ADDR_DIFF_VEC.
* 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
* alpha.h, arc.h, clipper.h, convex.h : Likewise.
* dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
* i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
* mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
* rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
* vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
* i386/386bsd.h, i386/freebsd-elf.h : Likewise.
* i386/freebsd.h, i386/linux.h : Likewise.
* i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
* i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
* m68k/mot3300.h, m68k/sgs.h : Likewise.
* m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
* sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
(CASE_VECTOR_SHORTEN_MODE): Define.
(short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
(med_branch_p, braf_branch_p): Don't declare.
(mdep_reorg_phase, barrier_align): Declare.
(ADJUST_INSN_LENGTH): Remove alignment handling.
* sh.c (uid_align, uid_align_max): Deleted.
(max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
(short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
(cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
(output_far_jump): Don't use braf_branch_p.
(output_branchy_insn): Don't use branch_offset.
(find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
Remove paired barrier stuff.
Don't use cache_align_p.
Take alignment insns into account.
(fixup_addr_diff_vecs): Reduce to only fixing up the base label of
the addr_diff_vec.
(barrier_align, branch_dest): New function.
(machine_dependent_reorg, split_branches): Remove infrastructure
for branch shortening that is now provided in the backend.
* sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
(braf_branch_p, braf_cbranch_p): Likewise.
(attribute length): Use new attributes.
(casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
(addr_diff_vec_adjust): Delete.
(align_2): Now a define_expand.
(align_log): Now length 0.
From-SVN: r18433
Michael Meissner [Fri, 6 Mar 1998 11:44:45 +0000 (11:44 +0000)]
Fix calculation of right function unit
From-SVN: r18432
Kaveh R. Ghazi [Fri, 6 Mar 1998 11:03:35 +0000 (11:03 +0000)]
Warning fixes:
* mips/mips.h: Prototype `machine_dependent_reorg'.
(ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
From-SVN: r18431
Joern Rennecke [Fri, 6 Mar 1998 10:41:22 +0000 (03:41 -0700)]
final.c (shorten_branches): Restore accidentally removed code.
8
* final.c (shorten_branches): Restore accidentally removed code.
From-SVN: r18430
Joern Rennecke [Fri, 6 Mar 1998 10:41:21 +0000 (03:41 -0700)]
final.c (shorten_branches): Restore accidentally removed code.
�
* final.c (shorten_branches): Restore accidentally removed code.
From-SVN: r18429
Kaveh Ghazi [Fri, 6 Mar 1998 07:17:34 +0000 (07:17 +0000)]
Grr, ChangeLog entry for last change.
* method.c: Include "system.h" to get stdlib.h, stdio.h,
ctype.h, string.h, etc.
(issue_nrepeats): Add default case in enumeration switch.
(check_btype): Likewise.
(process_overload_item): Likewise.
* Makefile.in (method.o): Depend on system.h.
From-SVN: r18428
Kaveh Ghazi [Fri, 6 Mar 1998 07:11:30 +0000 (07:11 +0000)]
Warning fix:
* method.c: Include "system.h" to get stdlib.h, stdio.h,
ctype.h, string.h, etc.
(issue_nrepeats): Add default case in enumeration switch.
(check_btype): Likewise.
(process_overload_item): Likewise.
* Makefile.in (method.o): Depend on system.h.
From-SVN: r18427
Andreas Schwab [Fri, 6 Mar 1998 02:02:18 +0000 (02:02 +0000)]
configure.in: Remove duplicate uses of AC_PROG_CC and AC_PROG_MAKE_SET.
* configure.in: Remove duplicate uses of AC_PROG_CC and
AC_PROG_MAKE_SET.
From-SVN: r18426
Richard Henderson [Fri, 6 Mar 1998 01:02:12 +0000 (17:02 -0800)]
* config.sub: Accept alphapca56 and alphaev6 properly.
From-SVN: r18425
Richard Henderson [Fri, 6 Mar 1998 01:00:41 +0000 (17:00 -0800)]
* configure.in (target_cpu_default2): Correct typo for alphapca56.
From-SVN: r18424
Franz Sirl [Thu, 5 Mar 1998 23:11:56 +0000 (23:11 +0000)]
* configure.in: Revert 3 Jan change for powerpc-linux-gnulibc1.
From-SVN: r18423
Jeffrey A Law [Thu, 5 Mar 1998 22:31:51 +0000 (22:31 +0000)]
haifa-sched.c (build_jmp_edges): Delete dead function.
* haifa-sched.c (build_jmp_edges): Delete dead function.
(build_control_flow): Use cfg routines from flow.c
(schedule_insns): Remove debugging code accidentally checked
in earlier today.
* basic-block.h: Add external integer list structures, typdefs,
accessor macros and function declarations. Simlarly for
basic block pred/succ support and simple bitmap stuff.
* flow.c: Add functions for integer list, basic block pred/succ
support and simple bitmap support.
(compute_dominators): New function to compute dominators and
post dominators.
(find_basic_blocks): Split into two functions.
(life_analysis): Likewise.
(flow_analysis): Removed. Now handled by calling find_basic_blocks,
the life_analysis from toplev.c
* toplev.c (rest_of_compilation): Call find_basic_blocks, then
life_analysis instead of flow_analysis.
Co-Authored-By: Doug Evans <devans@cygnus.com>
From-SVN: r18421
J"orn Rennecke [Thu, 5 Mar 1998 22:05:51 +0000 (22:05 +0000)]
jump.c (jump_optimize): Call mark_jump_label also for deleted insns.
* jump.c (jump_optimize): Call mark_jump_label also for deleted
insns.
(mark_jump_label): Don't increment ref counts for deleted insns.
From-SVN: r18420
Kaveh R. Ghazi [Thu, 5 Mar 1998 07:09:04 +0000 (07:09 +0000)]
Warning fixes:
* mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
* mips/mips.c: Include stdlib.h and unistd.h.
(mips_asm_file_end): Add braces around empty body in an if-statement.
(function_prologue): Wrap variable `fnname' in
!FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
(mips_select_rtx_section, mips_select_section): Declare as void.
* mips/mips.h: Add prototypes for extern functions in mips.c.
(FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
(ENCODE_SECTION_INFO): Add braces around empty body in an
if-statement.
* mips/mips.md (movdi): Add parentheses around && within ||.
(movsf, movdf): Likewise.
(branch_zero, branch_zero_di): Add default case in
enumeration switch.
From-SVN: r18419
Kaveh Ghazi [Thu, 5 Mar 1998 06:53:17 +0000 (06:53 +0000)]
Remove asterisk from ghazi@caip.rutgers.edu
From-SVN: r18418
Richard Henderson [Thu, 5 Mar 1998 02:50:12 +0000 (18:50 -0800)]
alpha.h (TARGET_WINDOWS_NT, [...]): Just make them real constants, since they can't be changed.
* alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
real constants, since they can't be changed.
(TARGET_AS_CAN_SUBTRACT_LABELS): New.
* alpha/alpha.md (builtin_setjmp_receiver): Use it.
* alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
* alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
* alpha/vms.h (TARGET_OPEN_VMS): New.
* alpha/win-nt.h (TARGET_WINDOWS_NT): New.
From-SVN: r18417
Richard Henderson [Thu, 5 Mar 1998 02:42:22 +0000 (18:42 -0800)]
reload.c (find_reloads): Always force (subreg (mem)) to be reloaded if WORD_REGISTER_OPERATIONS.
* reload.c (find_reloads): Always force (subreg (mem)) to be
reloaded if WORD_REGISTER_OPERATIONS.
From-SVN: r18416
Richard Henderson [Thu, 5 Mar 1998 02:15:23 +0000 (18:15 -0800)]
haifa-sched.c (free_list): Rename from free_pnd_lst.
* haifa-sched.c (free_list): Rename from free_pnd_lst.
(free_pending_lists): Rename free_pnd_lst uses.
(remove_dependence): Place expunged element on unused_insn_list.
(alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
gen_rtx_*_LIST and alloc_rtx to use them.
(compute_block_backward_dependences): Free the reg_last_* lists.
From-SVN: r18415
Manfred Hollstein [Thu, 5 Mar 1998 00:28:14 +0000 (00:28 +0000)]
config.table: Make locating frag files failsafe even for the special case if...
�
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
From-SVN: r18414
Manfred Hollstein [Thu, 5 Mar 1998 00:28:13 +0000 (00:28 +0000)]
config.table: Make locating frag files failsafe even for the special case if...
�
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
From-SVN: r18413
Manfred Hollstein [Thu, 5 Mar 1998 00:28:12 +0000 (00:28 +0000)]
config.table: Make locating frag files failsafe even for the special case if...
a
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
From-SVN: r18412
Manfred Hollstein [Thu, 5 Mar 1998 00:28:11 +0000 (00:28 +0000)]
config.table: Make locating frag files failsafe even for the special case if...
�
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
From-SVN: r18411
Manfred Hollstein [Thu, 5 Mar 1998 00:28:10 +0000 (00:28 +0000)]
config.table: Make locating frag files failsafe even for the special case if...
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
From-SVN: r18410
Jeffrey A Law [Wed, 4 Mar 1998 23:03:14 +0000 (23:03 +0000)]
cccp.c (main): Avoid undefined behavior when setting pend_includes and pend_files.
* cccp.c (main): Avoid undefined behavior when setting pend_includes
and pend_files.
From-SVN: r18409
Andreas Schwab [Wed, 4 Mar 1998 21:24:06 +0000 (14:24 -0700)]
lex.c (do_scoped_id): Fix parenthesizing.
8
* lex.c (do_scoped_id): Fix parenthesizing.
From-SVN: r18408
Andreas Schwab [Wed, 4 Mar 1998 21:24:04 +0000 (14:24 -0700)]
lex.c (do_scoped_id): Fix parenthesizing.
�
* lex.c (do_scoped_id): Fix parenthesizing.
From-SVN: r18407
Franz Sirl [Wed, 4 Mar 1998 20:59:50 +0000 (13:59 -0700)]
linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if USE_GNULIBC_1 is defined
* rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
USE_GNULIBC_1 is defined
* configure.in: add a new case powerpc-*-linux-gnulibc1 which
includes the t-linux-gnulibc1 fragment
From-SVN: r18405
Jeffrey A Law [Wed, 4 Mar 1998 16:35:10 +0000 (16:35 +0000)]
* Make-lang.in: Remove more references to libf77.
From-SVN: r18404
Ulrich Drepper [Wed, 4 Mar 1998 12:40:30 +0000 (12:40 +0000)]
(operator<<): Correct type of numeric argument.
From-SVN: r18403
Jim Wilson [Wed, 4 Mar 1998 12:15:47 +0000 (12:15 +0000)]
Fix typo found by Kaveh Ghazi while looking at -Wall problems.
* mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
From-SVN: r18402
Michael Tiemann [Wed, 4 Mar 1998 12:13:02 +0000 (12:13 +0000)]
rtti.c (get_tinfo_fn_dynamic): If this function is called an FLAG_RTTI is unset...
* rtti.c (get_tinfo_fn_dynamic): If this function is called an
FLAG_RTTI is unset, initialize type info machinery and continue
with FLAG_RTTI enabled.
(get_typeid): Ditto.
From-SVN: r18401
Jason Merrill [Wed, 4 Mar 1998 11:56:29 +0000 (11:56 +0000)]
typeck.c (unary_complex_lvalue): &D::i has type B::* if i comes from B.
* typeck.c (unary_complex_lvalue): &D::i has type B::* if i comes
from B.
From-SVN: r18400
Mark Mitchell [Wed, 4 Mar 1998 11:33:01 +0000 (11:33 +0000)]
pt.c (finish_member_template_decl): Deal more gracefully with invalid declarations.
* pt.c (finish_member_template_decl): Deal more gracefully with
invalid declarations.
From-SVN: r18399
J"orn Rennecke [Wed, 4 Mar 1998 10:50:18 +0000 (10:50 +0000)]
* final.c (final_scan_insn, case CODE_LABEL: Cleanup.
From-SVN: r18398
Joern Rennecke [Wed, 4 Mar 1998 08:13:16 +0000 (08:13 +0000)]
Fix typo in this patch:
* final.c (insn_current_reference_address):
Use SEQ instead of BRANCH as argument to align_fuzz, to get a
proper alignment chain.
From-SVN: r18397
J"orn Rennecke [Wed, 4 Mar 1998 07:54:28 +0000 (07:54 +0000)]
final.c (shorten_branches): Tag the loop alignment onto the first label after NOTE_INSN_LOOP_BEG even if...
* final.c (shorten_branches): Tag the loop alignment onto the
first label after NOTE_INSN_LOOP_BEG even if there is an
intervening insn.
From-SVN: r18396
J"orn Rennecke [Tue, 3 Mar 1998 22:52:48 +0000 (22:52 +0000)]
final.c (insn_current_reference_address): Use SEQ instead of BRANCH as argument to align_fuzz...
* final.c (insn_current_reference_address):
Use SEQ instead of BRANCH as argument to align_fuzz, to get a
proper alignment chain.
From-SVN: r18392
Jason Merrill [Tue, 3 Mar 1998 22:27:04 +0000 (17:27 -0500)]
cvt.c, [...]: Clean up more old overloading code, old RTTI code, and some formatting quirks.
* cvt.c, decl.c, decl2.c, init.c, rtti.c, typeck.c, typeck2.c,
cp-tree.h: Clean up more old overloading code, old RTTI code, and
some formatting quirks.
From-SVN: r18391
J"orn Rennecke [Tue, 3 Mar 1998 20:45:49 +0000 (20:45 +0000)]
final.c (max_labelno): New static variable.
* final.c (max_labelno): New static variable.
(final_scan_insn): Check max_labelno before outputting an
alignment for a label.
(shorten_branches): Remove unused variable length_align.
Fix some minor problems with new shortening code.
From-SVN: r18390
Kaveh R. Ghazi [Tue, 3 Mar 1998 11:33:31 +0000 (11:33 +0000)]
Warning fixes:
Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (ultrasparc_adjust_cost): Add default case in
enumeration switch.
* sparc.h: Add prototypes for extern functions defined in
sparc.c.
From-SVN: r18387
Nick Clifton [Tue, 3 Mar 1998 10:06:54 +0000 (10:06 +0000)]
Do not generate a <name>.dbr file when dumping RTL unless DELAY_SLOTS is defined.
From-SVN: r18386
Jeffrey A Law [Tue, 3 Mar 1998 09:03:45 +0000 (09:03 +0000)]
* makeinfo/makeinfo.c (CommandTable): Fix braces in initializer.
From-SVN: r18385
Jason Merrill [Tue, 3 Mar 1998 03:24:44 +0000 (03:24 +0000)]
call.c, [...]: Remove support for -fno-ansi-overloading and overloading METHOD_CALL_EXPR.
* call.c, class.c, cp-tree.h, cvt.c, decl.c, init.c, lex.c,
method.c, pt.c, ptree.c, typeck.c: Remove support for
-fno-ansi-overloading and overloading METHOD_CALL_EXPR.
* class.h: Remove.
* Makefile.in: Adjust.
From-SVN: r18384
Jason Merrill [Tue, 3 Mar 1998 01:57:32 +0000 (01:57 +0000)]
* pt.c (unify): Don't allow reduced cv-quals when strict.
From-SVN: r18383
Manfred Hollstein [Tue, 3 Mar 1998 01:51:51 +0000 (01:51 +0000)]
g77.texi: Use @url for citing URLs.
�
* g77.texi: Use @url for citing URLs.
From-SVN: r18381
Manfred Hollstein [Tue, 3 Mar 1998 01:51:49 +0000 (01:51 +0000)]
g77.texi: Use @url for citing URLs.
E
* g77.texi: Use @url for citing URLs.
From-SVN: r18380
Jason Merrill [Tue, 3 Mar 1998 01:44:37 +0000 (20:44 -0500)]
oops
From-SVN: r18378
Jason Merrill [Tue, 3 Mar 1998 01:39:03 +0000 (01:39 +0000)]
call.c, [...]: Remove nsubsts parm from *type_unification* and unify.
* call.c, class.c, pt.c, cp-tree.h: Remove nsubsts parm from
*type_unification* and unify.
From-SVN: r18377
Manfred Hollstein [Mon, 2 Mar 1998 22:37:37 +0000 (22:37 +0000)]
reorg.c (fill_eager_delay_slots): Add new argument delay_list in call to fill_slots_from_thread.
8
* reorg.c (fill_eager_delay_slots): Add new argument delay_list
in call to fill_slots_from_thread.
From-SVN: r18368
Manfred Hollstein [Mon, 2 Mar 1998 22:37:35 +0000 (22:37 +0000)]
reorg.c (fill_eager_delay_slots): Add new argument delay_list in call to fill_slots_from_thread.
�
* reorg.c (fill_eager_delay_slots): Add new argument delay_list
in call to fill_slots_from_thread.
From-SVN: r18367
J"orn Rennecke [Mon, 2 Mar 1998 15:04:08 +0000 (15:04 +0000)]
Formatting fix.
From-SVN: r18364
Richard Henderson [Mon, 2 Mar 1998 13:46:33 +0000 (05:46 -0800)]
linux.h (CPP_PREDEFINES): Correct connecting whitespace to SUB_CPP_PREDEFINES.
* alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
From-SVN: r18361
Jason Merrill [Mon, 2 Mar 1998 12:22:33 +0000 (12:22 +0000)]
parse.y (explicit_template_type): Remove TEMPLATE keyword.
* parse.y (explicit_template_type): Remove TEMPLATE keyword.
(nested_name_specifier): And add it before this use.
(typename_sub0): And this use. Also add use without the keyword.
(typename_sub1): Likewise.
* pt.c (instantiate_class_template): Don't actually instantiate
anything if our type uses template parms.
From-SVN: r18358
J"orn Rennecke [Mon, 2 Mar 1998 11:54:35 +0000 (11:54 +0000)]
final.c (insn_last_address, [...]): New variables.
* final.c (insn_last_address, insn_current_align, uid_align):
New variables.
(in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
(insn_current_reference_address): Likewise.
(shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
(label_to_alignment): New function.
* genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
insn_current_reference_address instead of insn_current_address.
(or_attr_value, write_length_unit_log): New functions.
(main): Call write_length_unit_log.
(write_const_num_delay_slots): Output extra '\n'.
* alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
replace with:
(LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
* i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
* arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
(LOOP_ALIGN).
* i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
(LABEL_ALIGN_AFTER_BARRIER).
* ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
* ns32k/tek6000.h: Likewise.
* i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
* i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
ASM_OUTPUT_ALIGN_CODE.
From-SVN: r18357
Jim Wilson [Mon, 2 Mar 1998 11:06:14 +0000 (11:06 +0000)]
decl.c (start_function): Don't call temporary_allocation for a nested function.
* decl.c (start_function): Don't call temporary_allocation for a
nested function.
From-SVN: r18356
Jeffrey A Law [Mon, 2 Mar 1998 01:05:53 +0000 (18:05 -0700)]
Bump for snapshot
From-SVN: r18354
Jeffrey A Law [Mon, 2 Mar 1998 00:52:20 +0000 (17:52 -0700)]
Bump for snapshot
From-SVN: r18353
Jason Merrill [Sun, 1 Mar 1998 21:07:22 +0000 (21:07 +0000)]
pt.c (instantiate_class_template): Don't mess with friends if our type uses template parms.
* pt.c (instantiate_class_template): Don't mess with friends if
our type uses template parms.
From-SVN: r18350
Jeff Law [Sun, 1 Mar 1998 17:24:18 +0000 (10:24 -0700)]
reorg.c (fill_slots_from_thread): Don't steal delay list from target if condition code of jump conflicts with...
* reorg.c (fill_slots_from_thread): Don't steal delay list from target
if condition code of jump conflicts with opposite_needed.
* reorg.c (fill_slots_from_thread): Mark resources referenced in
opposite_needed thread. Return delay_list even when cannot get
any more delay insns from end of subroutine.
* reorg.c (fill_slots_from_thread): New parameter, delay_list.
All callers changed.
From-SVN: r18348
Jeffrey A Law [Sun, 1 Mar 1998 17:11:31 +0000 (17:11 +0000)]
* ginclude/va-ppc.h (va_arg): Fix typo in long long support.
From-SVN: r18346
Bruno Haible [Sun, 1 Mar 1998 17:09:39 +0000 (17:09 +0000)]
frame.c (start_fde_sort, [...]): New functions for fast sorting of an FDE array.
* frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
end_fde_sort): New functions for fast sorting of an FDE array.
(fde_insert): Simplified.
(add_fdes): Change argument list.
(frame_init): Use the new functions.
From-SVN: r18345
Jeffrey A Law [Sun, 1 Mar 1998 17:07:50 +0000 (17:07 +0000)]
* i386.c (reg_mentioned_in_mem): Fix dangling else statement.
From-SVN: r18344
Jeffrey A Law [Sun, 1 Mar 1998 17:04:14 +0000 (17:04 +0000)]
* fold-const.c (fold_range_test): Always return a value.
From-SVN: r18343
Mumit Khan [Sun, 1 Mar 1998 16:55:15 +0000 (16:55 +0000)]
winnt.c (i386_pe_unique_section): Put read-only data in the text section unless READONLY_DATA_SECTION is defined.
* config/i386/winnt.c (i386_pe_unique_section): Put read-only
data in the text section unless READONLY_DATA_SECTION is defined.
From-SVN: r18342
Jeffrey A Law [Sun, 1 Mar 1998 16:46:44 +0000 (16:46 +0000)]
c-parse.in (undeclared variable error): Tweak error message to be clearer.
* c-parse.in (undeclared variable error): Tweak error message to
be clearer.
From-SVN: r18341
Jeffrey A Law [Sun, 1 Mar 1998 10:22:38 +0000 (03:22 -0700)]
Bump for snapshot
From-SVN: r18325
Jason Merrill [Sun, 1 Mar 1998 01:57:25 +0000 (20:57 -0500)]
missed
From-SVN: r18324
Mark Mitchell [Sun, 1 Mar 1998 00:08:36 +0000 (00:08 +0000)]
* final.c (final_scan_insn): Undo overzealous removal of `set'.
From-SVN: r18323
Jason Merrill [Sat, 28 Feb 1998 15:32:36 +0000 (10:32 -0500)]
new
From-SVN: r18304
Jason Merrill [Sat, 28 Feb 1998 15:32:02 +0000 (15:32 +0000)]
parse.y (nested_name_specifier): Use explicit_template_type.
* parse.y (nested_name_specifier): Use explicit_template_type.
(typename_sub): Allow a template_type, an explicit_template_type,
or an implicit template type at the end.
* lex.c (yyprint): Handle a PTYPENAME being a TEMPLATE_DECL.
* decl.c (make_typename_type): Handle template-id where the name
is a TEMPLATE_DECL.
* call.c (build_scoped_method_call): Handle member template
destructor call.
* pt.c (tsubst_copy, METHOD_CALL_EXPR): Don't assume a member
destructor is represented by the type.
From-SVN: r18303
Jason Merrill [Sat, 28 Feb 1998 12:19:29 +0000 (12:19 +0000)]
cp-tree.h (TYPENAME_TYPE_FULLNAME): New macro.
* cp-tree.h (TYPENAME_TYPE_FULLNAME): New macro.
* parse.y (nested_name_specifier): Add 'template' case.
(explicit_template_type): New rule.
(typename_sub): Use it.
* decl.c (make_typename_type): Handle getting a template-id for NAME.
* pt.c (tsubst): Likewise.
From-SVN: r18296
Kaveh R. Ghazi [Sat, 28 Feb 1998 07:34:12 +0000 (07:34 +0000)]
pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated case...
* pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
case, add parentheses to specify the proper order of precedence in
the if-statement.
From-SVN: r18291
Kaveh R. Ghazi [Sat, 28 Feb 1998 07:06:53 +0000 (07:06 +0000)]
Fix warious warnings:
* c-aux-info.c: Include string.h/strings.h.
* pa.c: Include stdlib.h.
(pa_combine_instructions): Prototype the function.
(pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
(reloc_needed): Add default case for enumeration switch.
(remove_useless_addtr_insns): Remove unused variable `all'.
(hppa_expand_prologue): Add explicit braces to avoid
ambiguous `else'.
(output_function_epilogue): Remove unused variable `i'.
(output_millicode_call): Remove unused variable `link'.
(shadd_constant_p, forward_branch_p): Make the function static.
(following_call): Explicitly declare to return int.
(pa_reorg): Declare as void.
(pa_combine_instructions): Declare as static void. Add
parentheses around && within ||.
* pa.h: Add prototypes for pa_reorg, symbolic_operand,
following_call, function_label_operand, lhs_lshift_cint_operand
and zdepi_cint_p.
* pa.md: Add parentheses around && within ||.
* cppalloc.c: Include stdlib.h.
* cpperror.c (cpp_print_containing_files): Remove unused variable
`i'. Fix format specifier in fprintf.
* cse.c (cse_around_loop): Add explicit braces to avoid
ambiguous `else'.
(delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
* expr.c (expand_expr): Add parentheses around && within ||.
* final.c (app_enable): Replace fprintf with fputs where there are
no format specifiers and no trailing argument after the string.
Eg, when printing ASM_APP_ON/ASM_APP_OFF.
(app_disable): Likewise.
(final_end_function): Likewise.
(final_scan_insn): Likewise. Remove unused variable `set'.
(profile_function): Wrap empty if-statement body in {} brackets.
* function.c: Include stdlib.h.
(pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
(reposition_prologue_and_epilogue_notes): Add parentheses
around assignment used as truth value.
* integrate.c (expand_inline_function): Wrap variable
`cc0_insn' in macro HAVE_cc0.
* jump.c (jump_optimize): Wrap variable `q' in macro
HAVE_cc0. Remove unused variable `prev1'.
* libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
within ||. Fix format specifier in fprintf.
(__bb_init_prg): Add parentheses around assignment used as
truth value.
* local-alloc.c: Include stdlib.h.
(requires_inout): Add parentheses around assignment used
as truth value.
* loop.c (analyze_loop_iterations): Wrap prototype and definition
in macro HAVE_decrement_and_branch_on_count.
(insert_bct, instrument_loop_bct): Likewise.
(move_movables): Add parentheses around assignment used as
truth value.
(consec_sets_invariant_p): Likewise.
(maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
* objc/objc-act.c: Include stdlib.h.
(lookup_method_in_protocol_list): Wrap empty else-statement body
in braces.
(lookup_protocol_in_reflist): Likewise.
(objc_add_static_instance): Remove unused variables `decl_expr'
and `decl_spec'.
(get_objc_string_decl): Remove unused variable `decl'.
(generate_static_references): Remove unused variables `idecl' and
`instance'.
(check_protocols): Wrap empty else-statement body in braces.
* protoize.c: Include stdlib.h.
(substr): Add parentheses around assignment used as truth value.
(abspath): Likewise.
(shortpath): Likewise.
* regmove.c (fixup_match_1): Add parentheses around assignment
used as truth value.
* reload.c (push_secondary_reload): Remove unused variable `i'.
(find_reloads): Add parentheses around assignment used as truth
value.
* reload1.c: Include stdlib.h.
* rtl.h: Correct typo in prototype of offsettable_memref_p.
* stmt.c (add_case_node): Add parentheses around assignment used
as truth value.
(case_tree2list): Likewise.
* tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
`type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
(merge_attributes): Add explicit braces to avoid ambiguous
`else'.
* unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
macro HAVE_cc0.
* varasm.c: Include stdlib.h.
From-SVN: r18290
Kaveh R. Ghazi [Sat, 28 Feb 1998 06:11:54 +0000 (06:11 +0000)]
I've backed out of including stat.h via system.h because stat.h can define...
I've backed out of including stat.h via system.h because stat.h can
define static functions (eg on x86 svr4 according to jfc@mit.edu)
causing code bloat.
* system.h: Remove sys/stat.h.
* gcc.c: Add sys/stat.h.
From-SVN: r18289