OSDN Git Service

PR debug/43670
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Apr 2010 09:16:28 +0000 (09:16 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:51:41 +0000 (09:51 +0900)
commita50034a430a90b13dd4a5b96eb2305ba029ed4ac
treea97ee03f6db3d8290a7242b1264f94f27bc7ec80
parentb526ab656e9ba6152fd4d1e09472db3f480441fb
PR debug/43670
* cfgexpand.c (expand_debug_expr): If for non-NULL offset
op0 is not a MEM, just return NULL instead of assertion
failure.
(discover_nonconstant_array_refs): Don't walk debug stmts.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158108 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog