re PR rtl-optimization/48156 (wrong code with -fcrossjumping)
authorJakub Jelinek <jakub@redhat.com>
Sun, 20 Mar 2011 15:25:55 +0000 (16:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 20 Mar 2011 15:25:55 +0000 (16:25 +0100)
commit65e0a0f3c8867097b20f63a735ff6b5b3e9061f6
tree7f8f0663d0a430e6aed8d6a485697e04cfe1e0a6
parentb6a75dda1d4f961d86c6239326f95ad3a82ca68a
re PR rtl-optimization/48156 (wrong code with -fcrossjumping)

PR rtl-optimization/48156
* df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL,
assume df and df_lr are not NULL.

* gcc.dg/pr48156.c: New test.

From-SVN: r171195
gcc/ChangeLog
gcc/df-core.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr48156.c [new file with mode: 0644]