https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80659
Paul Eggert <eggert at gnu dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eggert at gnu dot org --- Comment #8 from Paul Eggert <eggert at gnu dot org> --- (In reply to jim from comment #5) Here's a simpler test case that illustrates the same bug (GCC 7.1.0, x86-64, compiled via "gcc -O2 -S -fsanitize=address v2.i"): typedef struct Lisp_Object { long i; } Lisp_Object; struct Lisp_String { char *data; }; Lisp_Object server_accept_connection (int sa_family) { switch (sa_family) { default:; Lisp_Object x = (Lisp_Object) { (long) &(struct Lisp_String) {">"} + 4 }; return x; } }