Bugzilla – Attachment 57361 Details for
Bug 133820
new gcc miscompile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
testcase
superlu.c (text/plain), 432 bytes, created by
Dirk Mueller
on 2005-11-15 12:34:00 UTC
(
hide
)
Description:
testcase
Filename:
MIME Type:
Creator:
Dirk Mueller
Created:
2005-11-15 12:34:00 UTC
Size:
432 bytes
patch
obsolete
>#include <assert.h> > >static double dlamc3_(double *a, double *b) >{ > return *a + *b; >} > >int main() >{ > double d__1, a, b, c, one = 1.; > > a = c = one; > > while(c == one) { > a *= 2; > c = dlamc3_(&a, &one); > d__1 = -a; > c = dlamc3_(&c, &d__1); > } > b = 1.; > c = a + b; > > while( c == a) { > b *= 2; > c = a + b; > } > > c = c - a; > assert((int)c == 2); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 133820
: 57361