Am 17.12.25 um 02:01 schrieb soma pal via Gcc:
Is there any documentation on how I can implement a flag in GCC for my
research purposes? If no such documentation exists, could you suggest the
appropriate approach in the source code for implementing such a flag?
Maybe others will suggest a better approach, but I would look for a
commit which implements a new flag via "git blame" in gcc/common.opt
and then see (via "git show") what was done there. It make make sense
to look at an option which was recently added.
Hope this helps.
Best regards
Thomas