There shall be allowed as a deduction Federal income and excess profits taxes and income, war profits, and excess profits taxes of foreign countries and possessions of the United States (to the extent not allowable as a deduction under section
275
(a)(4)), accrued during the taxable year or deemed to be paid by a domestic corporation under section
902
(a) or
960
(a)(1) for the taxable year, but not including the accumulated earnings tax imposed by section
531, the personal holding company tax imposed by section
541, or the taxes imposed by corresponding sections of a prior income tax law.