compiler-errors - fortran/module.c 中的 f951 内部编译器错误

标签 compiler-errors fortran

有没有人遇到过这个问题,因为我无法确定问题可能是什么。

f951: internal compiler error: in read_module, 
at fortran/module.c:4940

以下是有关编译器输出的更多详细信息。我正在使用 gfortran 5.0 的开发版本。 Tne 问题似乎与使用模块的一些问题有关。
/home/gcc-5-20150201/bin/gfortran -o build/libbehi      
/meid/meidvectors.o -c -ffree-form -g -J./build/lib 
-fdiagnostics-color -Wall libbehi/meid/meidvectors.f

/home/gcc-5-20150201/bin/gfortran -o build/libviki/wavgenr
/wave_sigint.o -c -ffree-form -g -J./build/lib 
-fdiagnostics-color -Wall libviki/wavgenr/wave_sigint.f

f951: internal compiler error: in read_module, at 
fortran/module.c:4940

0x66090b read_module
../../gcc-5-20150201/gcc/fortran/module.c:4940

0x66090b gfc_use_module
../../gcc-5-20150201/gcc/fortran/module.c:6768

0x661eb6 gfc_use_modules()
../../gcc-5-20150201/gcc/fortran/module.c:6892

0x66c599 use_modules
../../gcc-5-20150201/gcc/fortran/parse.c:116

0x66f944 decode_statement
../../gcc-5-20150201/gcc/fortran/parse.c:332

0x6713d0 next_free
../../gcc-5-20150201/gcc/fortran/parse.c:1049

0x6713d0 next_statement
../../gcc-5-20150201/gcc/fortran/parse.c:1283

0x671f4c parse_spec
../../gcc-5-20150201/gcc/fortran/parse.c:3296

0x675964 parse_module
../../gcc-5-20150201/gcc/fortran/parse.c:5151

0x675964 gfc_parse_file()
../../gcc-5-20150201/gcc/fortran/parse.c:5457

0x6b59d5 gfc_be_parse_file
../../gcc-5-20150201/gcc/fortran/f95-lang.c:228

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.
scons: *** [build/libviki/wavgenr/wave_sigint.o] Error 1
scons: building terminated because of errors.

最佳答案

这是一个内部编译器错误或 ICE,是编译器中的一个错误。你应该按照弗拉基米尔的说法,找到触发这个 ICE 的最小程序,然后将错误报告给 gcc。

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.



您错误中的链接网页将包含有关如何提供有用的错误报告以及如何归档的说明。 GCC 对快照中的错误不感兴趣,因此您需要针对已发布版本的 gcc 5(当前为 5.1)或开发主干(gcc 6)进行测试。

关于compiler-errors - fortran/module.c 中的 f951 内部编译器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31158695/

相关文章:

C 编译器错误 : "comparison between a pointer and an integer".

oracle - 在PL/SQL中如何使用同义词名称初始化表类型的值

python - 安装用 C++ : g++ unrecognized command line option --output-lib 编写的 Python 包 (leven) 时出错

C++:对 void 函数的 undefined reference

visual-studio-2010 - 如何完全禁用VS的即时调试?

arrays - 在 Fortran 中执行张量积的有效方法

fortran - Fortran MPI 代码中的标准输出

memory-management - 在 Fortran 中使用析构函数释放内存

c - 在 Solaris 上构建 Node.JS : "Use of <stdbool.h> is valid only in a c99 compilation environment."

c - Fortran/Mac OS X 中 ISO_C_binding "c_intptr_t"返回的值不正确