This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cp_finish_decl called with bogus asmspec_tree
- To: egcs-bugs at cygnus dot com
- Subject: cp_finish_decl called with bogus asmspec_tree
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Fri, 05 Jun 1998 12:45:51 +0200
Hi,
in presence of warnings like
HTMLView.cpp:91: warning: ANSI C++ forbids declaration `' with no type
HTMLView.cpp:91: abstract declarator `int' used as declaration
cp_finish_decl is called with a bogus asmspec_tree. This causes corrupted
assembler labels to be produced later on as reported in
<http://www.cygnus.com/ml/egcs-bugs/1998-May/0621.html>.
As far I could debug it, the corresponding call to cp_finish_decl happens
at line 1848 of parse.y (eventually it could be the call a line 1826).
If I add the five missing void's to HTMLView.cpp compilation works fine.
Hope this helps,
Franz.