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: hex constants in const_int (plus small altivec problem)


You should have received a `warning: decimal constant is so large that it is unsigned' warning, I did with a small program:
int temp = -2147483648;

Thanks,
Andrew Pinski


On Thursday, Dec 19, 2002, at 20:31 US/Pacific, Aldy Hernandez wrote:

I was the one who filed both reports knowing that the approach for
-2147483648
will be generating an extra warning messages in the code.  A way to
have hex in the
.md files will make sure there is way for no warnings to happen.
Actually, I don't get any warnings on my end, but I still think it is
a good idea.  I did a grep in all the .md files in config/*/ and there
are quite a number of odd looking constants that could benefit from a
hexadecimal representation.

Aldy







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