https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69923
Bug ID: 69923 Summary: [6 regression] internal compiler error in cgraphunit.c when using -Wall Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: daniel at fahlgren dot se Target Milestone: --- Created attachment 37769 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37769&action=edit Simple test case When compiling with -Wall cc1 gets an internal compiler error. The the command line used is: gcc-6.0 -Wall bug.c cc1: internal compiler error: Segmentation fault 0xb2493f crash_signal ../.././gcc/toplev.c:335 0x75067d check_global_declaration ../.././gcc/cgraphunit.c:947 0x75067d analyze_functions ../.././gcc/cgraphunit.c:1168 0x750f58 symbol_table::finalize_compilation_unit() ../.././gcc/cgraphunit.c:2537 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. This is with gcc trunk, Revision: 233620 When compiling without -Wall the compiler does not crash. Attached is a reproduced test case as well as the preprocessed file. The test case was created with creduce.