]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/17913 (ICE jumping into statement expression)
authorGabor Loki <loki@gcc.gnu.org>
Tue, 10 May 2005 13:47:05 +0000 (13:47 +0000)
committerGabor Loki <loki@gcc.gnu.org>
Tue, 10 May 2005 13:47:05 +0000 (13:47 +0000)
commit8c9004573aae3886048b090c5c474ed30e0bde36
tree6381aa5b39ee6d67c9cf69d7ebad4dae77e66a24
parent27e928edee9751a937bbd0bd175f233cd4581b63
re PR c++/17913 (ICE jumping into statement expression)

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

From-SVN: r99514
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]