bug in trigsimp?



Hello, is this a bug in trigsimp?

Robert Marik

Maxima 5.17.1 http://maxima.sourceforge.net
Using Lisp CLISP 2.44.1 (2008-02-23)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) declare(x,constant);
(%o1)                                done
(%i2) trigsimp(y);
Improper parameter in function definition for trigsimp:
x
#0: trigsimp(?_l=[y])(trgsmp.mac line 70)
 -- an error.  To debug this try debugmode(true);
(%i3)