What happens when a shareholder in a subchapter S corporation has losses and deductions allocated to

What happens when a shareholder in a subchapter S corporation has losses and deductions allocated to him in excess of his basis in his corporate shares?