Loop unrolling -> stack corruption

Michael Goffioul goffioul at imec.be
Wed May 8 16:41:02 BST 2002


Something weird seems to happen with kdeprint code. When compiled with
the flag -funroll-loops, crashes happen and it's impossible to debug it
with gdb as the stack is corrupted ("Cannot access memory..."). Without
that compilation flag, everything is OK.
This is tested with gcc-2.95.3.

Except valgrinding the code, does anybody have any hint?

Thanks.
Michael.

-- 
------------------------------------------------------------------
Michael Goffioul		IMEC-DESICS-MIRA
e-mail: goffioul at imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------




More information about the kde-core-devel mailing list