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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |alias, wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-04-01
          Component|tree-optimization           |rtl-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Still ok on the GIMPLE level:

f (int * pi, long int * pl)
{
  char _6;
  int _7;

  <bb 2>:
  *pi_2(D) = 1;
  *pl_4(D) = 0;
  _6 = MEM[(char *)pi_2(D)];
  _7 = (int) _6;
  return _7;

confirmed assembler:

f:
.LFB0:
        .cfi_startproc
        movl    $1, (%rdi)
        movl    $1, %eax
        movq    $0, (%rsi)
        ret

Reply via email to