Unified · Split
| @@ -778,7 +778,10 @@ static int tcc_compile(TCCState *s1) · 777 unmodified lines | |||
| 778 | put_stabs_r(NULL, N_SO, 0, 0, | 778 | put_stabs_r(NULL, N_SO, 0, 0, |
| 779 | text_section->data_offset, text_section, section_sym); | 779 | text_section->data_offset, text_section, section_sym); |
| 780 | } | 780 | } |
| 781 | } else if (pvtop != vtop) { | ||
| 782 | warning("internal compiler error: vstack leak? (%d)", vtop - pvtop); | ||
| 781 | } | 783 | } |
| 784 | |||
| 782 | s1->error_set_jmp_enabled = 0; | 785 | s1->error_set_jmp_enabled = 0; |
| 783 | 786 | ||
| 784 | /* reset define stack, but leave -Dsymbols (may be incorrect if | 787 | /* reset define stack, but leave -Dsymbols (may be incorrect if |
| @@ -789,8 +792,6 @@ static int tcc_compile(TCCState *s1) · 4 unmodified lines | |||
| 789 | 792 | ||
| 790 | sym_pop(&global_stack, NULL); | 793 | sym_pop(&global_stack, NULL); |
| 791 | sym_pop(&local_stack, NULL); | 794 | sym_pop(&local_stack, NULL); |
| 792 | if (pvtop != vtop) | ||
| 793 | warning("internal compiler error: vstack leak? (%d)", vtop - pvtop); | ||
| 794 | 795 | ||
| 795 | return s1->nb_errors != 0 ? -1 : 0; | 796 | return s1->nb_errors != 0 ? -1 : 0; |
| 796 | } | 797 | } |