Michael Troß writes: gen_wctype segfaults on my system when optimized with -O2. It does work  without optimization, even -O1 does not cause the segfault.  Problem is in  newopt, at gen_wctype.c:865: 	memcpy(tbl->ti + i * blocksize, ti[uniqblock[i]], blocksize);
Michael Troß writes:
gen_wctype segfaults on my system when optimized with -O2. It does work 
without optimization, even -O1 does not cause the segfault.  Problem is in 
newopt, at gen_wctype.c:865:
	memcpy(tbl->ti + i * blocksize, ti[uniqblock[i]], blocksize);

The segfault is caused by the uninitialized variable uniqblock when
newopt is called recursively.  The attached patch fixes this.

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc