https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108022
David Seifert <soap at gentoo dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |soap at gentoo dot org --- Comment #4 from David Seifert <soap at gentoo dot org> --- (In reply to Jakub Jelinek from comment #3) > -frecord-gcc-switches is a totally useless option btw, just forget it exists > and use -grecord-gcc-switches instead. The problem is, the UX isn't exactly helpful. The only way I managed to extract the macro definition was gcc -ggdb3 -grecord-gcc-switches -D_TEST_SAVE_CPPFLAGS test.c -o ~/test && objdump -s -j .debug_str test | grep SAVE which doesn't make our use case any easier really (since it requires heavy debug flags).