On 11/5/24 1:16 PM, Segher Boessenkool wrote: > Would it not have been better to not use -O0 at all here? -O0 is > not realistic if you expect any reasonable optimisation!
That's what I first attempted, using -O2, but the test case still FAILed because we optimized the code too much and failed the asm scan. It worked with -O1, but that just points to the test case being a little fragile wrt optimization, so I deemed it safer to go with the -fjump-tables option, which mimics the old behavior exactly. Peter