I've been through that one enough times to realize it's always my fault. The more convinced I am that it's a compiler bug, the harder I look for my mistake.
When you write software you write bugs, because nobody is perfect. You cannot even try to deny the bugs that you wrote, because it's all in source contol. Your fix might even brake something else, every senior knows this.
So I still feel the more experienced you get, the more you have to aknowledge your own shortcomings.
After thinking a few times "it must be the compilers fault", you get more humble and figure out that you're too stupid to find your own fault ;).