[Bug tree-optimization/56635] [4.8/4.9 regression] internal compiler error: in find_lattice_value, at tree-complex.c:15

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 18 13:02:00 GMT 2013


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-18 13:02:01 UTC ---
Author: jakub
Date: Mon Mar 18 13:01:49 2013
New Revision: 196781

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196781
Log:
    PR tree-optimization/56635
    * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF,
    require types_compatible_p types.

    * g++.dg/torture/pr56635.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr56635.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list