https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65362
Bug ID: 65362 Summary: OpenACC compilation on Tegra K1 (ARM) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: zziolko at clemson dot edu CC: jakub at gcc dot gnu.org Created attachment 34992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34992&action=edit gfortran -v -save-temps -fopenacc abort-2.f90 output The GCC 5.0 snapshot gcc-5-20150301 builds successfully on Tegra K1 processor (Ubuntu 14.04 Linux on NVIDIA's Jetson TK1 platform). All attempts to compile c or fortran code with -fopenacc fail. For example code abort-2.f90 (from the testsuite): program main implicit none integer :: argc argc = command_argument_count () !$acc parallel copyin(argc) if (argc .ne. 0) then call abort end if !$acc end parallel end program main compiled using gfortran -fopenacc abort-2.f90 gives a message abort-2.f90: In function ‘MAIN__._omp_fn.0’: abort-2.f90:8:0: internal compiler error: in convert_memory_address_addr_space_1, at explow.c:292 if (argc .ne. 0) then ^ 0x1df1e1 convert_memory_address_addr_space_1 ../../gcc-5-20150301/gcc/explow.c:292 0x1df1e1 convert_memory_address_addr_space ../../gcc-5-20150301/gcc/explow.c:389 0x1df1e1 memory_address_addr_space(machine_mode, rtx_def*, unsigned char) ../../gcc-5-20150301/gcc/explow.c:403 0x1f1779 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc-5-20150301/gcc/expr.c:9904 0x1ef439 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc-5-20150301/gcc/expr.c:10171 0x1f8e83 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, tree_node*) ../../gcc-5-20150301/gcc/expr.c:5385 0x1fe1a5 expand_assignment(tree_node*, tree_node*, bool) ../../gcc-5-20150301/gcc/expr.c:5154 0x1575e7 expand_gimple_stmt_1 ../../gcc-5-20150301/gcc/cfgexpand.c:3385 0x1575e7 expand_gimple_stmt ../../gcc-5-20150301/gcc/cfgexpand.c:3481 0x158e4b expand_gimple_basic_block ../../gcc-5-20150301/gcc/cfgexpand.c:5470 0x15a649 execute ../../gcc-5-20150301/gcc/cfgexpand.c:6088 Similar message for the rest of the fortran or c tests. Marcin