https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70852
Bug ID: 70852 Summary: ice in warn_for_memset Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 38366 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38366&action=edit C source code The attached C code, when compiled by gcc trunk dated 20160428, does this /home/dcb/rpmbuild/BUILD/allegro-4.4.2/addons/jpgalleg/src/decode.c:1054:2: internal compiler error: Segmentation fault memset(_jpeg_huffman_dc_table, 0, 4 * sizeof(HUFFMAN_TABLE)); ^~~~~~ 0xc438df crash_signal ../../src/trunk/gcc/toplev.c:333 0x6ed3da tree_class_check(tree_node*, tree_code_class, char const*, int, char const*) ../../src/trunk/gcc/tree.h:3147 0x6ed3da warn_for_memset(unsigned int, tree_node*, tree_node*, int) ../../src/trunk/gcc/c-family/c-common.c:11800 0x69cc49 c_parser_postfix_expression_after_primary ../../src/trunk/gcc/c/c-parser.c:8301