This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/45969] [4.5/4.6 Regression] ICE in build_binary_op, at c-typeck.c:9833


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]