Commit Graph

14303 Commits

Author SHA1 Message Date
Jeffrey A Law
cb3bb2a765 cse.c (simplify_relational_operation): Set h0u just like h0s.
* cse.c (simplify_relational_operation): Set h0u just like h0s.
        Similarly for h1u and h1s.

From-SVN: r15616
1997-09-21 19:28:22 -06:00
Jeffrey A Law
2a1777af22 jump.c (jmp_uses_reg_or_mem): Deleted unused function.
* jump.c (jmp_uses_reg_or_mem): Deleted unused function.
        (find_basic_blocks): Use computed_jump_p to determine if a
        particular JUMP_INSN is a computed jump.
        * reg-stack.c (find_blocks): Use computed_jump_p to determine
        if a particular JUMP_INSN is a computed jump.
        * rtlanal.c (jmp_uses_reg_or_mem): New function.
        (computed_jump_p): Likewise.
        * rtl.h (computed_jump_p): Declare.
        * genattrtab.c (pc_rtx): Define and initialize.
        * loop.c (loop_optimize): Always determine if the current
        function has a computed jump.
        (indirect_jump_in_function_p): Use computed_jump_p to determine
        if a particular JUMP_INSN is a computed jump.
General (and haifa) cleanups.

From-SVN: r15615
1997-09-21 18:49:32 -06:00
Jeff Law
37842442c3 Finish last change.
From-SVN: r15614
1997-09-21 17:46:54 -06:00
Jeffrey A Law
7014927a4e loop.c (fix_bct_param): Delete unused function.
* loop.c (fix_bct_param): Delete unused function.
        (check_bct_param): Likewise.

From-SVN: r15613
1997-09-21 17:43:38 -06:00
Jason Merrill
6d53d7c252 * frame.c (__deregister_frame): Check properly for initialized object.
From-SVN: r15601
1997-09-20 19:46:43 -04:00
Jason Merrill
b82b76c6ba call.c (build_over_call): Do require_complete_type before build_cplus_new.
* call.c (build_over_call): Do require_complete_type before
	build_cplus_new.

Fixes t20.C mode problem.

From-SVN: r15598
1997-09-20 18:38:48 -04:00
H.J. Lu
71e4fbe6df * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
From-SVN: r15594
1997-09-19 20:48:37 -06:00
Jim Wilson
f1ee40b618 Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H.
* Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H.

Brought over from devo.

From-SVN: r15593
1997-09-19 20:43:51 -06:00
J"orn Rennecke
cc5e164240 jump.c (thread_jumps): check can_reverse_comparison_p before threading a reversed-condition jump.
* jump.c (thread_jumps): check can_reverse_comparison_p before
        threading a reversed-condition jump.

From-SVN: r15590
1997-09-19 19:05:16 -06:00
J"orn Rennecke
272299b9ca sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
* sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
        * haifa-sched.c (update_flow_info): Likewise.

From-SVN: r15589
1997-09-19 18:52:52 -06:00
Jeffrey A Law
09f97c1e6c * Makefile.in (cross): New target.
From-SVN: r15564
1997-09-18 23:56:16 -06:00
Alexandre Oliva
339c9b006c Makefile.in (bootstrap2, bootstrap3): New targets.
* Makefile.in (bootstrap2, bootstrap3): New targets.
        (all-bootstrap): Remove outdated and confusing target.
        (bootstrap, bootstrap2, bootstrap3): Don't pass BOOT_CFLAGS down.

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

From-SVN: r15563
1997-09-18 23:23:00 -06:00
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