re PR c++/5998 (regression, all builtins disabled)
authorRoger Sayle <roger@eyesopen.com>
Mon, 1 Apr 2002 16:32:59 +0000 (16:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 1 Apr 2002 16:32:59 +0000 (16:32 +0000)
commit04a9d0805e2480b9a7579bd30d389cbd2fee784a
tree719cd61ff21163ca60229577877ddaca9b238980
parentd5ecb9cb6c2c26516896139b145ae905624adced
re PR c++/5998 (regression, all builtins disabled)

PR c++/5998:
* decl.c (duplicate_decls):  Overwrite the RTL when (and only
when) overwriting a built-in function.  Don't use COPY_DECL_RTL,
but follow the SET_DECL_RTL idiom used elsewhere in the function.

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