This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48209] New: FAIL: gcc.c-torture/execute/pr47917.c execution
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 20 Mar 2011 14:50:11 +0000
- Subject: [Bug middle-end/48209] New: FAIL: gcc.c-torture/execute/pr47917.c execution
- Auto-submitted: auto-generated
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.