https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100181
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |assemble-failure Target| |gcn --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Example testcases that fail this way include libgomp.c/../libgomp.c-c++-common/pr93515.c libgomp.c/pr86660.c libgomp.c/target-3.c libgomp.c/target-4.c libgomp.c/target-5.c ... and more. Altering -freorder-blocks-and-partition for amdgcn might be a possible fix but might also be "interesting" to achieve (it's stuck in the optimization node of each function).