This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: BugReport for gcj-3.3 java frontend


Erwin Bolwidt wrote:

I found a bug in gcj-3.3.
> ...
> Hopefully this report is useful enough to fix the bug

We don't have time to debug bugs in older releases.
You need to check if the bug is in the CVS mainline.

I did - and it is.

The problem appears to be this calculation in stmt.c:

range = fold (build (MINUS_EXPR, index_type, maxval, minval));

For some reason the overflow bit gets set, enough the index_type
is (32-bit) int, as are teh types of the operands, apparently.

Perhaps someone more familiar with fold_const can take a look.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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