This is the mail archive of the gcc@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: 20040309-1.c vs overflow being undefined


On Sun, Nov 27, 2005 at 12:25:28PM -0500, Andrew Pinski wrote:
> Actually I am not seeing that but instead I am seeing the subtraction done in
> short and not in int (which is far as I can tell and remember reading the
> promotion rules in C doing).

You're wrong about the C promotion rules.


r~


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