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: RFC: PR rtl-optimization/44695: [4.6 Regression] ice in simplify_subreg, at simplify-rtx.c:5117


On Fri, Jul 2, 2010 at 02:35, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Jun 30, 2010 at 11:59 PM, Paolo Bonzini <bonzini@gnu.org> wrote:
>> This is wrong. GCC may use this for a 16 to 8 bit division and cause a
>> divide overflow.
>>
>
> Bernd suggested to use truncate:QI to avoid this.

Right, this is even suggested by the manual!  Thanks.  Uros or Bernd,
can you approve this?

Paolo


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