| @@ -3848,7 +3848,8 @@ ST_FUNC void unary(void) · 3847 unmodified lines |
| 3848 | if (const_wanted) | 3848 | if (const_wanted) |
| 3849 | tcc_error("expected constant"); | 3849 | tcc_error("expected constant"); |
| 3850 | /* save all registers */ | 3850 | /* save all registers */ |
| 3851 | save_regs(0); | 3851 | if (!nocode_wanted) |
| | 3852 | save_regs(0); |
| 3852 | /* statement expression : we do not accept break/continue | 3853 | /* statement expression : we do not accept break/continue |
| 3853 | inside as GCC does */ | 3854 | inside as GCC does */ |
| 3854 | block(NULL, NULL, NULL, NULL, 0, 1); | 3855 | block(NULL, NULL, NULL, NULL, 0, 1); |
| @@ -4878,7 +4879,8 @@ static void block(int *bsym, int *csym, int *case_sym, int *def_sym, · 1023 unmodified lines |
| 4878 | a = gvtst(1, 0); | 4879 | a = gvtst(1, 0); |
| 4879 | b = 0; | 4880 | b = 0; |
| 4880 | block(&a, &b, case_sym, def_sym, case_reg, 0); | 4881 | block(&a, &b, case_sym, def_sym, case_reg, 0); |
| 4881 | gjmp_addr(d); | 4882 | if(!nocode_wanted) |
| | 4883 | gjmp_addr(d); |
| 4882 | gsym(a); | 4884 | gsym(a); |
| 4883 | gsym_addr(b, d); | 4885 | gsym_addr(b, d); |
| 4884 | } else if (tok == '{') { | 4886 | } else if (tok == '{') { |
| @@ -5070,7 +5072,8 @@ static void block(int *bsym, int *csym, int *case_sym, int *def_sym, · 185 unmodified lines |
| 5070 | } | 5072 | } |
| 5071 | skip(')'); | 5073 | skip(')'); |
| 5072 | block(&a, &b, case_sym, def_sym, case_reg, 0); | 5074 | block(&a, &b, case_sym, def_sym, case_reg, 0); |
| 5073 | gjmp_addr(c); | 5075 | if(!nocode_wanted) |
| | 5076 | gjmp_addr(c); |
| 5074 | gsym(a); | 5077 | gsym(a); |
| 5075 | gsym_addr(b, c); | 5078 | gsym_addr(b, c); |
| 5076 | scope_stack_bottom = scope_stack_bottom->next; | 5079 | scope_stack_bottom = scope_stack_bottom->next; |