re PR middle-end/44974 (Function with attribute noreturn omits a call to another...
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Aug 2010 18:49:46 +0000 (20:49 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Aug 2010 18:49:46 +0000 (20:49 +0200)
commit994fc9abdde826d0b843b48e8ef1627295c3ae25
tree641b172aeb3419f87090129ab841a2d5ae3ff2ef
parent6c33409079616051a31b9c7546d22dc59a44f24e
re PR middle-end/44974 (Function with attribute noreturn omits a call to another function with noreturn)

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.

From-SVN: r163415
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr44974.c [new file with mode: 0644]