https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82602

--- Comment #13 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Wed Oct 18 21:13:16 2017
New Revision: 253870

URL: https://gcc.gnu.org/viewcvs?rev=253870&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-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/ira.c

Reply via email to