- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
The following code produces an ICE (error #5270: Internal Compiler Error: symbol not a SYMTOK). The code is a bit silly in the sense that the module M is (obviously) absent - and the compiler correctly identifies that error. Still, no ICE should be produced after that - so I report this in the spirit of completeness.
This is with Intel Fortran Compiler Classic 2021.5.0 [IA-32].
SUBMODULE (M) F
CONTAINS
MODULE FUNCTION F() RESULT(R)
END
END
Interestingly...
- If you replace line 3 with either MODULE PROCEDURE F or MODULE SUBROUTINE F, then no ICE is produced.
- If you remove RESULT(R) from line 3, no ICE is produced.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
This ICE melted in the latest compiler release, 2021.7.0, which is part of the oneAPI HPC Toolkit 2022.3. This version was released earlier this month.
Please try it!
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks for reporting this. You certainly find some obscure issues. But we like it!
I filed CMPLRIL0-34665 for you. I'll let you know when the fix is available.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks @Barbara_P_Intel !
One of the 'benefits' of working on a huge code is that it gives plenty of opportunities for the developer to create silly coding mistakes - that can be boiled down (after a little bit of work, admittedly) to simple reproducers like this.
I swear I am not doing this on purpose, ha ha.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
This ICE melted in the latest compiler release, 2021.7.0, which is part of the oneAPI HPC Toolkit 2022.3. This version was released earlier this month.
Please try it!
