]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
re PR c/45969 (ICE in build_binary_op, at c-typeck.c:9833)
authorJoseph Myers <joseph@codesourcery.com>
Thu, 14 Oct 2010 15:48:52 +0000 (16:48 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 14 Oct 2010 15:48:52 +0000 (16:48 +0100)
commit180f8dbbb3361ce1728425ba7537e401f595f866
tree9332589b07be445c08324bf933ee5c698a12987b
parent4a759e75ab7ce759b12efb61763fba5f64813c9d
re PR c/45969 (ICE in build_binary_op, at c-typeck.c:9833)

PR c/45969
* c-typeck.c (build_binary_op): Don't try to compute a semantic
type with excess precision for boolean operations.

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

From-SVN: r165472
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr45969-1.c [new file with mode: 0644]