diff options
author | David Malcolm <dmalcolm@redhat.com> | 2017-01-16 18:08:45 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2017-01-16 18:08:45 +0000 |
commit | 0ef1f9cd8c7a799a91b7d9ac776a4a8d3adaefa5 (patch) | |
tree | 69fe741f3d37e866225d72a8186ced2465b1a3cd /gcc/gcc.c | |
parent | 76689ffc1ef69892e36b9ca7d1efb9438d51d0b2 (diff) | |
download | gcc-0ef1f9cd8c7a799a91b7d9ac776a4a8d3adaefa5.zip gcc-0ef1f9cd8c7a799a91b7d9ac776a4a8d3adaefa5.tar.gz gcc-0ef1f9cd8c7a799a91b7d9ac776a4a8d3adaefa5.tar.bz2 |
Fix testcases for PR c/78304
The testcases as written made assumptions about size_t and long
being invalid for use with "%u".
We only need some invalid type, so this patch converts them to
attempt a "const char *" with "%u", which should be invalid for
every target.
gcc/testsuite/ChangeLog:
PR c/78304
* gcc.dg/format/pr78304.c: Convert argument from integral type
to a pointer.
* gcc.dg/format/pr78304-2.c: Likewise.
From-SVN: r244502
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions