Bug: C++ cp/semantics.c

Graham grahams@rcp.co.uk
Thu Aug 26 11:16:00 GMT 1999


Hi

The routine do_poplevl() in gcc/cp/semantics.c will return a
uninitialised tree node if `stmts_are_full_exprs_p' is FALSE.

Most if of the calls to do_poplevel() don't use the return
value. One exception is in the routine finish_compound_stmt()

My guess is that in do_poplevel() `t` should be initialised 
to NULL_TREE.

Graham


More information about the Gcc-bugs mailing list