diff options
author | Richard Guenther <rguenther@suse.de> | 2010-07-08 11:38:43 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-07-08 11:38:43 +0000 |
commit | f076debaba31c16b9a2f06394a43e38025a3a390 (patch) | |
tree | 222d856bd4e364f7cc1df6fadbcc8ad5bb0f1728 /gcc/testsuite/gcc.dg/tree-ssa/pr21463.c | |
parent | 20ede5c64d71cb0fb25a445f93752c7e6e861dba (diff) | |
download | gcc-f076debaba31c16b9a2f06394a43e38025a3a390.zip gcc-f076debaba31c16b9a2f06394a43e38025a3a390.tar.gz gcc-f076debaba31c16b9a2f06394a43e38025a3a390.tar.bz2 |
re PR tree-optimization/44831 (internal compiler error: verify_stmts failed when compiling wine)
2010-07-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44831
* tree-ssa-phiprop.c (phiprop_insert_phi): Properly build
a MEM_REF preserving TBAA info of the original dereference.
Dereference the original pointer if the address is not
invariant.
(propagate_with_phi): Fixup type checks wrt MEM_REFs. Require
at least one invariant address that we are going to dereference.
* gcc.c-torture/compile/pr44831.c: New testcase.
* gcc.dg/tree-ssa/pr21463.c: Adjust.
From-SVN: r161950
Diffstat (limited to 'gcc/testsuite/gcc.dg/tree-ssa/pr21463.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/pr21463.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr21463.c b/gcc/testsuite/gcc.dg/tree-ssa/pr21463.c index f490bf6..3f63cdd 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr21463.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr21463.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O -fdump-tree-phiprop" } */ +/* { dg-options "-O -fdump-tree-phiprop-details" } */ struct f { @@ -16,5 +16,5 @@ int g(int i, int c, struct f *ff, int g) return *t; } -/* { dg-final { scan-tree-dump-not "\\*t" "phiprop" } } */ +/* { dg-final { scan-tree-dump-times "Inserting PHI for result of load" 1 "phiprop" } } */ /* { dg-final { cleanup-tree-dump "phiprop" } } */ |