[C++ Patch] PR 50594 (C++ front-end bits)

Paolo Carlini paolo.carlini@oracle.com
Wed Oct 12 13:57:00 GMT 2011

> +    delattrs
> +      = build_tree_list (get_identifier ("externally_visible"),
> +             build_tree_list (NULL_TREE, integer_one_node));
>>> Why integer_one_node?
>> To be honest? No idea, I copied what pre-existed for operator new. Shall I
>> test (NULL_TREE, NULL_TREE)??
> build_tree_list (get_identifier ("externally_visible"), NULL_TREE)
Thanks Richard. Ah, now I see: for new, the integer_one_node is for the 
alloc_size attribute itself. externally_visible has no parameters of its 
own. Sorry about my laziness ;)

Thus I'm testing the below. Looks better?


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_50594_cxx_2
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111012/5e303653/attachment.ksh>

More information about the Gcc-patches mailing list