gcc -march=k8 -pipe -O2 -fomit-frame-pointer -frename-registers -fweb --param max-delay-slot-insn-search=300 --param max-delay-slot-live-search=1000 --param max-pending-list-length=100 --param max-gcse-passes=4 --param max-gcse-memory=104857600 --param max-crossjump-edges=400 -DLINUX_BIGFILE -c -o tree.o tree.c tree.c: In function `url_encode': tree.c:1086: error: label at end of compound statement Reproducible: Always Steps to Reproduce:
Created attachment 30186 [details, diff] Removes the offending function completely because it is never called.
The other solution, of course, is just to change the line: default: to instead read: default:; If this function is to be used in the future it would be as well to do this instead. If it's leftover cruft then get rid of it. But I'm always dubious about getting rid of functions completely.
went with just adding the semi. Thanks for the bug report.