Disable optimizations for the full+make+gcc all.sh component
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 2243223..be0eb2a 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -609,13 +609,13 @@
     record_status tests/scripts/test_psa_constant_names.py
 }
 
-component_test_full_make_gcc () {
-    msg "build: make, full config, gcc" # ~ 50s
+component_test_full_make_gcc_o0 () {
+    msg "build: make, full config, gcc -O0" # ~ 50s
     scripts/config.pl full
     scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
-    make
+    make CC=gcc CFLAGS='-O0'
 
-    msg "test: main suites (full config, gcc)" # ~ 5s
+    msg "test: main suites (full config, gcc -O0)" # ~ 5s
     make test
 }