Quantcast
Viewing all articles
Browse latest Browse all 415

Bug Report

Hi, I have encountered an Internal compiler error when compiling with codes below:

type :: test
    integer(1) :: a
    integer(1) :: b
end type test

type(test), parameter :: const = test(Z"7f", Z"80")

end

The complier tells:

101004_2054
catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.

But when codes changed to these:

integer(1), parameter :: max = Z"7f"
integer(1), parameter :: min = Z"80"

type :: test
    integer(1) :: a
    integer(1) :: b
end type test

type(test), parameter :: const = test(Z"7f", Z"80")

end

It's just fine and no error occurred. Any suggestions ?


Viewing all articles
Browse latest Browse all 415

Trending Articles