History

avoid jumping into statement expression

bellard committed 21 years ago

Commit aee0da01 parent 6d66b5a1 file · +8 −8Browse files

Unified · Split

tcctest.c+8−8
@@ -1803,14 +1803,14 @@ void local_label_test(void) · 1802 unmodified lines
18031803 goto l1;
18041804 l2:
18051805 a = 1 + ({
1806− __label__ l1, l2, l3;
1807− goto l4;
1808− l5:
1809− printf("aa1\n");
1806+ __label__ l1, l2, l3, l4;
18101807 goto l1;
1808+ l4:
1809+ printf("aa1\n");
1810+ goto l3;
18111811 l2:
18121812 printf("aa3\n");
1813− goto l3;
1813+ goto l4;
18141814 l1:
18151815 printf("aa2\n");
18161816 goto l2;
@@ -1819,12 +1819,12 @@ void local_label_test(void) · 2 unmodified lines
18191819 });
18201820 printf("a=%d\n", a);
18211821 return;
1822− l1:
1822+ l4:
18231823 printf("bb1\n");
18241824 goto l2;
1825− l4:
1825+ l1:
18261826 printf("bb2\n");
1827− goto l5;
1827+ goto l4;
18281828 }
18291829
18301830 /* inline assembler test */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t