[Bug debug/63284] [4.9/5 Regression] -fcompare-debug issue due to redirection to __builtin_unreachable ()

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 17 19:06:00 GMT 2014


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep 17 19:05:49 2014
New Revision: 215331

URL: https://gcc.gnu.org/viewcvs?rev=215331&root=gcc&view=rev
Log:
    PR debug/63284
    * tree-cfgcleanup.c (fixup_noreturn_call): Don't split block
    if there are only debug stmts after the noreturn call, instead
    remove the debug stmts.

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr63284.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-cfgcleanup.c



More information about the Gcc-bugs mailing list