https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109988
--- Comment #3 from Ivan Lazaric <ivan.lazaric.gcc at gmail dot com> --- Note that clang has the same flags and behaves according to the documentation, might be some value in matching it. If it's considered too breaking of a change, I would recommend introducing a -iwithprefixafter flag that would add the directory to the end of the include search list.