crates/backtrace-sys2/src/libbacktrace/edtest.c in pf2-0.6.0 vs crates/backtrace-sys2/src/libbacktrace/edtest.c in pf2-0.7.0
- old
+ new
@@ -1,7 +1,7 @@
/* edtest.c -- Test for libbacktrace storage allocation stress handling
- Copyright (C) 2017-2021 Free Software Foundation, Inc.
+ Copyright (C) 2017-2024 Free Software Foundation, Inc.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
@@ -41,10 +41,10 @@
#include "backtrace-supported.h"
#include "internal.h"
#include "testlib.h"
-static int test1 (void) __attribute__ ((noinline, noclone, unused));
+static int test1 (void) __attribute__ ((noinline, noclone, optnone, unused));
extern int f2 (int);
extern int f3 (int, int);
static int
test1 (void)