OSDN Git Service

PR debug/43084
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2010 18:30:22 +0000 (18:30 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2010 18:30:22 +0000 (18:30 +0000)
commitceae0726bf1a5561005ba2810e52fcc82b664e7d
treedb800fe98bd9a288ba2a6bd2ff267e530c78e46d
parentefa5aca5d2c2fb13a6e4a7dc1ee9e5fc00c57eac
PR debug/43084
* ipa-struct-reorg.c (add_access_to_acc_sites): For debug stmts don't
populate vars array.
(create_new_general_access): For debug stmts just reset value.
(get_stmt_accesses): For accesses within debug stmts just record them
using add_access_to_acc_sites instead of preventing the peeling or
counting them as accesses.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156904 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-struct-reorg.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr43084.c [new file with mode: 0644]