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 debug/43670] [4.5/4.6 Regression] "-fcompare-debug failure (length)" with -O -ftree-vrp



------- Comment #5 from jakub at gcc dot gnu dot org  2010-04-08 09:16 -------
Subject: Bug 43670

Author: jakub
Date: Thu Apr  8 09:16:28 2010
New Revision: 158108

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158108
Log:
        PR debug/43670
        * cfgexpand.c (expand_debug_expr): If for non-NULL offset
        op0 is not a MEM, just return NULL instead of assertion
        failure.
        (discover_nonconstant_array_refs): Don't walk debug stmts.

        * gcc.dg/pr43670.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr43670.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgexpand.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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