Stocks made slight gains in New York Tuesday despite data that showed economies in Europe were flat in the second quarter. Compared to the previous quarter the gross domestic product of both the 17-member eurozone and the larger European Union dropped 0.2 percent in March through June. On a year-over-year basis, the eurozone\'s economy shrank 0.4 percent in the past four quarters, while the larger EU saw a drop of 0.2 percent compared to the second quarter of 2011. On the domestic front, the Bureau of Labor Statistics said prices producers received for their goods rose 0.3 percent in July after a marginal increase of 0.1 percent in June. The gain beat predictions by 0.1 percentage points. On Wall Street, the Dow Jones industrial average eased back from early gains, but closed in the black, adding 2.17 points to 13,172.14, up 0.02 percent. The Nasdaq Composite shed 5.54 points to 3,016.98, off 0.18 percent. The Standard and Poor\'s 500 lost 0.18 points to 1,403.93, off 0.01 percent. On the New York Stock Exchange, 1,482 stocks advanced and 1,552 declined on a volume of 2.8 billion shares traded. The benchmark 10-year treasury fell 22/32 to yield 1.742 percent. Against the euro, the dollar was $1.2322 from $1.2333 Monday. Against the yen, the dollar was 78.74 from 78.32 yen. In Tokyo, the Nikkei closed at 8,929.88, up 44.73 points, or 0.5 percent. In London, the FTSE 100 index added 0.56 percent, 32.90, to 5,864.78.