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++/33124] C++ frontend should not warn about new a[0] in template context



------- Comment #8 from paolo at gcc dot gnu dot org  2007-09-16 22:54 -------
Subject: Bug 33124

Author: paolo
Date: Sun Sep 16 22:54:12 2007
New Revision: 128531

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128531
Log:
/cp
2007-09-16  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33124
        * init.c (build_new): Remove warning for zero-element
        allocations.

/testsuite
2007-09-16  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33124
        * g++.dg/warn/new1.C: Adjust.
        * g++.dg/torture/str_empty.C: Likewise.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/torture/str_empty.C
    trunk/gcc/testsuite/g++.dg/warn/new1.C


-- 


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


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