https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85402

            Bug ID: 85402
           Summary: excessive compile time with -Wmissing-braces
           Product: gcc
           Version: 8.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 43930
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43930&action=edit
C source code

The attached C code - when compiled by -Wmissing-braces -  can cause 
compile times of over 100 minutes on gcc trunk. -O2 doesn't seem
to be required.

-Wmissing-braces seems to want to print out all parts of a very long
data structure in the user's source code.

Maybe this should be constrained to the first 100 or 1000 elements or so.

Reply via email to