https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71535
Jose Manuel Monsalve Diaz <josem at udel dot edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |josem at udel dot edu
--- Comment #3 from Jose Manuel Monsalve Diaz <josem at udel dot edu> ---
This also seems to happen when compiling the LUD version of the rodinia_3.1
benchmarks found here:
http://lava.cs.virginia.edu/Rodinia/download_links.htm
If you download them and try:
cd openmp/lud/
g++ -foffload="-lm" -lm -fopenmp -DOMP_OFFLOAD omp/lud_omp.c omp/lud.c
common/common.c -o lud -I./common/
You get this:
common/common.c: In function ‘func_ret_t lud_verify(float*, float*, int)’:
common/common.c:187:1: warning: no return statement in function returning
non-void [-Wreturn-type]
}
^
lto1: internal compiler error: in input_overwrite_node, at lto-cgraph.c:1208
0x85a221 input_overwrite_node
../../gcc8.2/gcc/lto-cgraph.c:1206
0x85a221 input_node
../../gcc8.2/gcc/lto-cgraph.c:1303
0x85a221 input_cgraph_1
../../gcc8.2/gcc/lto-cgraph.c:1552
0x85a221 input_symtab()
../../gcc8.2/gcc/lto-cgraph.c:1860
0x5b9a91 read_cgraph_and_symbols
../../gcc8.2/gcc/lto/lto.c:2897
0x5b9a91 lto_main()
../../gcc8.2/gcc/lto/lto.c:3362
Please submit a full bug report,