Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error with intel/2020 #148

Open
ajithperera opened this issue Apr 18, 2024 · 3 comments
Open

compilation error with intel/2020 #148

ajithperera opened this issue Apr 18, 2024 · 3 comments
Labels
vendor issue This issue is related to a specific compiler vendor

Comments

@ajithperera
Copy link

Hello: I notice the following error;

/toml-f/src/tomlf/de/parser.f90(35): error #6959: The array constructor must be a constant. [TOML_TE
RMINAL]
type(toml_terminal) :: color = toml_terminal()
catastrophic error: Internal compiler error: segmentation violation
signal raised
Please report this error along with the circumstances in which it occurred in a Software Problem Re
port. Note: File and line given may not be explicit cause of this error.

Any help in getting this fixed is appreciated. Thanks, Ajith Perera

@awvwgk
Copy link
Member

awvwgk commented Apr 18, 2024

This looks like an issue with the compiler, please report it to the compiler team.

@ajithperera
Copy link
Author

Thanks, seems to have something to do with -O3 optimization level (I have seen this before with Intel). GCC make no complaints. Where is toml_terminal() initialized?

Thanks again, regards, Ajith

@awvwgk
Copy link
Member

awvwgk commented Apr 18, 2024

This should be part of the default initialization of the parser type.

@awvwgk awvwgk added the vendor issue This issue is related to a specific compiler vendor label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vendor issue This issue is related to a specific compiler vendor
Projects
None yet
Development

No branches or pull requests

2 participants