illumos/gcc

#pragma init/fini should use DECL_P

richlowe opened this issue · 0 comments

A mismerge against CodeSourcery diffs causes us to use

TREE_CODE_CLASS (TREE_CODE (decl)) == 'd'

Rather than the more obvious

DECL_P(decl)

This has the unfortunate side effect of causing us to treat these pragmas slightly differently (always as if they must be delayed waiting for the named symbol to exist)