https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113923
--- Comment #10 from David Malcolm <dmalcolm at gcc dot gnu.org> --- (In reply to Antoni from comment #9) > Created attachment 57810 [details] > Patch to fix the issue Looks reasonable. > I was unable to create a reproducer in C for the tests. > It seems the problem was actually in libgccjit because it was not setting > BLOCK_SUPERCONTEXT. > > I'm not sure how best to test it, though. > The only idea I have would be to attempt to create a libgccjit test that > adds -fanalyzer to its arguments. That sounds like the only way to reproduce this kind of problem, given that the issue seems to be that jit-playback isn't correctly setting up the BLOCK_SUPERCONTEXT when it builds the generic tree IR.