compiler_gcc: prevent redefining attributes