[Bug tree-optimization/70848] [6/7 Regression] g++ arm-none-eabi ignores volatile qualifier

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 28 12:52:00 GMT 2016


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Ah, no, it's still ok:

  <bb 2>:
  _1 = 327221280B;
  *_1 ={v} 97;
  _2 = 327221280B;
  *_2 ={v} 98;
  _3 = 327221280B;
  *_3 ={v} 99;
  return;

and it works for x86_64-linux.  -O2:

_Z4testv:
.LFB0:
        .cfi_startproc
        movl    $97, 327221280
        movl    $98, 327221280
        movl    $99, 327221280
        ret


More information about the Gcc-bugs mailing list