On 9/8/2021 2:25 PM, denisgolovan via fpc-devel wrote:

>>> Compiler builds release binaries fine.

What do you mean - it should work on "trunk"?

it is probably "generics" related, and i tried both official releases - 3.2.0 and 3.2.2 - the same sad result

I suspect inlining did it as my code does not raise exception - but obviously i can be mistaken

.Lj3219:
    leaq RESSTR_$GENERICS.STRINGS_$$_SDICTIONARYKEYDOESNOTEXIST+8(%rip),%r8
    movq    $1,%rdx
    leaq    VMT_$CLASSES_$$_ELISTERROR(%rip),%rcx
*   call SYSUTILS$_$EXCEPTION_$__$$_CREATERES$PANSISTRING$$EXCEPTION*
    movq    %rax,%rcx
    leaq    .Lj3222(%rip),%rdx

How can one tell compiler to allow "inline" modifier, but ignore it?

Thanks,
Gena

I believe it's the same issue I have in 
https://gitlab.com/freepascal.org/fpc/source/-/issues/39140

Compiler builds release binaries fine.

-- Regards,
Denis Golovan
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to