[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Loop unrolling -> stack corruption
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2002-05-08 15:41:02
[Download RAW message or body]

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@imec.be	(Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510		Kapeldreef, 75
Fax:    +32/16/28-1515		3001 HEVERLEE, BELGIUM
------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic