https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501
--- Comment #6 from Cheyenne Wills ---
Just another bit of information.
Specifying just -Werror=use-after-free appears to be not not enough to trigger
the problem. Using -Wall however does trigger the problem.
(tried on gcc-12 and gcc-13)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501
--- Comment #4 from Cheyenne Wills ---
(In reply to Andrew Pinski from comment #3)
> Oh GCC warns even with optimizations turned on ...
Correct. For gcc-12 the failure only occurs with -O0. With gcc-13 (and
later), the problem occurs with or
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501
--- Comment #1 from Cheyenne Wills ---
Created attachment 55434
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55434&action=edit
stdout/stderr from compile
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501
Bug ID: 110501
Summary: Invalid use-after-free / realloc
Product: gcc
Version: 12.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer