[Bug middle-end/44974] [4.6 Regression] Function with attribute noreturn omits a call to another function with noreturn

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 20 18:50:00 GMT 2010



------- Comment #6 from jakub at gcc dot gnu dot org  2010-08-20 18:49 -------
Subject: Bug 44974

Author: jakub
Date: Fri Aug 20 18:49:46 2010
New Revision: 163415

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163415
Log:
        PR middle-end/44974
        * builtins.c (expand_builtin): Don't optimize away
        calls to DECL_LOOPING_CONST_OR_PURE_P builtins.

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr44974.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list