diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0539956..69ad455 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -37,7 +37,7 @@ jobs: run: make check - name: Upload test log - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: testsuite.log path: tests/testsuite.log diff --git a/tests/dump_core.c b/tests/dump_core.c index 82314e1..001de57 100644 --- a/tests/dump_core.c +++ b/tests/dump_core.c @@ -15,7 +15,7 @@ static char const *prefix = "/tmp/satyr.core"; -#if __clang__ +#if defined(__clang__) __attribute__((optnone)) #else __attribute__((optimize((0))))