Boundary-layer separation and adverse pressure gradient for 2-D viscous incompressible flow