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: Patch: PR java/8676


Tom Tromey wrote:

This patch fixes PR java/8676.

If the right hand side of a shift expression has type long, we must
cast it to int.  Otherwise the tree we generate confuses the bytecode
generator.

Tested on x86 Red Hat Linux 7.3.

Ok?
Yes.
--
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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