https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71764
Bug ID: 71764
Summary: compiler internal error: segmentation fault
Product: gcc
Version: 5.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: heresy-me at hotmail dot com
Target Milestone: ---
Created attachment 38832
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38832&action=edit
libfsqlite-full
I am wrapping the libsqlite3-dev for Fortran.
gfortran fsqlite_runtime.f08 -o fsqlite_runtime.o -fopenmp -Warray-bounds -Wall
-Wextra -fno-strict-aliasing -fwrapv -g -std=f2008ts -c
fsqlite_runtime.f08:103:0:
c_err = sqlite3_exec_ex(db, sqls, to_cb, to_dat, c_null_ptr)
1
编译器内部错误: Segmentation fault
请提交一份完整的错误报告,
如有可能请附上经预处理后的源文件。
参阅 <http://gcc.gnu.org/bugs.html> 以获取指示。
make: *** [Makefile:56:fsqlite_runtime.o] 错误 1
fsqlite_runtime.f08:129:0:
c_err = sqlite3_prepare_ex(db, sql, c_strlen(c_loc(sql)),
stmt, c_null_ptr)
1
编译器内部错误: Segmentation fault
请提交一份完整的错误报告,
如有可能请附上经预处理后的源文件。
参阅 <http://gcc.gnu.org/bugs.html> 以获取指示。
make: *** [Makefile:56:fsqlite_runtime.o] 错误 1
If I place the relevant code to a single file and compile it, it will be
successlly compiled.