https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org --- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> --- I've noticed that C++ FE can handle the problem #1: ./xg++ -B. ~/Programming/testcases/pr82323.c /home/marxin/Programming/testcases/pr82323.c:2:1: error: ‘int foo()’ defined both normally and as ‘ifunc’ attribute foo (void) { return 0; } ^~~ I tried to look at the and I'm leaving this PR to somebody more skilled with FE.