| ??? 10/22/07 11:47 Read: times |
#146000 - If you fully understand the issues Responding to: ???'s previous message |
Christoph Franck said:
I have a nice example here of very simple, legal C code that will break completely when run through the IAR ARM compiler at the highest optimization setting. Just because it's "legal" C code is no guarantee that it'll actually run under any circumstances. Yes, compilers do have bugs - but, Presumably, you have checked that it's not a bad assumption in your code that just happens not to fail for all but the highest optimisation setting? Simply dismissing optimisations out-of-hand as "stupid" did not suggest that the OP had fully grasped the issues... |
| Topic | Author | Date |
| CC2430 Timer1 strange behaviour | 01/01/70 00:00 | |
| How to use the 'Insert Code' button | 01/01/70 00:00 | |
| Ok, I post another in pre-formated one ;-) | 01/01/70 00:00 | |
| Brushless1 & 2 | 01/01/70 00:00 | |
| IAR | 01/01/70 00:00 | |
| Linker | 01/01/70 00:00 | |
| limit values | 01/01/70 00:00 | |
| limit values | 01/01/70 00:00 | |
| Why do you suspect the Linker?? | 01/01/70 00:00 | |
| Problem solved! | 01/01/70 00:00 | |
| That indicates a flaw in your code! | 01/01/70 00:00 | |
| Understaning C Compiler Optimisations | 01/01/70 00:00 | |
| Buggy compilers. | 01/01/70 00:00 | |
If you fully understand the issues | 01/01/70 00:00 |



