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 middle-end/32920] [4.3 Regression] error: type mismatch in binary expression



------- Comment #4 from kristerw at gcc dot gnu dot org  2007-07-28 16:26 -------
Subject: Bug 32920

Author: kristerw
Date: Sat Jul 28 16:26:44 2007
New Revision: 127021

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127021
Log:
2007-07-28  Richard Guenther  <rguenther@suse.de>

        PR middle-end/32920
        * fold-const.c (fold_cond_expr_with_comparison): Convert
        operand zero of MIN/MAX_EXPR to correct type.

        * gcc.c-torture/compile/pr32920.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr32920.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32920


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