https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81773
--- Comment #3 from vehre at gcc dot gnu.org --- Created attachment 43451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43451&action=edit Preliminary patch First shot on fixing the issue. At least for caf_get() it fixes the issue.