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]
Other format: [Raw text]

Re: [PATCH] Fix PR middle-end/66984 - mis-optimization of CEIL_DIV_EXPR and FLOOR_DIV_EXPR


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


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