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++/5310] Weird warnings about using (int)NULL



------- Comment #9 from manu at gcc dot gnu dot org  2007-11-23 19:15 -------
Subject: Bug 5310

Author: manu
Date: Fri Nov 23 19:15:09 2007
New Revision: 130381

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130381
Log:
2007-11-23  Mark Mitchell  <mark@codesourcery.com>
            Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

        PR c++/5310
cp/
        * call.c (convert_like_real): Build a zero constant when __null is
        converted to an integer type.
testsuite/
        * g++.dg/warn/pr5310.C: New.
        * g++.dg/warn/pr33160.C: New

Added:
    trunk/gcc/testsuite/g++.dg/warn/pr33160.C
    trunk/gcc/testsuite/g++.dg/warn/pr5310.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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