re PR middle-end/31950 (ICE in tree-ssa-alias-warnings.c)
authorRichard Guenther <rguenther@suse.de>
Tue, 19 Jun 2007 11:16:43 +0000 (11:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Jun 2007 11:16:43 +0000 (11:16 +0000)
2007-06-19  Richard Guenther  <rguenther@suse.de>

PR middle-end/31950
* tree-ssa-alias-warnings.c (ffan_walker): Punt on MTAGs.

From-SVN: r125846

gcc/ChangeLog
gcc/tree-ssa-alias-warnings.c

index e7cd5a0d2de08a2727211d5fdc05fdf473b65b02..362eda2b88fd8c2a8f46bf625e8f089a3fa5fb35 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-19  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/31950
+       * tree-ssa-alias-warnings.c (ffan_walker): Punt on MTAGs.
+
 2007-06-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/32353
index 4f83de4742a463dfaa8583a57a670f0d29028ee0..795a7c082b0d7efafc83d17ef81e796a01e46ae4 100644 (file)
@@ -635,7 +635,7 @@ ffan_walker (tree *t,
              int *go_below ATTRIBUTE_UNUSED,
              void *data ATTRIBUTE_UNUSED)
 {
-  if (DECL_P (*t) && DECL_ARTIFICIAL (*t))
+  if (DECL_P (*t) && !MTAG_P (*t) && DECL_ARTIFICIAL (*t))
     return *t;
   else
     return NULL_TREE;