The compiler isn't part of the input. You could get code that was compiled by a compiler not available to you.
When the compiler is part of the input, then yes, the problem is decidable.
When the compiler is part of the input, then yes, the problem is decidable.
In any case, the problem with your original argument is not the choice of compiler, it's that your algorithm migh not halt, as explained by kenjackson.