[clang] compiling `int x = (::h);` in C mode causes infinite loop
Open
c
clang:frontend
hang
regression:17
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Repro in title.
Contributor guide
Research direction
Start by reproducing the title's case, `int x = (::h);`, while compiling in C mode with clang. Trace the compiler's progress to identify where it loops; done means this input no longer hangs and the relevant regression is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 40/100