]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/loop-invariant.c
re PR debug/41340 (GCC produces different code with and without -g option)
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Oct 2009 13:29:08 +0000 (15:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Oct 2009 13:29:08 +0000 (15:29 +0200)
commitdd8c071d66169f4696a86b1ebe4638a26696bce7
tree41fd57790932a3036655aea364c231276401030b
parentb0cc341fd953d45f6418b2cbc646706eb3ad3bc5
re PR debug/41340 (GCC produces different code with and without -g option)

PR debug/41340
* loop-invariant.c (calculate_loop_reg_pressure): Don't count regs
referenced just in DEBUG_INSNs.

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

From-SVN: r153011
gcc/ChangeLog
gcc/loop-invariant.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr41340.c [new file with mode: 0644]