From 42e2a67f23448dc1ff6a23da650176ebad6e1681 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 20 Dec 2016 04:49:22 +0100 Subject: Fix some code suppression fallout Some more subtle issues with code suppression: - outputting asms but not their operand setup is broken - but global asms must always be output - statement expressions are transparent to code suppression - vtop can't be transformed from VT_CMP/VT_JMP when nocode_wanted Also remove .exe files from tests2 if they don't fail. --- tests/tests2/85-asm-outside-function.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/tests2/85-asm-outside-function.c') diff --git a/tests/tests2/85-asm-outside-function.c b/tests/tests2/85-asm-outside-function.c index 0aa7e33..dc5639a 100644 --- a/tests/tests2/85-asm-outside-function.c +++ b/tests/tests2/85-asm-outside-function.c @@ -1,7 +1,9 @@ +extern int printf (const char *, ...); extern void vide(void); __asm__("vide: ret"); int main() { vide(); + printf ("okay\n"); return 0; } -- cgit v1.3.1