OSDN Git Service

2005-05-10 Gabor Loki <loki@gcc.gnu.org>
authorloki <loki@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 May 2005 13:47:05 +0000 (13:47 +0000)
committerloki <loki@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 May 2005 13:47:05 +0000 (13:47 +0000)
commitf279e1909216063f61edab39be4a61e6a236b669
tree6381aa5b39ee6d67c9cf69d7ebad4dae77e66a24
parent67dd4de462d7aab2b4a91d9fbcde881992e31c80
2005-05-10  Gabor Loki <loki@gcc.gnu.org>

PR c/17913
* c-typeck.c (build_conditional_expr): Remove reducing cond_expr.
* fold-const.c (fold): Expand the condition of reducing cond_expr.
(contains_label_1, contains_label_p): New functions for checking
labels in a sub-tree.

testsuite:
2005-05-10  Gabor Loki <loki@gcc.gnu.org>

PR c/17913
* gcc.c-torture/compile/pr17913.c: Computed jump test for PR17913

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99514 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr17913.c [new file with mode: 0644]