summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-03-06 15:03:33 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-03-06 15:03:33 +0000
commitf4bc73d68c671b6c2db605995463c65175a84453 (patch)
treefc00170e7811332f968adc841eb204664ec77f4b
parent568dee2a095ebba6019c92bb8c447bd50c80864d (diff)
downloadfpc-f4bc73d68c671b6c2db605995463c65175a84453.tar.gz
* last commit fixed, hopefully final fix
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@48886 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/nadd.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nadd.pas b/compiler/nadd.pas
index 857b152aaf..3018e6cf42 100644
--- a/compiler/nadd.pas
+++ b/compiler/nadd.pas
@@ -1715,7 +1715,7 @@ implementation
(left.resultdef.typ=orddef) and
(left.nodetype=andn) and
(right.nodetype=andn) and
- not(is_boolean(resultdef) or not(might_have_sideeffects(self,[mhs_exceptions])) or not(doshortbooleval(self))) and
+ (not(is_boolean(resultdef)) or not(might_have_sideeffects(self,[mhs_exceptions])) or not(doshortbooleval(self))) and
{ this test is not needed but it speeds up the test and allows to bail out early }
((taddnode(left).left.nodetype=notn) or (taddnode(left).right.nodetype=notn) or
(taddnode(right).left.nodetype=notn) or (taddnode(right).right.nodetype=notn)