American Airlines is reaping higher fares and record revenue but still losing money.

AMR Corp. said Wednesday that it narrowed its second-quarter loss to $241 million mostly because of $230 million in costs tied to its bankruptcy restructuring. A year ago, it lost $286 million.