]> git.ipfire.org Git - thirdparty/gcc.git/commit
[ARC] Define SIZE_TYPE and PTRDIFF_TYPE correctly.
authorclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2016 10:52:52 +0000 (10:52 +0000)
committerclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2016 10:52:52 +0000 (10:52 +0000)
commit8445483fab60ea62d97f42134849306c8ba5fb93
tree552f6b3b2047ee7d420a1e1f67d16fc937a23bfe
parentd1ff5c63c82e1d8418a9c301f5db8cc230541e6b
[ARC] Define SIZE_TYPE and PTRDIFF_TYPE correctly.

This silences tons of -Wformat= warnings when building ARC Linux kernel
with gcc 6.x (and restores the ARC gcc 4.8.x behaviour) which had
similar fix.

gcc/
2016-11-03  Vineet Gupta  <vgupta@synopsys.com>

* config/arc/arc.h (SIZE_TYPE): Define as unsigned int.
(PTRDIFF_TYPE): Define as int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241812 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arc/arc.h