ira: volatile asm's are not moveable (PR82602)
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 18 Oct 2017 21:08:18 +0000 (23:08 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 18 Oct 2017 21:08:18 +0000 (23:08 +0200)
commit9d0d0a5a1312edb8c32160c5645cf72841efa12d
treea97fa2d4b933691cb3efb830d5626c60d5ec62f6
parentb04bebdb1dee362255b99e91cc48798291448dc6
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.

From-SVN: r253869
gcc/ChangeLog
gcc/ira.c