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 lto/45667] [4.6 Regression] ICE: verify_stmts failed: type mismatch in address expression with -flto


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-20 14:11:09 UTC ---
Author: rguenth
Date: Wed Oct 20 14:11:06 2010
New Revision: 165725

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165725
Log:
2010-10-20  Richard Guenther  <rguenther@suse.de>

    PR lto/45667
    * lto-streamer-out.c (output_gimple_stmt): Fix typo.
    * tree-cfg.c (verify_gimple_call): Properly get the call fndecl.
    (verify_gimple_assign_single): Disable ADDR_EXPR type check
    when in LTO.

    * g++.dg/lto/20101020-1_0.h: New testcase.
    * g++.dg/lto/20101020-1_0.C: Likewise.
    * g++.dg/lto/20101020-1_1.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/lto/20101020-1_0.C
    trunk/gcc/testsuite/g++.dg/lto/20101020-1_0.h
    trunk/gcc/testsuite/g++.dg/lto/20101020-1_1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lto-streamer-out.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfg.c


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