Test at multiple optimization levels.  This exposes a compiler bug when list.cpp is compiled with -O0.