]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/c-common.c
re PR c/60101 (Long compile times when mixed complex floating point datatypes are...
authorJakub Jelinek <jakub@redhat.com>
Wed, 12 Feb 2014 07:35:50 +0000 (08:35 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 12 Feb 2014 07:35:50 +0000 (08:35 +0100)
commitc2bf53a1ac67e9328302adce08c344e219662ccb
tree814aabc92d62cb3e3ceccaf99172cbd6eefb1e47
parent87667d8b6e9d49788b6b335587400316c0d8c005
re PR c/60101 (Long compile times when mixed complex floating point datatypes are used in lengthy expressions)

PR c/60101
* c-common.c (merge_tlist): If copy is true, call new_tlist,
if false, add ADD itself, rather than vice versa.
(verify_tree): For COND_EXPR, don't call merge_tlist with non-zero
copy.  For SAVE_EXPR, only call merge_tlist once.

* c-c++-common/pr60101.c: New test.

From-SVN: r207711
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr60101.c [new file with mode: 0644]