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, rtl-optimization]: Fix PR rtl-optimization/33846, ICE in trunc_int_for_mode, at explow.c:55


On 10/23/07, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
> > The code that handles NOT case is wrong for vector modes. Attached
> > patch teaches this code to create CONST_VECTOR instead of CONST_INT in
> > this case.
>
> What would it be used for?  The code below only handles IOR or CONST_INTs.

IIUC, this code also converts NOT (x) into XOR (x, -1).

Uros.


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