NEW YORK (TheStreet) -- Stocks were falling Thursday as the markets were awash with risk aversion attributable to soft international data and deepening Portugal banking concerns. Weak earnings reports also were fueling the downbeat outlook.

Family Dollar (FDO) moved 0.5% higher despite posting a quarterly profit decline of 33% and missing earnings estimates by 4 cents at 85 cents a share. The results reflect economic challenges facing its core customer and an intensely competitive environment. The company said it  would begin selling beer and wine to offset recent weakness. 

Potbelly(PBPB) - Get Report shares were diving 23.5% after the sandwich chain's warning that it expects weak sales for its fiscal second quarter.

The Dow Jones Industrial Average was losing 0.56% to 16,889.78. The S&P 500 was giving up 0.52% to 1,962.59. The Nasdaq was stumbling 0.68% to 4,389.17.

"The market shrugged off the rising cost of financing Portugal's debt yesterday and we suspect it's playing catch up, as Alcoa(AA) - Get Report and Fed minutes fade," said Peter Cardillo, chief market economist at Rockwell Global Capital. "This type of action suggests a summer trading range is being established," he added.

Markets gained ground Wednesday after the release of the much-watched minutes of the Federal Reserve's chief policy-making committee showed that the central bank is preparing to end its historic program of monetary easing as soon as October. "If the economy progresses about as the Committee expects, warranting reductions in the pace of purchases at each upcoming meeting, this final reduction would occur following the October meeting," the Fed wrote in the minutes if its June 17-18 meeting.

July 10 Premarket Briefing: 10 Things You Should Know

European Stocks Tumble on Disappointing Data

Stock Market Today: Markets Pop as Fed Alludes to End of Stimulus

European stocks were tumbling as weaker-than-expected French consumer price data, disappointing industrial output figures for both France and Italy, and troubles at Portugal's largest listed bank added to the sense of gloom. In Lisbon, Banco Espirito Santo tumbled after a wealth management affiliate delayed payments on debt. Moody's Investors Service on Wednesday downgraded Espirito Santo Financial Group, Banco Espirito's 25% owner and the parent of the troubled wealth management business, and put Banco Espirito debt on review for a downgrade.

The Bank of England decided Thursday to maintain interest rates at a record low of 0.5%.

Jobless claims for the week ended July 5 fell by 11,000 to 304,000, vs. the consensus target of 315,000. Wholesale inventories for may, to be released at 10 a.m. EDT, are forecast to rise 0.6%, following April's 1.1% increase.

Stocks to watch Thursday also include Bank of America(BAC) - Get Report, American Apparel (APP) , IBM(IBM) - Get Report, and Costco(COST) - Get Report.

Bank of America was down 0.9%. U.S. Attorney General Eric Holder has formally refused to meet with Bank of America CEO Brian Moynihan to hammer out a multibillion-dollar deal, as talks to resolve probes into shoddy mortgage securities sold by the bank remain at a standstill, Reuters reported, citing people familiar with the matter. American Apparel shares were gaining 8.8% after the company reached a deal with investment firm Standard General to receive an investment of up to $25 million to boost the clothing chain's finances. The agreement will also mean a shake-up of American Apparel's board.

Serving as a testament to Big Blue's commitment to get on the leading side of cloud innovation, IBM announced it will invest $3 billion over the next five years in two broad research and early stage development programs for chip technology. The research focuses on making semiconductors more efficient for cloud computing and Big Data systems. Shares were down 1.14%. Costco was little changed after the warehouse retailer said same-store sales in June rose 6%, beating Wall Street's estimates of a 5.3% increase.

-- By Andrea Tse and Keris Alison Lahiff in New York