https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #64971|0 |1
is obsolete| |
--- Comment #37 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 64975
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64975&action=edit
Fix moving whole bb statements to be unconditional
Just fixing one bug, move_stmt which uses rewrite_to_defined_unconditional does
not place the gsi after the rewritten statement. So need to change loop (again)
to something which does the right thing.
So this time, we copy forward until either the last statement of the middle bb
or the statement which is referenced.
This showed up during bootstrap.
While handling:
```
if (unsigned_var != 0) int_var = -(int)unsigned_var; else int_var = 0;
```