This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patches] delete_trivially_dead_insns improvement
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: [patches] delete_trivially_dead_insns improvement
- From: Jan Hubicka <jh at suse dot cz>
- Date: Mon, 16 Jul 2001 21:33:18 +0200
- Cc: gcc-patches at gcc dot gnu dot org, rth at cygnus dot com, patches at x86-64 dot org
- References: <20010716210018.F26618@atrey.karlin.mff.cuni.cz>
> Hi,
> while last review of the delete_trivially_dead_insns before checkin
> I noticed that the code does not remove the libcall when the return
> value is unused. Neighter the old code did - you may test it by:
>
> long long a,b;
> main()
> {
> long long c=a/b;
> }
> where the computation survives till cse pass.
>
> The dead_libcall_p only attempts to convert libcall into direct computation.
As Andreas noticed...
Bootstrapped i586, regtesting in progress, OK assuming it finishes?