summaryrefslogtreecommitdiff
path: root/compiler/nadd.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nadd.pas')
-rw-r--r--compiler/nadd.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nadd.pas b/compiler/nadd.pas
index 9cf5da39a9..04ad7952d6 100644
--- a/compiler/nadd.pas
+++ b/compiler/nadd.pas
@@ -1095,7 +1095,7 @@ implementation
end;
end
{ short to full boolean evalution possible and useful? }
- else if not(might_have_sideeffects(right)) and not(cs_full_boolean_eval in localswitches) then
+ else if not(might_have_sideeffects(right,[mhs_exceptions])) and not(cs_full_boolean_eval in localswitches) then
begin
case nodetype of
andn,orn: