With attention focused on sovereign-debt worries in Europe, two major credit-rating firms reminded investors again that the U.S. has debt problems of its own.

Investors bought Treasury debt nonetheless, ignoring the comments, which echoed prior statements by the companies and may still be months or years away from having any practical meaning.

"The...