[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090722132721.GA7390@khazad-dum.debian.net>
Date: Wed, 22 Jul 2009 10:27:21 -0300
From: Henrique de Moraes Holschuh <hmh@....eng.br>
To: Krzysztof Oledzki <olel@....pl>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Troy Moure <twmoure@...pr.net>, Greg KH <gregkh@...e.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>, stable@...nel.org,
lwn@....net, Ian Lance Taylor <iant@...gle.com>
Subject: Re: Linux 2.6.27.27
On Wed, 22 Jul 2009, Krzysztof Oledzki wrote:
> BTW: here is a simple testcase for this bug:
>
> --- fno-strict-overflow-fixed-bug.c ---
> #include <stdio.h>
>
> int main() {
>
> unsigned char i;
>
> for (i = 0; i < 128; i++)
> printf("loop %u\n", i);
>
> return 0;
> }
> --- cut here ---
>
> The code should be compiled with:
> cc -o fno-strict-overflow-fixed-bug -Os -fno-strict-overflow fno-strict-overflow-fixed-bug.c
> or:
> cc -o fno-strict-overflow-fixed-bug -O2 -fno-strict-overflow fno-strict-overflow-fixed-bug.c
>
> This bug does not exist with -O1 or if the loop is controlled by "i
> < 127" or "i < 129".
Thank you.
Debian stable, ia32, gcc 4.2.4-6: BUG
Debian stable, ia32, gcc 4.3.2-1.1: no bug (default)
Debian unstable, ia32, gcc 4.2.4-6: BUG
Debian unstable, ia32, gcc 4.3.3-14: no bug (default)
Someone else already tested gcc 4.4.0, as no bug.
I will file bugs against Debian gcc-4.2...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists