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++/70336] [5 regression] Incorrect Wconversion warning


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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:33:10 2016
New Revision: 238090

URL: https://gcc.gnu.org/viewcvs?rev=238090&root=gcc&view=rev
Log:
        Backported from mainline
        2016-04-05  Jakub Jelinek  <jakub@redhat.com>

        PR c++/70336
        * match.pd (nested int casts): Limit to GIMPLE.

        * c-c++-common/pr70336.c: New test.
        * gcc.dg/torture/builtin-isinf_sign-1.c (foo): Guard tests
        no longer optimized away at -O0 with #ifndef __OPTIMIZE__.

Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr70336.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/match.pd
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/builtin-isinf_sign-1.c

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