]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/38789 (__builtin_constant_p appears to evaluate to true for...
authorJakub Jelinek <jakub@redhat.com>
Fri, 16 Jan 2009 15:01:24 +0000 (16:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 16 Jan 2009 15:01:24 +0000 (16:01 +0100)
commit56c6a499944339ea8748a3343c33464de188dd89
tree9df33194fd81217f9ff87cf28b63baefa8eae26c
parentcd3f1729088b40dfaca41acf2cd238c0a1e81fcd
re PR tree-optimization/38789 (__builtin_constant_p appears to evaluate to true for non-constant arguments.)

PR tree-optimization/38789
* tree-ssa-threadedge.c
(record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
__builtin_constant_p.

* gcc.c-torture/compile/pr38789.c: New test.

From-SVN: r143435
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr38789.c [new file with mode: 0644]
gcc/tree-ssa-threadedge.c