attribs.c
14.6 KB
-
re PR middle-end/49905 (Better sanity checking on sprintf src & dest to produce… · 8dd00781
re PR middle-end/49905 (Better sanity checking on sprintf src & dest to produce warning for dodgy code ?) 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. From-SVN: r177316
Jakub Jelinek committed