- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just wanted to report an internal compiler error. It happens when compiling the following code (which has an invalid sequence of if statements). The error is "catastrophic error: Internal Compiler Error: Unexpected statement", but it doesn't indicate the line number. I'm using Visual Fortran Compiler XE 12.1.5.344 with VS 2010 Shell. Maybe not a big deal, but I had something like this in a large file, and it took me a while to track down the problem, since it wasn't telling me the line number.
[fortran]program test implicit none logical :: a=.true. logical :: b=.false. if(a) if(b) write(*,*) 'hello' end program test[/fortran]
[fortran]program test implicit none logical :: a=.true. logical :: b=.false. if(a) if(b) write(*,*) 'hello' end program test[/fortran]
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know I've seen this before but I am having trouble locating the error report. Regardless, it is already fixed for a release later this year.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page