Commit Graph

14291 Commits

Author SHA1 Message Date
Jeffrey A Law e649372777 * Makefile.in (BOOT_CFLAGS): Use -O2.
From-SVN: r15562
1997-09-18 23:21:34 -06:00
Jeffrey A Law a79177f5a1 proj.h (FFEPROJ_BSEARCH): Delete all references.
* proj.h (FFEPROJ_BSEARCH): Delete all references.
        (FFEPROJ_STRTOUL): Likewise.
        * proj.c (bsearch): Compile this if no bsearch is provided by the
        host system.
        (strtoul): Similarly.

From-SVN: r15561
1997-09-18 23:16:54 -06:00
Jeffrey A Law 1e467e19b0 configure.in (strtoul, bsearch): Have autoconf check for these functions.
* configure.in (strtoul, bsearch): Have autoconf check for these
        functions.
        * configure, config.in: Rebuilt.
So Fortran front end can use HAVE_STRTOUL and HAVE_BSEARCH.

From-SVN: r15560
1997-09-18 23:14:32 -06:00
Alexandre Oliva 335d0ab208 Makefile.in (bootstrap2, bootstrap3): New targets.
* Makefile.in (bootstrap2, bootstrap3): New targets.
        (all-bootstrap): Remove outdated and confusing target.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r15559
1997-09-18 21:42:14 -06:00
Jeff Law c52c47b4cd Forgot to commit in last change.
From-SVN: r15558
1997-09-18 21:30:32 -06:00
Jeffrey A Law 185110146b xm-mot3300.h (alloca): Properly declare if __STDC__.
* m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
        * mips/mips.h (alloca): Likewise.
        * rs6000/xm-rs6000.h (alloca): Likewise.
        * rs6000/xm-sysv4.h: Likewise.
Fixes build problem when using an ANSI compiler that isn't gcc.

From-SVN: r15557
1997-09-18 21:12:55 -06:00
Jeffrey A Law 4ac480d605 g77install.texi: Renamed from install.texi
* g77install.texi: Renamed from install.texi
        * g77.texi: Corresponding changes.

Fixes problem with g77.texi getting gcc/install.texi instead of
gcc/f/install.texi when building in the source tree.

From-SVN: r15556
1997-09-18 19:28:39 -06:00
Jason Merrill 238109cd66 search.c (lookup_field): Call complete_type in all cases.
* search.c (lookup_field): Call complete_type in all cases.

Fixes CLN problems.

	* decl.c (finish_function): Just warn about flowing off the end.

From-SVN: r15555
1997-09-18 19:52:48 -04:00
Jason Merrill 6020d3605c final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
* final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
	* dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
	(dwarf2out_stack_adjust): A BARRIER resets the args space to 0.

	* except.c (end_eh_unwinder): Subtract 1 from return address.
	* libgcc2.c (__throw): Likewise.
	(find_exception_handler): Don't change PC here.  Compare end with >.

From-SVN: r15554
1997-09-18 19:33:56 -04:00
Jeffrey A Law feb5876a0b * fini.c (main): Return type is int.
From-SVN: r15553
1997-09-18 17:33:06 -06:00
Jeffrey A Law b92f5cc093 com.c (lang_printable_name): Use verbosity argument.
* com.c (lang_printable_name): Use verbosity argument.
Just to keep the compiler quiet.

From-SVN: r15552
1997-09-18 17:30:08 -06:00
Nick Clifton b24bcfb3e6 v850.c (compute_register_save_size): Correct register number.
* v850.c (compute_register_save_size): Correct register
        number.
        * v850.md (save_interrupt, return_interrupt): Correct
        register number.
        * v850/lib1funcs.asm (save_interrupt): Correct register number.
        (return_interrupt): Use stack pointer, not element pointer.

From-SVN: r15550
1997-09-18 17:19:55 -06:00
Jeffrey A Law 9ee29ed7fd Makefile.in (stamp-lib): Don't use '$?'...
* Makefile.in (stamp-lib): Don't use '$?', explicitly
        list the variables containing the object files to include
        in libf2c.a

From-SVN: r15545
1997-09-18 16:56:25 -06:00
Jeffrey A Law d6420b5b31 * Make-lang.in: Fix merge problems.
From-SVN: r15544
1997-09-18 16:06:05 -06:00
Brendan Kehoe 93cf819dee configure.in, configure: Make sure to create the stage* and include symbolic links in each subdirectory.
* configure.in, configure: Make sure to create the stage* and include
	symbolic links in each subdirectory.

copy that's also now in at the FSF; only does it if $symbolic_link is
defined to `ln -s'

From-SVN: r15543
1997-09-18 15:50:51 -04:00
Jeffrey A Law f05011492b pa.md (reload_peepholes): Don't allow addresses with side effects for the memory operand.
* pa.md (reload_peepholes): Don't allow addresses with side
        effects for the memory operand.
Geez, how long have we been screwing this up...

From-SVN: r15536
1997-09-18 01:45:15 -06:00
Jeffrey A Law 5aa0f40f6a install-info.c: Only provide an external decl for strrchr if HAVE_STRCHR is not defined.
* util/install-info.c: Only provide an external decl for strrchr
        if HAVE_STRCHR is not defined.
Fixes aix build problem.

From-SVN: r15535
1997-09-17 23:54:18 -06:00
Jason Merrill 4f870c0425 libgcc2.c (find_exception_handler): Subtract one from our PC when looking for a handler...
* libgcc2.c (find_exception_handler): Subtract one from our PC when
 	looking for a handler, to avoid hitting the beginning of the next
 	region.

	* except.c (expand_builtin_set_return_addr_reg): Use force_operand.

From-SVN: r15534
1997-09-17 21:23:34 -04:00
Jeffrey A Law 4eb66248bf abi64.h (LONG_MAX_SPEC): Define.
* mips/abi64.h (LONG_MAX_SPEC): Define.
        * mips.h (LONG_MAX_SPEC): Define.
        (CPP_SPEC): Include long_max_spec.
        (EXTRA_SPECS): Include long_max_spec.

Brought over from devo.

From-SVN: r15531
1997-09-17 18:31:51 -06:00
Brendan Kehoe f996e5138b configure.in, configure: Make sure to create the stage* and include symbolic links in each subdirectory...
* configure.in, configure: Make sure to create the stage* and include
	symbolic links in each subdirectory, as we do in configure.lang for
	non-autoconf configurations.

From-SVN: r15529
1997-09-17 19:55:30 -04:00
Brendan Kehoe 4e8a434e98 configure.in, configure: Make sure to create the stage* and include symbolic links in each subdirectory...
* configure.in, configure: Make sure to create the stage* and include
	symbolic links in each subdirectory, as we do in configure.lang for
	non-autoconf configurations.

fixes cp 3stage problem

From-SVN: r15528
1997-09-17 19:55:13 -04:00
Jeffrey A Law 4415850727 * v850.c (construct_save_jarl): Fix thinko in last change.
From-SVN: r15518
1997-09-17 14:09:41 -06:00
Jason Merrill 66f2e88dd6 decl.c (grokparms): Don't bash a permanent list node if we're in a function.
* decl.c (grokparms): Don't bash a permanent list node if we're
	in a function.

From-SVN: r15516
1997-09-17 14:18:09 -04:00
Brendan Kehoe 8552680f15 * Makefile.in (CONFLICTS): Fix s/r conflict count to 18.
From-SVN: r15514
1997-09-17 14:05:58 -04:00
Jeff Law bf520cd90b Bump for snapshot (really, we will make a snapshot this time :-)
From-SVN: r15507
1997-09-17 09:51:45 -06:00
Jason Merrill d5467e204a call.c (build_new_op): Give better error for syntactically correct...
* call.c (build_new_op): Give better error for syntactically
 	correct, but semantically invalid, use of undeclared template.

From-SVN: r15506
1997-09-16 22:23:05 -04:00
Ulrich Drepper 6c1d570678 Fix all problems reported by the test suite.
From-SVN: r15505
1997-09-17 02:10:30 +00:00
Jason Merrill c0727e2a06 * libgcc2.c (find_exception_handler): Not found is -1.
From-SVN: r15504
1997-09-16 21:55:49 -04:00
Ulrich Drepper 5ae9a80ae1 Handle __set_errno correctly.
From-SVN: r15502
1997-09-17 00:54:03 +00:00
Jason Merrill 11dbec6686 revert accidental change
From-SVN: r15501
1997-09-16 19:59:15 -04:00
Jason Merrill 549121cd61 * call.c (compare_qual): Handle pmfs.
From-SVN: r15500
1997-09-16 18:44:13 -04:00
Jason Merrill 255fe733b3 integrate.c (expand_inline_function): Move expand_start_bindings after expanding the arguments.
* integrate.c (expand_inline_function): Move expand_start_bindings
	after expanding the arguments.

From-SVN: r15499
1997-09-16 17:23:59 -04:00
Jason Merrill 5c825fc20b decl.c (store_parm_decls): last_parm_cleanup_insn is the insn after the exception spec.
* decl.c (store_parm_decls): last_parm_cleanup_insn is the insn
 	after the exception spec.

From-SVN: r15497
1997-09-16 17:08:30 -04:00
Jim Wilson 21002281e5 Fix H.J. Lu's alpha-linux bug with TImode constructors.
* expr.c (expand_expr): Remove previous incorrect change.
	If target and slot has no DECL_RTL, then call mark_addressable
	again for the slot after we give it RTL.

From-SVN: r15496
1997-09-16 13:59:22 -07:00
Jeff Law 7d9e0d333c Initial revision
From-SVN: r15492
1997-09-16 14:39:44 -06:00
Jim Wilson 518be9a392 Remove ChangeLog entry for non-existant change.
From-SVN: r15491
1997-09-16 10:36:28 -07:00
Jeff Law dfd35b2066 Minor tweaks before snapshot.
From-SVN: r15488
1997-09-16 10:12:41 -06:00
Jeff Law 382738969d More stuff from Uli.
From-SVN: r15487
1997-09-16 10:11:13 -06:00
Ulrich Drepper e693cc28bb Uli's libio/libstdc++ patches.
From-SVN: r15486
1997-09-16 10:01:55 -06:00
Jason Merrill 610ce97e65 expr.c (expand_expr, [...]): Call mark_addressable again for the slot after we give it RTL.
* expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
 	again for the slot after we give it RTL.

From-SVN: r15482
1997-09-16 03:53:56 -04:00
Jeffrey A Law f633220ce2 * version.c: Bump for snapshot.
From-SVN: r15480
1997-09-16 00:39:02 -06:00
Jeff Law 84e750688b Tweak v850 ChangeLog entries.
From-SVN: r15478
1997-09-16 00:16:57 -06:00
Nick Clifton 145870b56f v850.c (register_is_ok_for_epilogue, [...]): New functions.
* config/v850/v850.c (register_is_ok_for_epilogue,
        pattern_is_ok_for_epilogue, construct_restore_jr,
        pattern_is_ok_for_prologue, construct_save_jarl): New functions.

        * config/v850/v850.h (pattern_is_ok_for_prologue,
        pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
        predicates.

        * config/v850/v850.md: Replace prologue and epilogue patterns with a
        match_parallel pattern.

        * config/v850/v850.c (output_move_single_unsigned): Cope with zero
        extending and moving between registers at the same time.

Brought over from devo.

From-SVN: r15477
1997-09-16 00:13:27 -06:00
Jeff Law 9302e6e54c More formatting fixes.
From-SVN: r15476
1997-09-16 00:03:16 -06:00
Jeff Law 07f7a41acc Remove more CYGNUS LOCAL markers.
From-SVN: r15475
1997-09-15 23:52:35 -06:00
Jeff Law 5bfa6cfa3d Remove CYGNUS LOCAL markers.
From-SVN: r15474
1997-09-15 23:23:38 -06:00
Jeff Law 7b9eb580d5 Forgot to check in.
From-SVN: r15473
1997-09-15 23:19:29 -06:00
Jeffrey A Law 999087f678 aclocal.m4: Add replacement for AC_PROG_INSTALL.
* aclocal.m4: Add replacement for AC_PROG_INSTALL.
        * configure.in: Use EGCS_PROG_INSTALL.

From-SVN: r15472
1997-09-15 23:01:43 -06:00
Jeffrey A Law 76143254dc aclocal.m4: New file with replacement for AC_PROG_INSTALL.
* aclocal.m4: New file with replacement for AC_PROG_INSTALL.
        * configure.in: Use EGCS_PROG_INSTALL.

From-SVN: r15471
1997-09-15 22:55:29 -06:00
Jeff Law 4401bf245c dwarf2out.c (gen_subprogram_die): Handle redefinition of an extern inline function.
* dwarf2out.c (gen_subprogram_die): Handle redefinition of an
        extern inline function.

        * dwarf2out.c (reg_loc_descriptor): Fix prototype.
        (concat_loc_descriptor): New function.
        (loc_descriptor): Call it.
        (add_AT_location_description): Also elide the descriptor if both
        halves of a CONCAT are pseudos.
        (add_location_or_const_value_attribute): Recognize CONCAT too.
Bring over from devo/fsf.

From-SVN: r15470
1997-09-15 22:39:46 -06:00