AutomatedTests/PCRel32: explicitly specify optimization
This commit is contained in:
parent
bab78e598e
commit
7455b0cd2a
|
@ -1,10 +1,13 @@
|
|||
#include "Test.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue