This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/64672] ICEs in libgomp.oacc-fortran when using the '-g -flto' options in the test suite.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64672

--- Comment #3 from howarth at bromo dot med.uc.edu ---
The attached reduced test case reproduces the ICE with...

$ ~/dist/bin/gfortran -fopenacc -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0 -g -flto asyncwait-1.f90
lto1: internal compiler error: in streamer_get_builtin_tree, at
tree-streamer-in.c:1151
0xc266af streamer_get_builtin_tree(lto_input_block*, data_in*)
    ../../gcc-trunk/gcc/tree-streamer-in.c:1151
0x90aeb4 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
    ../../gcc-trunk/gcc/lto-streamer-in.c:1320
0x90b099 lto_input_scc(lto_input_block*, data_in*, unsigned int*, unsigned
int*)
    ../../gcc-trunk/gcc/lto-streamer-in.c:1248
0x5f88be lto_read_decls
    ../../gcc-trunk/gcc/lto/lto.c:1900
0x5fa930 lto_file_finalize
    ../../gcc-trunk/gcc/lto/lto.c:2229
0x5fa930 lto_create_files_from_ids
    ../../gcc-trunk/gcc/lto/lto.c:2239
0x5fa930 lto_file_read
    ../../gcc-trunk/gcc/lto/lto.c:2280
0x5fa930 read_cgraph_and_symbols
    ../../gcc-trunk/gcc/lto/lto.c:2981
0x5fa930 lto_main()
    ../../gcc-trunk/gcc/lto/lto.c:3436
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: /home/howarth/dist/bin/gfortran returned 1 exit
status
compilation terminated.
/home/howarth/dist_binutils/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status

on x86_64 linux and...

% gfortran-fsf-5.0  -fopenacc -DACC_DEVICE_TYPE_host_nonshm=1
-DACC_MEM_SHARED=0 -g -flto asyncwait-1.f90
gfortran-fsf-5.0: error: asyncwait-1.f90: No such file or directory
[Jack-Howarths-Computer:~/testcase] howarth% gfortran-fsf-5.0 -fopenacc
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 -g -flto PR64672.f90
lto1: internal compiler error: in streamer_get_builtin_tree, at
tree-streamer-in.c:1151

lto1: internal compiler error: Abort trap: 6
gfortran-fsf-5.0: internal compiler error: Abort trap: 6 (program lto1)
lto-wrapper: fatal error: gfortran-fsf-5.0 terminated with signal 6 [Abort
trap: 6]
compilation terminated.
collect2: fatal error: lto-wrapper returned 1 exit status
compilation terminated.

on x86_64-apple-darwin14.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]