Re: [LTP] [PATCH 1/2] hugemmap15: Compile with -O

Cyril Hrubis
2023-01-27T09:21:05Z

Hi!
> I tested with clang with -O, it fails. So yeah it is not turning off
> relevant optimization.

There seems to be pragma to turn off optimizations only for clang, can
you try if adding:

#pragma clang optimize off

to the source and removeing the -O0 from the Makefile works?

--
Cyril Hrubis
chrubis@suse.cz