This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patches] delete_trivially_dead_insns improvement


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]