Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: gcc/gcc/testsuite/gcc.c-torture/execute/ieee/unsafe-fp-assoc-1.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 extern void abort(); 1 extern void abort();
2 2
3 typedef union { 3 typedef union {
4 struct { 4 struct {
5 unsigned int hi; 5 unsigned int hi;
6 unsigned int lo; 6 unsigned int lo;
7 } i; 7 } i;
8 double d; 8 double d;
9 } hexdouble; 9 } hexdouble;
10 10
(...skipping 14 matching lines...) Expand all
25 z = x - 0.5; 25 z = x - 0.5;
26 y = ( z - twoTo52 ) + twoTo52; 26 y = ( z - twoTo52 ) + twoTo52;
27 if ( y == (( x - twoTo52 ) + twoTo52) ) 27 if ( y == (( x - twoTo52 ) + twoTo52) )
28 abort(); 28 abort();
29 } 29 }
30 return; 30 return;
31 } 31 }
32 32
33 int main() 33 int main()
34 { 34 {
35 if (sizeof (double) == 4)
36 return 0;
35 func((double)1.00); 37 func((double)1.00);
36 return 0; 38 return 0;
37 } 39 }
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/gcc.c-torture/execute/ieee/pr30704.c ('k') | gcc/gcc/testsuite/gcc.c-torture/execute/pr17377.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698