glibc/sysdeps/s390
Stefan Liebler 808d702288 S390: Fix build error with gcc6 in utf8_utf16-z9.c.
This patch fixes the build error with gcc6:
array subscript is above array bounds [-Werror=array-bounds]

While including loop.c to construct the SINGLE(LOOPFCT) method
for converting from UTF-16 to UTF-8, the bytebuf array with length
MAX_NEEDED_INPUT is used as inptr. MAX_NEEDED_INPUT defaults to
MIN_NEEDED_INPUT if not defined before including loop.c.
Thus bytebuf has a length of 2.
This patch defines MAX_NEEDED_INPUT to MAX_NEEDED_TO, which is 4.

ChangeLog:

	* sysdeps/s390/s390-64/utf8-utf16-z9.c
	(MAX_NEEDED_INPUT): New define.
	(MAX_NEEDED_OUTPUT): New define.
2015-08-26 10:26:26 +02:00
..
bits S390: Optimize strcmp and wcscmp. 2015-08-26 10:26:22 +02:00
fpu S390: Fix handling of DXC-byte in FPC-register. 2015-08-26 10:26:18 +02:00
multiarch S390: Optimize memrchr. 2015-08-26 10:26:26 +02:00
nptl Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s390-32 S390: Optimize memchr, rawmemchr and wmemchr. 2015-08-26 10:26:24 +02:00
s390-64 S390: Fix build error with gcc6 in utf8_utf16-z9.c. 2015-08-26 10:26:26 +02:00
abort-instr.h Update. 2000-08-02 15:15:00 +00:00
asm-syntax.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
configure S390: configure check for vector instruction support in assembler. 2015-08-26 10:26:19 +02:00
configure.ac S390: configure check for vector instruction support in assembler. 2015-08-26 10:26:19 +02:00
dl-irel.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-procinfo.c S390: Add new s390 platform. 2015-08-26 10:26:19 +02:00
dl-procinfo.h S390: Add new s390 platform. 2015-08-26 10:26:19 +02:00
dl-tls.h [s390] Define a __tls_get_addr macro to avoid declaring it again 2015-01-14 21:26:50 +05:30
ffs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gccframe.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gmp-mparam.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Implies * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
jmpbuf-offsets.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
jmpbuf-unwind.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libc-tls.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
longjmp.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
machine-gmon.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
memusage.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
preconfigure Move base_machine and machine settings from configure.ac to sysdeps preconfigure fragments. 2014-06-25 17:52:56 +00:00
sotruss-lib.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
stackinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Versions S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00