| www.delorie.com/archives/browse.cgi | search |
| From: | "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | THE -O2 PROBLEM - PART II |
| Date: | Sat, 15 Apr 2000 03:17:18 +0400 |
| Organization: | MTU-Intel ISP |
| Lines: | 16 |
| Message-ID: | <38F7A6FE.ED9B3E59@mtu-net.ru> |
| References: | <38F20E7A DOT 3330E9A4 AT mtu-net DOT ru> <38F6C64E DOT C7753C6C AT mtu-net DOT ru> <8d7l3g$j3i$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <38F76B94 DOT 5E968BA7 AT mtu-net DOT ru> |
| NNTP-Posting-Host: | ppp103-168.dialup.mtu-net.ru |
| Mime-Version: | 1.0 |
| X-Trace: | gavrilo.mtu.ru 955754262 77013 212.188.103.168 (14 Apr 2000 23:17:42 GMT) |
| X-Complaints-To: | usenet-abuse AT mtu DOT ru |
| NNTP-Posting-Date: | 14 Apr 2000 23:17:42 GMT |
| X-Mailer: | Mozilla 4.72 [en] (Win95; I) |
| X-Accept-Language: | en,ru |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Well, now it compiles with -O2 too. But I've got another problem. My keyborad IRQ0 ISR puts 1 to an array, if a key is pressed and puts 0, if it is released. But with optimizations enabled, I simply get faulty code, since compiler eliminates checking of the array. How to prevent this from optimizations? thanks. Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |