| 1 |
// { dg-do compile } |
| 2 |
// ICE in verify_dominators, reduced from charset.cc (libstdc++). |
| 3 |
|
| 4 |
void convert_escape(int *); |
| 5 |
int cpp_interpret_string_1_to, cpp_interpret_string_1_tbuf; |
| 6 |
char *cpp_interpret_string_1_base; |
| 7 |
char cpp_interpret_string_1_limit; |
| 8 |
void cpp_interpret_string_1() { |
| 9 |
char *p; |
| 10 |
for (;;) { |
| 11 |
cpp_interpret_string_1_base = p; |
| 12 |
while (p < &cpp_interpret_string_1_limit && *p) |
| 13 |
p++; |
| 14 |
if (p > cpp_interpret_string_1_base) |
| 15 |
if (cpp_interpret_string_1_to) |
| 16 |
goto fail; |
| 17 |
if (p >= &cpp_interpret_string_1_limit) |
| 18 |
break; |
| 19 |
int *tbuf_ptr = |
| 20 |
cpp_interpret_string_1_to ? &cpp_interpret_string_1_tbuf : __null; |
| 21 |
convert_escape(tbuf_ptr); |
| 22 |
} |
| 23 |
fail: |
| 24 |
; |
| 25 |
} |