re PR target/36362 (ICE in simplify_subreg)
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Jun 2008 13:23:04 +0000 (15:23 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 6 Jun 2008 13:23:04 +0000 (15:23 +0200)
commit673390625d47454c13f53fdf229bb3565ee6b2fc
tree2965765652d726e67bf65292d51694cbda2c191d
parenta68ab3517348178c71d9adcdefbc81de2d8c7390
re PR target/36362 (ICE in simplify_subreg)

PR target/36362
* gimplify.c (gimplify_expr) <case TRUTH_NOT_EXPR>: If *expr_p type
is not bool, boolify the whole *expr_p and convert to the desired type.

* gcc.c-torture/execute/20080529-1.c: New test.

From-SVN: r136434
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20080529-1.c [new file with mode: 0644]