Dear tiger...@viatech.com.cn, In message <fe7aded5c2218b4786c09cd97dc4c49fa88...@exchbj02.viatech.com.bj> you wrote: > > >May I ask why you want to use other optimization levels? Do you just > >hope that your code may run faster, or do you have actual proof (i. e. > >measurements) that this is the case? It would be interesting if you > >could share any such measured results. > > Not for running faster. > I just think: > If turn off compiler optimization, some bugs would be analysed easily.
Hm... that does not match my experience. A pretty large percentage of actual bugs is of Heisenbug nature. Changin the buil environment will create a completely different image with different behaviour - you may be lucky, but too often the changes actually side-track you from the actual issues. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Pig: An animal (Porcus omnivorous) closely allied to the human race by the splendor and vivacity of its appetite, which, however, is in- ferior in scope, for it balks at pig. - Ambrose Bierce _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot