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

Cyril Hrubis chrubis@suse.cz
Fri Jan 27 10:20:04 CET 2023


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


More information about the ltp mailing list