https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78133
Bug ID: 78133
Summary: Commit r241489 adds printf specifiers not supported by
newlib.
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: tamar.christina at arm dot com
Target Milestone: ---
The commit adds tests for the double hex specifier %a which is not supported by
newlib.
These should probably be ifdef'ed out to prevent failures.
FAIL: test_a_double:364: "%.0a" expected result for "a" doesn't match function
call return value: 1 != 6
FAIL: test_a_double:365: "%.0a" expected result for "a" doesn't match function
call return value: 1 != 6
FAIL: test_a_double:366: "%.0a" expected result for "a" doesn't match function
call return value: 1 != 6
FAIL: test_a_double:367: "%.1a" expected result for "a" doesn't match function
call return value: 1 != 8
FAIL: test_a_double:368: "%.2a" expected result for "a" doesn't match function
call return value: 1 != 9
FAIL: test_a_double:369: "%.3a" expected result for "a" doesn't match function
call return value: 1 != 10
FAIL: test_a_double:372: "%.0a" expected result for "a" doesn't match output
length: 1 not in [6, 10]
FAIL: test_a_double:373: "%.1a" expected result for "a" doesn't match output
length: 1 not in [6, 12]
FAIL: test_a_double:374: "%.2a" expected result for "a" doesn't match output
length: 1 not in [6, 13]
FAIL: test_a_long_double:380: "%.0La" expected result for "a" doesn't match
function call return value: 1 != 6
FAIL: test_a_long_double:381: "%.0La" expected result for "a" doesn't match
function call return value: 1 != 6
FAIL: test_a_long_double:382: "%.0La" expected result for "a" doesn't match
function call return value: 1 != 6
FAIL: test_a_long_double:383: "%.1La" expected result for "a" doesn't match
function call return value: 1 != 8
FAIL: test_a_long_double:384: "%.2La" expected result for "a" doesn't match
function call return value: 1 != 9