[Bug tree-optimization/110501] Invalid use-after-free / realloc with a store/load happening

2023-07-06 Thread cheyenne.wills at gmail dot com via Gcc-bugs
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)

[Bug tree-optimization/110501] Invalid use-after-free / realloc with a store/load happening

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
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

[Bug analyzer/110501] Invalid use-after-free / realloc

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
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

[Bug analyzer/110501] New: Invalid use-after-free / realloc

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
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