From 7455b0cd2ae5ce224bda4754e5e59292370c1373 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Mon, 19 Apr 2021 22:11:06 +0200 Subject: [PATCH] AutomatedTests/PCRel32: explicitly specify optimization --- AutomatedTests/PCRel32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AutomatedTests/PCRel32.c b/AutomatedTests/PCRel32.c index 3e040fad4f..cb8baf497d 100644 --- a/AutomatedTests/PCRel32.c +++ b/AutomatedTests/PCRel32.c @@ -1,10 +1,13 @@ #include "Test.h" #include +#pragma GCC push_options +#pragma GCC optimize ("O2", "omit-frame-pointer") __attribute__((noinline)) static void* foo(size_t x) { return malloc(x); } +#pragma GCC pop_options int main() {