This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Could we use __builtin_constant_p to do this transformation transparently,
i.e.
#define get_identifier(STR) \ __builtin_constant_p (STR) \ ? get_identifier_with_length (STR, (unsigned) (STR)) \ : (get_identifier) (STR)
?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |