It depends what kind of car you want. Do you want one of the most reliable cars on the road? Toyota is hard to beat although other brands come close. Toyota tends to keep using older, proven technology so their cars are nearly always last in technology but first in reliablity. Why else would they only be launching in 2016-2017 safety systems like lane divergiing technology and self-stopping technology on the RAV4 and Toyota Corolla while Subaru has offered Eyesight on the Legacy since 2010 and in 2014 went to its second, better generation?
So yes, Toyotas historically are the most reliable because they wait on technology. Having said that, Subaru does have a full line of AWD cars and SUVs that is has been building AWD for over 40 years now. So they have that down pretty well using all four wheels equally while Toyota, Honda, and other systems are FWD focused (in other words, they use the front wheels until slippage and can divert up to 40% and sometimes 50% to the rear wheels). It means that theirs is better in the snow and is less likely to get stuck. I should know, I live on a 650 foot mountain in New England and it works well while the CRV and RAV-4 tends to get stuck.
However, Subaru's are not quite as rock hard in reliablity as Toyota. While their AWD system is great, historically they have had issues with the horizontially opposed H4 and H6 engines they sell. The cylinders are on their side, and sometimes, despite the best care, they leak. In 2010 they redesigned the engine seals and it impacts very few cars now. A bigger issue is they sometmes burn some oil. Less than 10% have this issue. They do an oil consumption test, and if it is above a certain threshold - they replace the engine. It does not affect a lot of people, but they will stand behind the car. If you use more than a quart ever 1200 miles or so you tend to qualify from what I have heard.
I own a 2013 Subaru having switched from Toyota and Honda. The car has been sturdy and after 47,000 miles and now turning three years old this month, it is doing well. It is young but no such issues. Then again, I also own a 2006 GM built Saab 9-3 with 147,000 miles which has had Toyota like reliablity with no major issues. An alternator was replaced at 70,000 and a power steering pump at 140,000. Total repairs - $600. Not much for a car company that has such a bad reputation but in reality, fixed most of their quality issues in the early 2000s.
In the end, I don't think you will go wrong with a Subaru but you won't go wrong with a Toyota either. It just depends what you want. Even I get reliable products from GM these days but I do take care of my cars.