[Bug c/92773] [8/9/10 Regression] GCC compilation with big array / header is infinite

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 5 08:13:00 GMT 2019


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|WAITING                     |NEW
   Target Milestone|---                         |8.4
            Summary|GCC compilation with big    |[8/9/10 Regression] GCC
                   |array / header is infinite  |compilation with big array
                   |                            |/ header is infinite
      Known to fail|                            |7.5.0

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  It's -Wmissing-braces causing the endless compilation.  I see
'....' printed over and over and garbling the terminal.

sound/soc/codecs/tas5756m_hf3_cfg.h:5:38: warning: missing braces around
initializer [-Wmissing-braces]
......
......
......
......
......
......
......
......
......
......
sound/soc/codecs/tas5756m_hf3_cfg.h:5:38: warning: missing braces around
initializer [-Wmissing-braces]
......
......
......
......
......
......


The preprocessed source isn't liked by GCC 5 or 6 but since you say GCC 5
works fine for you it is a regression (likely -Wmissing-braces is "new").


More information about the Gcc-bugs mailing list