optimize.c (maybe_clone_body): Copy parameter names and locations.
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 27 Apr 2001 12:47:22 +0000 (12:47 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 27 Apr 2001 12:47:22 +0000 (12:47 +0000)
commit02a1a68c6acafc9d9a1af97a9eefebd9af69d477
tree3ecd1e3881ee02b7bc81981fbffbe159cf82615e
parent5f6eeeb3625bd5121465d8a50c89f47b25af0a69
optimize.c (maybe_clone_body): Copy parameter names and locations.

cp:
* optimize.c (maybe_clone_body): Copy parameter names and locations.
testsuite:
* g++.old-deja/g++.other/warn7.C: New test.

From-SVN: r41627
gcc/cp/ChangeLog
gcc/cp/optimize.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/warn7.C [new file with mode: 0644]