On 7/10/19 8:53 AM, Martin Liška wrote:

nathan

That's done by 'Deprecated' keyword put on frepo in *.opt file:

$ ./gcc/xgcc -Bgcc -frepo /tmp/main.c
xgcc: warning: switch ‘-frepo’ is no longer supported

I've already used the same mechanism for other deprecated options e.g.:

$ ./gcc/xgcc -Bgcc -mmpx /tmp/main.c
xgcc: warning: switch ‘-mmpx’ is no longer supported

Great!  I must have missed that patch.  All good to go for gcc-9 deprecation

nathan

--
Nathan Sidwell

Reply via email to