We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6cdd36c + 921e01f commit f0c6f54Copy full SHA for f0c6f54
1 file changed
include/stdexec/__detail/__config.hpp
@@ -402,8 +402,8 @@ namespace STDEXEC::__std
402
#endif
403
404
#if STDEXEC_MSVC()
405
-# define STDEXEC_PRAGMA_OPTIMIZE_BEGIN() STDEXEC_PRAGMA(optimize("", on))
406
-# define STDEXEC_PRAGMA_OPTIMIZE_END() STDEXEC_PRAGMA(optimize("", off))
+# define STDEXEC_PRAGMA_OPTIMIZE_BEGIN() STDEXEC_PRAGMA(optimize("t", on))
+# define STDEXEC_PRAGMA_OPTIMIZE_END() STDEXEC_PRAGMA(optimize("", on))
407
#else
408
# define STDEXEC_PRAGMA_OPTIMIZE_BEGIN() STDEXEC_PRAGMA(GCC push_options) \
409
STDEXEC_PRAGMA(GCC optimize("O3"))
0 commit comments