https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61553
Bug ID: 61553 Summary: __atomic_store with non-pointer arg ICE Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: bstarynk at gcc dot gnu.org Created attachment 32968 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32968&action=edit faulty source code (On Debian/Sid/AMD64) The attached file (with an incorrect __atomic_store) gives an ICE. badatomicstore.c: In function ‘clear_s1’: badatomicstore.c:9:6: internal compiler error: in tree_to_uhwi, at tree.h:3660 __atomic_store(s->i_name, NULL, __ATOMIC_SEQ_CST); ^ Please submit a full bug report, Of course, the instruction is incorrect; it should be __atomic_store_n(&s->i_name, NULL, __ATOMIC_SEQ_CST);