Two of the three warranty covered it. I don't remember why the ECU repair was not fully covered by warranty (that was over 25 years ago) but I do remember the sting of paying for it since we were younger and poorer at the time.
I've never had a dealer provide any loaner car. The best I've seen is they give a coupon for $xx off a rental from the car rental place next door.