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)
* 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

index 4eae83a..7e08006 100644 (file)
@@ -1,3 +1,11 @@
+2010-04-08  Jakub Jelinek  <jakub@redhat.com>
+
+       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.
+
 2010-04-08  Doug Kwan  <dougkwan@google.com>
 
        * configure.ac: Recognize gold and do not use its version number
index 30ee707..39fb6f0 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/43670
+       * gcc.dg/pr43670.c: New test.
+
 2010-04-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
 
        PR middle-end/40815