http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53453
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-24 20:12:52 UTC --- It is correct and desirable. If you really need and we want to continue the endless stream of workarounds for Darwin toolchain bugs, then you'd add some target macro TARGET_FORCE_AT_COMP_DIR or similar, define it in darwin.h and if non-zero, force addition of the attribute even when the filename is absolute.