From 1ed23e54725eab96a37ee6bfc0b77bf8f7e1e380 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 6 Jan 2025 15:16:36 +0100 Subject: [PATCH] * min/max optimization is carried out only if -O2 is used --- tests/test/tminmax1.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test/tminmax1.pp b/tests/test/tminmax1.pp index 4ffa022452..966c3083d2 100644 --- a/tests/test/tminmax1.pp +++ b/tests/test/tminmax1.pp @@ -1,4 +1,4 @@ -{ %opt=-O- -O1 } { ensure we test code generation without constant propagation } +{ %opt=-O- -O2 } { ensure we test code generation without constant propagation } {$mode objfpc} -{$I minmax.inc } \ No newline at end of file +{$I minmax.inc }