Intel(R) C++ Compiler for applications running on Intel(R) 64, Version 2021.1 NextGen Beta Build 20200604 Copyright (C) 1985-2020 Intel Corporation. All rights reserved. icpxerr2.C:3:33: warning: illegal implicit type conversion from 'int' to 'enum flag' allowed in -fpermissive mode [-Wintel-compat] enum BOOL { FALSE = (enum flag) 0, TRUE }; ^ *** stack smashing detected ***: terminated PLEASE submit a bug report to https://software.intel.com/en-us/support/priority-support and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang @/tmp/icpxargxRqmFs 1. icpxerr2.C:3:34: current parser token ',' #0 0x000055b98cecdc12 PrintStackTraceSignalHandler(void*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x1e47c12) #1 0x000055b98cecdfb0 SignalHandler(int) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x1e47fb0) #2 0x000014563b51b1e0 __restore_rt (/lib64/libpthread.so.0+0x141e0) #3 0x000014563b378bc5 raise (/lib64/libc.so.6+0x3dbc5) #4 0x000014563b3618a4 abort (/lib64/libc.so.6+0x268a4) #5 0x000014563b3bb127 __libc_message (/lib64/libc.so.6+0x80127) #6 0x000014563b44c47a __fortify_fail (/lib64/libc.so.6+0x11147a) #7 0x000014563b44c446 (/lib64/libc.so.6+0x111446) #8 0x000055b98f828780 (anonymous namespace)::IntExprEvaluator::CheckReferencedDecl(clang::Expr const*, clang::Decl const*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x47a2780) #9 0x000055b98f7fefcc clang::StmtVisitorBase::Visit(clang::Stmt const*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x4778fcc) #10 0x000055b98f8276d8 (anonymous namespace)::IntExprEvaluator::VisitCastExpr(clang::CastExpr const*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x47a16d8) #11 0x000055b98f7fefcc clang::StmtVisitorBase::Visit(clang::Stmt const*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x4778fcc) #12 0x000055b98f7d46f6 Evaluate(clang::APValue&, (anonymous namespace)::EvalInfo&, clang::Expr const*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x474e6f6) #13 0x000055b98f7d7846 EvaluateAsRValue((anonymous namespace)::EvalInfo&, clang::Expr const*, clang::APValue&) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x4751846) #14 0x000055b98f7d2666 clang::Expr::EvaluateAsRValue(clang::Expr::EvalResult&, clang::ASTContext const&, bool) const (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x474c666) #15 0x000055b98ef629ff clang::Sema::VerifyIntegerConstantExpression(clang::Expr*, llvm::APSInt*, clang::Sema::VerifyICEDiagnoser&, bool) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3edc9ff) #16 0x000055b98ef175a0 clang::Sema::VerifyIntegerConstantExpression(clang::Expr*, llvm::APSInt*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3e915a0) #17 0x000055b98ed7ad0d clang::Sema::CheckEnumConstant(clang::EnumDecl*, clang::EnumConstantDecl*, clang::SourceLocation, clang::IdentifierInfo*, clang::Expr*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3cf4d0d) #18 0x000055b98ed7cdeb clang::Sema::ActOnEnumConstant(clang::Scope*, clang::Decl*, clang::Decl*, clang::SourceLocation, clang::IdentifierInfo*, clang::ParsedAttributesView const&, clang::SourceLocation, clang::Expr*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3cf6deb) #19 0x000055b98eacee89 clang::Parser::ParseEnumBody(clang::SourceLocation, clang::Decl*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a48e89) #20 0x000055b98eacc3e4 clang::Parser::ParseEnumSpecifier(clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a463e4) #21 0x000055b98eac41b6 clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a3e1b6) #22 0x000055b98eaa916a clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a2316a) #23 0x000055b98eaa8f08 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a22f08) #24 0x000055b98eaa7363 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a21363) #25 0x000055b98eaa4d0e clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&, bool) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a1ed0e) #26 0x000055b98ea9fb1d clang::ParseAST(clang::Sema&, bool, bool) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x3a19b1d) #27 0x000055b98e0880c4 clang::CodeGenAction::ExecuteAction() (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x30020c4) #28 0x000055b98da65f55 clang::FrontendAction::Execute() (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x29dff55) #29 0x000055b98d9dbeb1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x2955eb1) #30 0x000055b98db19eb0 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0x2a93eb0) #31 0x000055b98be64cb4 cc1_main(llvm::ArrayRef, char const*, void*) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0xddecb4) #32 0x000055b98be633b1 ExecuteCC1Tool(llvm::SmallVectorImpl&) (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0xddd3b1) #33 0x000055b98be631ec main (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0xddd1ec) #34 0x000014563b3631a2 __libc_start_main (/lib64/libc.so.6+0x281a2) #35 0x000055b98be5f1ad _start (/opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang+0xdd91ad) icpx: error #10105: /opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang: core dumped icpx: warning #10102: unknown signal(0) icpx: error #10106: Fatal error in /opt/intel/compilers_and_libraries_2020.3.275/linux/bin/clang, terminated by unknown compilation aborted for icpxerr2.C (code 1)