https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101601
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Status|NEW |ASSIGNED Keywords| |diagnostic Target Milestone|--- |12.0 Summary|[12 Regression] -Wall is |[12 Regression] |reported as a build error |-Warray-bounds triggers |(not warning): error: |error: arrays of functions |arrays of functions are not |are not meaningful |meaningful | --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- -Warray-bounds triggers the error while formatting the type of SSCall_fun. For simplicity, it converts the type of each singleton object into a one-element array of its type, but the code is wrong for function pointers.