https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117201
Bug ID: 117201
Summary: [15 regression] libqrencode-4.1.1 miscompiled with LTO
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: lto, wrong-code
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
Target Milestone: ---
Created attachment 59381
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59381&action=edit
test_qrencode.c
This is reduced from libqrencode which had its test_01234567 start failing with
LTO.
Reproduction instructions:
``
$ gcc -c -o qrinput.o qrinput.c
$ gcc -flto -o test_qrencode test_qrencode.c qrinput.o
$ ./test_qrencode
Aborted (core dumped) ./test_qrencode
```