https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105675
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Again this is just a limitation in the stack size. Try doing: ulimit -s unlimited and you will most likely see they both work. We could change the parser not to be as recusive function calls here but this code is still not even reasonible by machine generated sense.