VSI C X7.4-785 (GEM 50X65) assert error: expression = isa<X>(Val) && "cast<Ty>() argument of incompatible type!"

Post Reply

Topic author
mgdaniel
Valued Contributor
Posts: 62
Joined: Mon Feb 28, 2022 5:16 pm
Reputation: 0
Location: Adelaide, South Australia
Status: Offline
Contact:

VSI C X7.4-785 (GEM 50X65) assert error: expression = isa<X>(Val) && "cast<Ty>() argument of incompatible type!"

Post by mgdaniel » Thu Aug 10, 2023 9:59 pm

Code: Select all

X86VMS$ cc/version
VSI C X7.4-785 (GEM 50X65) on OpenVMS x86_64 V9.2-1
X86VMS$ CC /DECC /OPTIMIZE /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /OBJECT=[.obj_X86_64] HTTPDMON
assert error: expression = isa<X>(Val) && "cast<Ty>() argument of incompatible type!", in file /llvm$root/include/llvm-project-10/ll
vm/include/llvm/Support/Casting.h at line 264
%SYSTEM-F-OPCCUS, opcode reserved to customer fault at PC=FFFF830009F3324F, PS=0000001B
%TRACE-F-TRACEBACK, symbolic stack dump follows
image     module    routine               line      rel PC           abs PC
DECC$SHR  SIGNAL.C;1                    #20709 00000000801CC24F FFFF830009F3324F
DECC$SHR  ABORT.C;1                      #2955 000000008009610B FFFF830009DFD10B
DECC$SHR                                     0 000000008039DD79 FFFF83000A104D79
DECC$COMPILER  [.src]g2l_entrysymbol.cxx  cast<llvm::Function, llvm::Value>
                                          #175 0000000001A1E2C1 0000000001A1E2C1
DECC$COMPILER  [.src]g2l_entrysymbol.cxx  dwarf
                                          #394 0000000000AD057B 0000000000AD057B
DECC$COMPILER  [.src]g2l_symbol.cxx  convertSymbol
                                          #828 0000000000A4993A 0000000000A4993A
DECC$COMPILER  [.src]g2l_module.cxx  convertDeclarations
                                         #1554 0000000000A473B7 0000000000A473B7
DECC$COMPILER  [.src]g2l_module.cxx  convertModule
                                         #1165 0000000000A44603 0000000000A44603
DECC$COMPILER  [.src]g2l_module.cxx  G2L_COMPILE_MODULE
                                          #619 0000000000A43181 0000000000A43181
DECC$COMPILER  GEM_CO.BLI;1  GEM_CO_COMPILE_MODULE
                                         #3223 0000000000000A54 00000000006D8844
DECC$COMPILER  COMPILE.C;1  gemc_be_master
                                       #103704 00000000004238BE 00000000004238BE
DECC$COMPILER  COMPILE.C;1  gem_xx_compile
                                       #102915 0000000000422597 0000000000422597
DECC$COMPILER  GEM_CP_VMS.BLI;1  GEM_CP_MAIN
                                         #2447 000000000000384E 00000000006CC23E
DECC$COMPILER                                0 0000000000AD36A4 0000000000AD36A4
DECC$COMPILER                                0 00000000021887AD 00000000021887AD
PTHREAD$RTL                                  0 000000008004122C FFFF830009D0322C
PTHREAD$RTL                                  0 0000000080002316 FFFF830009CC4316
                                             0 FFFF8300081FC0A6 FFFF8300081FC0A6
DCL                                          0 000000008006778B 000000007ADFF78B
%TRACE-I-LINENUMBER, Leading '#' specifies a source file record number.
%TRACE-I-END, end of TRACE stack dump


jreagan
VSI Expert
Master
Posts: 141
Joined: Tue Dec 01, 2020 8:40 am
Reputation: 0
Status: Offline

Re: VSI C X7.4-785 (GEM 50X65) assert error: expression = isa<X>(Val) && "cast<Ty>() argument of incompatible type!"

Post by jreagan » Mon Aug 14, 2023 8:06 am

We're hoping to get a new version out this week. I think we have this fixed but without a reproducer I can't confirm that.

John


Topic author
mgdaniel
Valued Contributor
Posts: 62
Joined: Mon Feb 28, 2022 5:16 pm
Reputation: 0
Location: Adelaide, South Australia
Status: Offline
Contact:

Re: VSI C X7.4-785 (GEM 50X65) assert error: expression = isa<X>(Val) && "cast<Ty>() argument of incompatible type!"

Post by mgdaniel » Mon Aug 14, 2023 8:14 am

Input much appreciated John.


Topic author
mgdaniel
Valued Contributor
Posts: 62
Joined: Mon Feb 28, 2022 5:16 pm
Reputation: 0
Location: Adelaide, South Australia
Status: Offline
Contact:

Re: VSI C X7.4-785 (GEM 50X65) assert error: expression = isa<X>(Val) && "cast<Ty>() argument of incompatible type!"

Post by mgdaniel » Fri Sep 08, 2023 7:26 pm

Removing /NAMES=AS_IS and the source compiles without issue.

Post Reply