Yeah that would be good.  It probably would optimize at -O3 but probably not -Os.

This is essentially why in that discussion they say there isn't normally an implementation of the min/max macros.  Where is it being used (I only know the file system)?  It might be better to keep a more local definitions that is more efficient and appropriate for that use case.