Wrong "if (property is ...)or(property is ...)then" optimization
Original Reporter info from Mantis: zamtmn @zamtmn
-
Reporter name: Andrey Zubarev
Original Reporter info from Mantis: zamtmn @zamtmn
- Reporter name: Andrey Zubarev
Description:
With -O2 оr -O3 optimization code
if (ActiveControl is tedit)or(ActiveControl is tcombobox) then ...
does not work when ActiveControl=tcombobox. See project1.lpr, and enter characters in the combobox.
With -O1 everything is working properly
Mantis conversion info:
- Mantis ID: 21551
- OS: win7
- Platform: x86
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 20630 (#26754a3f)