gimple-ssa-sprintf.c (build_intmax_type_nodes): Look at UINTMAX_TYPE rather than...
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Nov 2016 10:01:30 +0000 (11:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 28 Nov 2016 10:01:30 +0000 (11:01 +0100)
commit42aa1173f256069d5933b9a3ed4a8c5c99871ca7
tree26baba16e6a79b82eaec8b17b88da22d38bb2964
parentdf8391b4f574aa9b0e3f5be2f4d0481c5a2cc1c1
gimple-ssa-sprintf.c (build_intmax_type_nodes): Look at UINTMAX_TYPE rather than SIZE_TYPE.

* gimple-ssa-sprintf.c (build_intmax_type_nodes): Look at
UINTMAX_TYPE rather than SIZE_TYPE.  Add gcc_unreachable if
intmax_t couldn't be determined.
(format_integer): Make {,u}intmax_type_node no longer static,
initialize them only when needed.  For z and t use
signed_or_unsigned_type_for instead of assuming size_t and
ptrdiff_t have the same precision.

From-SVN: r242911
gcc/ChangeLog
gcc/gimple-ssa-sprintf.c