§ 58. Denial of certain losses

(a) Denial of farm loss
(1) In general
For purposes of computing the amount of the alternative minimum taxable income for any taxable year of a taxpayer other than a corporation—
(A) Disallowance of farm loss
No loss of the taxpayer for such taxable year from any tax shelter farm activity shall be allowed.
(B) Deduction in succeeding taxable year
Any loss from a tax shelter farm activity disallowed under subparagraph (A) shall be treated as a deduction allocable to such activity in the 1st succeeding taxable year.
(2) Tax shelter farm activity
For purposes of this subsection, the term “tax shelter farm activity” means—
(A) any farming syndicate as defined in section 464 (c), and
(B) any other activity consisting of farming which is a passive activity (within the meaning of section 469 (c)).
(3) Application to personal service corporations
For purposes of paragraph (1), a personal service corporation (within the meaning of section 469 (j)(2)) shall be treated as a taxpayer other than a corporation.
(4) Determination of loss
In determining the amount of the loss from any tax shelter farm activity, the adjustments of sections 56 and 57 shall apply.
(b) Disallowance of passive activity loss
In computing the alternative minimum taxable income of the taxpayer for any taxable year, section 469 shall apply, except that in applying section 469
(1) the adjustments of sections 56 and 57 shall apply,
(2) the provisions of section 469 (m) (relating to phase-in of disallowance) shall not apply, and
(3) in lieu of applying section 469 (j)(7), the passive activity loss of a taxpayer shall be computed without regard to qualified housing interest (as defined in section 56 (e)).
(c) Special rules
For purposes of this section—
(1) Special rule for insolvent taxpayers
(A) In general
The amount of losses to which subsection (a) or (b) applies shall be reduced by the amount (if any) by which the taxpayer is insolvent as of the close of the taxable year.
(B) Insolvent
For purposes of this paragraph, the term “insolvent” means the excess of liabilities over the fair market value of assets.
(2) Loss allowed for year of disposition of farm shelter activity
If the taxpayer disposes of his entire interest in any tax shelter farm activity during any taxable year, the amount of the loss attributable to such activity (determined after carryovers under subsection (a)(1)(B)) shall (to the extent otherwise allowable) be allowed for such taxable year in computing alternative minimum taxable income and not treated as a loss from a tax shelter farm activity.