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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-04 
07:40:29 UTC ---
Author: jakub
Date: Thu Aug  4 07:40:24 2011
New Revision: 177316

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177316
Log:
    PR middle-end/49905
    * tree.h (init_attributes): New prototype.
    * attribs.c (init_attributes): No longer static.

    * decl.c (cxx_init_decl_processing): Add alloc_size (1) attribute
    for operator new and operator new [].  Call init_attributes.

    * g++.dg/ext/builtin-object-size3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/ext/builtin-object-size3.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/attribs.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.h

Reply via email to