Test that causes sparse to hang
While poking at the GCC testsuite, I found a source file that hangs Sparse. I cut it down to the following minimal test case:
#if L'\x1234' != 0x1234
#endif
#if ''
#endif
Documenting this on-list in case someone wants to look at it before I can get to it later.
- Josh Triplett
Quoted 10 lines · Josh Triplett
While poking at the GCC testsuite, I found a source file that hangs Sparse. I cut it down to the following minimal test case:
#if L'\x1234' !=
0x1234
#endif
#if ''
#endifDocumenting this on-list in case someone wants to look at it before I can get to it later.
No wide characters, so don't expect the identical behaviour... Shouldn't hang, obviously. BTW, I wouldn't be too surprised if wide chars blow not only in preprocessor.