This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: BugReport for gcj-3.3 java frontend
- From: Andrew Haley <aph at redhat dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Erwin Bolwidt <erwin at klomp dot org>, java at gcc dot gnu dot org, mark at klomp dot org
- Date: Fri, 12 Mar 2004 13:00:45 +0000
- Subject: Re: BugReport for gcj-3.3 java frontend
- References: <40507438.8060104@klomp.org><40516430.6090607@bothner.com>
Per Bothner writes:
> Erwin Bolwidt wrote:
>
> > I found a bug in gcj-3.3.
> > ...
> > Hopefully this report is useful enough to fix the bug
>
> 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.
It's very weird. I'm going to look closer.
Andrew.