Any priest would automatically be excommunicated if he revealed the contents of a Confession.
It has gone through the courts.
Read “The Seal” by Fr. Tim Mockaitis (Happened in good old Oregon!)
I find it intriguing that revealing the contents of a confession carries a higher penalty than that for raping children or protecting those who do...
Cardinal Castrillon defends silence on abuse, invokes confessional seal
http://www.catholicculture.org/news/headlines/index.cfm?storyid=6074