]> granicus.if.org Git - re2c/commit
Remove dead 'copy' commands.
authorUlya Trofimovich <skvadrik@gmail.com>
Fri, 3 Mar 2017 17:27:35 +0000 (17:27 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Fri, 3 Mar 2017 17:27:35 +0000 (17:27 +0000)
commit342379744563365d0d2379a636b6073591814a8a
tree5d2d29419db495991c6f1da576db801026e315ac
parent742f67921d2a08fed21176e95e26f8b5c7f5f4b9
Remove dead 'copy' commands.

For some reason dead code elimination pass simply ignored 'copy' commands
and removed only dead 'save' commands. Strange as it seems, this went
unnoticed until now (when one of the POSIX tests compiled into C++ code
that triggered GCC warning about use of uninitialized variable).
re2c/src/ir/dfa/cfg/dce.cc