This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/39824] [4.5 Regression] ice in fold-const.c



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-04-22 15:42 -------
Subject: Bug 39824

Author: rguenth
Date: Wed Apr 22 15:41:48 2009
New Revision: 146592

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146592
Log:
2009-04-22  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/39824
        * tree-ssa-ccp.c (fold_const_aggregate_ref): For INDIRECT_REFs
        make sure the types are compatible.

        * gcc.c-torture/compile/pr39824.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr39824.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-ccp.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]