[Bug middle-end/48209] New: FAIL: gcc.c-torture/execute/pr47917.c execution
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 20 15:23:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48209
Summary: FAIL: gcc.c-torture/execute/pr47917.c execution
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
CC: jakub@gcc.gnu.org
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/te
st/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/pr47917.c -w -O0 -lm
-o
/test/gnu/gcc/objdir/gcc/testsuite/gcc/pr47917.x0 (timeout = 300)
PASS: gcc.c-torture/execute/pr47917.c compilation, -O0
Setting LD_LIBRARY_PATH to :/test/gnu/gcc/objdir/gcc::/test/gnu/gcc/objdir/gcc
FAIL: gcc.c-torture/execute/pr47917.c execution, -O0
The second and fourth uses of snprintf are not optimized.. The HP-UX
11.11 version of snprintf returns a negative value when the result doesn't
fit in the supplied buffer. This causes the test to fail.
More information about the Gcc-bugs
mailing list