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 58542: const_int vs lost modes


> The most isolated patch I can come up with, especially since we ought to
> fix this in 4.8 branch as well, is to only allow expansion of wide int
> modes to const_int when they're positive.
> 
> Thoughts?

That's a fairly dangerous hack in my opinion, in particular this breaks the 
uniqueness of representation of -1 as constm1_rtx.  Can't we find a really 
contained hack instead, especially if we want to backport it to 4.8?

-- 
Eric Botcazou


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