Both sulfates and weak acids that form when sulfur is exposed to moisture will attach concrete. The attack is primarily to the cement paste, but can attack certain aggregates as well. In either case, it is not good.
If it is only sulfate exposure, you can use a high sulfate resisting cement (Type V),or if only mild sulfate exposure, Type II cement has some resistance.