https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117265

--- Comment #17 from H. Peter Anvin <hpa at zytor dot com> ---
So I am still confused by this.

It would seem that this really ought to be a very simple request, and that
adding compiler support for all these cases would impose a really large burden
on the gcc team (you guys!), *plus* that we would have to have a very long
pipeline for compiler support.

As I have said, the code that I have put here is only an example. I have some
instances of code which involved a thousand lines of assembly, which I ended up
having to throw out (and not be able to use that functionality) exactly because
doing it without macros ended up being too painful. Using -Wa,-include,... sort
of works, but it requires that either the Makefile system knows *a priori*
which files will need to use this (and this will largely be based on #include
files - which make doesn't know about until after the first run) or
alternatively ALL files need to be rebuilt when one of these headers change --
which is impractical in the extreme.

The kernel is shock full of examples of these things, and it does not seem fair
to expect you to handle all of our strange requirements. If you *do* want me to
submit tickets even for some of the most heavily used constructs, I would be
happy to do so, though.

Reply via email to