1872, originally a term in mining, from stock (n.2) + pile (n.). Extended to general use during World War II. The verb is attested from 1921. Related: Stockpiled; stockpiling.
stock-car
stock-holder
Stockholm
stockinet
stocking
stockpile
stocks
stocky
stockyard
stodgy
stogie