https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105160
jeremy.linton at arm dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremy.linton at arm dot com --- Comment #8 from jeremy.linton at arm dot com --- (In reply to Jan Hubicka from comment #5) > It is indeed missing logic to merge the side_effect and nondeterministic > flag while updating after inlining. I am testing the following > I built a fedora gcc12 package with this patch, and then built a 4.17 kernel. Looking at the genet, it appears to be calling the enable_dma() routine now from the _open() function. It also boots on the seattle, which was also experiencing a gcc11/gcc12 related boot failure. So, at first glance it appears those two failures are corrected when this patch is applied.