https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107225
--- Comment #2 from David Malcolm ---
Thanks for filing this bug.
As far as I can tell, the aliasing implementation gets confused at:
1313 | x_hdrs[num_x_hdrs++] = strdup(line);
| ~^~
f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107225
--- Comment #1 from urs at akk dot org ---
Created attachment 53694
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53694&action=edit
reduced test case for FP with -fanalyzer (-Wanalyzer-mismatching-deallocation,
-Wanalyzer-file-leak)