Message ID | CALoOobOCxqzsG7H5_M4Cc6gCPzRGH-aDs7F_avYy=gvgZ47pqw@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/stdio-common/tst-printf-bz18872.sh b/stdio-common/tst-printf-bz18872.sh index 0127e73..ee68fa8 100644 --- a/stdio-common/tst-printf-bz18872.sh +++ b/stdio-common/tst-printf-bz18872.sh @@ -30,9 +30,8 @@ cat <<'EOF' /* Compile do_test without optimization: GCC 4.9/5.0/6.0 takes a long time to build this source. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67396 */ -#pragma GCC push_options -#pragma GCC optimize ("-O0") +__attribute__((optimize("-O0"))) int do_test (void) { mtrace (); @@ -62,7 +61,6 @@ cat <<'EOF' return 0; } -#pragma GCC pop_options #define TEST_FUNCTION do_test () #include "../test-skeleton.c"