https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117741
Bug ID: 117741
Summary: GCC hangs when compiling a specific C file on the
trunk version
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: xieym3 at zohomail dot com
Target Milestone: ---
When compiling the following C file (commit
8223841bdade127edeb3f5bd00cd7647f9dbeb5b), the compiler enters an infinite
loop, repeatedly printing the error message:
`error: expected expression before ‘)’ token`.
the c file is:
```
int i;
void __GIMPLE foo() {
i
=
)
(
}
```
Compile using the following command:
timeout 10 /path/to/gcc -x c -std=c2x -c file.c
GCC hangs indefinitely, repeatedly printing the same error message:
error: expected expression before ‘)’ token.