Mercurial > hg > qcc
changeset 393:d83f1ca3c11f
[project @ 2005-09-04 09:27:53 by bellard]
avoid jumping into statement expression
author | bellard |
---|---|
date | Sun, 04 Sep 2005 09:27:53 +0000 |
parents | 22335df20644 |
children | d8081c1ea611 |
files | tcctest.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/tcctest.c Sun Sep 04 09:18:26 2005 +0000 +++ b/tcctest.c Sun Sep 04 09:27:53 2005 +0000 @@ -1803,14 +1803,14 @@ goto l1; l2: a = 1 + ({ - __label__ l1, l2, l3; - goto l4; - l5: + __label__ l1, l2, l3, l4; + goto l1; + l4: printf("aa1\n"); - goto l1; + goto l3; l2: printf("aa3\n"); - goto l3; + goto l4; l1: printf("aa2\n"); goto l2; @@ -1819,12 +1819,12 @@ }); printf("a=%d\n", a); return; - l1: + l4: printf("bb1\n"); goto l2; - l4: + l1: printf("bb2\n"); - goto l5; + goto l4; } /* inline assembler test */