Commit Graph

15744 Commits

Author SHA1 Message Date
Michael Meissner
170a16c7f6 Fix calculation of right function unit
From-SVN: r18432
1998-03-06 11:44:45 +00:00
Kaveh R. Ghazi
688f06038b Warning fixes:
* mips/mips.h: Prototype `machine_dependent_reorg'.
        (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.

From-SVN: r18431
1998-03-06 11:03:35 +00:00
Joern Rennecke
5a32a90c0b final.c (shorten_branches): Restore accidentally removed code.
8
        * final.c (shorten_branches): Restore accidentally removed code.

From-SVN: r18430
1998-03-06 03:41:22 -07:00
Joern Rennecke
19cbe68d27 final.c (shorten_branches): Restore accidentally removed code.
�
        * final.c (shorten_branches): Restore accidentally removed code.

From-SVN: r18429
1998-03-06 03:41:21 -07:00
Kaveh Ghazi
3e81fe044e 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
1998-03-06 07:17:34 +00:00
Kaveh Ghazi
31bebb60e9 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
1998-03-06 07:11:30 +00:00
Andreas Schwab
8add77cef5 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
1998-03-06 02:02:18 +00:00
Richard Henderson
9a06b8421f * config.sub: Accept alphapca56 and alphaev6 properly.
From-SVN: r18425
1998-03-05 17:02:12 -08:00
Richard Henderson
fbb5ed6726 * configure.in (target_cpu_default2): Correct typo for alphapca56.
From-SVN: r18424
1998-03-05 17:00:41 -08:00
Franz Sirl
217fc4e6e1 * configure.in: Revert 3 Jan change for powerpc-linux-gnulibc1.
From-SVN: r18423
1998-03-05 16:11:56 -07:00
Jeffrey A Law
5ece974606 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
1998-03-05 15:31:51 -07:00
J"orn Rennecke
ac9b3c970e 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
1998-03-05 15:05:51 -07:00
Kaveh R. Ghazi
6e92f4b6a2 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
1998-03-05 07:09:04 +00:00
Kaveh Ghazi
b10df6f5ec Remove asterisk from ghazi@caip.rutgers.edu
From-SVN: r18418
1998-03-05 06:53:17 +00:00
Richard Henderson
9ba3994aa3 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
1998-03-04 18:50:12 -08:00
Richard Henderson
5ec105cd71 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
1998-03-04 18:42:22 -08:00
Richard Henderson
ebb7b10b6d 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
1998-03-04 18:15:23 -08:00
Manfred Hollstein
c940e6278c 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
1998-03-05 00:28:14 +00:00
Manfred Hollstein
05abeea015 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
1998-03-05 00:28:13 +00:00
Manfred Hollstein
e8919ca702 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
1998-03-05 00:28:12 +00:00
Manfred Hollstein
299cd3c1d8 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
1998-03-05 00:28:11 +00:00
Manfred Hollstein
0a9e7530d9 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
1998-03-05 00:28:10 +00:00
Jeffrey A Law
cb37ce6295 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
1998-03-04 16:03:14 -07:00
Andreas Schwab
68ff1582a9 lex.c (do_scoped_id): Fix parenthesizing.
8
        * lex.c (do_scoped_id): Fix parenthesizing.

From-SVN: r18408
1998-03-04 14:24:06 -07:00
Andreas Schwab
d574824c99 lex.c (do_scoped_id): Fix parenthesizing.
�
        * lex.c (do_scoped_id): Fix parenthesizing.

From-SVN: r18407
1998-03-04 14:24:04 -07:00
Franz Sirl
ce514f5730 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
1998-03-04 13:59:50 -07:00
Jeffrey A Law
f75fb5095c * Make-lang.in: Remove more references to libf77.
From-SVN: r18404
1998-03-04 09:35:10 -07:00
Ulrich Drepper
875dfceca0 (operator<<): Correct type of numeric argument.
From-SVN: r18403
1998-03-04 12:40:30 +00:00
Jim Wilson
89a5e42bfd Fix typo found by Kaveh Ghazi while looking at -Wall problems.
* mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.

From-SVN: r18402
1998-03-04 04:15:47 -08:00
Michael Tiemann
5427d758dd 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
1998-03-04 07:13:02 -05:00
Jason Merrill
8f279ed7be 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
1998-03-04 06:56:29 -05:00
Mark Mitchell
a1da6cbacf 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
1998-03-04 11:33:01 +00:00
J"orn Rennecke
1dd8faa86e * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
From-SVN: r18398
1998-03-04 10:50:18 +00:00
Joern Rennecke
923f7cf923 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
1998-03-04 08:13:16 +00:00
J"orn Rennecke
e2faec7588 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
1998-03-04 07:54:28 +00:00
J"orn Rennecke
2602447552 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
1998-03-03 15:52:48 -07:00
Jason Merrill
3c21589560 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
1998-03-03 17:27:04 -05:00
J"orn Rennecke
de7987a645 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
1998-03-03 13:45:49 -07:00
Kaveh R. Ghazi
27d8f9ea6f 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
1998-03-03 11:33:31 +00:00
Nick Clifton
bd33435646 Do not generate a <name>.dbr file when dumping RTL unless DELAY_SLOTS is defined.
From-SVN: r18386
1998-03-03 10:06:54 +00:00
Jeffrey A Law
b99bb832d8 * makeinfo/makeinfo.c (CommandTable): Fix braces in initializer.
From-SVN: r18385
1998-03-03 02:03:45 -07:00
Jason Merrill
277294d73b 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
1998-03-02 22:24:44 -05:00
Jason Merrill
4943217104 * pt.c (unify): Don't allow reduced cv-quals when strict.
From-SVN: r18383
1998-03-02 20:57:32 -05:00
Manfred Hollstein
5f9e09cd6c g77.texi: Use @url for citing URLs.
�
	* g77.texi: Use @url for citing URLs.

From-SVN: r18381
1998-03-03 01:51:51 +00:00
Manfred Hollstein
207ee1570c g77.texi: Use @url for citing URLs.
E
	* g77.texi: Use @url for citing URLs.

From-SVN: r18380
1998-03-03 01:51:49 +00:00
Jason Merrill
54e97afb94 oops
From-SVN: r18378
1998-03-02 20:44:37 -05:00
Jason Merrill
3b3ba9f0a6 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
1998-03-02 20:39:03 -05:00
Manfred Hollstein
d9f1e3dad5 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
1998-03-02 22:37:37 +00:00
Manfred Hollstein
1838fe6d47 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
1998-03-02 22:37:35 +00:00
J"orn Rennecke
687d0ab643 Formatting fix.
From-SVN: r18364
1998-03-02 15:04:08 +00:00