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: [C/C++ PATCH] Don't convert RHS of a shift-expression to int (PR c/63862)


On November 26, 2014 8:25:54 PM CET, Jason Merrill <jason@redhat.com> wrote:
>How about converting the rhs to unsigned int if it is already unsigned?

Does the standard say so?  I think not.
IMHO it's not the front ends business to do this. And I don't see how it helps either.

Richard.

>Jason



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