Created attachment 101 [details] D source code compiled Arm 32-bit, Ubuntu 18.04 gdc -frelease -O3 -S -c pow.d Compiler fails with error message: cc1d: internal compiler error: in eval_builtin, at d/d-frontend.cc:475Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
Also fails with v8.x for Aarch64 target running on x64 machine cc1d: internal compiler error: in eval_builtin, at d/d-frontend.cc:475 linux-vdso.so.1: Permission denied Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. Compiler returned: 1
Is all good in gdc v6.x target x64 for example.
I can't say that I can reproduce this on master for both ARM and x86_64. Looking at what hits eval_builtin, it would appear to be ICEing because __builtin_expect is not recognized as a built-in.