Commit Graph

17242 Commits

Author SHA1 Message Date
Manfred Hollstein
50c4c9f7bd configure (gcc_version): Initialize properly depending on how and where configure is started.
1
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (gcc_version): Initialize properly depending on
	how and where configure is started.
	(recursion line): Pass a --with-gcc-version=${gcc_version}
	to configures in subdirs.
egcs/libf2c/ChangeLog.egcs:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (version): Rename to gcc_version.
	* configure.in (version): Likewise.
	(gcc_version): Add code to use an option passed from parent configure.
	* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* config.shared (FLAGS_TO_PASS): Add gcc_version.

From-SVN: r20686
1998-06-24 06:16:14 +00:00
David S. Miller
d3b107b4e5 Reverse may 15th change, as suggested by Jason.
It causes too many backwards compatability problems, for
more than one frontend.

From-SVN: r20685
1998-06-23 20:35:23 -07:00
Jeff Law
9029639886 Daily bump.
From-SVN: r20684
1998-06-23 18:45:03 -06:00
Jeff Law
9c9628ff86 Forgot to commit.
From-SVN: r20683
1998-06-23 18:22:57 -06:00
Jeff Law
bf279e513e * g77spec.c (lang_specific_driver): Revert last change.
From-SVN: r20682
1998-06-23 18:02:43 -06:00
Alexandre Oliva
5292855c46 added myself, per Jeff Law's request
From-SVN: r20681
1998-06-23 23:18:07 +00:00
Jeff Law
e2da3925f8 Add Craig Burley, John Carr and David Miller to the "blanket write privs" list.
From-SVN: r20680
1998-06-23 16:30:04 -06:00
Ken Raeburn
c22eaf8a0c reload.c (find_reloads): Fix check for failure to match any alternative...
* reload.c (find_reloads): Fix check for failure to match any alternative, to
account for Mar 26 change in initial "best" cost.

From-SVN: r20679
1998-06-23 18:28:47 +00:00
Dave Love
b93be35be0 backspace.c, [...]: Update to Netlib version of 1998-06-18.
1998-06-23  Dave Love  <d.love@dl.ac.uk>
* libI77/backspace.c, libI77/dfe.c, libI77/due.c, libI77/iio.c,
libI77/lread.c, libI77/ sfe.c, libI77/sue.c, libI77/wsfe.c: Update
to Netlib version of 1998-06-18.

From-SVN: r20678
1998-06-23 14:37:15 +00:00
Dave Brolley
d2f8cffa1d cpplib.c (do_line): Typo broke #line directive.
Tue Jun 23 16:44:21 1998  Dave Brolley  <brolley@cygnus.com>
	* cpplib.c (do_line): Typo broke #line directive.
	(cpp_message_from_errno): New function.
	(cpp_error_from_errno): Call cpp_message_from_errno.
	* cpplib.h (cpp_message_from_errno): New function.

From-SVN: r20675
1998-06-23 09:51:33 -04:00
Jason Merrill
e70eea31dc fix
From-SVN: r20674
1998-06-23 08:04:29 -04:00
Andrew MacLeod
48b24bcdfa libgcc2.c (__get_eh_table_version, [...]): New functions to return exception descriptor information.
Tue Jun 23 13:38:18 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
	* libgcc2.c (__get_eh_table_version, __get_eh_table_language): New
	functions to return exception descriptor information.
	(find_exception_handler): Pass match_info field to runtime matcher,
	not a descriptor table entry.
	* exception.cc (__cplus_type_matcher): Get a match_info pointer
	instead of an exception table entry as a parameter.

From-SVN: r20673
1998-06-23 10:51:47 +00:00
Dave Love
daf21dfd80 cpp.texi, gcc.texi: Add @dircategory...
* cpp.texi, gcc.texi: Add @dircategory, @direntry meant to
        accompany previous Makefile.in (install-info) change.

From-SVN: r20672
1998-06-23 02:35:52 -06:00
Andrew MacLeod
5816cb14dd Have -fnew-exceptions actually use the runtime field, and not generate runtime checking code inside each handler.
Have -fnew-exceptions actually use the runtime field, and not generate
runtime checking code inside each handler.
THis works at low opt, but not with optimization at the moment.
Tue Jun 23 10:06:07 EDT 1998  Andrew MacLeod  (amacleod@cygnus.com)
	* eh-common.h (struct __eh_info): Remove coerced value field.
	* libgcc2.c (find_exception_handler): Don't set coerced_value field.
	* except.c (get_dynamic_handler_chain, get_dynamic_cleanup_chain): Use
	POINTER_SIZE instead of Pmode.
	(expand_start_all_catch): Call start_catch_handler() if we are not
	using new style exceptions.
1998-06-22  Andrew MacLeod  (amacleod@cygnus.com)
	* parse.y (function_try_block): Don't call start_catch_handler.
	* except.c (call_eh_info): Remove coerced field from declaration.
	(build_eh_type_type_ref): New function to create an address of a
	rtti function for the new style exception tables.
	(expand_start_catch_block): Split function, this contains the
	common part.
	(process_start_catch_block_old): New function to perform the rest
	of expand_start_catch_block under old style exceptions.
	(process_start_catch_block_old): New function to perform the rest
	of expand_start_catch_block under new style exceptions.
	(expand_end_catch_block): Only pop the false label off the stack under
	the old style of exceptions.
	* semantics.c (finish_try_block): Don't call start_catch_handler.
	* exception.cc (struct cp_eh_info): Add original_value field.
	(__cplus_type_matcher): Perform type matching on the original exception
	value, and if we have a match, set the current value.
	(__cp_push_exception): Set the original expcetion value.

From-SVN: r20671
1998-06-23 07:10:29 +00:00
Catherine Moore
83de03dfd8 Remove reference to warn_bss_align.
From-SVN: r20670
1998-06-23 01:45:40 -04:00
David S. Miller
254110c201 Complete this set of changes to make the Sparc
backend completely gen_rtx clean.

From-SVN: r20669
1998-06-22 19:24:13 -07:00
Jason Merrill
519ebd1eec call.c (joust): Fix confusing conversion warning.
* call.c (joust): Fix confusing conversion warning.
	* call.c (build_op_delete_call): Add placement parm.  Check
	LOOKUP_SPECULATIVELY.
	* cp-tree.h, decl2.c, init.c: Adjust.
	* decl.c (finish_function): Use it.
	* pt.c (tsubst): Diagnose creating void fields or variables.

From-SVN: r20668
1998-06-22 21:49:05 -04:00
David S. Miller
5b8e7fa3f8 sparc.md (zero_extendhidi2, [...]): Change remaining generic gen_rtx calls to specific genrtl ones.
* config/sparc/sparc.md (zero_extendhidi2, extendhisi2,
	extendqihi2, extendqisi2, extendqidi2, extendhidi2, adddi3,
	subdi3, negdi2, call, call_value, untyped_return, nonlocal_goto,
	splits and peepholes): Change remaining generic gen_rtx calls to
	specific genrtl ones.

From-SVN: r20667
1998-06-22 18:16:31 -07:00
Jeff Law
83b2940ecb Daily bump.
From-SVN: r20666
1998-06-22 18:45:02 -06:00
John Wehle
2b0052606a freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
* i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
	* i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.

From-SVN: r20665
1998-06-22 17:06:58 -06:00
Richard Henderson
9bf09437c6 * gcc.c (handle_braces): Recognize | between options as an or.
From-SVN: r20664
1998-06-22 15:53:33 -07:00
John Wehle
e31ca113dd * i386.md (exception_receiver): Define.
From-SVN: r20663
1998-06-22 16:18:25 -06:00
H.J. Lu
fbfa07d227 * Make-lang.in (G77STAGESTUFF): Add g77.c.
From-SVN: r20662
1998-06-22 16:16:19 -06:00
Jim Wilson
225695a445 protoize/unprotoize are target dependent, so give them target dependent names.
* Makefile.in (PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME,
	PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): New variables.
	(install-common): Use them.

From-SVN: r20661
1998-06-22 11:32:14 -07:00
Jim Wilson
aeb2f500b0 Fix irix6 -O3 -funroll-all-loops bootstrap failure reported by Kaveh Ghazi.
* gcse.c (add_label_notes): New function.
	(pre_insert_insn): Call it.
	* unroll.c (unroll_loop): Look for insns with a REG_LABEL note, and
	pass the label to set_label_in_map.

From-SVN: r20658
1998-06-22 05:02:52 -07:00
Dave Love
efef624b6f Makefile.in (install-info): Fix typpo in previous change.
Mon Jun 22 19:01:14 1998  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (install-info): Fix typpo in previous change.

From-SVN: r20657
1998-06-22 11:07:37 +00:00
Dave Love
c9c6474920 (install-info): Fix typpo in previous change.
From-SVN: r20656
1998-06-22 10:58:36 +00:00
Catherine Moore
4bcfa7a853 varasm.c (assemble_variable): Emit alignment warning.
Mon Jun 22 11:10:00 1998  Catherine Moore  <clm@cygnus.com>
        * varasm.c (assemble_variable):  Emit alignment warning.

From-SVN: r20655
1998-06-22 05:14:09 -04:00
Kaveh R. Ghazi
cd1661d6b1 Warning fixes:
* mips-tfile.c (add_local_symbol): Cast width format specifier to int.
        (add_ext_symbol): Likewise.
        (add_file): Likewise.
        (parse_def): Likewise.
        (write_varray): Use HOST_PTR_PRINTF to print a pointer.  Fix
        remaining format specifiers and arguments.
        (write_object): Likewise, several times.
        (read_seek): Likewise.
        (out_of_bounds): Likewise.
        (allocate_cluster): Likewise.
        (xmalloc): Likewise.
        (xcalloc): Likewise.
        (xrealloc): Likewise.
        (xfree): Likewise.
        * mips-tdump.c (print_symbol): Likewise.

From-SVN: r20654
1998-06-22 06:30:39 +00:00
Kaveh R. Ghazi
63d088b754 Warning fixes:
* call.c (build_scoped_method_call): Remove unused variable `tmp'.
        * cp-tree.h (check_dtor_name): Add prototype.
        * init.c (expand_member_init): Remove unused variables
        `ptr_type_node', `parm' and `rval'.
        * ptree.c (print_lang_type): Use HOST_WIDE_INT_PRINT_DEC specifier
        in call to fprintf.
        (lang_print_xnode): Likewise.
        * typeck2.c (enum_name_string): Cast argument to sprintf to long
        and use %ld specifier.
        * xref.c (GNU_xref_end_scope): Use HOST_WIDE_INT_PRINT_DEC
        specifier in call to fprintf.
        (GNU_xref_member): Cast argument to sprintf to int.

From-SVN: r20653
1998-06-22 05:59:23 +00:00
Kaveh R. Ghazi
b3fb0b5e50 Warning fixes:
* mips.c (gpr_mode): Don't say `static' twice.
        * cpplib.c (cpp_handle_option): Don't pass unneeded NULL to cpp_fatal.
        * objc/objc-act.c (init_selector): Hide prototype and definition.
        * optabs.c (gen_cond_trap): Remove unused variable `icode'.
        * regmove.c (copy_src_to_dest): Likewise for `i'.

From-SVN: r20652
1998-06-22 05:46:35 +00:00
Kaveh R. Ghazi
e016950d0c Warning fixes:
* reload1.c (reload_cse_regs): Cast first arg of `bzero' to char *.
        * sdbout.c: Include output.h and toplev.h.
        (PUT_SDB_INT_VAL): Use HOST_WIDE_INT_PRINT_DEV to print argument
        `a'.  Cast `a' to HOST_WIDE_INT to force it to always be so.
        (PUT_SDB_SIZE): Likewise.
        * sdbout.h (sdbout_mark_begin_function): Add prototype.
        * stmt.c (check_for_full_enumeration_handling): Cast argument of
        `warning' to long and use %ld specifier.
        * toplev.c (main): Likewise for `fprintf'.
        * toplev.h (output_file_directive): Add prototype.
        * unroll.c (unroll_loop): Use HOST_WIDE_INT_PRINT_DEC specifier in
        call to `fprintf'.
        (precondition_loop_p): Likewise.
        * varasm.c Include sdbout.h.
        (assemble_static_space): Move sometimes-unused variable `rounded'
        into the scope in which it is used.

From-SVN: r20651
1998-06-22 05:32:38 +00:00
Kaveh R. Ghazi
296433e1a9 Warning fixes:
* Makefile.in (varasm.o): Depend on sdbout.h.
        (sdbout.o): Depend on toplev.h.
        * collect2.c (scan_prog_file): Cast fprintf argument to `long' and
        use %ld specifier.
        * final.c (shorten_branches): Cast first arg of `bzero' to char *.
        * genextract.c (main): When creating insn-extract.c, mark variable
        `i' with ATTRIBUTE_UNUSED.
        * genpeep.c (main): When creating insn-peep.c, mark variables
        `insn', `x' and `pat' with ATTRIBUTE_UNUSED.
        * objc/init.c (__objc_tree_print): Wrap function definition in
        macro `DEBUG'.
        * objc/objc-act.c (encode_array): Cast sprintf argument to `long'
        and use %ld specifier.
        (adorn_decl): Likewise, twice.

From-SVN: r20650
1998-06-22 05:23:33 +00:00
Jeff Law
9aea9eec60 Daily bump.
From-SVN: r20649
1998-06-21 18:45:02 -06:00
Jeffrey A Law
ecff22ab43 * invoke.texi: Document -mrelax for the mn10300 and mn10200.
From-SVN: r20648
1998-06-21 16:52:29 -06:00
Jeffrey A Law
04821e98a7 basic-block.h (init_regset_vector): Delete declaration.
* basic-block.h (init_regset_vector): Delete declaration.
        * flow.c (init_regset_vector): Make it static and add a prototype.

From-SVN: r20647
1998-06-21 15:49:52 -06:00
Jeff Law
4d7fc9e757 bitmap.h (debug_bitmap): Declare.
* bitmap.h (debug_bitmap): Declare.
        * basic-block.h (init_regset_vector): New declaration.

From-SVN: r20646
1998-06-21 14:06:25 -06:00
Dave Love
824d90760c Makefile.in (install-info): Use install-info program if available, per GNU standard.
* Makefile.in (install-info): Use install-info program if
	available, per GNU standard.

From-SVN: r20645
1998-06-21 14:01:56 -06:00
H.J. Lu
2086b675dd * Makefile.in (sdbout.o): Add insn-codes.h to dependency.
From-SVN: r20644
1998-06-21 13:58:40 -06:00
H.J. Lu
f6781658f5 global.c: Include machmode.h amd move hard-reg-set.h before rtl.h.
* global.c: Include machmode.h amd move hard-reg-set.h before
	rtl.h.

From-SVN: r20643
1998-06-21 13:54:56 -06:00
H.J. Lu
cc4fe0e2a4 haifa-sched.c (insn_issue_delay, [...]): New declaration.
* haifa-sched.c (insn_issue_delay, birthing_insn_p,
        adjust_priority, print_insn_chaino): New declaration.
        (schedule_insns): Remove declaration.
        (init_target_units, get_visual_tbl_length,
        init_block_visualization): Add prototype.

From-SVN: r20642
1998-06-21 12:03:21 -06:00
H.J. Lu
8a1ef8c9e2 * integrate.c (pushdecl, poplevel): Remove declaration.
From-SVN: r20641
1998-06-21 12:01:53 -06:00
Jeff Law
9a8b0889eb haifa-sched.c (debug_ready_list): Make static.
* haifa-sched.c (debug_ready_list): Make static.
        * toplev.h (fancy_abort): Declare.
        * rtl.h (expand_expr): Remove declaration.

From-SVN: r20640
1998-06-21 11:59:03 -06:00
H.J. Lu
27fa83c13a loop.c (oballoc): Remove declaration.
* loop.c (oballoc): Remove declaration.
	(replace_call_address): Add prototype.

From-SVN: r20639
1998-06-21 11:33:00 -06:00
H.J. Lu
1442f4eb57 Forgot to commit last night:
* Makefile.in (crtbeginS.o, crtendS.o): Add -fno-exceptions and
        -DCRTSTUFFS_O.
        (INSTALL): cd $(srcdir) before make.

From-SVN: r20638
1998-06-21 10:34:31 -06:00
Jeffrey A Law
e4ad60fe62 Bump for snapshot
From-SVN: r20636
1998-06-20 19:08:21 -06:00
Jeff Law
a826243e73 Daily bump.
From-SVN: r20635
1998-06-20 18:45:02 -06:00
Jeff Law
487eb4b87b configure.in (version, [...]): Define.
�
	* configure.in (version, target_alias): Define.
	* Makefile.in (version, target_alias, libsubdir): Define.
	(install): Remove check for libsubdir.

From-SVN: r20634
1998-06-20 18:28:50 -06:00
Dave Love
0f1d4fada4 configure.in (version, [...]): Define.
X
	* configure.in (version, target_alias): Define.
	* Makefile.in (version, target_alias, libsubdir): Define.
	(install): Remove check for libsubdir.

From-SVN: r20633
1998-06-20 18:28:48 -06:00
John Wehle
c0067dc8d5 i386.c (output_fp_conditional_move): Don't bother handling (cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN...
* i386.c (output_fp_conditional_move): Don't bother handling
        (cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN patterns
        prevent this from happening.
        * i386.md (nonlocal_goto_receiver): Delete.

From-SVN: r20632
1998-06-20 18:26:51 -06:00