]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR c/60101 (Long compile times when mixed complex floating point datatyp...
authorJakub Jelinek <jakub@redhat.com>
Thu, 6 Mar 2014 08:01:57 +0000 (09:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 6 Mar 2014 08:01:57 +0000 (09:01 +0100)
commitc9204a21cb3b429b695d5604a1f7c362336b7c22
tree139f961a0fb039a75761836f7bb2c781f3afcb48
parentc065852234793ebad167cc3ab78792e989cbec81
backport: re PR c/60101 (Long compile times when mixed complex floating point datatypes are used in lengthy expressions)

Backport from mainline
2014-02-12  Jakub Jelinek  <jakub@redhat.com>

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: r208368
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]