c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid passing nested NOP_EX...
authorJoseph Myers <jsm28@cam.ac.uk>
Mon, 23 Apr 2001 22:55:32 +0000 (23:55 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 23 Apr 2001 22:55:32 +0000 (23:55 +0100)
commitc3cd9c8b70d46393e5486f7215e887de64c09076
treee56281c646b5d3025e6590d3b59fc38691173903
parent910e8539cb5a59b129ae4a95b6ffd47d88bbad41
c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid passing nested NOP_EXPRs to fold.

* c-convert.c (convert): When converting to a BOOLEAN_TYPE, avoid
passing nested NOP_EXPRs to fold.

testsuite:
* gcc.c-torture/compile/20010423-1.c: New test.

From-SVN: r41508
gcc/ChangeLog
gcc/c-convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20010423-1.c [new file with mode: 0644]