r241812 - in /trunk/gcc: ChangeLog config/arc/a...

claziss@gcc.gnu.org claziss@gcc.gnu.org
Thu Nov 3 10:52:00 GMT 2016


Author: claziss
Date: Thu Nov  3 10:52:52 2016
New Revision: 241812

URL: https://gcc.gnu.org/viewcvs?rev=241812&root=gcc&view=rev
Log:
[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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arc/arc.h



More information about the Gcc-cvs mailing list