LTO crashes with fortran code in SPEC CPU 2006

kugan kugan.vivekanandarajah@linaro.org
Mon Jan 16 00:09:00 GMT 2017



On 15/01/17 15:57, Andrew Pinski wrote:
> Just this is just an FYI until I reduce the testcases but 5 benchmarks
> in SPEC CPU 2006 with fortran code is causing an ICE on
> aarch64-linux-gnu with -Ofast -flto -mcpu=thunderx2t99
> -fno-aggressive-loop-optimizations -funroll-loops:
> lto1: internal compiler error: in ipa_get_type, at ipa-prop.h:448
> 0x107c58f ipa_get_type
>         ../../gcc/gcc/ipa-prop.h:448
> 0x107c58f propagate_constants_across_call
>         ../../gcc/gcc/ipa-cp.c:2259
> 0x1080f4f propagate_constants_topo
>         ../../gcc/gcc/ipa-cp.c:3170
> 0x1080f4f ipcp_propagate_stage
>         ../../gcc/gcc/ipa-cp.c:3267
> 0x1081fcb ipcp_driver
>         ../../gcc/gcc/ipa-cp.c:4997
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> lto-wrapper: fatal error: gfortran returned 1 exit status
>
> I don't know when this started as I am just starting to run SPEC CPU
> 2006 fp side with my spec cpu 2006 config.

I am seeing this too for aatch64 with -O3 -flto. It did work few weeks 
back. This must be a new bug.

Thanks,
Kugan


>
> Thanks,
> Andrew
>



More information about the Fortran mailing list