David: this one wasn't reviewed yet by you, so you can review it. Le jeudi 20 mai 2021 à 21:27 -0400, Antoni Boucher a écrit : > Hi. > > I made this patch to set an arbitrary value to a global variable. > > This patch suffers from the same issue as inline assembly > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100380), i.e. it > segfaults if the `rvalue` is created after the global variable. > It seems to be a design issue so I'm not sure what would be the fix > for > it and having it fixed would allow me to test this new function much > more and see if things are missing (i.e. it might require a way to > create a constant struct). > See the link above for an explanation of this issue. > > Thanks for the review.
Re: [PATCH] libgccjit: Add function to set the initial value of a global variable [PR96089]
Antoni Boucher via Gcc-patches Fri, 11 Jun 2021 13:44:59 -0700
- [PATCH] libgccjit: Add function to set the ... Antoni Boucher via Gcc-patches
- Re: [PATCH] libgccjit: Add function to... Antoni Boucher via Gcc-patches