ARC: gcc - Fix SIZE_TYPE to be "unsigned int" instead of "long unsigned int"
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 15 Sep 2014 14:49:53 +0000 (18:49 +0400)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 16 Sep 2014 21:09:35 +0000 (23:09 +0200)
commit0f236c1fef669192c8f5cc8ef26e93da91438dc2
tree3403660a01ec92b67319257fb8a44e040e322851
parent58a41c2f68001b3ef25356cd3f1a79b9e46e7157
ARC: gcc - Fix SIZE_TYPE to be "unsigned int" instead of "long unsigned int"

This makes size_t to be "unsigned" ssize_t which makes happy compiler on data
type checks.

Fix is taken from current development branch of GCC for ARC and will be a
part of the next release of ARC tools, so at that point patch should be dropped.

https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/commit/249f040299402647525c3f15b79d319fa7acddd3

Fixes http://autobuild.buildroot.net/results/405/405da9a945511329929b18740b983c51b8dcc43e

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gcc/arc-2014.08/200-size_type_unsigned_int.patch [new file with mode: 0644]