[Bug tree-optimization/44831] [4.6 Regression] internal compiler error: verify_stmts failed when compiling wine

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 8 11:39:00 GMT 2010



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-07-08 11:38 -------
Subject: Bug 44831

Author: rguenth
Date: Thu Jul  8 11:38:43 2010
New Revision: 161950

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161950
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr44831.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr21463.c
    trunk/gcc/tree-ssa-phiprop.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44831



More information about the Gcc-bugs mailing list