This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/82602] IRA considers volatile asm to be moveable


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

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

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]