Commit Graph

743 Commits

Author SHA1 Message Date
Jeffrey A Law
657be7aff1 Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
* Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
        * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
        initializers is some circumstances.

From-SVN: r27489
1999-06-10 21:12:22 -06:00
Jeff Law
1474e30354 [multiple changes]
Thu May 20 10:00:42 1999   Stephen L Moshier  <moshier@world.std.com>
        * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 09:58:57 1999  Jan Hubicka <hubicka@freesoft.cz>
        * function.c (assign_stack_local): Align stack slot propertly.
        (assign_outer_stack_local): Likewise.

From-SVN: r27073
1999-05-20 16:22:34 -06:00
Alexandre Oliva
bcf1ba1d14 Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.
* Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to
        fixproto.
        * fixproto: Avoid unportable constructs such as `basename' and
        `mkdir -p'.  Use mkinstalldirs from the environment if `mkdir -p'
        fails.

From-SVN: r26983
1999-05-17 17:07:40 -06:00
Robert Lipe
f7d920fd94 new regex header name
From-SVN: r26697
1999-04-29 15:38:02 +00:00
Jeffrey A Law
e6980e1bce Makefile.in (ORDINARY_FLAGS_TO_PASS): Renmaed from FLAGS_TO_PASS.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Renmaed from FLAGS_TO_PASS.
        Remove "CC".
        (FLAGS_TO_PASS): New variable.

From-SVN: r26670
1999-04-26 18:39:48 -06:00
Robert Lipe
5d55e5cda6 * Makefile.in (fixinc.sh): Fix dependencies.
From-SVN: r26666
1999-04-26 17:00:53 -06:00
Nathan Sidwell
40e4e3fd06 Make-lang.in (c-parse.c): Put BISON parameters in correct order.
* Make-lang.in (c-parse.c): Put BISON parameters in correct
        order.
Thanks.  Installed.

From-SVN: r26568
1999-04-20 16:43:31 -06:00
Zack Weinberg
01198c2f1f c-aux-info.c, [...]: Include toplev.h for real declaration of trim_filename.
1999-04-17 20:11 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* c-aux-info.c, emit-rtl.c, explow.c, expmed.c, gcse.c,
	haifa-sched.c, optabs.c, reorg.c, resource.c, sched.c: Include
	toplev.h for real declaration of trim_filename.
	* Makefile.in: Update dependencies.

From-SVN: r26523
1999-04-17 17:14:58 +00:00
Dave Brolley
9e934a98fa cppinit.c (cpp_start_read): Fix buffer overwrite.
Tue Apr 13 12:14:07 1999  Dave Brolley  <brolley@cygnus.com>
	* cppinit.c (cpp_start_read): Fix buffer overwrite.
	* Makefile.in (cppinit.o): Typo in dependencies.

From-SVN: r26401
1999-04-13 05:43:28 -04:00
Bruce Korb
f853036b41 ensure the SHELL value is that of the make
From-SVN: r26366
1999-04-12 07:21:36 +00:00
Jim Wilson
73a3903df4 Fix for make check with relative srcdir path.
* Makefile.in (check-g++, check-gcc, check-g77, check-objc): Add
	cd .. to TCL_LIBRARY command.

From-SVN: r26315
1999-04-09 06:49:23 -07:00
Donn Terry
7325ab47d1 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
From-SVN: r26200
1999-04-05 05:03:57 -06:00
Alexandre Oliva
965c3f43f9 Makefile.in (install-headers-tar, [...]): avoid problems with CDPATH Reported by Ralf Canis <canis@bigfoot.com>
* Makefile.in (install-headers-tar, install-headers-cpio): avoid
problems with CDPATH
Reported by Ralf Canis <canis@bigfoot.com>

From-SVN: r26157
1999-04-03 13:01:48 +00:00
Donn Terry
5aa82acea4 configure.in: Set and substitute quoted_cc_set_by_configure.
* configure.in: Set and substitute quoted_cc_set_by_configure.
        * configure: Rebuilt.
        * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.

From-SVN: r26129
1999-04-02 07:56:49 -07:00
Manfred Hollstein
69b2ac84b8 Makefile.in (cppmain$(exeext)): Depend on intl.o.
h
	* Makefile.in (cppmain$(exeext)): Depend on intl.o.  Link in intl.o.

From-SVN: r26101
1999-04-01 08:05:46 +00:00
Kaveh R. Ghazi
0728688f0e Makefile.in (c-gperf.h): Generate using gperf language 'C'...
* Makefile.in (c-gperf.h): Generate using gperf language 'C', not
        'KR-C', so gperf uses the `const' keyword on strings.
        * c-parse.gperf (resword): Const-ify a char*.

From-SVN: r26079
1999-03-31 07:43:52 +00:00
Mark Mitchell
30f7237966 alias.c (alias_set_compare): Remove.
* alias.c (alias_set_compare): Remove.
	(record_alias_subset): Use splay_tree_compare_ints instaed of
	alias_set_compare.
	(init_alias_once): Likewise.
	* cse.c: Include splay-tree.h.
	(reg_qty): Remove.
	(reg_tick): Likewise.
	(reg_table): Likewise.
	(cse_reg_info): New structure.
	(cse_reg_info_free_list): New variable.
	(cse_reg_info_tree): Likewise.
	(cached_regno): Likewise.
	(cached_cse_reg_info): Likewise.
	(all_minus_one): Remove.
	(consec_ints): Likewise.
	(GET_CSE_REG_INFO): New macro.
	(REG_TICK): Likewise.  Use throughout instead of reg_tick.
	(REG_IN_TABLE): Likewise.  Use throughout instead of reg_in_table.
	(REG_QTY): Likewise.  Use throughout instead of reg_qty.
	(get_cse_reg_info): New function.
	(free_cse_reg_info): Likewise.
	(new_basic_block): Reinitialize cse_reg_info_tree instead of
	reg_tick, all_minus_one, and consec_ints.
	* Makefile.in (cse.o): Depend on splay-tree.h
	* splay-tree.h (splay_tree_compare_ints): Declare.
	* splay-tree.c (splay_tree_compare_ints): Define.

From-SVN: r26069
1999-03-30 20:52:33 +00:00
Zack Weinberg
922cf99e6d Makefile.in (xcpp, cppspec.o): New targets.
* Makefile.in (xcpp, cppspec.o): New targets.
        (CPP_INSTALL_NAME): New macro.
        (install-cpp): Install xcpp.  Use CPP_INSTALL_NAME.
        (all.build, start.encap): Build xcpp.
        * cppspec.c: New file, implements argument filtering for a
        user-visible C preprocessor.
        * cpp.sh: Removed.

From-SVN: r26007
1999-03-26 15:55:35 -07:00
Jim Wilson
2d490c9e5d Fix vxworks --with-headers build failure.
* Makefile.in (stmp-fixinc): Use tooldir instead of gcc_tooldir.

From-SVN: r26003
1999-03-26 12:50:16 -08:00
Zack Weinberg
08dc830e4f gcc.c: Compile unconditionally all code formerly dependent on #ifdef LANG_SPECIFIC_DRIVER.
* gcc.c: Compile unconditionally all code formerly dependent
	on #ifdef LANG_SPECIFIC_DRIVER.
	* gccspec.c: New file with stub lang_specific_driver,
	lang_specific_pre_link.
	* Makefile.in: Link gccspec.o into xgcc.  Add rule to compile
	gccspec.c.
	* cp/Make-lang.in: Remove all references to g++.o/g++.c.
	Link g++ from gcc.o.
	* f/Make-lang.in: Remove all references to g77.o/g77.c.
	Link g77 from gcc.o.
	* java/Make-lang.in: Remove all references to gcj.o/gcj.c.
	Link gcj from gcc.o.

From-SVN: r25989
1999-03-25 16:36:47 -07:00
Axel Thimm
b6c8f0b758 * Makefile.in (RANLIB_TEST): Improve test.
From-SVN: r25965
1999-03-24 18:07:20 -07:00
Mark Mitchell
fe9b4957b5 function.c: Include hash.h.
* function.c: Include hash.h.
	(insns_for_mem_entry): New struct.
	(put_reg_into_stack): Take an optional hash-table mapping MEMs to
	the INSNs that use them.
	(fixup_var_refs): Likewise.
	(put_addressof_into_stack): Likewise.
	(purge_addressof_1): Likewise.  Keep the hash-table up to date if
	we add new instructions.
	(fixup_var_refs_insns): Use it to avoid searching the entire
	instruction chain.
	(insns_for_mem_newfunc): New function.
	(insns_for_mem_comp): Likewise.
	(insns_for_mem_walk): Likewise.
	(compute_insns_for_mem): Likewise.
	(pop_function_context_from): Pass NULL for the hash-table.
	(put_var_into_stack): Likewise.
	(gen_mem_addressof): Likewise.
	(flush_addressof): Likewise.
	(purge_addressof): Call compute_insns_for_mem to pre-compute the
	hash table.
	* Makefile.in (OBJS): Include hash.o.
	(function.o): Depend on hash.h.
	* Makefile.in (OBJS): Don't mention hash.o.
	(OBJDEPS): Likewise.

From-SVN: r25922
1999-03-23 07:51:12 +00:00
Manfred Hollstein
9a4bcb83e1 *** empty log message ***
From-SVN: r25880
1999-03-21 07:52:59 +00:00
Alexandre Oliva
a6374b5872 Makefile.in (INTL_TARGETS): new macro
* Makefile.in (INTL_TARGETS): new macro
($(INTL_TARGETS)): depend on generated sources; drop dependencies
on cp/parse.c and objc/objc-parse.c
($(srcdir)/cp/parse.c): move to cp/Make-lang.in
* objc/Make-lang.in ($(INTL_TARGETS)): depend on objc/objc-parse.c

From-SVN: r25851
1999-03-18 21:59:35 +00:00
Bruce Korb
9f3d1bc2dc Activating fast-fixincludes
From-SVN: r25697
1999-03-11 08:53:13 +00:00
Jeffrey A Law
d2ecda2785 lcm.c: New file.
* lcm.c: New file.
        * Makefile.in (OBJS): Add lcm.o
        (lcm.o): Add dependencies.

From-SVN: r25679
1999-03-10 15:03:36 -07:00
Kaveh R. Ghazi
b1eeb24348 Warning fix:
* Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H).
        * toplev.c: Include basic-block.h.

From-SVN: r25651
1999-03-09 06:40:49 +00:00
Richard Henderson
b85f4db33b * Makefile.in: Delete .flow2 debugging files.
From-SVN: r25603
1999-03-05 05:21:21 -08:00
Richard Henderson
dbfea53d02 Remove ChangeLog entries for flow rewrite for changes that were removed before they were checked in.
Remove ChangeLog entries for flow rewrite for changes that were removed
before they were checked in.  Add Makefile.in changes which were mentioned
in the ChangeLog, but never included in Makefile.in.

From-SVN: r25570
1999-03-03 16:08:02 -07:00
Nick Clifton
4c112cda96 Oops - fixed typos in previous delta
From-SVN: r25538
1999-03-02 09:29:26 +00:00
Nick Clifton
8f8d32788b Rename gxx_include_dir to gcc_gxx_include_dir
Fix computation of gcc_tooldir.

From-SVN: r25537
1999-03-02 09:25:31 +00:00
Robert Lipe
010deb4dea Makefile.in (MAKEINFO): Use makeinfo built from sibling tree when available.
* Makefile.in (MAKEINFO): Use makeinfo built from sibling
        tree when available.

From-SVN: r25533
1999-03-02 07:40:24 +00:00
H.J. Lu
587a4ba62c Makefile.in (cpp_install_dir, [...]): New variables.
p
        * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
        variables.
        (install-cpp, uninstall-cpp): New targets.
        (install-normal): Depend on $(INSTALL_CPP).
        (uninstall): Depend on $(UNINSTALL_CPP).
        * configure.in (cpp_install_dir): New, substitute.
        (tmake_file): Added t-install-cpp for --enable-cpp.
        * configure: Rebuilt.
        * cpp.sh: New cpp script.
        * config/t-install-cpp: New target fragment.

From-SVN: r25529
1999-03-01 17:59:28 -07:00
Jim Wilson
027ea2a719 Patch to fix solaris2 float.h/limits.h conflict.
* Makefile.in (CROSS_FLOAT_H): Delete.
	(FLOAT_H): Use float_h_file.
	(rest.cross, stmp-int-hdrs): Delete gfloat.h dependency.
	(gfloat.h): Delete.
	(stmp-int-hdrs): Use FLOAT_H instead of gfloat.h.
	(mostlyclean): Delete gloat.h reference.
	(install-cross-rest, install-float-h-cross, stmp-headers): Update
	comments.
	* configure.in (sparcv9-*-solaris2*): Set float_format to none.
	(sparc-*-solaris2*): Set float_format to none for 2.5 and higher.
	(float_h_file): Set from float_format.  Substitute into Makefile.in.
	(float_format): No longer substitute into Makefile.in.
	* cross-make (FLOAT_H): Delete.
	* config/mips/t-cross64 (FLOAT_H): Delete.
	* configure: Rebuilt.

From-SVN: r25518
1999-03-01 11:15:49 -08:00
Kaveh R. Ghazi
e915b770d9 Makefile.in (cppmain.o, [...]): Don't depend on machmode.h.
* Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
        cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o,
        scan-decls.o): Don't depend on machmode.h.
        * cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore.
        Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT.
        * cppfiles.c: Likewise.
        * cpplib.c: Likewise.
        * cpplib.h: Likewise.  Also don't include machmode.h anymore.

From-SVN: r25446
1999-02-25 20:40:21 +00:00
Craig Burley
43297964f3 improve wall of separation between build and install
From-SVN: r25367
1999-02-22 03:49:36 -05:00
Zack Weinberg
6de1e2a978 cpplib.c: Kill define of STDC_VALUE.
1999-02-18 18:32 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpplib.c: Kill define of STDC_VALUE.  Don't include output.h
          or prefix.h. Change CPP_IS_MACRO_BUFFER to not refer to
          macro_cleanup.
	  (GET_ENV_PATH_LIST, PATH_SEPARATOR, STANDARD_INCLUDE_DIR,
          predefs, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
          CPP_WCHAR_TYPE, USER_LABEL_PREFIX, REGISTER_PREFIX, struct
          cpp_pending, version_string, struct default_include,
          include_defaults_array, path_include, cpp_options_init,
          dump_special_to_buffer, initialize_builtins, cpp_start_read,
          cpp_reader_init, nreverse_pending, push_pending, print_help,
          cpp_handle_option, cpp_handle_options, cpp_finish,
          cpp_cleanup): Move to cppinit.c.
	  (macro_cleanup, struct arglist, collect_expansion,
	  create_definition, compare_defs, comp_def_part, ARG_BASE,
	  struct argdata, macarg, change_newlines, timestamp,
	  monthnames, special_symbol, unsafe_chars, macroexpand,
	  push_macro_expansion): Move to cpphash.c.
	  (quote_string, check_macro_name, cpp_expand_to_buffer,
	  output_line_command, cpp_undef): Export.
	  (null_underflow, null_cleanup, handle_directive): Make static.
	* cpplib.h: Prototype now-exported functions.  Adjust decls of
          syntax tables so we can include cpplib.h in cppinit.c.
	* cpphash.h: Prototype all functions exported by cpphash.c.
	* cppinit.c: Make syntax tables initialized data if possible
          (uses GCC designated-initializer extension).
	* cppexp.c:  Make cpp_lex static.
	* Makefile.in: Move -D switches for the various include dirs
          from cpplib.o rule to cppinit.o rule.  Adjust dependencies.

From-SVN: r25287
1999-02-18 15:35:49 +00:00
Zack Weinberg
693ff496a9 Makefile.in: Correct dependencies for cpplib object files.
1999-02-17 14:49 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* Makefile.in: Correct dependencies for cpplib object files.

From-SVN: r25269
1999-02-17 11:54:59 +00:00
Jeffrey A Law
0c63f729ed jump.c: Include insn-attr.h.
* jump.c: Include insn-attr.h.
        (delete_computation): If reload has completed and insn scheduling
        after reload is enabled, then do not depend on REG_DEAD notes.
        * Makefile.in (jump.o): Depend on insn-attr.h.

From-SVN: r25223
1999-02-15 15:09:07 -07:00
Mumit Khan
a2d2576329 Makefile.in (collect2$(exeext)): Delete redundant dependency and add missing exeext to target.
* Makefile.in (collect2$(exeext)): Delete redundant dependency and
        add missing exeext to target.

From-SVN: r25118
1999-02-09 13:55:29 -07:00
Zack Weinberg
917acb0e51 Replace changes in rev 1.223 which got lost
From-SVN: r25088
1999-02-08 14:17:04 +00:00
Zack Weinberg
850350d1f7 Makefile.in (gen-protos): Use libcpp.a like everyone else.
1999-02-05 11:22 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* Makefile.in (gen-protos): Use libcpp.a like everyone else.

From-SVN: r25041
1999-02-05 08:24:29 +00:00
Zack Weinberg
5538ada62f cpplib.c (initialize_char_syntax): Move to cppinit.c.
1999-02-04 14:33 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
	* cpplib.c (initialize_char_syntax): Move to cppinit.c.
	(cpp_define): Remove redundant syntax checks.
	(make_assertion): Rename cpp_assert, remove redundant syntax
	checks, export.
	(cpp_options_init): Don't init things to zero twice.
	(cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
	(do_include): Kill excessively verbose import warning that
	snuck back in in the gcc2 merge.
	(convert_string): Removed.
	(do_line): Rewrite with simple last-name-used cache instead of
	private hashtable.
	(cpp_start_read): Call initialize_char_syntax here, not...
	(cpp_reader_init): ...here.
	(cpp_handle_options): Support the -std switch.
	* cpplib.h (cpp_buffer): Add last_nominal_fname member.
	(cpp_options): Add c9x flag.
	Declare all the is_* tables and trigraph table here, as const.
	Prototype cpp_assert and initialize_char_syntax.
	* cppinit.c: New file.
	* cppfiles.c (read_and_prescan): Optimize.
	* Makefile.in (LIBCPP_OBJS): Add cppinit.o.

From-SVN: r25024
1999-02-04 06:36:54 -05:00
Marc Espie
b775105bfd Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and mkstemp.
* Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and
        mkstemp.  Get them from libiberty.
        (COLLECT2_OBJS): Similarly for choose-temp, cplus-dem and mkstemp.
        (PROTO_OBJS): Similarly for choose-temp, getopt, getopt1 and pexecute.
        (cplus-dem.o, pexecute.o, choose-temp.o): Remove build rules.
        (mkstemp.o, getopt1.o, getopt.o): Likewise.

From-SVN: r25016
1999-02-03 15:01:05 -07:00
Bob Manson
1841f23bd1 Missed commit from last.
From-SVN: r24998
1999-02-02 17:13:52 -08:00
Jim Wilson
8f25d5cda6 Patch to fix canadian cross build problem with libcpp.a.
* Makefile.in: Change all uses of AR to AR_FOR_TARGET.  Change all uses
	of HOST_AR to AR.  Likewise for AR_FLAGS, RANLIB, and RANLIB_TEST.
	(RANLIB_TEST): Test to see if ranlib exists.  Only test absolute file
	names if host == target.
	(HOST_AR, HOST_AR_FLAGS, HOST_RANLIB, HOST_RANLIB_TEST): Delete.
	(AR_FLAGS_FOR_TARGET): Renamed from AR_FOR_TARGET_FLAGS.
	(AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Delete rules
	setting them to *_FOR_TARGET.
	* cross-make (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST):
	Delete.

From-SVN: r24991
1999-02-02 14:39:13 -08:00
J"orn Rennecke
3ec2b59097 rtl.h (insn_first_p): Declare.
* rtl.h (insn_first_p): Declare.
	* rtlanal.c (insn_first_p): New function.
	* loop.h (varray.h): Include.
	(struct induction): Change combined_with to unsigned.
	New members derived, ix and last_use.
	(reg_iv_type, reg_iv_info): Now varray_type.  All references changed.
	(REG_IV_TYPE, REG_IV_INFO): Define.
	(first_increment_giv, last_increment_giv): Declare.
	* loop.c (loop_number_loop_cont): New static variable.
	(loop_number_cont_dominator): Likewise.
	(reg_iv_type, reg_iv_info): Now varray_type.
	(first_increment_giv, last_increment_giv): New variables.
	(compute_luids, verify_dominator, find_life_end): New functions.
	(cmp_recombine_givs_stats, recombine_givs): Likewise.
	(loop_optimize): Allocate loop_number_loop_cont and
	loop_number_cont_dominator.  Use compute_luids.
	(find_and_verify_loops): Initialize loop_number_loop_cont and
	loop_number_cont_dominator.
	(strength_reduce): Try to find bivs that can be expressed as givs
	of another biv, and to convert biv increments into givs.
	Call recombine_givs.  Handle derived givs.
	(record_biv): New argument location.  All callers changed.
	(record_giv): Initialize derived and last_use fields.
	(basic_induction_var): New argument location.  All callers changed.
	(combine_givs): Don't combine a DEST_REG giv with a DEST_ADDR giv.
	Increment combined_with instead of setting to 1.
	* unroll.c (derived_regs): New static variable.
	(unroll_loop): Initialize it.
	Allocate local_regno according to max_reg_num.
	(copy_loop_body): Cope with derived givs.
	(find_splittable_givs): Check for Givs made from biv increments.
	Set derived_regs for givs.
	* Makefile.in (stmt.o, loop.o, unroll.o): Depend on loop.h .

From-SVN: r24889
1999-01-27 15:45:50 +00:00
Jeffrey A Law
ab87f8c8d1 Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog for
details.

From-SVN: r24879
1999-01-26 18:43:17 -07:00
Jeffrey A Law
d062c30479 Makefile.in (gcc_tooldir): Move before first reference.
* Makefile.in (gcc_tooldir): Move before first reference.
        Let autoconf substitute in a value.
        * configure.in (gcc_tooldir): Only use a relative path to the
        tool directory if $exec_prefix == $prefix.
        * configure: Rebuilt.

From-SVN: r24820
1999-01-22 00:17:21 -07:00
Jeffrey A Law
91c7bd9b41 * Makefile.in (tooldir): Replace with gcc_tooldir.
From-SVN: r24819
1999-01-21 23:46:43 -07:00