Get your taxes done using TurboTax

What if your shares are part of the ESPP program, do you have to report 15% of gains as ordinary income - this is not an actual sale of the stock. The 367(a) forces you to pay taxes on gains, but how do the ESPP interact with it?