[Bug c++/37631] New: non-volatile asm passes volatile asm (-O3)

2008-09-23 Thread pardo at google dot com
*tsc++ = start; *tsc++ = stop; } return true; } int main(int argc, char **argv) { Tsc tsc[2 * kCallsPerTrial]; RunTest(tsc, kCallsPerTrial); } -- Summary: non-volatile asm passes volatile asm (-O3) Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/37631] non-volatile asm passes volatile asm (-O3)

2008-09-29 Thread pardo at google dot com
--- Comment #2 from pardo at google dot com 2008-09-29 17:48 --- How can I prevent relative motion? I tried adding a "memory" constraint to all asms, but they are still moved past each other. I expected any common constraint would keep them from crossing. (Adding "v