https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107942
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is the sample program to prove that const is still handled like const
attribute:
```
typedef int voidfn (void);
const voidfn constt;
[[gnu::noipa]]
int constt(void) {return 1;}
int f(void)
{
return constt()+constt();
}
```
