Gold traded nearly flat on Tuesday, supported by safe-haven buying on news Greece will need more debt restructuring, as the metal outperformed equities for a second consecutive day.

After seesawing earlier in the session, bullion erased losses as EU officials said Greece is unlikely to be able to pay what it owes and further debt restructuring is likely to be necessary.

Gold's gains are limited by a falling euro as Europe's private sector looked set for a prolonged slump, after surveys showed the downturn that began in the euro zone's small economies has since become entrenched in Germany and France.

Gold is mostly taking its cues from the euro-dollar. Volume is pretty decent, suggesting there are good underlying bids here, said Jonathan Jossen, an independent COMEX gold options floor trader.

A more than 1 percent drop in the S&P and easing grain prices after the previous session's record rally also weighed.

Spot gold was up 0.1 percent at $1,578.06 an ounce by 1:14 p.m. EDT (1714 GMT), moving in a relatively quiet range of less than $20.

U.S. COMEX August gold futures for August delivery were essentially flat at $1,577.40, with trading volume in line with its 30-day average, preliminary Reuters data showed.

Little support came from the physical market, with off-take still soft in number one gold consumer India, where demand has been hurt by high prices as a result of near-record low in the rupee. Volumes also remained low on China's Shanghai Gold Exchange.

Among other metals, silver edged down 0.4 percent to $26.88 an ounce, while spot platinum was down 0.7 percent at $1,383.24 an ounce and spot palladium dropped 1.4 percent to $558.49 an ounce.

Prices at 1:14 p.m. EDT (1714 GMT)

                                   LAST NET PCT YTD
US gold 1577.40 0.00 0.0% 0.7%
US silver 26.850 -0.192 -0.7% -3.8%
US platinum 1387.60 -11.30 -0.8% -0.9%
US palladium 561.05 -9.90 -1.7% -14.5%

 Gold 1578.06 1.27 0.1% 0.9%
Silver 26.88 -0.12 -0.4% -2.9%
Platinum 1383.24 -9.36 -0.7% -0.7%
Palladium 558.49 -7.91 -1.4% -14.4%

 Gold Fix 1583.25 10.25 0.7% 0.6%
Silver Fix 26.93 -2.00 -0.1% -4.4%
Platinum Fix 1395.00 2.00 0.1% 1.0%
Palladium Fix 569.00 5.00 0.9% -10.5%