From: june.tune.sea@gmail.com (ishare) Date: Sun, 24 Mar 2013 11:09:02 +0800 Subject: optimization in kernel compile In-Reply-To: <16732.1363986988@turing-police.cc.vt.edu> References: <20130322054125.GA10919@debian.localdomain> <31616.1363960553@turing-police.cc.vt.edu> <20130322143240.GA1502@debian.localdomain> <34542.1363963976@turing-police.cc.vt.edu> <16732.1363986988@turing-police.cc.vt.edu> Message-ID: <20130324030902.GA23928@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org If I use -O2, then during debuging , a print command will get : value is optimized out ! Is there mothod to get rid of this ? thanks.