Hi, I maybe very well not understanding something but it looks like a label targetted by a goto, in a switch statement, gets missing: if I iterate through the ast and emit all the stmt/expr/decls, then no label-type is emitted.
#include <stdio.h> void myfunc(int a) { switch(a) { case 1: printf("1\n"); goto my_label; case 2: break; case 3: my_label: // this label does not appear in the ast printf("Hello, world!\n"); } } any ideas? Folkert van Heusden -- ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users