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 05:17:44 +0000 (14:17 +0900)
commit423fe589f8201e10d4d55babe164b0a9f75893af
treeef5298620150d276bb743db17ebed8be5dad0f05
parent7393192640a7afad1b3345fffd499025454d9a74
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