Amendment of Subsection (l)(1)

Pub. L. 117–169, title I, § 13903(b), Aug. 16, 2022, 136 Stat. 2014, provided that, applicable to taxable years beginning after Dec. 31, 2026, subsection (l)(1) of this section is amended by striking “January 1, 2027” each place it appears and inserting “January 1, 2029”. See 2022 Amendment note below.

Pub. L. 117–2, title IX, § 9041, Mar. 11, 2021, 135 Stat. 122, provided that, applicable to taxable years beginning after December 31, 2025, subsection (l)(1) of this section is amended by striking “January 1, 2026” each place it appears and inserting “January 1, 2027”. See 2021 Amendment note below.

Inflation Adjusted Items for Certain Years

For inflation adjustment of certain items in this section, see Revenue Procedures listed in a table under section 1 of this title.

Editorial Notes
References in Text

The Food, Conservation, and Energy Act of 2008, referred to in subsec. (j)(3)(A), is Pub. L. 110–246, June 18, 2008, 122 Stat. 1651. Title I of the Act is classified principally to chapter 113 (§ 8701 et seq.) of Title 7, Agriculture. For complete classification of this Act to the Code, see Short Title note set out under section 8701 of Title 7 and Tables.

Codification

Subsec. (c) of section 464 of this title, which was transferred to this section and redesignated subsec. (j) by Pub. L. 113–295, § 221(a)(58)(B)(i), was based on Pub. L. 94–455, title II, § 207(a)(1), Oct. 4, 1976, 90 Stat. 1536.

Pub. L. 110–234 and Pub. L. 110–246 made identical amendments to this section. The amendments by Pub. L. 110–234 were repealed by section 4(a) of Pub. L. 110–246.

Amendments

2022—Subsec. (l)(1). Pub. L. 117–169 substituted “January 1, 2029” for “January 1, 2027” in two places.

2021—Subsec. (l)(1). Pub. L. 117–2 substituted “January 1, 2027” for “January 1, 2026” in two places.

2020—Subsec. (l)(1). Pub. L. 116–136, § 2304(a), amended par. (1) generally. Prior to amendment, text read as follows: “In the case of taxable year of a taxpayer other than a corporation beginning after December 31, 2017, and before January 1, 2026

“(A) subsection (j) (relating to limitation on excess farm losses of certain taxpayers) shall not apply, and

“(B) any excess business loss of the taxpayer for the taxable year shall not be allowed.”

Subsec. (l)(2). Pub. L. 116–136, § 2304(b)(1), substituted “a net operating loss for the taxable year for purposes of determining any net operating loss carryover under section 172(b) for subsequent taxable years” for “a net operating loss carryover to the following taxable year under section 172”.

Subsec. (l)(3)(A). Pub. L. 116–136, § 2304(b)(2)(B), inserted concluding provisions.

Subsec. (l)(3)(A)(i). Pub. L. 116–136, § 2304(b)(2)(A), inserted “and without regard to any deduction allowable under section 172 or 199A” after “under paragraph (1)”.

Subsec. (l)(3)(B), (C). Pub. L. 116–136, § 2304(b)(3), added subpar. (B) and redesignated former subpar. (B) as (C).

2018—Subsec. (i)(4). Pub. L. 115–141, § 401(a)(117)(B), substituted “subsection (k)” for “subsection (j)”.

Subsecs. (j), (k). Pub. L. 115–141, § 401(a)(117)(A), redesignated subsec. (j) relating to farming syndicate defined as (k).

2017—Subsec. (l). Pub. L. 115–97 added subsec. (l).

2014—Subsec. (i)(4). Pub. L. 113–295, § 221(a)(58)(B)(iii), substituted “subsection (j)” for “section 464(c)”.

Subsec. (j). Pub. L. 113–295, § 221(a)(58)(B)(i), transferred subsec. (c) of section 464 of this title, relating to farming syndicate defined, to the end of this section and redesignated it as subsec. (j).

Subsec. (j)(1). Pub. L. 113–295, § 221(a)(58)(B)(ii)(I), substituted “For purposes of subsection (i)(4)” for “For purposes of this section” in introductory provisions.

Subsec. (j)(3), (4). Pub. L. 113–295, § 221(a)(58)(B)(ii)(II), added pars. (3) and (4).

2008—Subsec. (j). Pub. L. 110–246, § 15351(a), added subsec. (j) relating to limitation on excess farm losses of certain taxpayers.

2005—Subsec. (i)(3)(C). Pub. L. 109–135 substituted “section 6662(d)(2)(C)(ii)” for “section 6662(d)(2)(C)(iii)”.

1996—Subsec. (i)(3)(C). Pub. L. 104–188, § 1704(t)(78), substituted “section 6662(d)(2)(C)(iii)” for “section 6662(d)(2)(C)(ii)”.

Pub. L. 104–188, § 1704(t)(24), amended directory language of Pub. L. 101–239. See 1989 Amendment note below.

1990—Subsec. (i)(3)(C). Pub. L. 101–508 amended subpar. (C) generally. Prior to amendment, subpar. (C) read as follows: “any tax shelter (within the meaning of section 6662(d)(2)(C)(ii)).”

1989—Subsec. (i)(3)(C). Pub. L. 101–239, as amended by Pub. L. 104–188, § 1704(t)(24), substituted “section 6662(d)(2)(C)(ii)” for “section 6661(b)(2)(C)(ii)”.

1988—Subsec. (h)(5)(B), (C). Pub. L. 100–647, § 1018(u)(5), amended Pub. L. 99–514, § 823(b)(1). See 1986 Amendment note below.

Subsec. (i)(2). Pub. L. 100–647, § 1008(a)(3), amended par. (2) generally. Prior to amendment, par. (2) read as follows: “In the case of a tax shelter, economic performance with respect to the act of drilling an oil or gas well shall be treated as having occurred within a taxable year if drilling of the well commences before the close of the 90th day after the close of the taxable year.”

1987—Subsec. (h)(5). Pub. L. 100–203 substituted “items” for “cases to which other provisions of this title specifically apply” in heading and amended text generally. Prior to amendment, text read as follows: “This subsection shall not apply to any item to which any of the following provisions apply:

“(A) Section 463 (relating to vacation pay).

“(B) Any other provisions of this title which specifically provides for a deduction for a reserve for estimated expenses.”

1986—Subsec. (h)(5)(A). Pub. L. 99–514, § 805(c)(5), redesignated subpar. (B) as (A) and struck out former subpar. (A) which referred to subsec. (c) or (f) of section 166.

Subsec. (h)(5)(B). Pub. L. 99–514, § 823(b)(1), as amended by Pub. L. 100–647, § 1018(u)(5), redesignated subpar. (C) as (B) and struck out former subpar. (B) which read as follows: “Section 466 (relating to discount coupons).”

Pub. L. 99–514, § 805(c)(5), redesignated subpar. (C) as (B). Former subpar. (B) redesignated (A).

Subsec. (h)(5)(C). Pub. L. 99–514, § 823(b)(1), as amended by Pub. L. 100–647, § 1018(u)(5), redesignated subpar. (C) as (B).

Pub. L. 99–514, § 805(c)(5), redesignated subpar. (D) as (C). Former subpar. (C) redesignated (B).

Subsec. (h)(5)(D). Pub. L. 99–514, § 805(c)(5), redesignated subpar. (D) as (C).

Subsec. (i). Pub. L. 99–514, § 801(b)(1), substituted “Special rules for tax shelters” for “Tax shelters may not deduct items earlier than when economic performance occurs” in heading.

Subsec. (i)(1). Pub. L. 99–514, § 801(b)(1), substituted “Recurring item exception not to apply” for “In general” in heading and amended par. (1) generally. Prior to amendment, par. (1) read as follows: “In the case of a tax shelter computing taxable income under the cash receipts and disbursements method of accounting, such tax shelter shall not be allowed a deduction under this chapter with respect to any item any earlier than the time when such item would be treated as incurred under subsection (h) (determined without regard to paragraph (3) thereof).”

Subsec. (i)(2). Pub. L. 99–514, § 801(b)(1), amended par. (2) generally, substituting provisions relating to special rule for spudding of oil or gas wells for former provisions consisting of subpars. (A) to (D) which related to deduction of items when economic performance occurs on or before 90th day after close of the taxable year to the extent of cash basis.

Pub. L. 99–514, § 1807(a)(1), substituted “on or before the 90th day” for “within 90 days” in heading and substituted “before the close of the 90th day after the close of the taxable year” for “within 90 days after the close of the taxable year” in subpar. (A).

Subsec. (i)(4). Pub. L. 99–514, § 801(b)(2), amended par. (4) generally. Prior to amendment, par. (4) read as follows: “In the case of the trade or business of farming (as defined in section 464(e))—

“(A) any tax shelter described in paragraph (3)(C) shall be treated as a farming syndicate for purposes of section 464; except that this subparagraph shall not apply for purposes of determining the income of an individual meeting the requirements of section 464(c)(2),

“(B) section 464 shall be applied before this subsection, and

“(C) in determining whether an entity is a tax shelter, the definition of farming syndicate in section 464(c) shall be substituted for subparagraphs (A) and (B) of paragraph (3).”

Subsec. (i)(4)(A). Pub. L. 99–514, § 1807(a)(2), amended subpar. (A) generally. Prior to amendment, subpar. (A) read as follows: “section 464 shall be applied to any tax shelter described in paragraph (3)(C),”.

1984—Subsec. (f)(4). Pub. L. 98–369, § 91(e), inserted “determined after application of subsection (h)”.

Subsecs. (h), (i). Pub. L. 98–369, § 91(a), added subsecs. (h) and (i).

1976—Subsec. (c)(2), (3). Pub. L. 94–455, §§ 1901(a)(69)(A), (B), 1906(b)(13)(A), redesignated par. (3) as (2), substituted “in which he” for “which begins after December 31, 1953, and ends after the date of the enactment of this title in which the taxpayer”, and struck out “or his delegate” after “Secretary” wherever appearing. Former par. (2), which related to special limitations on the applicability of par. (1), was struck out.

Subsecs. (d), (e). Pub. L. 94–455, § 1906(b)(13)(A), struck out “or his delegate” after “Secretary” wherever appearing.

Subsec. (g). Pub. L. 94–455, § 208(a), added subsec. (g).

1964—Subsec. (f). Pub. L. 88–272 added subsec. (f).

1962—Subsec. (e). Pub. L. 87–876 added subsec. (e).

1960—Subsec. (d). Pub. L. 86–781 added subsec. (d).

Statutory Notes and Related Subsidiaries
Effective Date of 2022 Amendment

Pub. L. 117–169, title I, § 13903(b)(2), Aug. 16, 2022, 136 Stat. 2014, provided that: “The amendments made by this subsection [amending this section] shall apply to taxable years beginning after December 31, 2026.”

Effective Date of 2021 Amendment

Pub. L. 117–2, title IX, § 9041(b), Mar. 11, 2021, 135 Stat. 122, provided that: “The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 2025.”

Effective Date of 2020 Amendment

Pub. L. 116–136, div. A, title II, § 2304(c), Mar. 27, 2020, 134 Stat. 356, provided that:

“(1)
In general.—
The amendments made by subsection (a) [amending this section] shall apply to taxable years beginning after December 31, 2017.
“(2)
Technical amendments.—
The amendments made by subsection (b) [amending this section] shall take effect as if included in the provisions of Public Law 115–97 to which they relate.”

Effective Date of 2017 Amendment

Pub. L. 115–97, title I, § 11012(b), Dec. 22, 2017, 131 Stat. 2072, provided that: “The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 2017.”

Effective Date of 2014 Amendment

Amendment by Pub. L. 113–295 effective Dec. 19, 2014, subject to a savings provision, see section 221(b) of Pub. L. 113–295, set out as a note under section 1 of this title.

Effective Date of 2008 Amendment

Amendment of this section and repeal of Pub. L. 110–234 by Pub. L. 110–246 effective May 22, 2008, the date of enactment of Pub. L. 110–234, except as otherwise provided, see section 4 of Pub. L. 110–246, set out as an Effective Date note under section 8701 of Title 7, Agriculture.

Pub. L. 110–234, title XV, § 15351(b), May 22, 2008, 122 Stat. 1525, and Pub. L. 110–246, § 4(a), title XV, § 15351(b), June 18, 2008, 122 Stat. 1664, 2287, provided that: “The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2009.”

[Pub. L. 110–234 and Pub. L. 110–246 enacted identical provisions. Pub. L. 110–234 was repealed by section 4(a) of Pub. L. 110–246, set out as a note under section 8701 of Title 7, Agriculture.]

Effective Date of 1989 Amendment

Pub. L. 101–239, title VII, § 7721(d), Dec. 19, 1989, 103 Stat. 2400, provided that: “The amendments made by this section [enacting sections 6662 to 6665 of this title, amending this section and sections 1274, 5684, 5761, 6013, 6222, 6601, 6621, 6653, 6672, and 7519 of this title, and repealing sections 6659, 6659A, 6660, 6661, and former section 6662 of this title] shall apply to returns the due date for which (determined without regard to extensions) is after December 31, 1989.”

Effective Date of 1988 Amendment

Amendment by Pub. L. 100–647 effective, except as otherwise provided, as if included in the provision of the Tax Reform Act of 1986, Pub. L. 99–514, to which such amendment relates, see section 1019(a) of Pub. L. 100–647, set out as a note under section 1 of this title.

Effective Date of 1987 Amendment

Amendment by Pub. L. 100–203 applicable to taxable years beginning after Dec. 31, 1987, see section 10201(c)(1) of Pub. L. 100–203, set out as a note under section 404 of this title.

Effective Date of 1986 Amendment

Amendment by section 801(b) of Pub. L. 99–514 applicable to taxable years beginning after Dec. 31, 1986, with certain exceptions and qualifications, see section 801(d) of Pub. L. 99–514, set out as an Effective Date note under section 448 of this title.

Amendment by section 805(c)(5) of Pub. L. 99–514 applicable to taxable years beginning after Dec. 31, 1986, with certain changes required in method of accounting, see section 805(d) of Pub. L. 99–514, set out as a note under section 166 of this title.

Amendment by section 823 of Pub. L. 99–514 applicable to taxable years beginning after Dec. 31, 1986, with changes required in the method of accounting, see section 823(c) of Pub. L. 99–514, set out as an Effective Date of Repeal note under section 466 of this title.

Amendment by section 1807(a)(1), (2) of Pub. L. 99–514 effective, except as otherwise provided, as if included in the provisions of the Tax Reform Act of 1984, Pub. L. 98–369, div. A, to which such amendment relates, see section 1881 of Pub. L. 99–514, set out as a note under section 48 of this title.

Effective Date of 1984 Amendment

Pub. L. 98–369, div. A, title I, § 91(g)–(i), July 18, 1984, 98 Stat. 608, 609, as amended by Pub. L. 99–514, § 2, title XVIII, § 1807(a)(3)(B), (4)(F), (5), (6), Oct. 22, 1986, 100 Stat. 2095, 2811, 2813, 2814, provided that:

“(g)
Effective Dates.—
“(1)
In general.—
Except as provided in this subsection and subsections (h) and (i), the amendments made by this section [enacting sections 88, 468, and 468A of this title and amending this section and section 172 of this title] shall apply to amounts with respect to which a deduction would be allowable under chapter 1 of the Internal Revenue Code of 1986 [formerly I.R.C. 1954] (determined without regard to such amendments) after—
“(A)
in the case of amounts to which section 461(h) of such Code (as added by such amendments) applies, the date of the enactment of this Act [July 18, 1984], and
“(B)
in the case of amounts to which section 461(i) of such Code (as so added) applies, after March 31, 1984.
“(2)
Taxpayer may elect earlier application.—
“(A)
In general.—
In the case of amounts described in paragraph (1)(A), a taxpayer may elect to have the amendments made by this section apply to amounts which—
“(i)
are incurred on or before the date of the enactment of this Act [July 18, 1984] (determined without regard to such amendments), and
“(ii)
are incurred after the date of the enactment of this Act (determined with regard to such amendments).
  The Secretary of the Treasury or his delegate may by regulations provide that (in lieu of an election under the preceding sentence) a taxpayer may (subject to such conditions as such regulations may provide) elect to have subsection (h) of section 461 of such Code apply to the taxpayer’s entire taxable year in which occurs July 19, 1984.
“(B)
Election treated as change in the method of accounting.—
For purposes of section 481 of the Internal Revenue Code of 1986, if an election is made under subparagraph (A) with respect to any amount, the application of the amendments made by this section shall be treated as a change in method of accounting—
“(i)
initiated by the taxpayer,
“(ii)
made with the consent of the Secretary of the Treasury, and
“(iii)
with respect to which section 481 of such Code shall be applied by substituting a 3-year adjustment period for a 10-year adjustment period.
“(3)
Section 461(h) to apply in certain cases.—
Notwithstanding paragraph (1), section 461(h) of the Internal Revenue Code of 1986 (as added by this section) shall be treated as being in effect to the extent necessary to carry out any amendments made by this section which take effect before section 461(h).
“(4)
Effective date for treatment of mining and solid waste reclamation and closing costs.—
Except as otherwise provided in subsection (h), the amendments made by subsection (b) [enacting section 468 of this title] shall take effect on the date of the enactment of this Act [July 18, 1984] with respect to taxable years ending after such date.
“(5)
Rules for nuclear decommissioning costs.—
The amendments made by subsections (c) and (f) [enacting sections 88 and 468A of this title] shall take effect on the date of the enactment of this Act [July 18, 1984] with respect to taxable years ending after such date.
“(6)
Modification of net operating loss carryback period.—
The amendments made by subsection (d) [amending section 172 of this title] shall apply to losses for taxable years beginning after December 31, 1983.
“(h)
Exception for Certain Existing Activities and Contracts.—
If—
“(1)
Existing accounting practices.—
If, on March 1, 1984, any taxpayer was regularly computing his deduction for mining reclamation activities under a current cost method of accounting (as determined by the Secretary of the Treasury or his delegate), the liability for reclamation activities—
“(A)
for land disturbed before the date of the enactment of this Act [July 18, 1984], or
“(B)
to which paragraph (2) applies,
shall be treated as having been incurred when the land was disturbed.
“(2)
Fixed price supply contract.—
“(A)
In general.—
In the case of any fixed price supply contract entered into before March 1, 1984, the amendments made by subsection (b) [enacting section 468 of this title] shall not apply to any minerals extracted from such property which are sold pursuant to such contract.
“(B)
No extension or renegotiation.—
Subparagraph (A) shall not apply—
“(i)
to any extension of any contract beyond the period such contract was in effect on March 1, 1984, or
“(ii)
to any renegotiation of, or other change in, the terms and conditions of such contract in effect on March 1, 1984.
“(i)
Transitional Rule for Accrued Vacation Pay.—
“(1)
In general.—
In the case of any taxpayer—
“(A)
with respect to whom a deduction was allowable (other than under section 463 of the Internal Revenue Code of 1986) for vested accrued vacation pay for the last taxable year ending before the date of the enactment of this Act [July 18, 1984], and
“(B)
who elects the application of section 463 of such Code for the first taxable year ending after the date of the enactment of this Act,
then, for purposes of section 463(b) of such Code, the opening balance of the taxpayer with respect to any vested accrued vacation pay shall be determined under section 463(b)(1) of such Code.
“(2)
Vested accrued vacation pay.—
For purposes of this subsection, the term ‘vested accrued vacation pay’ means any amount allowable under section 162(a) of such Code with respect to vacation pay of employees of the taxpayer (determined without regard to section 463 of such Code).”

Effective Date of 1976 Amendment

Amendment by section 1901(a)(69) of Pub. L. 94–455 effective for taxable years beginning after Dec. 31, 1976, see section 1901(d) of Pub. L. 94–455, set out as a note under section 2 of this title.

Pub. L. 94–455, title II, § 208(b), Oct. 4, 1976, 90 Stat. 1542, provided that:

“(1)
In general.—
Except as provided in paragraph (2), the amendment made by subsection (a) [amending this section] shall apply to amounts paid after December 31, 1975, in taxable years ending after such date.
“(2)
Certain amounts paid before 1977.—
The amendment made by subsection (a) [amending this section] shall not apply to amounts paid before January 1, 1977, pursuant to a binding contract or written loan commitment which existed on September 16, 1975 (and at all times thereafter), and which required prepayment of such amounts by the taxpayer.”

Effective Date of 1964 Amendment

Pub. L. 88–272, title II, § 223(b), Feb. 26, 1964, 78 Stat. 76, provided that: “Except as provided in subsections (c) and (d) [set out below]—

“(1)
the amendment made by subsection (a)(1) [amending this section] shall apply to taxable years beginning after December 31, 1953, and ending after August 16, 1954, and
“(2)
the amendment made by subsection (a)(2) [amending section 43 of the Internal Revenue Code of 1939] shall apply to taxable years to which the Internal Revenue Code of 1939 applies.”

Effective Date of 1962 Amendment

Pub. L. 87–876, § 3(b), Oct. 24, 1962, 76 Stat. 1199, provided that: “The amendment made by subsection (a) [amending this section] shall apply only with respect to taxable years ending after December 31, 1962.”

Effective Date of 1960 Amendment

Pub. L. 86–781, § 6(b), Sept. 14, 1960, 74 Stat. 1021, provided that: “The amendment made by subsection (a) [amending this section] shall apply to taxable years ending after December 31, 1960.”

Plan Amendments Not Required Until January 1, 1989

For provisions directing that if any amendments made by subtitle A or subtitle C of title XI [§§ 1101–1147 and 1171–1177] or title XVIII [§§ 1800–1899A] of Pub. L. 99–514 require an amendment to any plan, such plan amendment shall not be required to be made before the first plan year beginning on or after Jan. 1, 1989, see section 1140 of Pub. L. 99–514, as amended, set out as a note under section 401 of this title.

Transitional Rule for Certain Amounts

Pub. L. 99–514, title XVIII, § 1807(a)(8), Oct. 22, 1986, 100 Stat. 2816, provided that: “For purposes of section 461(h) of the Internal Revenue Code of 1954 [now 1986], economic performance shall be treated as occurring on the date of a payment to an insurance company if—

“(A)
such payment was made before November 23, 1985, for indemnification against a tort liability relating to personal injury or death caused by inhalation or ingestion of dust from asbestos-containing insulation products,
“(B)
such insurance company is unrelated to taxpayer,
“(C)
such payment is not refundable, and
“(D)
the taxpayer is not engaged in the mining of asbestos nor is any member of any affiliated group which includes the taxpayer so engaged.”

Transition Rule

Pub. L. 99–514, title XVIII, § 1807(c), Oct. 22, 1986, 100 Stat. 2817, provided that: “A taxpayer shall be allowed to use the cash receipts and disbursements method of accounting for taxable years ending after January 1, 1982, if such taxpayer—

“(1)
is a partnership which was founded in 1936,
“(2)
has over 1,000 professional employees,
“(3)
used a long-term contract method of accounting for a substantial part of its income from the performance of architectural and engineering services, and
“(4)
is headquartered in Chicago, Illinois.”

Election as to Transfers in Taxable Years Beginning Before Jan. 1, 1964

Pub. L. 88–272, title II, § 223(c), Feb. 26, 1964, 78 Stat. 76, provided that:

“(1)
The amendments made by subsection (a) [amending this section and section 43 of the Internal Revenue Code of 1939] shall not apply to any transfer of money or other property described in subsection (a) made in a taxable year beginning before January 1, 1964, if the taxpayer elects, in the manner provided by regulations prescribed by the Secretary of the Treasury or his delegate, to have this paragraph apply. Such an election—
“(A)
must be made within one year after the date of the enactment of this Act [Feb. 26, 1964],
“(B)
may not be revoked after the expiration of such one-year period, and
“(C)
shall apply to all transfers described in the first sentence of this paragraph (other than transfers described in paragraph (2)).
In the case of any transfer to which this paragraph applies, the deduction shall be allowed only for the taxable year in which the contest with respect to such transfer is settled.
“(2)
Paragraph (1) shall not apply to any transfer if the assessment of any deficiency which would result from the application of the election in respect of such transfer is, on the date of the election under paragraph (1), prevented by the operation of any law or rule of law.
“(3)
If the taxpayer makes an election under paragraph (1), and if, on the date of such election, the assessment of any deficiency which results from the application of the election in respect of any transfer is not prevented by the operation of any law or rule of law, the period within which assessment of such deficiency may be made shall not expire earlier than 2 years after the date of the enactment of this Act [Feb. 26, 1964].”

Certain Other Transfers in Taxable Years Beginning Before Jan. 1, 1964

Pub. L. 88–272, title II, § 223(d), Feb. 26, 1964, 78 Stat. 77, provided that:

“The amendments made by subsection (a) [amending this section and section 43 of the Internal Revenue Code of 1939] shall not apply to any transfer of money or other property described in subsection (a) made in a taxable year beginning before January 1, 1964, if—
“(1)
no deduction has been allowed in respect of such transfer for any taxable year before the taxable year in which the contest with respect to such transfer is settled, and
“(2)
refund or credit of any overpayment which would result from the application of such amendments to such transfer is prevented by the operation of any law or rule of law.
In the case of any transfer to which this subsection applies, the deduction shall be allowed for the taxable year in which the contest with respect to such transfer is settled.”