The Brazilian aircraft manufacturer posted a loss in the fourth quarter after it was forced to make a $366m provision following the bankruptcy filing of AMR