Index: tree-cfg.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-cfg.c,v retrieving revision 2.89 diff -u -p -r2.89 tree-cfg.c --- tree-cfg.c 23 Oct 2004 19:17:08 -0000 2.89 +++ tree-cfg.c 24 Oct 2004 01:04:09 -0000 @@ -1600,7 +1600,7 @@ remove_useless_stmts_1 (tree *tp, struct } } break; - case SWITCH_EXPR: + case ASM_EXPR: fold_stmt (tp); data->last_goto = NULL; break; Index: testsuite/gcc.c-torture/compile/pr17529.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr17529.c,v retrieving revision 1.2 diff -u -p -r1.2 pr17529.c --- testsuite/gcc.c-torture/compile/pr17529.c 18 Oct 2004 22:03:15 -0000 1.2 +++ testsuite/gcc.c-torture/compile/pr17529.c 24 Oct 2004 01:04:09 -0000 @@ -1,4 +1,3 @@ -/* { dg-xfail-if "PR middle-end/17529" { "*-*-*" } { "*" } { "" } } */ static inline void bar (const int * const x)