re PR c++/30225 (builtins's decl is copied in some cases where it is not needed to...
commite5b44dfb3e7f20af022a3c9133cbc5c610b50124
authorAndrew Pinski <pinskia@gmail.com>
Fri, 22 Dec 2006 08:31:03 +0000 (22 00:31 -0800)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Fri, 22 Dec 2006 08:31:03 +0000 (22 00:31 -0800)
tree2f6a29ba43eda735e704982beaccd5a2c3dd5e71
parentb3c4918f98830ee60d9d6dcad83de6e9e2f9ef6d
re PR c++/30225 (builtins's decl is copied in some cases where it is not needed to be copied)

2006-12-21  Andrew Pinski  <pinskia@gmail.com>

        PR C++/30225
        * decl.c (cxx_builtin_function): Only copy the decl if adding
        it to the std namespace

From-SVN: r120145
gcc/cp/ChangeLog
gcc/cp/decl.c