fixed dce for genode

This commit is contained in:
Marcel Lütke Dreimann
2025-01-31 10:07:43 +01:00
parent 8567a8513c
commit 67ebd5e9a4

View File

@@ -123,7 +123,7 @@
/* Dead-code elimination macros. Use argc/argv for the run-time check. */
# ifndef POLYBENCH_DUMP_ARRAYS
# define POLYBENCH_DCE_ONLY_CODE if (argc > 42 && ! strcmp(argv[0], ""))
# define POLYBENCH_DCE_ONLY_CODE if (argc > 42 && argv[0][0] == '\0')
# else
# define POLYBENCH_DCE_ONLY_CODE
# endif