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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-03-25
          Component|debug                       |rtl-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed, this goes wrong on the RTL side somehow.

Breakpoint 2, n () at t.c:13
13          optimize_me_not();
(gdb) disassemble
Dump of assembler code for function n:
   0x00000000004005ce <+0>:     push   %rbx
=> 0x00000000004005cf <+1>:     mov    $0x0,%eax
   0x00000000004005d4 <+6>:     callq  0x4005cd <optimize_me_not>

while we expand from

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = j (1);
  l_1127_8 = _1 ^ -65536;
  # DEBUG l_1127 => l_1127_8
  # DEBUG BEGIN_STMT
  optimize_me_not ();

not sure how RTL DCE got rid of the call..

Reply via email to