https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96934

--- Comment #1 from Gustaw Smolarczyk <wielkiegie at gmail dot com> ---
It seems that part of this issue was already reported in another bug report
(though the report is about flexible array members, the comment does not
reference them):

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91490#c6

However, I don't see any mention of the miscompilation in the thread. Possibly
the issue didn't surface in comment 6 as the tested string has only a single
character (+ the terminating null character). Or strcmp is needed in order to
trigger it.

Reply via email to