https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602
--- Comment #14 from Segher Boessenkool <segher at gcc dot gnu.org> --- Author: segher Date: Wed Oct 18 21:15:24 2017 New Revision: 253871 URL: https://gcc.gnu.org/viewcvs?rev=253871&root=gcc&view=rev Log: ira: volatile asm's are not moveable (PR82602) A volatile asm statement can not be moved (relative to other volatile asm, etc.), but IRA would do it nevertheless. This patch fixes it. PR rtl-optimization/82602 * ira.c (rtx_moveable_p): Return false for volatile asm. Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/ira.c