https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89340
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Target Milestone|--- |7.5 Summary|ICE in |[7/8/9 Regression] ICE in |function_and_variable_visib |function_and_variable_visib |ility, at |ility, at |ipa-visibility.c:707 |ipa-visibility.c:707 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- gcc 4.4 still accepted this, I think the ICE started with r154115. As we do reject static __attribute__((weak)) functions, I think we should reject this too.