Re: Possible issue with integer promotion for << and >> in gcc.4.5.3

2012-12-18 Thread Ian Lance Taylor
On Tue, Dec 18, 2012 at 2:39 PM, Arthur Schwarz wrote: > > I have run some tests to determine the gcc 4.5.3 integer promotion policies. This message is not appropriate for the mailing list gcc@gcc.gnu.org, which is for the development of GCC itself. It would be appropriate on the mailing list g

Possible issue with integer promotion for << and >> in gcc.4.5.3

2012-12-18 Thread Arthur Schwarz
Cygwin gcc 4.5.3 I have run some tests to determine the gcc 4.5.3 integer promotion policies. The tests show that for 'char' input, "char << long" and "char >> long" promote to INT while other operations using a long promote to" long", and that "char << ulong" and "char >> ulong" promote to I