This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
- From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Oct 2010 22:41:19 +0000
- Subject: [Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833
- Auto-submitted: auto-generated
- References: <bug-45969-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45969
--- Comment #4 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-10-14 22:41:10 UTC ---
Author: jsm28
Date: Thu Oct 14 22:41:05 2010
New Revision: 165485
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165485
Log:
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.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr45969-1.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/c-typeck.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog