* affinity-fmt.c: Include inttypes.h if HAVE_INTTYPES_H.
commitf9e599b94fb856eb6f1c15c2613ba53e91c55db5
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2018 20:17:40 +0000 (9 20:17 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2018 20:17:40 +0000 (9 20:17 +0000)
tree1370d120e16846f9701579bc47f8290563d87579
parentd64015d25eb056f2c12228156b3b97b85973cd44
* affinity-fmt.c: Include inttypes.h if HAVE_INTTYPES_H.
(gomp_display_affinity): Use __builtin_choose_expr to handle
properly handle argument having integral, or pointer or some other
type.  If inttypes.h is available and PRIx64 is defined, use PRIx64
with uint64_t type instead of %llx and unsigned long long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265985 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/affinity-fmt.c