[PATCH] libgccjit: Fix ira cost segfault

Antoni Boucher bouanto@zoho.com
Thu Nov 16 22:28:05 GMT 2023


Hi.
This patch fixes a segfault that happens when compiling librsvg (more
specifically its dependency aho-corasick) with rustc_codegen_gcc (bug
112575).
I was not able to create a reproducer for this bug: I'm assuming I
might need to concat all the reproducers together in the same file in
order to be able to reproduce the issue.

I'm also not sure I put the cleanup in the correct location.
Is there any finalizer function for target specific code?

Thanks to fix this issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgccjit-Fix-ira-cost-segfault.patch
Type: text/x-patch
Size: 1173 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20231116/1625b256/attachment-0001.bin>


More information about the Jit mailing list