[all-commits] [llvm/llvm-project] 67bd7b: [llubi][NFC] Fix build with old GCC (#195327)
Nick Sarnie via All-commits
all-commits at lists.llvm.org
Fri May 1 13:02:01 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67bd7bc4212e0d82a6559695eb57488399895248
https://github.com/llvm/llvm-project/commit/67bd7bc4212e0d82a6559695eb57488399895248
Author: Nick Sarnie <nick.sarnie at intel.com>
Date: 2026-05-01 (Fri, 01 May 2026)
Changed paths:
M llvm/tools/llubi/lib/Interpreter.cpp
Log Message:
-----------
[llubi][NFC] Fix build with old GCC (#195327)
Using old GCC (7.5 in this case), we get a compile error about not being
able to deduce the template paramerter:
```
/llvm/llvm/tools/llubi/lib/Interpreter.cpp:770:14: error: no viable constructor or deduction guide for deduction of template arguments of 'std::vector'
770 | return std::vector(Vec.begin() + Offset, Vec.begin() + Offset + DstSize);
```
The error was introduced in
https://github.com/llvm/llvm-project/pull/194345.
Just specify the element type.
---------
Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list