https://bugs.llvm.org/show_bug.cgi?id=48857
Bug ID: 48857
Summary: miscompile with -mllvm -inline-threshold=2500, aarch64
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: a...@cloudius-systems.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org
I have a program that, when compiled with -O3 -mllvm -inline-threshold=2500
substitutes -1 for a pointer-to-function. Without -inline-threshold, the
program compiles and runs correctly.
If needed, I can supply a reproducer, but unfortunately it's quite complex. If
someone wants to investigate the bug I'll happily provide detailed
instructions.
The bug manifests when loading the function pointer from a struct (but it's
already -1 at that time).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs