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 middle-end/44974] [4.6 Regression] Function with attribute noreturn omits a call to another function with noreturn



------- 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


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