On Wed, Jul 06, 2022 at 10:15:51AM +1000, Norman wrote:
> Hi all,
>
> Consider this bit of code:
>
> unsigned int d=1,e=2,f;
>
> if((d-e) < 0)
> {
> f=d-e;
> printf("f=%i",f);
> }
>
> gcc -Wall -DLinux -D_FILE_OFFSET_BITS=64 -c scroll.c
>
> gcc compiles thi
Hi all,
Consider this bit of code:
unsigned int d=1,e=2,f;
if((d-e) < 0)
{
f=d-e;
printf("f=%i",f);
}
gcc -Wall -DLinux -D_FILE_OFFSET_BITS=64 -c scroll.c
gcc compiles this without a whimper.
However the expression (d-e) < 0 always evaluates to false (0).
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-15
03:07 ---
Subject: Bug 17432
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED] 2005-05-15 03:07:43
Modified files:
gcc/testsuite : Change
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-15
02:45 ---
Subject: Bug 17432
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-05-15 02:45:30
Modified files:
gcc/testsuite : ChangeLog
gcc/fortran: C