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 sanitizer/66190] [5/6 Regression] ICE: tree code âcall_exprâ is not supported in LTO streams with -fsanitize=null


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66190

--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jun  3 16:54:24 2015
New Revision: 224096

URL: https://gcc.gnu.org/viewcvs?rev=224096&root=gcc&view=rev
Log:
        PR sanitizer/66190
        * cp-gimplify.c (struct cp_genericize_data): Add no_sanitize_p.
        (cp_genericize_r): Don't instrument static initializers.
        (cp_genericize_tree): Initialize wtd.no_sanitize_p.

        * g++.dg/ubsan/static-init-1.C: New test.
        * g++.dg/ubsan/static-init-2.C: New test.
        * g++.dg/ubsan/static-init-3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ubsan/static-init-1.C
    trunk/gcc/testsuite/g++.dg/ubsan/static-init-2.C
    trunk/gcc/testsuite/g++.dg/ubsan/static-init-3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-gimplify.c
    trunk/gcc/testsuite/ChangeLog


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