This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/63847] FAIL: c-c++-common/cilk-plus/AN/builtin_fn_custom.c execution test on i?86 with -fpic
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Nov 2014 09:18:39 +0000
- Subject: [Bug other/63847] FAIL: c-c++-common/cilk-plus/AN/builtin_fn_custom.c execution test on i?86 with -fpic
- Auto-submitted: auto-generated
- References: <bug-63847-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63847
--- Comment #1 from UroÅ Bizjak <ubizjak at gmail dot com> ---
Ah, excess FP precision issue at:
double x, yy, array3[NUMBER], array4[NUMBER];
double max_value = 0.000, min_value = 0.000, add_value, mul_value = 1.00;
...
if (x != max_value)
return 1;
Breakpoint 1, main () at
/home/uros/gcc-svn/trunk/gcc/testsuite/c-c++-common/cilk-plus/AN/builtin_fn_custom.c:62
62 if (x != max_value)
0x080485fb <+302>: cmp $0x64,%eax
0x080485fe <+305>: jne 0x80485de <main()+273>
=> 0x08048600 <+307>: fucomip %st(1),%st
0x08048602 <+309>: fstp %st(0)
0x08048604 <+311>: jp 0x8048614 <main()+327>
R7: Valid 0x3ffffffffefffffffdffffffac37ffffffdaffffffc37dffffffb000
+0.9909090909090909616
=>R6: Valid 0x3ffffffffefffffffdffffffac37ffffffdaffffffc37dffffffae26
+0.9909090909090909359
R5: Empty 0x3ffffffff1ffffffd3ffffffd562ffffff92ffffffab7effffff865c
R4: Empty 0x3ffffffff1ffffffd3ffffffd562ffffff92ffffffab7effffff865c
R3: Empty 0x00000000000000000000
R2: Empty 0x00000000000000000000
R1: Empty 0x00000000000000000000
R0: Empty 0x00000000000000000000
These tests need either checks with tolerances or -ffloat-store.