severity 97030 normal
retitle 97030 [fixed in gcc-3.0] wrong code generation
thanks
severity lowered:
- works ok with -O1
- works ok with 3.0
Edmund GRIMLEY EVANS writes:
> I tried this with gcc-2_95-branch and gcc-3_0-branch from CVS today.
> The latest gcc-2.95 has the same problem, but the
Processing commands for [EMAIL PROTECTED]:
> severity 97030 normal
Bug#97030: gcc: seems to generate incorrect code
Severity set to `normal'.
> retitle 97030 [fixed in gcc-3.0] wrong code generation
Bug#97030: gcc: seems to generate incorrect code
Changed Bug title.
> thanks
Stopp
I tried this with gcc-2_95-branch and gcc-3_0-branch from CVS today.
The latest gcc-2.95 has the same problem, but the latest gcc-3.0
doesn't.
I expect gcc-3.0 will be out well before woody, but I don't know
whether that means you might use gcc-3.0 for building woody ...
Edmund
Package: gcc
Version: 1:2.95.3-7
Severity: important
Maybe I've been working too hard, but this gcc seems to get this wrong
with -O2:
void gunc(unsigned a, unsigned b)
{
}
unsigned func(unsigned a, unsigned b)
{
long long x = 0;
gunc(a, b);
return (x + 1) * a * b;
}
int main()
{
unsign
4 matches
Mail list logo