ASF Bugzilla – Attachment 30165 Details for
Bug 52900
Apache 2.4.1 build fails for core.c on Solaris 10 with GCC 4.6.x
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Slightly bigger test case, showing errors even with O1 on Sparc 64 Bits.
test2.c (text/plain), 381 bytes, created by
Rainer Jung
on 2013-04-09 08:08:48 UTC
(
hide
)
Description:
Slightly bigger test case, showing errors even with O1 on Sparc 64 Bits.
Filename:
MIME Type:
Creator:
Rainer Jung
Created:
2013-04-09 08:08:48 UTC
Size:
381 bytes
patch
obsolete
>unsigned int buggy(unsigned int min, unsigned int max) >{ > unsigned int number; > if (max < 16384) { > unsigned short num16; > num16 = min + (long) ((double) (max - min + 1.0) * (num16 / (65535 + 1.0))); > return num16; > } > else { > (number) = min + (long) ((double) (max - min + 1.0) * (number / (4294967295U + 1.0))); > } > return number; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 52900
:
30163
|
30164
| 30165 |
30217