This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR middle-end/66984 - mis-optimization of CEIL_DIV_EXPR and FLOOR_DIV_EXPR
- From: Gary Funck <gary at intrepid dot com>
- To: Gcc Patches <gcc-patches at gcc dot gnu dot org>
- Cc: rguenth at gcc dot gnu dot org
- Date: Fri, 24 Jul 2015 09:15:07 -0700
- Subject: Re: [PATCH] Fix PR middle-end/66984 - mis-optimization of CEIL_DIV_EXPR and FLOOR_DIV_EXPR
- Authentication-results: sourceware.org; auth=none
- References: <20150724154305 dot GN25208 at intrepid dot com>
On 07/24/15 08:43:05, Gary Funck wrote:
>
> See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66984
>
> Confirmed that GCC trunk bootstraps without issue and
> that this patch fixes the issue noted in the GUPC branch.
>
> 2015-07-24 Gary Funck <gary@intrepid.com>
>
> PR middle-end/66984
> * fold-const.c (fold_binary_loc): Call fold_convert on arguments to
> fold_build2 for CEIL_DIV_EXPR and FLOOR_DIV_EXPR optimization.
Committed, pre-approved.
Author: gfunck
Date: Fri Jul 24 16:10:39 2015
New Revision: 226168
URL: https://gcc.gnu.org/viewcvs?rev=226168&root=gcc&view=rev