[Bug middle-end/63608] [4.8/4.9 Regression] error: type mismatch in binary expression

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 12 11:54:00 GMT 2015


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 12 11:53:34 2015
New Revision: 224419

URL: https://gcc.gnu.org/viewcvs?rev=224419&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_8-branch/gcc/testsuite/gcc.c-torture/compile/pr63608.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/fold-const.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list