- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Allocating an undeclared type/component turns into an internal compiler error with the current compiler. Steve, what is the difference between an "internal compiler error" and a fatal, "catastrophic" error (as reported previously)? For invalid code such as this, do you want defect reports on internal compiler errors? The catastrophic error is accompanied by a message to report the defect. Plain-old "internal compiler errors" are not.
[fortran]module m7 contains function pair_ci !allocate(a, source = c) !warning about no explicit type as your would expect allocate(a % x, source = c) !reasonable errors then: fortcom: Fatal: There has been an internal compiler error (C0000005). end function pair_ci end module m7[/fortran]
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Internal compiler error" is usually when the compiler detects a problem using a code test. The "catastrophic" error is usually an exception such as an access violation, as in your case, that got trapped by a signal handler.
We always want such reports - the compiler should never just die on an invalid program. Thanks.
We always want such reports - the compiler should never just die on an invalid program. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Issue ID is DPD200157390.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This was fixed in Composer XE 2011 Update 6.

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