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/63608] [4.8/4.9 Regression] error: type mismatch in binary expression


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63608

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 12 11:52:42 2015
New Revision: 224418

URL: https://gcc.gnu.org/viewcvs?rev=224418&root=gcc&view=rev
Log:
        PR middle-end/63608
        * gcc.c-torture/compile/pr63608.c: New test.

        Backported from mainline
        2014-05-16  Eric Botcazou  <ebotcazou@adacore.com>

        * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case.
        <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/compile/pr63608.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/fold-const.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog


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