mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 13:59:28 +02:00
* do the optimizations in r36027 at level -O3 or higher
git-svn-id: trunk@36034 -
This commit is contained in:
parent
6d589f415b
commit
f44f2f9194
@ -1015,7 +1015,8 @@ implementation
|
||||
|
||||
if is_integer(left.resultdef) and is_integer(right.resultdef) then
|
||||
begin
|
||||
if left.isequal(right) and not might_have_sideeffects(left) then
|
||||
if (cs_opt_level3 in current_settings.optimizerswitches) and
|
||||
left.isequal(right) and not might_have_sideeffects(left) then
|
||||
begin
|
||||
case nodetype of
|
||||
andn,orn:
|
||||
|
Loading…
Reference in New Issue
Block a user